@scalar/api-reference 1.62.5 → 1.62.7

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (118) hide show
  1. package/CHANGELOG.md +10 -0
  2. package/README.md +14 -0
  3. package/dist/blocks/scalar-info-block/components/SpecificationVersion.vue.d.ts.map +1 -1
  4. package/dist/blocks/scalar-info-block/components/SpecificationVersion.vue.js.map +1 -1
  5. package/dist/blocks/scalar-info-block/components/SpecificationVersion.vue.script.js +2 -1
  6. package/dist/blocks/scalar-info-block/components/SpecificationVersion.vue.script.js.map +1 -1
  7. package/dist/browser/chunks/{AgentScalarChatInterface-DeQ6jlD2.js → AgentScalarChatInterface-DX-rWLia.js} +4 -4
  8. package/dist/browser/chunks/ScalarTextInput.vue-DuE2oAzR.js +27 -0
  9. package/dist/browser/chunks/basic-shape-diamond.svg-BTEOT1FL.js +1 -1
  10. package/dist/browser/chunks/basic-shape-hexagon.svg-BSPzaCgF.js +1 -1
  11. package/dist/browser/chunks/basic-shape-primary-circle-ellipse-round.svg-DKmZ8UUU.js +1 -1
  12. package/dist/browser/chunks/basic-shape-primary-square-rectangle.svg-n2YRykHD.js +1 -1
  13. package/dist/browser/chunks/basic-shape-shield.svg-Bec9cJDA.js +1 -1
  14. package/dist/browser/chunks/browser-67K6wmG9.js +1 -1
  15. package/dist/browser/chunks/computer-device-desktop-monitor.svg-m6j893Hb.js +1 -1
  16. package/dist/browser/chunks/computer-device-desktop.svg-Dk1VVO7k.js +1 -1
  17. package/dist/browser/chunks/computer-device-laptop.svg-BNGVUCYS.js +1 -1
  18. package/dist/browser/chunks/computer-device-mobile-phone-android-samsung-back.svg-CC4UUTFw.js +1 -1
  19. package/dist/browser/chunks/computer-device-mobile-phone-android-samsung.svg-D8ExpMpL.js +1 -1
  20. package/dist/browser/chunks/computer-device-mobile-phone-iphone-x-back.svg-CLm7sgMM.js +1 -1
  21. package/dist/browser/chunks/computer-device-mobile-phone-iphone-x.svg-Xrttg6_7.js +1 -1
  22. package/dist/browser/chunks/computer-device-mobile-tablet-touch.svg-DQ2oTvOG.js +1 -1
  23. package/dist/browser/chunks/computer-device-mobile-tablet.svg-DCr0XlRc.js +1 -1
  24. package/dist/browser/chunks/computer-device-network-ethernet-cat6.svg-AK9l0iOl.js +1 -1
  25. package/dist/browser/chunks/computer-device-network-lan-www.svg-gUIdFBlE.js +1 -1
  26. package/dist/browser/chunks/computer-device-network-wifi-connection.svg-Be-EMm4e.js +1 -1
  27. package/dist/browser/chunks/computer-device-network-wifi-router.svg-Dc2VzyqK.js +1 -1
  28. package/dist/browser/chunks/ecology-science-erlenmeyer-flask.svg-DHgy7Jfd.js +1 -1
  29. package/dist/browser/chunks/image-flash-lightning.svg-EETR_y1q.js +1 -1
  30. package/dist/browser/chunks/image-picture-flower.svg-DN1AYzJU.js +1 -1
  31. package/dist/browser/chunks/interface-alert-exclamation-diamond.svg-C5NozMV_.js +1 -1
  32. package/dist/browser/chunks/interface-alert-exclamation-triangle-warning.svg-DaAg2fF5.js +1 -1
  33. package/dist/browser/chunks/interface-alert-information-circle.svg-ckkkt9Mv.js +1 -1
  34. package/dist/browser/chunks/interface-award-crown.svg-pjvn9hY-.js +1 -1
  35. package/dist/browser/chunks/interface-bookmark-tag.svg-r2r-lQq4.js +1 -1
  36. package/dist/browser/chunks/interface-bookmark.svg-BK9HKQBT.js +1 -1
  37. package/dist/browser/chunks/interface-calendar-date-one.svg-DNnF0M1I.js +1 -1
  38. package/dist/browser/chunks/interface-content-book-open-pages.svg-CQj_w9Vp.js +1 -1
  39. package/dist/browser/chunks/interface-content-book-page.svg-DppoeJRe.js +1 -1
  40. package/dist/browser/chunks/interface-content-file.svg-CvcD7OiY.js +1 -1
  41. package/dist/browser/chunks/interface-content-folder.svg-BmtS5I9A.js +1 -1
  42. package/dist/browser/chunks/interface-copy-clipboard.svg-Be6EI50X.js +1 -1
  43. package/dist/browser/chunks/interface-edit-attachment.svg-G5TKzpWX.js +1 -1
  44. package/dist/browser/chunks/interface-edit-binocular.svg-jzL-DvGB.js +1 -1
  45. package/dist/browser/chunks/interface-edit-magic-wand.svg-BOTlymvp.js +1 -1
  46. package/dist/browser/chunks/interface-edit-tool-paint-roller.svg-s9dwryx7.js +1 -1
  47. package/dist/browser/chunks/interface-edit-tool-pencil.svg-C7v0dbB3.js +1 -1
  48. package/dist/browser/chunks/interface-favorite-award.svg-CYHUgUG0.js +1 -1
  49. package/dist/browser/chunks/interface-favorite-flag.svg-C10zlKOb.js +1 -1
  50. package/dist/browser/chunks/interface-favorite-heart.svg-eoduXxlz.js +1 -1
  51. package/dist/browser/chunks/interface-favorite-star.svg-BSmxJetr.js +1 -1
  52. package/dist/browser/chunks/interface-favorite-stars-sparkles.svg-JTFLj3Ls.js +1 -1
  53. package/dist/browser/chunks/interface-hierarchy-flowchart.svg-Cg_Wy0kN.js +1 -1
  54. package/dist/browser/chunks/interface-home-house.svg-DytoGRnv.js +1 -1
  55. package/dist/browser/chunks/interface-hyperlink.svg-CuEfmmQI.js +1 -1
  56. package/dist/browser/chunks/interface-lighting-brightness.svg-DSK0h_Pa.js +1 -1
  57. package/dist/browser/chunks/interface-lock-closed.svg-Cn6TaLYv.js +1 -1
  58. package/dist/browser/chunks/interface-lock-open-unlock.svg-CVkG5-9W.js +1 -1
  59. package/dist/browser/chunks/interface-login-key.svg-y-cwwXjN.js +1 -1
  60. package/dist/browser/chunks/interface-search.svg-S-puVFJB.js +1 -1
  61. package/dist/browser/chunks/interface-setting-cog.svg-CTH4_lLg.js +1 -1
  62. package/dist/browser/chunks/interface-share-megaphone-bullhorn.svg-Pbp39MyC.js +1 -1
  63. package/dist/browser/chunks/interface-share-rocket.svg-BgCsIRZO.js +1 -1
  64. package/dist/browser/chunks/interface-share-satellite.svg-DAMN9d5G.js +1 -1
  65. package/dist/browser/chunks/interface-share-space-ship.svg-Dt-Mejxk.js +1 -1
  66. package/dist/browser/chunks/interface-share.svg-vFYTXSti.js +1 -1
  67. package/dist/browser/chunks/interface-signal-square.svg-DNG4LpAe.js +1 -1
  68. package/dist/browser/chunks/interface-time-clock-circle.svg-Bpz-nLxo.js +1 -1
  69. package/dist/browser/chunks/interface-time-hour-glass.svg-D7agfKsH.js +1 -1
  70. package/dist/browser/chunks/interface-users-multiple.svg-CkPJBBnG.js +1 -1
  71. package/dist/browser/chunks/interface-weather-moon.svg-CaTZFMPO.js +1 -1
  72. package/dist/browser/chunks/mail-chat-bubble-square.svg-DC8RIihp.js +1 -1
  73. package/dist/browser/chunks/mail-send-email-paper-airplane.svg-D8OLs9jz.js +1 -1
  74. package/dist/browser/chunks/mail-send-envelope.svg-CV33h5Sx.js +1 -1
  75. package/dist/browser/chunks/modal-B2flFlrc.js +99 -0
  76. package/dist/browser/chunks/{modal-BxU-pFdy.js → modal-mrsrVj-1.js} +2 -2
  77. package/dist/browser/chunks/money-cashier-receipt.svg-CJL8C2gs.js +1 -1
  78. package/dist/browser/chunks/money-currency-dollar-pay.svg-VdBplCTx.js +1 -1
  79. package/dist/browser/chunks/money-graph-arrow-increase.svg-DcRov3zk.js +1 -1
  80. package/dist/browser/chunks/money-graph-bar-chart-increase.svg-Cc7KxjX-.js +1 -1
  81. package/dist/browser/chunks/nature-ecology-leaf.svg-DR3cTZxt.js +1 -1
  82. package/dist/browser/chunks/phone-telephone.svg-DyY0gUlk.js +1 -1
  83. package/dist/browser/chunks/programming-bug.svg-BHLT-Qhp.js +1 -1
  84. package/dist/browser/chunks/programming-cloud.svg-B6YW33ba.js +1 -1
  85. package/dist/browser/chunks/programming-computer-database-server.svg-B6o5Sdn-.js +1 -1
  86. package/dist/browser/chunks/programming-computer-database.svg-Cl7OVtpJ.js +1 -1
  87. package/dist/browser/chunks/programming-module-four-layout.svg-BQrerL1x.js +1 -1
  88. package/dist/browser/chunks/programming-module-three.svg-B2KTQzBM.js +1 -1
  89. package/dist/browser/chunks/programming-module.svg-CiID7kPm.js +1 -1
  90. package/dist/browser/chunks/programming-script-code.svg-D1M5rtkN.js +1 -1
  91. package/dist/browser/chunks/runtime-core.esm-bundler-Byrbbu5Q.js +1 -1
  92. package/dist/browser/chunks/shopping-cart.svg-BEegiIR9.js +1 -1
  93. package/dist/browser/chunks/shopping-gift-present.svg-BUHwuLix.js +1 -1
  94. package/dist/browser/chunks/shopping-shipping-box-parcel-package.svg-D6fxWdYx.js +1 -1
  95. package/dist/browser/chunks/tag-new-circle.svg-jsg1bGs0.js +1 -1
  96. package/dist/browser/chunks/travel-map-earth-globe.svg-ClbMiU-f.js +1 -1
  97. package/dist/browser/chunks/vendor-DPVN2O_H.js +306 -0
  98. package/dist/browser/standalone.esm.js +20 -20
  99. package/dist/browser/standalone.js +242 -242
  100. package/dist/components/ApiReference.vue.d.ts.map +1 -1
  101. package/dist/components/ApiReference.vue.js +1 -1
  102. package/dist/components/ApiReference.vue.js.map +1 -1
  103. package/dist/components/ApiReference.vue.script.js +16 -14
  104. package/dist/components/ApiReference.vue.script.js.map +1 -1
  105. package/dist/components/Content/Auth/Auth.vue.d.ts.map +1 -1
  106. package/dist/components/Content/Auth/Auth.vue.js.map +1 -1
  107. package/dist/components/Content/Auth/Auth.vue.script.js +25 -4
  108. package/dist/components/Content/Auth/Auth.vue.script.js.map +1 -1
  109. package/dist/components/Content/Content.vue.d.ts.map +1 -1
  110. package/dist/components/Content/Content.vue.js.map +1 -1
  111. package/dist/components/Content/Content.vue.script.js +14 -2
  112. package/dist/components/Content/Content.vue.script.js.map +1 -1
  113. package/dist/style.css +16 -16
  114. package/dist/vue-styles.css +16 -16
  115. package/package.json +20 -20
  116. package/dist/browser/chunks/ScalarTextInput.vue-Cb7P6-e4.js +0 -27
  117. package/dist/browser/chunks/modal-DQLVQL1H.js +0 -99
  118. package/dist/browser/chunks/vendor-CMNc6l_z.js +0 -306
@@ -0,0 +1,306 @@
1
+ import{a as e,i as t,o as n,r,s as i}from"./browser-67K6wmG9.js";import{$ as a,A as o,At as s,B as c,Bt as l,C as u,Ct as d,D as f,Dt as p,Et as m,F as h,Ft as g,G as _,Gt as v,H as y,Ht as b,It as ee,J as x,Jt as te,K as S,Kt as ne,L as re,Lt as ie,Mt as ae,Nt as oe,Ot as C,P as se,Pt as ce,Q as le,R as ue,Rt as de,S as w,T as fe,Tt as T,U as pe,Ut as me,Vt as he,W as ge,Wt as _e,X as ve,Y as ye,Yt as be,Z as xe,Zt as Se,_ as Ce,_t as we,a as Te,at as E,b as D,bt as Ee,c as De,d as O,et as Oe,f as k,ft as ke,g as Ae,gt as A,h as je,ht as Me,i as Ne,j as Pe,jt as Fe,k as Ie,kt as Le,l as j,lt as Re,m as ze,mt as Be,n as Ve,nt as He,o as Ue,ot as We,p as M,pt as Ge,q as Ke,qt as qe,s as eee,st as Je,t as Ye,tt as Xe,u as N,v as Ze,vt as Qe,w as $e,xt as et,y as tt,yt as nt,zt as tee}from"./runtime-core.esm-bundler-Byrbbu5Q.js";import{t as rt}from"./interface-content-folder.svg-BmtS5I9A.js";var it=`Models`,at=e=>!!(!Array.isArray(e)&&e&&`sources`in e&&Array.isArray(e.sources)),ot=e=>({type:`number`,default:e?.default,typeName:e?.typeName,typeComment:e?.typeComment}),P=e=>({type:`string`,default:e?.default,typeName:e?.typeName,typeComment:e?.typeComment}),st=e=>({type:`boolean`,default:e?.default,typeName:e?.typeName,typeComment:e?.typeComment}),ct=e=>({type:`nullable`,typeName:e?.typeName,typeComment:e?.typeComment}),lt=e=>({type:`any`,typeName:e?.typeName,typeComment:e?.typeComment}),ut=e=>({type:`unknown`,typeName:e?.typeName,typeComment:e?.typeComment}),nee=e=>({type:`function`,typeName:e?.typeName,typeComment:e?.typeComment}),dt=(e,t)=>({type:`array`,items:e,typeName:t?.typeName,typeComment:t?.typeComment}),ft=(e,t,n)=>({type:`record`,key:e,value:t,typeName:n?.typeName,typeComment:n?.typeComment}),pt=(e,t)=>({type:`object`,properties:e,typeName:t?.typeName,typeComment:t?.typeComment}),mt=(e,t)=>({type:`union`,schemas:e,typeName:t?.typeName,typeComment:t?.typeComment}),ht=(e,t)=>({type:`intersection`,schemas:e,typeName:t?.typeName,typeComment:t?.typeComment}),F=(e,t)=>({type:`optional`,schema:e,typeName:t?.typeName,typeComment:t?.typeComment}),gt=e=>({type:`literal`,value:e}),_t=e=>({type:`lazy`,schema:e}),vt=(e,t)=>({type:`evaluate`,expression:e,schema:t}),yt=void 0,bt=typeof window<`u`&&window.trustedTypes;if(bt)try{yt=bt.createPolicy(`vue`,{createHTML:e=>e})}catch{}var xt=yt?e=>yt.createHTML(e):e=>e,ree=`http://www.w3.org/2000/svg`,iee=`http://www.w3.org/1998/Math/MathML`,St=typeof document<`u`?document:null,Ct=St&&St.createElement(`template`),wt={insert:(e,t,n)=>{t.insertBefore(e,n||null)},remove:e=>{let t=e.parentNode;t&&t.removeChild(e)},createElement:(e,t,n,r)=>{let i=t===`svg`?St.createElementNS(ree,e):t===`mathml`?St.createElementNS(iee,e):n?St.createElement(e,{is:n}):St.createElement(e);return e===`select`&&r&&r.multiple!=null&&i.setAttribute(`multiple`,r.multiple),i},createText:e=>St.createTextNode(e),createComment:e=>St.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>St.querySelector(e),setScopeId(e,t){e.setAttribute(t,``)},insertStaticContent(e,t,n,r,i,a){let o=n?n.previousSibling:t.lastChild;if(i&&(i===a||i.nextSibling))for(;t.insertBefore(i.cloneNode(!0),n),!(i===a||!(i=i.nextSibling)););else{Ct.innerHTML=xt(r===`svg`?`<svg>${e}</svg>`:r===`mathml`?`<math>${e}</math>`:e);let i=Ct.content;if(r===`svg`||r===`mathml`){let e=i.firstChild;for(;e.firstChild;)i.appendChild(e.firstChild);i.removeChild(e)}t.insertBefore(i,n)}return[o?o.nextSibling:t.firstChild,n?n.previousSibling:t.lastChild]}},Tt=`transition`,Et=`animation`,Dt=Symbol(`_vtc`),Ot={name:String,type:String,css:{type:Boolean,default:!0},duration:[String,Number,Object],enterFromClass:String,enterActiveClass:String,enterToClass:String,appearFromClass:String,appearActiveClass:String,appearToClass:String,leaveFromClass:String,leaveActiveClass:String,leaveToClass:String},kt=Le({},Ve,Ot),At=(e=>(e.displayName=`Transition`,e.props=kt,e))((e,{slots:t})=>fe(Ye,aee(e),t)),jt=(e,t=[])=>{oe(e)?e.forEach(e=>e(...t)):e&&e(...t)},Mt=e=>e?oe(e)?e.some(e=>e.length>1):e.length>1:!1;function aee(e){let t={};for(let n in e)n in Ot||(t[n]=e[n]);if(e.css===!1)return t;let{name:n=`v`,type:r,duration:i,enterFromClass:a=`${n}-enter-from`,enterActiveClass:o=`${n}-enter-active`,enterToClass:s=`${n}-enter-to`,appearFromClass:c=a,appearActiveClass:l=o,appearToClass:u=s,leaveFromClass:d=`${n}-leave-from`,leaveActiveClass:f=`${n}-leave-active`,leaveToClass:p=`${n}-leave-to`}=e,m=oee(i),h=m&&m[0],g=m&&m[1],{onBeforeEnter:_,onEnter:v,onEnterCancelled:y,onLeave:b,onLeaveCancelled:ee,onBeforeAppear:x=_,onAppear:te=v,onAppearCancelled:S=y}=t,ne=(e,t,n,r)=>{e._enterCancelled=r,Ft(e,t?u:s),Ft(e,t?l:o),n&&n()},re=(e,t)=>{e._isLeaving=!1,Ft(e,d),Ft(e,p),Ft(e,f),t&&t()},ie=e=>(t,n)=>{let i=e?te:v,o=()=>ne(t,e,n);jt(i,[t,o]),It(()=>{Ft(t,e?c:a),Pt(t,e?u:s),Mt(i)||Lt(t,r,h,o)})};return Le(t,{onBeforeEnter(e){jt(_,[e]),Pt(e,a),Pt(e,o)},onBeforeAppear(e){jt(x,[e]),Pt(e,c),Pt(e,l)},onEnter:ie(!1),onAppear:ie(!0),onLeave(e,t){e._isLeaving=!0;let n=()=>re(e,t);Pt(e,d),e._enterCancelled?(Pt(e,f),Bt(e)):(Bt(e),Pt(e,f)),It(()=>{e._isLeaving&&(Ft(e,d),Pt(e,p),Mt(b)||Lt(e,r,g,n))}),jt(b,[e,n])},onEnterCancelled(e){ne(e,!1,void 0,!0),jt(y,[e])},onAppearCancelled(e){ne(e,!0,void 0,!0),jt(S,[e])},onLeaveCancelled(e){re(e),jt(ee,[e])}})}function oee(e){if(e==null)return null;if(ee(e))return[Nt(e.enter),Nt(e.leave)];{let t=Nt(e);return[t,t]}}function Nt(e){return Se(e)}function Pt(e,t){t.split(/\s+/).forEach(t=>t&&e.classList.add(t)),(e[Dt]||(e[Dt]=new Set)).add(t)}function Ft(e,t){t.split(/\s+/).forEach(t=>t&&e.classList.remove(t));let n=e[Dt];n&&(n.delete(t),n.size||(e[Dt]=void 0))}function It(e){requestAnimationFrame(()=>{requestAnimationFrame(e)})}var see=0;function Lt(e,t,n,r){let i=e._endId=++see,a=()=>{i===e._endId&&r()};if(n!=null)return setTimeout(a,n);let{type:o,timeout:s,propCount:c}=cee(e,t);if(!o)return r();let l=o+`end`,u=0,d=()=>{e.removeEventListener(l,f),a()},f=t=>{t.target===e&&++u>=c&&d()};setTimeout(()=>{u<c&&d()},s+1),e.addEventListener(l,f)}function cee(e,t){let n=window.getComputedStyle(e),r=e=>(n[e]||``).split(`, `),i=r(`${Tt}Delay`),a=r(`${Tt}Duration`),o=Rt(i,a),s=r(`${Et}Delay`),c=r(`${Et}Duration`),l=Rt(s,c),u=null,d=0,f=0;t===Tt?o>0&&(u=Tt,d=o,f=a.length):t===Et?l>0&&(u=Et,d=l,f=c.length):(d=Math.max(o,l),u=d>0?o>l?Tt:Et:null,f=u?u===Tt?a.length:c.length:0);let p=u===Tt&&/\b(?:transform|all)(?:,|$)/.test(r(`${Tt}Property`).toString());return{type:u,timeout:d,propCount:f,hasTransform:p}}function Rt(e,t){for(;e.length<t.length;)e=e.concat(e);return Math.max(...t.map((t,n)=>zt(t)+zt(e[n])))}function zt(e){return e===`auto`?0:Number(e.slice(0,-1).replace(`,`,`.`))*1e3}function Bt(e){return(e?e.ownerDocument:document).body.offsetHeight}function Vt(e,t,n){let r=e[Dt];r&&(t=(t?[t,...r]:[...r]).join(` `)),t==null?e.removeAttribute(`class`):n?e.setAttribute(`class`,t):e.className=t}var Ht=Symbol(`_vod`),Ut=Symbol(`_vsh`),Wt={name:`show`,beforeMount(e,{value:t},{transition:n}){e[Ht]=e.style.display===`none`?``:e.style.display,n&&t?n.beforeEnter(e):Gt(e,t)},mounted(e,{value:t},{transition:n}){n&&t&&n.enter(e)},updated(e,{value:t,oldValue:n},{transition:r}){!t!=!n&&(r?t?(r.beforeEnter(e),Gt(e,!0),r.enter(e)):r.leave(e,()=>{Gt(e,!1)}):Gt(e,t))},beforeUnmount(e,{value:t}){Gt(e,t)}};function Gt(e,t){e.style.display=t?e[Ht]:`none`,e[Ut]=!t}var Kt=Symbol(``);function qt(e){let t=u();if(!t)return;let n=t.ut=(n=e(t.proxy))=>{Array.from(document.querySelectorAll(`[data-v-owner="${t.uid}"]`)).forEach(e=>Yt(e,n))},r=()=>{let r=e(t.proxy);t.ce?Yt(t.ce,r):Jt(t.subTree,r),n(r)};h(()=>{ge(r)}),ue(()=>{Xe(r,m,{flush:`post`});let e=new MutationObserver(r);e.observe(t.subTree.el.parentNode,{childList:!0}),c(()=>e.disconnect())})}function Jt(e,t){if(e.shapeFlag&128){let n=e.suspense;e=n.activeBranch,n.pendingBranch&&!n.isHydrating&&n.effects.push(()=>{Jt(n.activeBranch,t)})}for(;e.component;)e=e.component.subTree;if(e.shapeFlag&1&&e.el)Yt(e.el,t);else if(e.type===Ne)e.children.forEach(e=>Jt(e,t));else if(e.type===Te){let{el:n,anchor:r}=e;for(;n&&(Yt(n,t),n!==r);)n=n.nextSibling}}function Yt(e,t){if(e.nodeType===1){let n=e.style,r=``;for(let e in t){let i=ne(t[e]);n.setProperty(`--${e}`,i),r+=`--${e}: ${i};`}n[Kt]=r}}var Xt=/(?:^|;)\s*display\s*:/;function Zt(e,t,n){let r=e.style,i=l(n),a=!1;if(n&&!i){if(t)if(l(t))for(let e of t.split(`;`)){let t=e.slice(0,e.indexOf(`:`)).trim();n[t]??$t(r,t,``)}else for(let e in t)n[e]??$t(r,e,``);for(let e in n)e===`display`&&(a=!0),$t(r,e,n[e])}else if(i){if(t!==n){let e=r[Kt];e&&(n+=`;`+e),r.cssText=n,a=Xt.test(n)}}else t&&e.removeAttribute(`style`);Ht in e&&(e[Ht]=a?r.display:``,e[Ut]&&(r.display=`none`))}var Qt=/\s*!important$/;function $t(e,t,n){if(oe(n))n.forEach(n=>$t(e,t,n));else if(n??=``,t.startsWith(`--`))e.setProperty(t,n);else{let r=lee(e,t);Qt.test(n)?e.setProperty(s(r),n.replace(Qt,``),`important`):e[r]=n}}var en=[`Webkit`,`Moz`,`ms`],tn={};function lee(e,t){let n=tn[t];if(n)return n;let r=p(t);if(r!==`filter`&&r in e)return tn[t]=r;r=C(r);for(let n=0;n<en.length;n++){let i=en[n]+r;if(i in e)return tn[t]=i}return t}var nn=`http://www.w3.org/1999/xlink`;function rn(e,t,n,r,i,a=tee(t)){r&&t.startsWith(`xlink:`)?n==null?e.removeAttributeNS(nn,t.slice(6,t.length)):e.setAttributeNS(nn,t,n):n==null||a&&!Fe(n)?e.removeAttribute(t):e.setAttribute(t,a?``:he(n)?String(n):n)}function an(e,t,n,r,i){if(t===`innerHTML`||t===`textContent`){n!=null&&(e[t]=t===`innerHTML`?xt(n):n);return}let a=e.tagName;if(t===`value`&&a!==`PROGRESS`&&!a.includes(`-`)){let r=a===`OPTION`?e.getAttribute(`value`)||``:e.value,i=n==null?e.type===`checkbox`?`on`:``:String(n);(r!==i||!(`_value`in e))&&(e.value=i),n??e.removeAttribute(t),e._value=n;return}let o=!1;if(n===``||n==null){let r=typeof e[t];r===`boolean`?n=Fe(n):n==null&&r===`string`?(n=``,o=!0):r===`number`&&(n=0,o=!0)}try{e[t]=n}catch{}o&&e.removeAttribute(i||t)}function on(e,t,n,r){e.addEventListener(t,n,r)}function uee(e,t,n,r){e.removeEventListener(t,n,r)}var sn=Symbol(`_vei`);function dee(e,t,n,r,i=null){let a=e[sn]||(e[sn]={}),o=a[t];if(r&&o)o.value=r;else{let[n,s]=ln(t);r?on(e,n,a[t]=pn(r,i),s):o&&(uee(e,n,o,s),a[t]=void 0)}}var cn=/(?:Once|Passive|Capture)$/;function ln(e){let t;if(cn.test(e)){t={};let n;for(;n=e.match(cn);)e=e.slice(0,e.length-n[0].length),t[n[0].toLowerCase()]=!0}return[e[2]===`:`?e.slice(3):s(e.slice(2)),t]}var un=0,dn=Promise.resolve(),fn=()=>un||=(dn.then(()=>un=0),Date.now());function pn(e,t){let n=e=>{if(!e._vts)e._vts=Date.now();else if(e._vts<=n.attached)return;eee(mn(e,n.value),t,5,[e])};return n.value=e,n.attached=fn(),n}function mn(e,t){if(oe(t)){let n=e.stopImmediatePropagation;return e.stopImmediatePropagation=()=>{n.call(e),e._stopped=!0},t.map(e=>t=>!t._stopped&&e&&e(t))}else return t}var hn=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)>96&&e.charCodeAt(2)<123,gn=(e,t,n,r,i,a)=>{let o=i===`svg`;t===`class`?Vt(e,r,o):t===`style`?Zt(e,n,r):ie(t)?g(t)||dee(e,t,n,r,a):(t[0]===`.`?(t=t.slice(1),!0):t[0]===`^`?(t=t.slice(1),!1):_n(e,t,r,o))?(an(e,t,r),!e.tagName.includes(`-`)&&(t===`value`||t===`checked`||t===`selected`)&&rn(e,t,r,o,a,t!==`value`)):e._isVueCE&&(vn(e,t)||e._def.__asyncLoader&&(/[A-Z]/.test(t)||!l(r)))?an(e,p(t),r,a,t):(t===`true-value`?e._trueValue=r:t===`false-value`&&(e._falseValue=r),rn(e,t,r,o))};function _n(e,t,n,r){if(r)return!!(t===`innerHTML`||t===`textContent`||t in e&&hn(t)&&ce(n));if(t===`spellcheck`||t===`draggable`||t===`translate`||t===`autocorrect`||t===`sandbox`&&e.tagName===`IFRAME`||t===`form`||t===`list`&&e.tagName===`INPUT`||t===`type`&&e.tagName===`TEXTAREA`)return!1;if(t===`width`||t===`height`){let t=e.tagName;if(t===`IMG`||t===`VIDEO`||t===`CANVAS`||t===`SOURCE`)return!1}return hn(t)&&l(n)?!1:t in e}function vn(e,t){let n=e._def.props;if(!n)return!1;let r=p(t);return Array.isArray(n)?n.some(e=>p(e)===r):Object.keys(n).some(e=>p(e)===r)}var yn=e=>{let t=e.props[`onUpdate:modelValue`]||!1;return oe(t)?e=>ae(t,e):t};function bn(e){e.target.composing=!0}function xn(e){let t=e.target;t.composing&&(t.composing=!1,t.dispatchEvent(new Event(`input`)))}var Sn=Symbol(`_assign`);function Cn(e,t,n){return t&&(e=e.trim()),n&&(e=_e(e)),e}var wn={created(e,{modifiers:{lazy:t,trim:n,number:r}},i){e[Sn]=yn(i);let a=r||i.props&&i.props.type===`number`;on(e,t?`change`:`input`,t=>{t.target.composing||e[Sn](Cn(e.value,n,a))}),(n||a)&&on(e,`change`,()=>{e.value=Cn(e.value,n,a)}),t||(on(e,`compositionstart`,bn),on(e,`compositionend`,xn),on(e,`change`,xn))},mounted(e,{value:t}){e.value=t??``},beforeUpdate(e,{value:t,oldValue:n,modifiers:{lazy:r,trim:i,number:a}},o){if(e[Sn]=yn(o),e.composing)return;let s=(a||e.type===`number`)&&!/^0\d/.test(e.value)?_e(e.value):e.value,c=t??``;s!==c&&(document.activeElement===e&&e.type!==`range`&&(r&&t===n||i&&e.value.trim()===c)||(e.value=c))}},Tn={deep:!0,created(e,t,n){e[Sn]=yn(n),on(e,`change`,()=>{let t=e._modelValue,n=An(e),r=e.checked,i=e[Sn];if(oe(t)){let e=me(t,n),a=e!==-1;if(r&&!a)i(t.concat(n));else if(!r&&a){let n=[...t];n.splice(e,1),i(n)}}else if(de(t)){let e=new Set(t);r?e.add(n):e.delete(n),i(e)}else i(jn(e,r))})},mounted:En,beforeUpdate(e,t,n){e[Sn]=yn(n),En(e,t,n)}};function En(e,{value:t,oldValue:n},r){e._modelValue=t;let i;if(oe(t))i=me(t,r.props.value)>-1;else if(de(t))i=t.has(r.props.value);else{if(t===n)return;i=b(t,jn(e,!0))}e.checked!==i&&(e.checked=i)}var Dn={created(e,{value:t},n){e.checked=b(t,n.props.value),e[Sn]=yn(n),on(e,`change`,()=>{e[Sn](An(e))})},beforeUpdate(e,{value:t,oldValue:n},r){e[Sn]=yn(r),t!==n&&(e.checked=b(t,r.props.value))}},On={deep:!0,created(e,{value:t,modifiers:{number:n}},r){let i=de(t);on(e,`change`,()=>{let t=Array.prototype.filter.call(e.options,e=>e.selected).map(e=>n?_e(An(e)):An(e));e[Sn](e.multiple?i?new Set(t):t:t[0]),e._assigning=!0,Pe(()=>{e._assigning=!1})}),e[Sn]=yn(r)},mounted(e,{value:t}){kn(e,t)},beforeUpdate(e,t,n){e[Sn]=yn(n)},updated(e,{value:t}){e._assigning||kn(e,t)}};function kn(e,t){let n=e.multiple,r=oe(t);if(!(n&&!r&&!de(t))){for(let i=0,a=e.options.length;i<a;i++){let a=e.options[i],o=An(a);if(n)if(r){let e=typeof o;e===`string`||e===`number`?a.selected=t.some(e=>String(e)===String(o)):a.selected=me(t,o)>-1}else a.selected=t.has(o);else if(b(An(a),t)){e.selectedIndex!==i&&(e.selectedIndex=i);return}}!n&&e.selectedIndex!==-1&&(e.selectedIndex=-1)}}function An(e){return`_value`in e?e._value:e.value}function jn(e,t){let n=t?`_trueValue`:`_falseValue`;return n in e?e[n]:t}var Mn={created(e,t,n){Pn(e,t,n,null,`created`)},mounted(e,t,n){Pn(e,t,n,null,`mounted`)},beforeUpdate(e,t,n,r){Pn(e,t,n,r,`beforeUpdate`)},updated(e,t,n,r){Pn(e,t,n,r,`updated`)}};function Nn(e,t){switch(e){case`SELECT`:return On;case`TEXTAREA`:return wn;default:switch(t){case`checkbox`:return Tn;case`radio`:return Dn;default:return wn}}}function Pn(e,t,n,r,i){let a=Nn(e.tagName,n.props&&n.props.type)[i];a&&a(e,t,n,r)}var Fn=[`ctrl`,`shift`,`alt`,`meta`],In={stop:e=>e.stopPropagation(),prevent:e=>e.preventDefault(),self:e=>e.target!==e.currentTarget,ctrl:e=>!e.ctrlKey,shift:e=>!e.shiftKey,alt:e=>!e.altKey,meta:e=>!e.metaKey,left:e=>`button`in e&&e.button!==0,middle:e=>`button`in e&&e.button!==1,right:e=>`button`in e&&e.button!==2,exact:(e,t)=>Fn.some(n=>e[`${n}Key`]&&!t.includes(n))},Ln=(e,t)=>{if(!e)return e;let n=e._withMods||={},r=t.join(`.`);return n[r]||(n[r]=((n,...r)=>{for(let e=0;e<t.length;e++){let r=In[t[e]];if(r&&r(n,t))return}return e(n,...r)}))},Rn={esc:`escape`,space:` `,up:`arrow-up`,left:`arrow-left`,right:`arrow-right`,down:`arrow-down`,delete:`backspace`},zn=(e,t)=>{let n=e._withKeys||={},r=t.join(`.`);return n[r]||(n[r]=(n=>{if(!(`key`in n))return;let r=s(n.key);if(t.some(e=>e===r||Rn[e]===r))return e(n)}))},Bn=Le({patchProp:gn},wt),Vn,Hn=!1;function Un(){return Vn||=Ae(Bn)}function fee(){return Vn=Hn?Vn:ze(Bn),Hn=!0,Vn}var pee=((...e)=>{Un().render(...e)}),Wn=((...e)=>{let t=Un().createApp(...e),{mount:n}=t;return t.mount=e=>{let r=Kn(e);if(!r)return;let i=t._component;!ce(i)&&!i.render&&!i.template&&(i.template=r.innerHTML),r.nodeType===1&&(r.textContent=``);let a=n(r,!1,Gn(r));return r instanceof Element&&(r.removeAttribute(`v-cloak`),r.setAttribute(`data-v-app`,``)),a},t}),mee=((...e)=>{let t=fee().createApp(...e),{mount:n}=t;return t.mount=e=>{let t=Kn(e);if(t)return n(t,!0,Gn(t))},t});function Gn(e){if(e instanceof SVGElement)return`svg`;if(typeof MathMLElement==`function`&&e instanceof MathMLElement)return`mathml`}function Kn(e){return l(e)?document.querySelector(e):e}function hee(e,t,n){let r=A(n?.value),i=j(()=>e.value!==void 0);return[j(()=>i.value?e.value:r.value),function(e){return i.value||(r.value=e),t?.(e)}]}function qn(e){typeof queueMicrotask==`function`?queueMicrotask(e):Promise.resolve().then(e).catch(e=>setTimeout(()=>{throw e}))}function Jn(){let e=[],t={addEventListener(e,n,r,i){return e.addEventListener(n,r,i),t.add(()=>e.removeEventListener(n,r,i))},requestAnimationFrame(...e){let n=requestAnimationFrame(...e);t.add(()=>cancelAnimationFrame(n))},nextFrame(...e){t.requestAnimationFrame(()=>{t.requestAnimationFrame(...e)})},setTimeout(...e){let n=setTimeout(...e);t.add(()=>clearTimeout(n))},microTask(...e){let n={current:!0};return qn(()=>{n.current&&e[0]()}),t.add(()=>{n.current=!1})},style(e,t,n){let r=e.style.getPropertyValue(t);return Object.assign(e.style,{[t]:n}),this.add(()=>{Object.assign(e.style,{[t]:r})})},group(e){let t=Jn();return e(t),this.add(()=>t.dispose())},add(t){return e.push(t),()=>{let n=e.indexOf(t);if(n>=0)for(let t of e.splice(n,1))t()}},dispose(){for(let t of e.splice(0))t()}};return t}var Yn=Symbol(`headlessui.useid`),gee=0,Xn=xe??function(){return f(Yn,()=>`${++gee}`)()};function Zn(e){pe(Yn,e)}function I(e){if(e==null||e.value==null)return null;let t=e.value.$el??e.value;return t instanceof Node?t:null}function Qn(e,t,...n){if(e in t){let r=t[e];return typeof r==`function`?r(...n):r}let r=Error(`Tried to handle "${e}" but there is no handler defined. Only defined handlers are: ${Object.keys(t).map(e=>`"${e}"`).join(`, `)}.`);throw Error.captureStackTrace&&Error.captureStackTrace(r,Qn),r}var $n=Object.defineProperty,er=(e,t,n)=>t in e?$n(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,tr=(e,t,n)=>(er(e,typeof t==`symbol`?t:t+``,n),n),nr=new class{constructor(){tr(this,`current`,this.detect()),tr(this,`currentId`,0)}set(e){this.current!==e&&(this.currentId=0,this.current=e)}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`}};function rr(e){if(nr.isServer)return null;if(e instanceof Node)return e.ownerDocument;if(e!=null&&e.hasOwnProperty(`value`)){let t=I(e);if(t)return t.ownerDocument}return document}var ir=[`[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(`,`),ar=(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))(ar||{}),or=(e=>(e[e.Error=0]=`Error`,e[e.Overflow=1]=`Overflow`,e[e.Success=2]=`Success`,e[e.Underflow=3]=`Underflow`,e))(or||{}),sr=(e=>(e[e.Previous=-1]=`Previous`,e[e.Next=1]=`Next`,e))(sr||{});function cr(e=document.body){return e==null?[]:Array.from(e.querySelectorAll(ir)).sort((e,t)=>Math.sign((e.tabIndex||2**53-1)-(t.tabIndex||2**53-1)))}var lr=(e=>(e[e.Strict=0]=`Strict`,e[e.Loose=1]=`Loose`,e))(lr||{});function ur(e,t=0){return e===rr(e)?.body?!1:Qn(t,{0(){return e.matches(ir)},1(){let t=e;for(;t!==null;){if(t.matches(ir))return!0;t=t.parentElement}return!1}})}function dr(e){let t=rr(e);Pe(()=>{t&&!ur(t.activeElement,0)&&pr(e)})}var fr=(e=>(e[e.Keyboard=0]=`Keyboard`,e[e.Mouse=1]=`Mouse`,e))(fr||{});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 pr(e){e?.focus({preventScroll:!0})}var mr=[`textarea`,`input`].join(`,`);function hr(e){return(e?.matches)?.call(e,mr)??!1}function gr(e,t=e=>e){return e.slice().sort((e,n)=>{let r=t(e),i=t(n);if(r===null||i===null)return 0;let a=r.compareDocumentPosition(i);return a&Node.DOCUMENT_POSITION_FOLLOWING?-1:a&Node.DOCUMENT_POSITION_PRECEDING?1:0})}function _r(e,t){return vr(cr(),t,{relativeTo:e})}function vr(e,t,{sorted:n=!0,relativeTo:r=null,skipElements:i=[]}={}){let a=(Array.isArray(e)?e.length>0?e[0].ownerDocument:document:e?.ownerDocument)??document,o=Array.isArray(e)?n?gr(e):e:cr(e);i.length>0&&o.length>1&&(o=o.filter(e=>!i.includes(e))),r??=a.activeElement;let s=(()=>{if(t&5)return 1;if(t&10)return-1;throw Error(`Missing Focus.First, Focus.Previous, Focus.Next or Focus.Last`)})(),c=(()=>{if(t&1)return 0;if(t&2)return Math.max(0,o.indexOf(r))-1;if(t&4)return Math.max(0,o.indexOf(r))+1;if(t&8)return o.length-1;throw Error(`Missing Focus.First, Focus.Previous, Focus.Next or Focus.Last`)})(),l=t&32?{preventScroll:!0}:{},u=0,d=o.length,f;do{if(u>=d||u+d<=0)return 0;let e=c+u;if(t&16)e=(e+d)%d;else{if(e<0)return 3;if(e>=d)return 1}f=o[e],f?.focus(l),u+=s}while(f!==a.activeElement);return t&6&&hr(f)&&f.select(),2}function yr(){return/iPhone/gi.test(window.navigator.platform)||/Mac/gi.test(window.navigator.platform)&&window.navigator.maxTouchPoints>0}function br(){return/Android/gi.test(window.navigator.userAgent)}function xr(){return yr()||br()}function Sr(e,t,n){nr.isServer||He(r=>{document.addEventListener(e,t,n),r(()=>document.removeEventListener(e,t,n))})}function Cr(e,t,n){nr.isServer||He(r=>{window.addEventListener(e,t,n),r(()=>window.removeEventListener(e,t,n))})}function wr(e,t,n=j(()=>!0)){function r(r,i){if(!n.value||r.defaultPrevented)return;let a=i(r);if(a===null||!a.getRootNode().contains(a))return;let o=function e(t){return typeof t==`function`?e(t()):Array.isArray(t)||t instanceof Set?t:[t]}(e);for(let e of o){if(e===null)continue;let t=e instanceof HTMLElement?e:I(e);if(t!=null&&t.contains(a)||r.composed&&r.composedPath().includes(t))return}return!ur(a,lr.Loose)&&a.tabIndex!==-1&&r.preventDefault(),t(r,a)}let i=A(null);Sr(`pointerdown`,e=>{n.value&&(i.value=e.composedPath?.call(e)?.[0]||e.target)},!0),Sr(`mousedown`,e=>{n.value&&(i.value=e.composedPath?.call(e)?.[0]||e.target)},!0),Sr(`click`,e=>{xr()||(i.value&&=(r(e,()=>i.value),null))},!0),Sr(`touchend`,e=>r(e,()=>e.target instanceof HTMLElement?e.target:null),!0),Cr(`blur`,e=>r(e,()=>window.document.activeElement instanceof HTMLIFrameElement?window.document.activeElement:null),!0)}function Tr(e,t){if(e)return e;let n=t??`button`;if(typeof n==`string`&&n.toLowerCase()===`button`)return`button`}function Er(e,t){let n=A(Tr(e.value.type,e.value.as));return ue(()=>{n.value=Tr(e.value.type,e.value.as)}),He(()=>{var e;n.value||I(t)&&I(t)instanceof HTMLButtonElement&&!((e=I(t))!=null&&e.hasAttribute(`type`))&&(n.value=`button`)}),n}function Dr(e){return[e.screenX,e.screenY]}function Or(){let e=A([-1,-1]);return{wasMoved(t){let n=Dr(t);return e.value[0]===n[0]&&e.value[1]===n[1]?!1:(e.value=n,!0)},update(t){e.value=Dr(t)}}}var kr=(e=>(e[e.None=0]=`None`,e[e.RenderStrategy=1]=`RenderStrategy`,e[e.Static=2]=`Static`,e))(kr||{}),Ar=(e=>(e[e.Unmount=0]=`Unmount`,e[e.Hidden=1]=`Hidden`,e))(Ar||{});function jr({visible:e=!0,features:t=0,ourProps:n,theirProps:r,...i}){var a;let o=Pr(r,n),s=Object.assign(i,{props:o});return e||t&2&&o.static?Mr(s):t&1?Qn((a=o.unmount)==null||a?0:1,{0(){return null},1(){return Mr({...i,props:{...o,hidden:!0,style:{display:`none`}}})}}):Mr(s)}function Mr({props:e,attrs:t,slots:n,slot:r,name:i}){let{as:a,...o}=Ir(e,[`unmount`,`static`]),s=n.default?.call(n,r),c={};if(r){let e=!1,t=[];for(let[n,i]of Object.entries(r))typeof i==`boolean`&&(e=!0),i===!0&&t.push(n);e&&(c[`data-headlessui-state`]=t.join(` `))}if(a===`template`){if(s=Nr(s??[]),Object.keys(o).length>0||Object.keys(t).length>0){let[e,...n]=s??[];if(!Lr(e)||n.length>0)throw Error([`Passing props on "template"!`,``,`The current component <${i} /> is rendering a "template".`,`However we need to passthrough the following props:`,Object.keys(o).concat(Object.keys(t)).map(e=>e.trim()).filter((e,t,n)=>n.indexOf(e)===t).sort((e,t)=>e.localeCompare(t)).map(e=>` - ${e}`).join(`
2
+ `),``,`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(e=>` - ${e}`).join(`
3
+ `)].join(`
4
+ `));let r=Pr(e.props??{},o,c),a=De(e,r,!0);for(let e in r)e.startsWith(`on`)&&(a.props||={},a.props[e]=r[e]);return a}return Array.isArray(s)&&s.length===1?s[0]:s}return fe(a,Object.assign({},o,c),{default:()=>s})}function Nr(e){return e.flatMap(e=>e.type===Ne?Nr(e.children):[e])}function Pr(...e){if(e.length===0)return{};if(e.length===1)return e[0];let t={},n={};for(let r of e)for(let e in r)e.startsWith(`on`)&&typeof r[e]==`function`?(n[e]??(n[e]=[]),n[e].push(r[e])):t[e]=r[e];if(t.disabled||t[`aria-disabled`])return Object.assign(t,Object.fromEntries(Object.keys(n).map(e=>[e,void 0])));for(let e in n)Object.assign(t,{[e](t,...r){let i=n[e];for(let e of i){if(t instanceof Event&&t.defaultPrevented)return;e(t,...r)}}});return t}function Fr(e){let t=Object.assign({},e);for(let e in t)t[e]===void 0&&delete t[e];return t}function Ir(e,t=[]){let n=Object.assign({},e);for(let e of t)e in n&&delete n[e];return n}function Lr(e){return e==null?!1:typeof e.type==`string`||typeof e.type==`object`||typeof e.type==`function`}var Rr=(e=>(e[e.None=1]=`None`,e[e.Focusable=2]=`Focusable`,e[e.Hidden=4]=`Hidden`,e))(Rr||{}),zr=w({name:`Hidden`,props:{as:{type:[Object,String],default:`div`},features:{type:Number,default:1}},setup(e,{slots:t,attrs:n}){return()=>{let{features:r,...i}=e;return jr({ourProps:{"aria-hidden":(r&2)==2?!0:i[`aria-hidden`]??void 0,hidden:(r&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`,...(r&4)==4&&(r&2)!=2&&{display:`none`}}},theirProps:i,slot:{},attrs:n,slots:t,name:`Hidden`})}}}),Br=Symbol(`Context`),Vr=(e=>(e[e.Open=1]=`Open`,e[e.Closed=2]=`Closed`,e[e.Closing=4]=`Closing`,e[e.Opening=8]=`Opening`,e))(Vr||{});function Hr(){return f(Br,null)}function Ur(e){pe(Br,e)}var Wr=(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))(Wr||{});function _ee(e){function t(){document.readyState!==`loading`&&(e(),document.removeEventListener(`DOMContentLoaded`,t))}typeof window<`u`&&typeof document<`u`&&(document.addEventListener(`DOMContentLoaded`,t),t())}var Gr=[];_ee(()=>{function e(e){e.target instanceof HTMLElement&&e.target!==document.body&&Gr[0]!==e.target&&(Gr.unshift(e.target),Gr=Gr.filter(e=>e!=null&&e.isConnected),Gr.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 vee(e){throw Error(`Unexpected object: `+e)}var Kr=(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))(Kr||{});function qr(e,t){let n=t.resolveItems();if(n.length<=0)return null;let r=t.resolveActiveIndex(),i=r??-1;switch(e.focus){case 0:for(let e=0;e<n.length;++e)if(!t.resolveDisabled(n[e],e,n))return e;return r;case 1:i===-1&&(i=n.length);for(let e=i-1;e>=0;--e)if(!t.resolveDisabled(n[e],e,n))return e;return r;case 2:for(let e=i+1;e<n.length;++e)if(!t.resolveDisabled(n[e],e,n))return e;return r;case 3:for(let e=n.length-1;e>=0;--e)if(!t.resolveDisabled(n[e],e,n))return e;return r;case 4:for(let r=0;r<n.length;++r)if(t.resolveId(n[r],r,n)===e.id)return r;return r;case 5:return null;default:vee(e)}}function Jr(e={},t=null,n=[]){for(let[r,i]of Object.entries(e))Xr(n,Yr(t,r),i);return n}function Yr(e,t){return e?e+`[`+t+`]`:t}function Xr(e,t,n){if(Array.isArray(n))for(let[r,i]of n.entries())Xr(e,Yr(t,r.toString()),i);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,``]):Jr(n,t,e)}function Zr(e,t,n,r){nr.isServer||He(i=>{e??=window,e.addEventListener(t,n,r),i(()=>e.removeEventListener(t,n,r))})}var Qr=(e=>(e[e.Forwards=0]=`Forwards`,e[e.Backwards=1]=`Backwards`,e))(Qr||{});function $r(){let e=A(0);return Cr(`keydown`,t=>{t.key===`Tab`&&(e.value=t.shiftKey?1:0)}),e}function ei(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 e=I(n);e instanceof HTMLElement&&t.add(e)}return t}var ti=(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))(ti||{}),ni=Object.assign(w({name:`FocusTrap`,props:{as:{type:[Object,String],default:`div`},initialFocus:{type:Object,default:null},features:{type:Number,default:30},containers:{type:[Object,Function],default:A(new Set)}},inheritAttrs:!1,setup(e,{attrs:t,slots:n,expose:r}){let i=A(null);r({el:i,$el:i});let a=j(()=>rr(i)),o=A(!1);ue(()=>o.value=!0),c(()=>o.value=!1),ii({ownerDocument:a},j(()=>o.value&&!!(e.features&16)));let s=ai({ownerDocument:a,container:i,initialFocus:j(()=>e.initialFocus)},j(()=>o.value&&!!(e.features&2)));oi({ownerDocument:a,container:i,containers:e.containers,previousActiveElement:s},j(()=>o.value&&!!(e.features&8)));let l=$r();function u(e){let t=I(i);t&&(e=>e())(()=>{Qn(l.value,{[Qr.Forwards]:()=>{vr(t,ar.First,{skipElements:[e.relatedTarget]})},[Qr.Backwards]:()=>{vr(t,ar.Last,{skipElements:[e.relatedTarget]})}})})}let d=A(!1);function f(e){e.key===`Tab`&&(d.value=!0,requestAnimationFrame(()=>{d.value=!1}))}function p(t){if(!o.value)return;let n=ei(e.containers);I(i)instanceof HTMLElement&&n.add(I(i));let r=t.relatedTarget;r instanceof HTMLElement&&r.dataset.headlessuiFocusGuard!==`true`&&(si(n,r)||(d.value?vr(I(i),Qn(l.value,{[Qr.Forwards]:()=>ar.Next,[Qr.Backwards]:()=>ar.Previous})|ar.WrapAround,{relativeTo:t.target}):t.target instanceof HTMLElement&&pr(t.target)))}return()=>{let r={},a={ref:i,onKeydown:f,onFocusout:p},{features:o,initialFocus:s,containers:c,...l}=e;return fe(Ne,[!!(o&4)&&fe(zr,{as:`button`,type:`button`,"data-headlessui-focus-guard":!0,onFocus:u,features:Rr.Focusable}),jr({ourProps:a,theirProps:{...t,...l},slot:r,attrs:t,slots:n,name:`FocusTrap`}),!!(o&4)&&fe(zr,{as:`button`,type:`button`,"data-headlessui-focus-guard":!0,onFocus:u,features:Rr.Focusable})])}}}),{features:ti});function ri(e){let t=A(Gr.slice());return Xe([e],([e],[n])=>{n===!0&&e===!1?qn(()=>{t.value.splice(0)}):n===!1&&e===!0&&(t.value=Gr.slice())},{flush:`post`}),()=>t.value.find(e=>e!=null&&e.isConnected)??null}function ii({ownerDocument:e},t){let n=ri(t);ue(()=>{He(()=>{t.value||e.value?.activeElement===e.value?.body&&pr(n())},{flush:`post`})}),c(()=>{t.value&&pr(n())})}function ai({ownerDocument:e,container:t,initialFocus:n},r){let i=A(null),a=A(!1);return ue(()=>a.value=!0),c(()=>a.value=!1),ue(()=>{Xe([t,n,r],(o,s)=>{if(o.every((e,t)=>s?.[t]===e)||!r.value)return;let c=I(t);c&&qn(()=>{if(!a.value)return;let t=I(n),r=e.value?.activeElement;if(t){if(t===r){i.value=r;return}}else if(c.contains(r)){i.value=r;return}t?pr(t):vr(c,ar.First|ar.NoScroll)===or.Error&&console.warn(`There are no focusable elements inside the <FocusTrap />`),i.value=e.value?.activeElement})},{immediate:!0,flush:`post`})}),i}function oi({ownerDocument:e,container:t,containers:n,previousActiveElement:r},i){Zr(e.value?.defaultView,`focus`,e=>{if(!i.value)return;let a=ei(n);I(t)instanceof HTMLElement&&a.add(I(t));let o=r.value;if(!o)return;let s=e.target;s&&s instanceof HTMLElement?si(a,s)?(r.value=s,pr(s)):(e.preventDefault(),e.stopPropagation(),pr(o)):pr(r.value)},!0)}function si(e,t){for(let n of e)if(n.contains(t))return!0;return!1}function ci(e){let t=nt(e.getSnapshot());return c(e.subscribe(()=>{t.value=e.getSnapshot()})),t}function li(e,t){let n=e(),r=new Set;return{getSnapshot(){return n},subscribe(e){return r.add(e),()=>r.delete(e)},dispatch(e,...i){let a=t[e].call(n,...i);a&&(n=a,r.forEach(e=>e()))}}}function ui(){let e;return{before({doc:t}){let n=t.documentElement;e=(t.defaultView??window).innerWidth-n.clientWidth},after({doc:t,d:n}){let r=t.documentElement,i=r.clientWidth-r.offsetWidth,a=e-i;n.style(r,`paddingRight`,`${a}px`)}}}function di(){return yr()?{before({doc:e,d:t,meta:n}){function r(e){return n.containers.flatMap(e=>e()).some(t=>t.contains(e))}t.microTask(()=>{if(window.getComputedStyle(e.documentElement).scrollBehavior!==`auto`){let n=Jn();n.style(e.documentElement,`scrollBehavior`,`auto`),t.add(()=>t.microTask(()=>n.dispose()))}let n=window.scrollY??window.pageYOffset,i=null;t.addEventListener(e,`click`,t=>{if(t.target instanceof HTMLElement)try{let n=t.target.closest(`a`);if(!n)return;let{hash:a}=new URL(n.href),o=e.querySelector(a);o&&!r(o)&&(i=o)}catch{}},!0),t.addEventListener(e,`touchstart`,e=>{if(e.target instanceof HTMLElement)if(r(e.target)){let n=e.target;for(;n.parentElement&&r(n.parentElement);)n=n.parentElement;t.style(n,`overscrollBehavior`,`contain`)}else t.style(e.target,`touchAction`,`none`)}),t.addEventListener(e,`touchmove`,e=>{if(e.target instanceof HTMLElement){if(e.target.tagName===`INPUT`)return;if(r(e.target)){let t=e.target;for(;t.parentElement&&t.dataset.headlessuiPortal!==``&&!(t.scrollHeight>t.clientHeight||t.scrollWidth>t.clientWidth);)t=t.parentElement;t.dataset.headlessuiPortal===``&&e.preventDefault()}else e.preventDefault()}},{passive:!1}),t.add(()=>{n!==(window.scrollY??window.pageYOffset)&&window.scrollTo(0,n),i&&i.isConnected&&(i.scrollIntoView({block:`nearest`}),i=null)})})}}:{}}function fi(){return{before({doc:e,d:t}){t.style(e.documentElement,`overflow`,`hidden`)}}}function pi(e){let t={};for(let n of e)Object.assign(t,n(t));return t}var mi=li(()=>new Map,{PUSH(e,t){let n=this.get(e)??{doc:e,count:0,d:Jn(),meta:new Set};return n.count++,n.meta.add(t),this.set(e,n),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:pi(n)},i=[di(),ui(),fi()];i.forEach(({before:e})=>e?.(r)),i.forEach(({after:e})=>e?.(r))},SCROLL_ALLOW({d:e}){e.dispose()},TEARDOWN({doc:e}){this.delete(e)}});mi.subscribe(()=>{let e=mi.getSnapshot(),t=new Map;for(let[n]of e)t.set(n,n.documentElement.style.overflow);for(let n of e.values()){let e=t.get(n.doc)===`hidden`,r=n.count!==0;(r&&!e||!r&&e)&&mi.dispatch(n.count>0?`SCROLL_PREVENT`:`SCROLL_ALLOW`,n),n.count===0&&mi.dispatch(`TEARDOWN`,n)}});function hi(e,t,n){let r=ci(mi),i=j(()=>{let t=e.value?r.value.get(e.value):void 0;return t?t.count>0:!1});return Xe([e,t],([e,t],[r],i)=>{if(!e||!t)return;mi.dispatch(`PUSH`,e,n);let a=!1;i(()=>{a||=(mi.dispatch(`POP`,r??e,n),!0)})},{immediate:!0}),i}var gi=new Map,_i=new Map;function vi(e,t=A(!0)){He(n=>{if(!t.value)return;let r=I(e);if(!r)return;n(function(){if(!r)return;let e=_i.get(r)??1;if(e===1?_i.delete(r):_i.set(r,e-1),e!==1)return;let t=gi.get(r);t&&(t[`aria-hidden`]===null?r.removeAttribute(`aria-hidden`):r.setAttribute(`aria-hidden`,t[`aria-hidden`]),r.inert=t.inert,gi.delete(r))});let i=_i.get(r)??0;_i.set(r,i+1),i===0&&(gi.set(r,{"aria-hidden":r.getAttribute(`aria-hidden`),inert:r.inert}),r.setAttribute(`aria-hidden`,`true`),r.inert=!0)})}function yi({defaultContainers:e=[],portals:t,mainTreeNodeRef:n}={}){let r=A(null),i=rr(r);function a(){let n=[];for(let t of e)t!==null&&(t instanceof HTMLElement?n.push(t):`value`in t&&t.value instanceof HTMLElement&&n.push(t.value));if(t!=null&&t.value)for(let e of t.value)n.push(e);for(let e of i?.querySelectorAll(`html > *, body > *`)??[])e!==document.body&&e!==document.head&&e instanceof HTMLElement&&e.id!==`headlessui-portal-root`&&(e.contains(I(r))||e.contains(I(r)?.getRootNode()?.host)||n.some(t=>e.contains(t))||n.push(e));return n}return{resolveContainers:a,contains(e){return a().some(t=>t.contains(e))},mainTreeNodeRef:r,MainTreeNode(){return n==null?fe(zr,{features:Rr.Hidden,ref:r}):null}}}function bi(){let e=A(null);return{mainTreeNodeRef:e,MainTreeNode(){return fe(zr,{features:Rr.Hidden,ref:e})}}}var xi=Symbol(`ForcePortalRootContext`);function Si(){return f(xi,!1)}var Ci=w({name:`ForcePortalRoot`,props:{as:{type:[Object,String],default:`template`},force:{type:Boolean,default:!1}},setup(e,{slots:t,attrs:n}){return pe(xi,e.force),()=>{let{force:r,...i}=e;return jr({theirProps:i,ourProps:{},slot:{},slots:t,attrs:n,name:`ForcePortalRoot`})}}}),wi=Symbol(`StackContext`),Ti=(e=>(e[e.Add=0]=`Add`,e[e.Remove=1]=`Remove`,e))(Ti||{});function Ei(){return f(wi,()=>{})}function Di({type:e,enabled:t,element:n,onUpdate:r}){let i=Ei();function a(...e){r?.(...e),i(...e)}ue(()=>{Xe(t,(t,r)=>{t?a(0,e,n):r===!0&&a(1,e,n)},{immediate:!0,flush:`sync`})}),c(()=>{t.value&&a(1,e,n)}),pe(wi,a)}var Oi=Symbol(`DescriptionContext`);function ki(){let e=f(Oi,null);if(e===null)throw Error(`Missing parent`);return e}function Ai({slot:e=A({}),name:t=`Description`,props:n={}}={}){let r=A([]);function i(e){return r.value.push(e),()=>{let t=r.value.indexOf(e);t!==-1&&r.value.splice(t,1)}}return pe(Oi,{register:i,slot:e,name:t,props:n}),j(()=>r.value.length>0?r.value.join(` `):void 0)}w({name:`Description`,props:{as:{type:[Object,String],default:`p`},id:{type:String,default:null}},setup(e,{attrs:t,slots:n}){let r=e.id??`headlessui-description-${Xn()}`,i=ki();return ue(()=>c(i.register(r))),()=>{let{name:a=`Description`,slot:o=A({}),props:s={}}=i,{...c}=e;return jr({ourProps:{...Object.entries(s).reduce((e,[t,n])=>Object.assign(e,{[t]:T(n)}),{}),id:r},theirProps:c,slot:o.value,attrs:t,slots:n,name:a})}}});function ji(e){let t=rr(e);if(!t){if(e===null)return null;throw 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)}var Mi=new WeakMap;function Ni(e){return Mi.get(e)??0}function Pi(e,t){let n=t(Ni(e));return n<=0?Mi.delete(e):Mi.set(e,n),n}var Fi=w({name:`Portal`,props:{as:{type:[Object,String],default:`div`}},setup(e,{slots:t,attrs:n}){let r=A(null),i=j(()=>rr(r)),a=Si(),o=f(Ri,null),s=A(a===!0||o==null?ji(r.value):o.resolveTarget());s.value&&Pi(s.value,e=>e+1);let l=A(!1);ue(()=>{l.value=!0}),He(()=>{a||o!=null&&(s.value=o.resolveTarget())});let d=f(Ii,null),p=!1,m=u();return Xe(r,()=>{if(p||!d)return;let e=I(r);e&&(c(d.register(e),m),p=!0)}),c(()=>{var e;let t=i.value?.getElementById(`headlessui-portal-root`);!t||s.value!==t||Pi(s.value,e=>e-1)||s.value.children.length>0||(e=s.value.parentElement)==null||e.removeChild(s.value)}),()=>{if(!l.value||s.value===null)return null;let i={ref:r,"data-headlessui-portal":``};return fe(Ue,{to:s.value},jr({ourProps:i,theirProps:e,slot:{},attrs:n,slots:t,name:`Portal`}))}}}),Ii=Symbol(`PortalParentContext`);function Li(){let e=f(Ii,null),t=A([]);function n(n){return t.value.push(n),e&&e.register(n),()=>r(n)}function r(n){let r=t.value.indexOf(n);r!==-1&&t.value.splice(r,1),e&&e.unregister(n)}let i={register:n,unregister:r,portals:t};return[t,w({name:`PortalWrapper`,setup(e,{slots:t}){return pe(Ii,i),()=>t.default?.call(t)}})]}var Ri=Symbol(`PortalGroupContext`),zi=w({name:`PortalGroup`,props:{as:{type:[Object,String],default:`template`},target:{type:Object,default:null}},setup(e,{attrs:t,slots:n}){return pe(Ri,Be({resolveTarget(){return e.target}})),()=>{let{target:r,...i}=e;return jr({theirProps:i,ourProps:{},slot:{},attrs:t,slots:n,name:`PortalGroup`})}}}),Bi=(e=>(e[e.Open=0]=`Open`,e[e.Closed=1]=`Closed`,e))(Bi||{}),Vi=Symbol(`DialogContext`);function Hi(e){let t=f(Vi,null);if(t===null){let t=Error(`<${e} /> is missing a parent <Dialog /> component.`);throw Error.captureStackTrace&&Error.captureStackTrace(t,Hi),t}return t}var Ui=`DC8F892D-2EBD-447C-A4C8-A03058436FF4`,Wi=w({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:Ui},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:i}){let a=e.id??`headlessui-dialog-${Xn()}`,o=A(!1);ue(()=>{o.value=!0});let s=!1,c=j(()=>e.role===`dialog`||e.role===`alertdialog`?e.role:(s||(s=!0,console.warn(`Invalid role [${c}] passed to <Dialog />. Only \`dialog\` and and \`alertdialog\` are supported. Using \`dialog\` instead.`)),`dialog`)),l=A(0),u=Hr(),d=j(()=>e.open===Ui&&u!==null?(u.value&Vr.Open)===Vr.Open:e.open),p=A(null),m=j(()=>rr(p));if(i({el:p,$el:p}),!(e.open!==Ui||u!==null))throw Error("You forgot to provide an `open` prop to the `Dialog`.");if(typeof d.value!=`boolean`)throw Error(`You provided an \`open\` prop to the \`Dialog\`, but the value is not a boolean. Received: ${d.value===Ui?void 0:e.open}`);let h=j(()=>o.value&&d.value?0:1),g=j(()=>h.value===0),_=j(()=>l.value>1),v=f(Vi,null)!==null,[y,b]=Li(),{resolveContainers:ee,mainTreeNodeRef:x,MainTreeNode:te}=yi({portals:y,defaultContainers:[j(()=>C.panelRef.value??p.value)]}),S=j(()=>_.value?`parent`:`leaf`),ne=j(()=>u===null?!1:(u.value&Vr.Closing)===Vr.Closing),re=j(()=>v||ne.value?!1:g.value);vi(j(()=>Array.from(m.value?.querySelectorAll(`body > *`)??[]).find(e=>e.id===`headlessui-portal-root`?!1:e.contains(I(x))&&e instanceof HTMLElement)??null),re);let ie=j(()=>_.value?!0:g.value);vi(j(()=>Array.from(m.value?.querySelectorAll(`[data-headlessui-portal]`)??[]).find(e=>e.contains(I(x))&&e instanceof HTMLElement)??null),ie),Di({type:`Dialog`,enabled:j(()=>h.value===0),element:p,onUpdate:(e,t)=>{if(t===`Dialog`)return Qn(e,{[Ti.Add]:()=>l.value+=1,[Ti.Remove]:()=>--l.value})}});let ae=Ai({name:`DialogDescription`,slot:j(()=>({open:d.value}))}),oe=A(null),C={titleId:oe,panelRef:A(null),dialogState:h,setTitleId(e){oe.value!==e&&(oe.value=e)},close(){t(`close`,!1)}};pe(Vi,C),wr(ee,(e,t)=>{e.preventDefault(),C.close(),Pe(()=>t?.focus())},j(()=>!(!g.value||_.value)));let se=j(()=>!(_.value||h.value!==0));return Zr(m.value?.defaultView,`keydown`,e=>{se.value&&(e.defaultPrevented||e.key===Wr.Escape&&(e.preventDefault(),e.stopPropagation(),C.close()))}),hi(m,j(()=>!(ne.value||h.value!==0||v)),e=>({containers:[...e.containers??[],ee]})),He(e=>{if(h.value!==0)return;let t=I(p);if(!t)return;let n=new ResizeObserver(e=>{for(let t of e){let e=t.target.getBoundingClientRect();e.x===0&&e.y===0&&e.width===0&&e.height===0&&C.close()}});n.observe(t),e(()=>n.disconnect())}),()=>{let{open:t,initialFocus:i,...o}=e,s={...n,ref:p,id:a,role:c.value,"aria-modal":h.value===0?!0:void 0,"aria-labelledby":oe.value,"aria-describedby":ae.value},l={open:h.value===0};return fe(Ci,{force:!0},()=>[fe(Fi,()=>fe(zi,{target:p.value},()=>fe(Ci,{force:!1},()=>fe(ni,{initialFocus:i,containers:ee,features:g.value?Qn(S.value,{parent:ni.features.RestoreFocus,leaf:ni.features.All&~ni.features.FocusLock}):ni.features.None},()=>fe(b,{},()=>jr({ourProps:s,theirProps:{...o,...n},slot:l,attrs:n,slots:r,visible:h.value===0,features:kr.RenderStrategy|kr.Static,name:`Dialog`})))))),fe(te)])}}});w({name:`DialogOverlay`,props:{as:{type:[Object,String],default:`div`},id:{type:String,default:null}},setup(e,{attrs:t,slots:n}){let r=e.id??`headlessui-dialog-overlay-${Xn()}`,i=Hi(`DialogOverlay`);function a(e){e.target===e.currentTarget&&(e.preventDefault(),e.stopPropagation(),i.close())}return()=>{let{...o}=e;return jr({ourProps:{id:r,"aria-hidden":!0,onClick:a},theirProps:o,slot:{open:i.dialogState.value===0},attrs:t,slots:n,name:`DialogOverlay`})}}}),w({name:`DialogBackdrop`,props:{as:{type:[Object,String],default:`div`},id:{type:String,default:null}},inheritAttrs:!1,setup(e,{attrs:t,slots:n,expose:r}){let i=e.id??`headlessui-dialog-backdrop-${Xn()}`,a=Hi(`DialogBackdrop`),o=A(null);return r({el:o,$el:o}),ue(()=>{if(a.panelRef.value===null)throw Error(`A <DialogBackdrop /> component is being used, but a <DialogPanel /> component is missing.`)}),()=>{let{...r}=e,s={id:i,ref:o,"aria-hidden":!0};return fe(Ci,{force:!0},()=>fe(Fi,()=>jr({ourProps:s,theirProps:{...t,...r},slot:{open:a.dialogState.value===0},attrs:t,slots:n,name:`DialogBackdrop`})))}}});var Gi=w({name:`DialogPanel`,props:{as:{type:[Object,String],default:`div`},id:{type:String,default:null}},setup(e,{attrs:t,slots:n,expose:r}){let i=e.id??`headlessui-dialog-panel-${Xn()}`,a=Hi(`DialogPanel`);r({el:a.panelRef,$el:a.panelRef});function o(e){e.stopPropagation()}return()=>{let{...r}=e;return jr({ourProps:{id:i,ref:a.panelRef,onClick:o},theirProps:r,slot:{open:a.dialogState.value===0},attrs:t,slots:n,name:`DialogPanel`})}}}),Ki=w({name:`DialogTitle`,props:{as:{type:[Object,String],default:`h2`},id:{type:String,default:null}},setup(e,{attrs:t,slots:n}){let r=e.id??`headlessui-dialog-title-${Xn()}`,i=Hi(`DialogTitle`);return ue(()=>{i.setTitleId(r),c(()=>i.setTitleId(null))}),()=>{let{...a}=e;return jr({ourProps:{id:r},theirProps:a,slot:{open:i.dialogState.value===0},attrs:t,slots:n,name:`DialogTitle`})}}}),qi=(e=>(e[e.Open=0]=`Open`,e[e.Closed=1]=`Closed`,e))(qi||{}),Ji=Symbol(`DisclosureContext`);function Yi(e){let t=f(Ji,null);if(t===null){let t=Error(`<${e} /> is missing a parent <Disclosure /> component.`);throw Error.captureStackTrace&&Error.captureStackTrace(t,Yi),t}return t}var Xi=Symbol(`DisclosurePanelContext`);function Zi(){return f(Xi,null)}var Qi=w({name:`Disclosure`,props:{as:{type:[Object,String],default:`template`},defaultOpen:{type:[Boolean],default:!1}},setup(e,{slots:t,attrs:n}){let r=A(e.defaultOpen?0:1),i=A(null),a=A(null),o={buttonId:A(`headlessui-disclosure-button-${Xn()}`),panelId:A(`headlessui-disclosure-panel-${Xn()}`),disclosureState:r,panel:i,button:a,toggleDisclosure(){r.value=Qn(r.value,{0:1,1:0})},closeDisclosure(){r.value!==1&&(r.value=1)},close(e){o.closeDisclosure(),(e?e instanceof HTMLElement?e:e.value instanceof HTMLElement?I(e):I(o.button):I(o.button))?.focus()}};return pe(Ji,o),Ur(j(()=>Qn(r.value,{0:Vr.Open,1:Vr.Closed}))),()=>{let{defaultOpen:i,...a}=e;return jr({theirProps:a,ourProps:{},slot:{open:r.value===0,close:o.close},slots:t,attrs:n,name:`Disclosure`})}}}),$i=w({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 i=Yi(`DisclosureButton`),a=Zi(),o=j(()=>a===null?!1:a.value===i.panelId.value);ue(()=>{o.value||e.id!==null&&(i.buttonId.value=e.id)}),c(()=>{o.value||(i.buttonId.value=null)});let s=A(null);r({el:s,$el:s}),o.value||He(()=>{i.button.value=s.value});let l=Er(j(()=>({as:e.as,type:t.type})),s);function u(){var t;e.disabled||(o.value?(i.toggleDisclosure(),(t=I(i.button))==null||t.focus()):i.toggleDisclosure())}function d(t){var n;if(!e.disabled)if(o.value)switch(t.key){case Wr.Space:case Wr.Enter:t.preventDefault(),t.stopPropagation(),i.toggleDisclosure(),(n=I(i.button))==null||n.focus();break}else switch(t.key){case Wr.Space:case Wr.Enter:t.preventDefault(),t.stopPropagation(),i.toggleDisclosure();break}}function f(e){switch(e.key){case Wr.Space:e.preventDefault();break}}return()=>{let r={open:i.disclosureState.value===0},{id:a,...c}=e;return jr({ourProps:o.value?{ref:s,type:l.value,onClick:u,onKeydown:d}:{id:i.buttonId.value??a,ref:s,type:l.value,"aria-expanded":i.disclosureState.value===0,"aria-controls":i.disclosureState.value===0||I(i.panel)?i.panelId.value:void 0,disabled:e.disabled?!0:void 0,onClick:u,onKeydown:d,onKeyup:f},theirProps:c,slot:r,attrs:t,slots:n,name:`DisclosureButton`})}}}),ea=w({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 i=Yi(`DisclosurePanel`);ue(()=>{e.id!==null&&(i.panelId.value=e.id)}),c(()=>{i.panelId.value=null}),r({el:i.panel,$el:i.panel}),pe(Xi,i.panelId);let a=Hr(),o=j(()=>a===null?i.disclosureState.value===0:(a.value&Vr.Open)===Vr.Open);return()=>{let r={open:i.disclosureState.value===0,close:i.close},{id:a,...s}=e;return jr({ourProps:{id:i.panelId.value??a,ref:i.panel},theirProps:s,slot:r,attrs:t,slots:n,features:kr.RenderStrategy|kr.Static,visible:o.value,name:`DisclosurePanel`})}}}),ta=/([\u2700-\u27BF]|[\uE000-\uF8FF]|\uD83C[\uDC00-\uDFFF]|\uD83D[\uDC00-\uDFFF]|[\u2011-\u26FF]|\uD83E[\uDD10-\uDDFF])/g;function na(e){let t=e.innerText??``,n=e.cloneNode(!0);if(!(n instanceof HTMLElement))return t;let r=!1;for(let e of n.querySelectorAll(`[hidden],[aria-hidden],[role="img"]`))e.remove(),r=!0;let i=r?n.innerText??``:t;return ta.test(i)&&(i=i.replace(ta,``)),i}function ra(e){let t=e.getAttribute(`aria-label`);if(typeof t==`string`)return t.trim();let n=e.getAttribute(`aria-labelledby`);if(n){let e=n.split(` `).map(e=>{let t=document.getElementById(e);if(t){let e=t.getAttribute(`aria-label`);return typeof e==`string`?e.trim():na(t).trim()}return null}).filter(Boolean);if(e.length>0)return e.join(`, `)}return na(e).trim()}function ia(e){let t=A(``),n=A(``);return()=>{let r=I(e);if(!r)return``;let i=r.innerText;if(t.value===i)return n.value;let a=ra(r).trim().toLowerCase();return t.value=i,n.value=a,a}}function aa(e,t){return e===t}var oa=(e=>(e[e.Open=0]=`Open`,e[e.Closed=1]=`Closed`,e))(oa||{}),sa=(e=>(e[e.Single=0]=`Single`,e[e.Multi=1]=`Multi`,e))(sa||{}),ca=(e=>(e[e.Pointer=0]=`Pointer`,e[e.Other=1]=`Other`,e))(ca||{});function la(e){requestAnimationFrame(()=>requestAnimationFrame(e))}var ua=Symbol(`ListboxContext`);function da(e){let t=f(ua,null);if(t===null){let t=Error(`<${e} /> is missing a parent <Listbox /> component.`);throw Error.captureStackTrace&&Error.captureStackTrace(t,da),t}return t}var fa=w({name:`Listbox`,emits:{"update:modelValue":e=>!0},props:{as:{type:[Object,String],default:`template`},disabled:{type:[Boolean],default:!1},by:{type:[String,Function],default:()=>aa},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 i=A(1),a=A(null),o=A(null),s=A(null),c=A([]),l=A(``),u=A(null),d=A(1);function f(e=e=>e){let t=u.value===null?null:c.value[u.value],n=gr(e(c.value.slice()),e=>I(e.dataRef.domRef)),r=t?n.indexOf(t):null;return r===-1&&(r=null),{options:n,activeOptionIndex:r}}let p=j(()=>e.multiple?1:0),[m,h]=hee(j(()=>e.modelValue),e=>r(`update:modelValue`,e),j(()=>e.defaultValue)),g=j(()=>m.value===void 0?Qn(p.value,{1:[],0:void 0}):m.value),_={listboxState:i,value:g,mode:p,compare(t,n){if(typeof e.by==`string`){let r=e.by;return t?.[r]===n?.[r]}return e.by(t,n)},orientation:j(()=>e.horizontal?`horizontal`:`vertical`),labelRef:a,buttonRef:o,optionsRef:s,disabled:j(()=>e.disabled),options:c,searchQuery:l,activeOptionIndex:u,activationTrigger:d,closeListbox(){e.disabled||i.value!==1&&(i.value=1,u.value=null)},openListbox(){e.disabled||i.value!==0&&(i.value=0)},goToOption(t,n,r){if(e.disabled||i.value===1)return;let a=f(),o=qr(t===Kr.Specific?{focus:Kr.Specific,id:n}:{focus:t},{resolveItems:()=>a.options,resolveActiveIndex:()=>a.activeOptionIndex,resolveId:e=>e.id,resolveDisabled:e=>e.dataRef.disabled});l.value=``,u.value=o,d.value=r??1,c.value=a.options},search(t){if(e.disabled||i.value===1)return;let n=l.value===``?1:0;l.value+=t.toLowerCase();let r=(u.value===null?c.value:c.value.slice(u.value+n).concat(c.value.slice(0,u.value+n))).find(e=>e.dataRef.textValue.startsWith(l.value)&&!e.dataRef.disabled),a=r?c.value.indexOf(r):-1;a===-1||a===u.value||(u.value=a,d.value=1)},clearSearch(){e.disabled||i.value!==1&&l.value!==``&&(l.value=``)},registerOption(e,t){let n=f(n=>[...n,{id:e,dataRef:t}]);c.value=n.options,u.value=n.activeOptionIndex},unregisterOption(e){let t=f(t=>{let n=t.findIndex(t=>t.id===e);return n!==-1&&t.splice(n,1),t});c.value=t.options,u.value=t.activeOptionIndex,d.value=1},theirOnChange(t){e.disabled||h(t)},select(t){e.disabled||h(Qn(p.value,{0:()=>t,1:()=>{let e=Ee(_.value.value).slice(),n=Ee(t),r=e.findIndex(e=>_.compare(n,Ee(e)));return r===-1?e.push(n):e.splice(r,1),e}}))}};wr([o,s],(e,t)=>{var n;_.closeListbox(),ur(t,lr.Loose)||(e.preventDefault(),(n=I(o))==null||n.focus())},j(()=>i.value===0)),pe(ua,_),Ur(j(()=>Qn(i.value,{0:Vr.Open,1:Vr.Closed})));let v=j(()=>I(o)?.closest(`form`));return ue(()=>{Xe([v],()=>{if(!v.value||e.defaultValue===void 0)return;function t(){_.theirOnChange(e.defaultValue)}return v.value.addEventListener(`reset`,t),()=>{var e;(e=v.value)==null||e.removeEventListener(`reset`,t)}},{immediate:!0})}),()=>{let{name:r,modelValue:a,disabled:o,form:s,...c}=e,l={open:i.value===0,disabled:o,value:g.value};return fe(Ne,[...r!=null&&g.value!=null?Jr({[r]:g.value}).map(([e,t])=>fe(zr,Fr({features:Rr.Hidden,key:e,as:`input`,type:`hidden`,hidden:!0,readOnly:!0,form:s,disabled:o,name:e,value:t}))):[],jr({ourProps:{},theirProps:{...n,...Ir(c,[`defaultValue`,`onUpdate:modelValue`,`horizontal`,`multiple`,`by`])},slot:l,slots:t,attrs:n,name:`Listbox`})])}}}),pa=w({name:`ListboxLabel`,props:{as:{type:[Object,String],default:`label`},id:{type:String,default:null}},setup(e,{attrs:t,slots:n}){let r=e.id??`headlessui-listbox-label-${Xn()}`,i=da(`ListboxLabel`);function a(){var e;(e=I(i.buttonRef))==null||e.focus({preventScroll:!0})}return()=>{let o={open:i.listboxState.value===0,disabled:i.disabled.value},{...s}=e;return jr({ourProps:{id:r,ref:i.labelRef,onClick:a},theirProps:s,slot:o,attrs:t,slots:n,name:`ListboxLabel`})}}}),ma=w({name:`ListboxButton`,props:{as:{type:[Object,String],default:`button`},id:{type:String,default:null}},setup(e,{attrs:t,slots:n,expose:r}){let i=e.id??`headlessui-listbox-button-${Xn()}`,a=da(`ListboxButton`);r({el:a.buttonRef,$el:a.buttonRef});function o(e){switch(e.key){case Wr.Space:case Wr.Enter:case Wr.ArrowDown:e.preventDefault(),a.openListbox(),Pe(()=>{var e;(e=I(a.optionsRef))==null||e.focus({preventScroll:!0}),a.value.value||a.goToOption(Kr.First)});break;case Wr.ArrowUp:e.preventDefault(),a.openListbox(),Pe(()=>{var e;(e=I(a.optionsRef))==null||e.focus({preventScroll:!0}),a.value.value||a.goToOption(Kr.Last)});break}}function s(e){switch(e.key){case Wr.Space:e.preventDefault();break}}function c(e){a.disabled.value||(a.listboxState.value===0?(a.closeListbox(),Pe(()=>I(a.buttonRef)?.focus({preventScroll:!0}))):(e.preventDefault(),a.openListbox(),la(()=>I(a.optionsRef)?.focus({preventScroll:!0}))))}let l=Er(j(()=>({as:e.as,type:t.type})),a.buttonRef);return()=>{let r={open:a.listboxState.value===0,disabled:a.disabled.value,value:a.value.value},{...u}=e;return jr({ourProps:{ref:a.buttonRef,id:i,type:l.value,"aria-haspopup":`listbox`,"aria-controls":I(a.optionsRef)?.id,"aria-expanded":a.listboxState.value===0,"aria-labelledby":a.labelRef.value?[I(a.labelRef)?.id,i].join(` `):void 0,disabled:a.disabled.value===!0?!0:void 0,onKeydown:o,onKeyup:s,onClick:c},theirProps:u,slot:r,attrs:t,slots:n,name:`ListboxButton`})}}}),ha=w({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}){let i=e.id??`headlessui-listbox-options-${Xn()}`,a=da(`ListboxOptions`),o=A(null);r({el:a.optionsRef,$el:a.optionsRef});function s(e){switch(o.value&&clearTimeout(o.value),e.key){case Wr.Space:if(a.searchQuery.value!==``)return e.preventDefault(),e.stopPropagation(),a.search(e.key);case Wr.Enter:if(e.preventDefault(),e.stopPropagation(),a.activeOptionIndex.value!==null){let e=a.options.value[a.activeOptionIndex.value];a.select(e.dataRef.value)}a.mode.value===0&&(a.closeListbox(),Pe(()=>I(a.buttonRef)?.focus({preventScroll:!0})));break;case Qn(a.orientation.value,{vertical:Wr.ArrowDown,horizontal:Wr.ArrowRight}):return e.preventDefault(),e.stopPropagation(),a.goToOption(Kr.Next);case Qn(a.orientation.value,{vertical:Wr.ArrowUp,horizontal:Wr.ArrowLeft}):return e.preventDefault(),e.stopPropagation(),a.goToOption(Kr.Previous);case Wr.Home:case Wr.PageUp:return e.preventDefault(),e.stopPropagation(),a.goToOption(Kr.First);case Wr.End:case Wr.PageDown:return e.preventDefault(),e.stopPropagation(),a.goToOption(Kr.Last);case Wr.Escape:e.preventDefault(),e.stopPropagation(),a.closeListbox(),Pe(()=>I(a.buttonRef)?.focus({preventScroll:!0}));break;case Wr.Tab:e.preventDefault(),e.stopPropagation();break;default:e.key.length===1&&(a.search(e.key),o.value=setTimeout(()=>a.clearSearch(),350));break}}let c=Hr(),l=j(()=>c===null?a.listboxState.value===0:(c.value&Vr.Open)===Vr.Open);return()=>{var r;let o={open:a.listboxState.value===0},{...c}=e;return jr({ourProps:{"aria-activedescendant":a.activeOptionIndex.value===null||(r=a.options.value[a.activeOptionIndex.value])==null?void 0:r.id,"aria-multiselectable":a.mode.value===1?!0:void 0,"aria-labelledby":I(a.buttonRef)?.id,"aria-orientation":a.orientation.value,id:i,onKeydown:s,role:`listbox`,tabIndex:0,ref:a.optionsRef},theirProps:c,slot:o,attrs:t,slots:n,features:kr.RenderStrategy|kr.Static,visible:l.value,name:`ListboxOptions`})}}}),ga=w({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}){let i=e.id??`headlessui-listbox-option-${Xn()}`,a=da(`ListboxOption`),o=A(null);r({el:o,$el:o});let s=j(()=>a.activeOptionIndex.value===null?!1:a.options.value[a.activeOptionIndex.value].id===i),l=j(()=>Qn(a.mode.value,{0:()=>a.compare(Ee(a.value.value),Ee(e.value)),1:()=>Ee(a.value.value).some(t=>a.compare(Ee(t),Ee(e.value)))})),u=j(()=>Qn(a.mode.value,{1:()=>{let e=Ee(a.value.value);return a.options.value.find(t=>e.some(e=>a.compare(Ee(e),Ee(t.dataRef.value))))?.id===i},0:()=>l.value})),d=ia(o),f=j(()=>({disabled:e.disabled,value:e.value,get textValue(){return d()},domRef:o}));ue(()=>a.registerOption(i,f)),c(()=>a.unregisterOption(i)),ue(()=>{Xe([a.listboxState,l],()=>{a.listboxState.value===0&&l.value&&Qn(a.mode.value,{1:()=>{u.value&&a.goToOption(Kr.Specific,i)},0:()=>{a.goToOption(Kr.Specific,i)}})},{immediate:!0})}),He(()=>{a.listboxState.value===0&&s.value&&a.activationTrigger.value!==0&&Pe(()=>{var e;return((e=I(o))?.scrollIntoView)?.call(e,{block:`nearest`})})});function p(t){if(e.disabled)return t.preventDefault();a.select(e.value),a.mode.value===0&&(a.closeListbox(),Pe(()=>I(a.buttonRef)?.focus({preventScroll:!0})))}function m(){if(e.disabled)return a.goToOption(Kr.Nothing);a.goToOption(Kr.Specific,i)}let h=Or();function g(e){h.update(e)}function _(t){h.wasMoved(t)&&(e.disabled||s.value||a.goToOption(Kr.Specific,i,0))}function v(t){h.wasMoved(t)&&(e.disabled||s.value&&a.goToOption(Kr.Nothing))}return()=>{let{disabled:r}=e,a={active:s.value,selected:l.value,disabled:r},{value:c,disabled:u,...d}=e;return jr({ourProps:{id:i,ref:o,role:`option`,tabIndex:r===!0?void 0:-1,"aria-disabled":r===!0?!0:void 0,"aria-selected":l.value,disabled:void 0,onClick:p,onFocus:m,onPointerenter:g,onMouseenter:g,onPointermove:_,onMousemove:_,onPointerleave:v,onMouseleave:v},theirProps:d,slot:a,attrs:n,slots:t,name:`ListboxOption`})}}}),_a=(e=>(e[e.Open=0]=`Open`,e[e.Closed=1]=`Closed`,e))(_a||{}),va=Symbol(`PopoverContext`);function ya(e){let t=f(va,null);if(t===null){let t=Error(`<${e} /> is missing a parent <${wa.name} /> component.`);throw Error.captureStackTrace&&Error.captureStackTrace(t,ya),t}return t}var ba=Symbol(`PopoverGroupContext`);function xa(){return f(ba,null)}var Sa=Symbol(`PopoverPanelContext`);function Ca(){return f(Sa,null)}var wa=w({name:`Popover`,inheritAttrs:!1,props:{as:{type:[Object,String],default:`div`}},setup(e,{slots:t,attrs:n,expose:r}){let i=A(null);r({el:i,$el:i});let a=A(1),o=A(null),s=A(null),c=A(null),l=A(null),u=j(()=>rr(i)),d=j(()=>{var e,t;if(!I(o)||!I(l))return!1;for(let e of document.querySelectorAll(`body > *`))if(Number(e?.contains(I(o)))^Number(e?.contains(I(l))))return!0;let n=cr(),r=n.indexOf(I(o)),i=(r+n.length-1)%n.length,a=(r+1)%n.length,s=n[i],c=n[a];return!((e=I(l))!=null&&e.contains(s))&&!((t=I(l))!=null&&t.contains(c))}),f={popoverState:a,buttonId:A(null),panelId:A(null),panel:l,button:o,isPortalled:d,beforePanelSentinel:s,afterPanelSentinel:c,togglePopover(){a.value=Qn(a.value,{0:1,1:0})},closePopover(){a.value!==1&&(a.value=1)},close(e){f.closePopover(),(e?e instanceof HTMLElement?e:e.value instanceof HTMLElement?I(e):I(f.button):I(f.button))?.focus()}};pe(va,f),Ur(j(()=>Qn(a.value,{0:Vr.Open,1:Vr.Closed})));let p={buttonId:f.buttonId,panelId:f.panelId,close(){f.closePopover()}},m=xa(),h=m?.registerPopover,[g,_]=Li(),v=yi({mainTreeNodeRef:m?.mainTreeNodeRef,portals:g,defaultContainers:[o,l]});function y(){return m?.isFocusWithinPopoverGroup()??(u.value?.activeElement&&(I(o)?.contains(u.value.activeElement)||I(l)?.contains(u.value.activeElement)))}return He(()=>h?.(p)),Zr(u.value?.defaultView,`focus`,e=>{var t,n;e.target!==window&&e.target instanceof HTMLElement&&a.value===0&&(y()||o&&l&&(v.contains(e.target)||(t=I(f.beforePanelSentinel))!=null&&t.contains(e.target)||(n=I(f.afterPanelSentinel))!=null&&n.contains(e.target)||f.closePopover()))},!0),wr(v.resolveContainers,(e,t)=>{var n;f.closePopover(),ur(t,lr.Loose)||(e.preventDefault(),(n=I(o))==null||n.focus())},j(()=>a.value===0)),()=>{let r={open:a.value===0,close:f.close};return fe(Ne,[fe(_,{},()=>jr({theirProps:{...e,...n},ourProps:{ref:i},slot:r,slots:t,attrs:n,name:`Popover`})),fe(v.MainTreeNode)])}}}),Ta=w({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}){let i=e.id??`headlessui-popover-button-${Xn()}`,a=ya(`PopoverButton`),o=j(()=>rr(a.button));r({el:a.button,$el:a.button}),ue(()=>{a.buttonId.value=i}),c(()=>{a.buttonId.value=null});let s=xa()?.closeOthers,l=Ca(),u=j(()=>l===null?!1:l.value===a.panelId.value),d=A(null),f=`headlessui-focus-sentinel-${Xn()}`;u.value||He(()=>{a.button.value=I(d)});let p=Er(j(()=>({as:e.as,type:t.type})),d);function m(e){var t,n,r,i,c;if(u.value){if(a.popoverState.value===1)return;switch(e.key){case Wr.Space:case Wr.Enter:e.preventDefault(),(n=(t=e.target).click)==null||n.call(t),a.closePopover(),(r=I(a.button))==null||r.focus();break}}else switch(e.key){case Wr.Space:case Wr.Enter:e.preventDefault(),e.stopPropagation(),a.popoverState.value===1&&s?.(a.buttonId.value),a.togglePopover();break;case Wr.Escape:if(a.popoverState.value!==0)return s?.(a.buttonId.value);if(!I(a.button)||(i=o.value)!=null&&i.activeElement&&!((c=I(a.button))!=null&&c.contains(o.value.activeElement)))return;e.preventDefault(),e.stopPropagation(),a.closePopover();break}}function h(e){u.value||e.key===Wr.Space&&e.preventDefault()}function g(t){var n,r;e.disabled||(u.value?(a.closePopover(),(n=I(a.button))==null||n.focus()):(t.preventDefault(),t.stopPropagation(),a.popoverState.value===1&&s?.(a.buttonId.value),a.togglePopover(),(r=I(a.button))==null||r.focus()))}function _(e){e.preventDefault(),e.stopPropagation()}let v=$r();function y(){let e=I(a.panel);if(!e)return;function t(){Qn(v.value,{[Qr.Forwards]:()=>vr(e,ar.First),[Qr.Backwards]:()=>vr(e,ar.Last)})===or.Error&&vr(cr().filter(e=>e.dataset.headlessuiFocusGuard!==`true`),Qn(v.value,{[Qr.Forwards]:ar.Next,[Qr.Backwards]:ar.Previous}),{relativeTo:I(a.button)})}t()}return()=>{let r=a.popoverState.value===0,o={open:r},{...s}=e;return fe(Ne,[jr({ourProps:u.value?{ref:d,type:p.value,onKeydown:m,onClick:g}:{ref:d,id:i,type:p.value,"aria-expanded":a.popoverState.value===0,"aria-controls":I(a.panel)?a.panelId.value:void 0,disabled:e.disabled?!0:void 0,onKeydown:m,onKeyup:h,onClick:g,onMousedown:_},theirProps:{...t,...s},slot:o,attrs:t,slots:n,name:`PopoverButton`}),r&&!u.value&&a.isPortalled.value&&fe(zr,{id:f,features:Rr.Focusable,"data-headlessui-focus-guard":!0,as:`button`,type:`button`,onFocus:y})])}}});w({name:`PopoverOverlay`,props:{as:{type:[Object,String],default:`div`},static:{type:Boolean,default:!1},unmount:{type:Boolean,default:!0}},setup(e,{attrs:t,slots:n}){let r=ya(`PopoverOverlay`),i=`headlessui-popover-overlay-${Xn()}`,a=Hr(),o=j(()=>a===null?r.popoverState.value===0:(a.value&Vr.Open)===Vr.Open);function s(){r.closePopover()}return()=>{let a={open:r.popoverState.value===0};return jr({ourProps:{id:i,"aria-hidden":!0,onClick:s},theirProps:e,slot:a,attrs:t,slots:n,features:kr.RenderStrategy|kr.Static,visible:o.value,name:`PopoverOverlay`})}}});var Ea=w({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}){let i=e.id??`headlessui-popover-panel-${Xn()}`,{focus:a}=e,o=ya(`PopoverPanel`),s=j(()=>rr(o.panel)),l=`headlessui-focus-sentinel-before-${Xn()}`,u=`headlessui-focus-sentinel-after-${Xn()}`;r({el:o.panel,$el:o.panel}),ue(()=>{o.panelId.value=i}),c(()=>{o.panelId.value=null}),pe(Sa,o.panelId),He(()=>{var e;if(!a||o.popoverState.value!==0||!o.panel)return;let t=s.value?.activeElement;(e=I(o.panel))!=null&&e.contains(t)||vr(I(o.panel),ar.First)});let d=Hr(),f=j(()=>d===null?o.popoverState.value===0:(d.value&Vr.Open)===Vr.Open);function p(e){var t,n;switch(e.key){case Wr.Escape:if(o.popoverState.value!==0||!I(o.panel)||s.value&&!((t=I(o.panel))!=null&&t.contains(s.value.activeElement)))return;e.preventDefault(),e.stopPropagation(),o.closePopover(),(n=I(o.button))==null||n.focus();break}}function m(e){var t,n,r,i,a;let s=e.relatedTarget;s&&I(o.panel)&&((t=I(o.panel))!=null&&t.contains(s)||(o.closePopover(),((r=(n=I(o.beforePanelSentinel))?.contains)!=null&&r.call(n,s)||(a=(i=I(o.afterPanelSentinel))?.contains)!=null&&a.call(i,s))&&s.focus({preventScroll:!0})))}let h=$r();function g(){let e=I(o.panel);if(!e)return;function t(){Qn(h.value,{[Qr.Forwards]:()=>{var t;vr(e,ar.First)===or.Error&&((t=I(o.afterPanelSentinel))==null||t.focus())},[Qr.Backwards]:()=>{var e;(e=I(o.button))==null||e.focus({preventScroll:!0})}})}t()}function _(){let e=I(o.panel);if(!e)return;function t(){Qn(h.value,{[Qr.Forwards]:()=>{let e=I(o.button),t=I(o.panel);if(!e)return;let n=cr(),r=n.indexOf(e),i=n.slice(0,r+1),a=[...n.slice(r+1),...i];for(let e of a.slice())if(e.dataset.headlessuiFocusGuard===`true`||t!=null&&t.contains(e)){let t=a.indexOf(e);t!==-1&&a.splice(t,1)}vr(a,ar.First,{sorted:!1})},[Qr.Backwards]:()=>{var t;vr(e,ar.Previous)===or.Error&&((t=I(o.button))==null||t.focus())}})}t()}return()=>{let r={open:o.popoverState.value===0,close:o.close},{focus:s,...c}=e;return jr({ourProps:{ref:o.panel,id:i,onKeydown:p,onFocusout:a&&o.popoverState.value===0?m:void 0,tabIndex:-1},theirProps:{...t,...c},attrs:t,slot:r,slots:{...n,default:(...e)=>[fe(Ne,[f.value&&o.isPortalled.value&&fe(zr,{id:l,ref:o.beforePanelSentinel,features:Rr.Focusable,"data-headlessui-focus-guard":!0,as:`button`,type:`button`,onFocus:g}),n.default?.call(n,...e),f.value&&o.isPortalled.value&&fe(zr,{id:u,ref:o.afterPanelSentinel,features:Rr.Focusable,"data-headlessui-focus-guard":!0,as:`button`,type:`button`,onFocus:_})])]},features:kr.RenderStrategy|kr.Static,visible:f.value,name:`PopoverPanel`})}}});w({name:`PopoverGroup`,inheritAttrs:!1,props:{as:{type:[Object,String],default:`div`}},setup(e,{attrs:t,slots:n,expose:r}){let i=A(null),a=nt([]),o=j(()=>rr(i)),s=bi();r({el:i,$el:i});function c(e){let t=a.value.indexOf(e);t!==-1&&a.value.splice(t,1)}function l(e){return a.value.push(e),()=>{c(e)}}function u(){var e;let t=o.value;if(!t)return!1;let n=t.activeElement;return(e=I(i))!=null&&e.contains(n)?!0:a.value.some(e=>t.getElementById(e.buttonId.value)?.contains(n)||t.getElementById(e.panelId.value)?.contains(n))}function d(e){for(let t of a.value)t.buttonId.value!==e&&t.close()}return pe(ba,{registerPopover:l,unregisterPopover:c,isFocusWithinPopoverGroup:u,closeOthers:d,mainTreeNodeRef:s.mainTreeNodeRef}),()=>fe(Ne,[jr({ourProps:{ref:i},theirProps:{...e,...t},slot:{},attrs:t,slots:n,name:`PopoverGroup`}),fe(s.MainTreeNode)])}});var Da=(e,t)=>{let n=e.__vccOpts||e;for(let[e,r]of t)n[e]=r;return n},Oa=`regular`;function ka(e={}){let t=j(()=>e.label?{"aria-label":e.label}:{"aria-hidden":!0,role:`presentation`});return{bind:j(()=>({width:`1em`,height:`1em`,...t.value})),weight:j(()=>e.weight??Oa)}}var Aa={key:0},ja={key:1},Ma={key:2},Na={key:3},Pa={key:4},Fa={key:5},Ia=w({name:`ScalarIconArrowUpRight`,props:{label:{},weight:{}},setup(e){let{bind:t,weight:n}=ka(e);return(e,r)=>(y(),M(`svg`,o({xmlns:`http://www.w3.org/2000/svg`,viewBox:`0 0 256 256`,fill:`currentColor`},T(t)),[S(e.$slots,`default`),T(n)===`bold`?(y(),M(`g`,Aa,[...r[0]||=[N(`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)]])):T(n)===`duotone`?(y(),M(`g`,ja,[...r[1]||=[N(`path`,{d:`M192,64V168L88,64Z`,opacity:`0.2`},null,-1),N(`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)]])):T(n)===`fill`?(y(),M(`g`,Ma,[...r[2]||=[N(`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)]])):T(n)===`light`?(y(),M(`g`,Na,[...r[3]||=[N(`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)]])):T(n)===`regular`?(y(),M(`g`,Pa,[...r[4]||=[N(`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)]])):T(n)===`thin`?(y(),M(`g`,Fa,[...r[5]||=[N(`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)]])):k(``,!0)],16))}}),La={key:0},Ra={key:1},za={key:2},Ba={key:3},Va={key:4},Ha={key:5},Ua=w({name:`ScalarIconBook`,props:{label:{},weight:{}},setup(e){let{bind:t,weight:n}=ka(e);return(e,r)=>(y(),M(`svg`,o({xmlns:`http://www.w3.org/2000/svg`,viewBox:`0 0 256 256`,fill:`currentColor`},T(t)),[S(e.$slots,`default`),T(n)===`bold`?(y(),M(`g`,La,[...r[0]||=[N(`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)]])):T(n)===`duotone`?(y(),M(`g`,Ra,[...r[1]||=[N(`path`,{d:`M208,32V192H72a24,24,0,0,0-24,24V56A24,24,0,0,1,72,32Z`,opacity:`0.2`},null,-1),N(`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)]])):T(n)===`fill`?(y(),M(`g`,za,[...r[2]||=[N(`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)]])):T(n)===`light`?(y(),M(`g`,Ba,[...r[3]||=[N(`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)]])):T(n)===`regular`?(y(),M(`g`,Va,[...r[4]||=[N(`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)]])):T(n)===`thin`?(y(),M(`g`,Ha,[...r[5]||=[N(`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)]])):k(``,!0)],16))}}),Wa={key:0},Ga={key:1},Ka={key:2},qa={key:3},Ja={key:4},Ya={key:5},Xa=w({name:`ScalarIconCaretDown`,props:{label:{},weight:{}},setup(e){let{bind:t,weight:n}=ka(e);return(e,r)=>(y(),M(`svg`,o({xmlns:`http://www.w3.org/2000/svg`,viewBox:`0 0 256 256`,fill:`currentColor`},T(t)),[S(e.$slots,`default`),T(n)===`bold`?(y(),M(`g`,Wa,[...r[0]||=[N(`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)]])):T(n)===`duotone`?(y(),M(`g`,Ga,[...r[1]||=[N(`path`,{d:`M208,96l-80,80L48,96Z`,opacity:`0.2`},null,-1),N(`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)]])):T(n)===`fill`?(y(),M(`g`,Ka,[...r[2]||=[N(`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)]])):T(n)===`light`?(y(),M(`g`,qa,[...r[3]||=[N(`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)]])):T(n)===`regular`?(y(),M(`g`,Ja,[...r[4]||=[N(`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)]])):T(n)===`thin`?(y(),M(`g`,Ya,[...r[5]||=[N(`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)]])):k(``,!0)],16))}}),Za={key:0},Qa={key:1},$a={key:2},eo={key:3},to={key:4},no={key:5},ro=w({name:`ScalarIconCaretRight`,props:{label:{},weight:{}},setup(e){let{bind:t,weight:n}=ka(e);return(e,r)=>(y(),M(`svg`,o({xmlns:`http://www.w3.org/2000/svg`,viewBox:`0 0 256 256`,fill:`currentColor`},T(t)),[S(e.$slots,`default`),T(n)===`bold`?(y(),M(`g`,Za,[...r[0]||=[N(`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)]])):T(n)===`duotone`?(y(),M(`g`,Qa,[...r[1]||=[N(`path`,{d:`M176,128,96,208V48Z`,opacity:`0.2`},null,-1),N(`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)]])):T(n)===`fill`?(y(),M(`g`,$a,[...r[2]||=[N(`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)]])):T(n)===`light`?(y(),M(`g`,eo,[...r[3]||=[N(`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)]])):T(n)===`regular`?(y(),M(`g`,to,[...r[4]||=[N(`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)]])):T(n)===`thin`?(y(),M(`g`,no,[...r[5]||=[N(`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)]])):k(``,!0)],16))}}),io={key:0},ao={key:1},oo={key:2},yee={key:3},bee={key:4},xee={key:5},See=w({name:`ScalarIconCaretUp`,props:{label:{},weight:{}},setup(e){let{bind:t,weight:n}=ka(e);return(e,r)=>(y(),M(`svg`,o({xmlns:`http://www.w3.org/2000/svg`,viewBox:`0 0 256 256`,fill:`currentColor`},T(t)),[S(e.$slots,`default`),T(n)===`bold`?(y(),M(`g`,io,[...r[0]||=[N(`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)]])):T(n)===`duotone`?(y(),M(`g`,ao,[...r[1]||=[N(`path`,{d:`M208,160H48l80-80Z`,opacity:`0.2`},null,-1),N(`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)]])):T(n)===`fill`?(y(),M(`g`,oo,[...r[2]||=[N(`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)]])):T(n)===`light`?(y(),M(`g`,yee,[...r[3]||=[N(`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)]])):T(n)===`regular`?(y(),M(`g`,bee,[...r[4]||=[N(`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)]])):T(n)===`thin`?(y(),M(`g`,xee,[...r[5]||=[N(`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)]])):k(``,!0)],16))}}),Cee={key:0},wee={key:1},Tee={key:2},Eee={key:3},Dee={key:4},Oee={key:5},so=w({name:`ScalarIconCheck`,props:{label:{},weight:{}},setup(e){let{bind:t,weight:n}=ka(e);return(e,r)=>(y(),M(`svg`,o({xmlns:`http://www.w3.org/2000/svg`,viewBox:`0 0 256 256`,fill:`currentColor`},T(t)),[S(e.$slots,`default`),T(n)===`bold`?(y(),M(`g`,Cee,[...r[0]||=[N(`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)]])):T(n)===`duotone`?(y(),M(`g`,wee,[...r[1]||=[N(`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`,opacity:`0.2`},null,-1),N(`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)]])):T(n)===`fill`?(y(),M(`g`,Tee,[...r[2]||=[N(`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)]])):T(n)===`light`?(y(),M(`g`,Eee,[...r[3]||=[N(`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)]])):T(n)===`regular`?(y(),M(`g`,Dee,[...r[4]||=[N(`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)]])):T(n)===`thin`?(y(),M(`g`,Oee,[...r[5]||=[N(`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)]])):k(``,!0)],16))}}),kee={key:0},Aee={key:1},jee={key:2},Mee={key:3},Nee={key:4},Pee={key:5},co=w({name:`ScalarIconCopy`,props:{label:{},weight:{}},setup(e){let{bind:t,weight:n}=ka(e);return(e,r)=>(y(),M(`svg`,o({xmlns:`http://www.w3.org/2000/svg`,viewBox:`0 0 256 256`,fill:`currentColor`},T(t)),[S(e.$slots,`default`),T(n)===`bold`?(y(),M(`g`,kee,[...r[0]||=[N(`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)]])):T(n)===`duotone`?(y(),M(`g`,Aee,[...r[1]||=[N(`path`,{d:`M216,40V168H168V88H88V40Z`,opacity:`0.2`},null,-1),N(`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)]])):T(n)===`fill`?(y(),M(`g`,jee,[...r[2]||=[N(`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)]])):T(n)===`light`?(y(),M(`g`,Mee,[...r[3]||=[N(`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)]])):T(n)===`regular`?(y(),M(`g`,Nee,[...r[4]||=[N(`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)]])):T(n)===`thin`?(y(),M(`g`,Pee,[...r[5]||=[N(`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)]])):k(``,!0)],16))}}),Fee={key:0},Iee={key:1},Lee={key:2},Ree={key:3},zee={key:4},Bee={key:5},Vee=w({name:`ScalarIconEnvelopeSimple`,props:{label:{},weight:{}},setup(e){let{bind:t,weight:n}=ka(e);return(e,r)=>(y(),M(`svg`,o({xmlns:`http://www.w3.org/2000/svg`,viewBox:`0 0 256 256`,fill:`currentColor`},T(t)),[S(e.$slots,`default`),T(n)===`bold`?(y(),M(`g`,Fee,[...r[0]||=[N(`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)]])):T(n)===`duotone`?(y(),M(`g`,Iee,[...r[1]||=[N(`path`,{d:`M224,56l-96,88L32,56Z`,opacity:`0.2`},null,-1),N(`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)]])):T(n)===`fill`?(y(),M(`g`,Lee,[...r[2]||=[N(`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)]])):T(n)===`light`?(y(),M(`g`,Ree,[...r[3]||=[N(`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)]])):T(n)===`regular`?(y(),M(`g`,zee,[...r[4]||=[N(`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)]])):T(n)===`thin`?(y(),M(`g`,Bee,[...r[5]||=[N(`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)]])):k(``,!0)],16))}}),Hee={key:0},Uee={key:1},Wee={key:2},Gee={key:3},Kee={key:4},qee={key:5},Jee=w({name:`ScalarIconEye`,props:{label:{},weight:{}},setup(e){let{bind:t,weight:n}=ka(e);return(e,r)=>(y(),M(`svg`,o({xmlns:`http://www.w3.org/2000/svg`,viewBox:`0 0 256 256`,fill:`currentColor`},T(t)),[S(e.$slots,`default`),T(n)===`bold`?(y(),M(`g`,Hee,[...r[0]||=[N(`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)]])):T(n)===`duotone`?(y(),M(`g`,Uee,[...r[1]||=[N(`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),N(`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)]])):T(n)===`fill`?(y(),M(`g`,Wee,[...r[2]||=[N(`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)]])):T(n)===`light`?(y(),M(`g`,Gee,[...r[3]||=[N(`path`,{d:`M245.48,125.57c-.34-.78-8.66-19.23-27.24-37.81C201,70.54,171.38,50,128,50S55,70.54,37.76,87.76c-18.58,18.58-26.9,37-27.24,37.81a6,6,0,0,0,0,4.88c.34.77,8.66,19.22,27.24,37.8C55,185.47,84.62,206,128,206s73-20.53,90.24-37.75c18.58-18.58,26.9-37,27.24-37.8A6,6,0,0,0,245.48,125.57ZM128,194c-31.38,0-58.78-11.42-81.45-33.93A134.77,134.77,0,0,1,22.69,128,134.56,134.56,0,0,1,46.55,95.94C69.22,73.42,96.62,62,128,62s58.78,11.42,81.45,33.94A134.56,134.56,0,0,1,233.31,128C226.94,140.21,195,194,128,194Zm0-112a46,46,0,1,0,46,46A46.06,46.06,0,0,0,128,82Zm0,80a34,34,0,1,1,34-34A34,34,0,0,1,128,162Z`},null,-1)]])):T(n)===`regular`?(y(),M(`g`,Kee,[...r[4]||=[N(`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)]])):T(n)===`thin`?(y(),M(`g`,qee,[...r[5]||=[N(`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)]])):k(``,!0)],16))}}),Yee={key:0},Xee={key:1},Zee={key:2},Qee={key:3},$ee={key:4},ete={key:5},tte=w({name:`ScalarIconEyeSlash`,props:{label:{},weight:{}},setup(e){let{bind:t,weight:n}=ka(e);return(e,r)=>(y(),M(`svg`,o({xmlns:`http://www.w3.org/2000/svg`,viewBox:`0 0 256 256`,fill:`currentColor`},T(t)),[S(e.$slots,`default`),T(n)===`bold`?(y(),M(`g`,Yee,[...r[0]||=[N(`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)]])):T(n)===`duotone`?(y(),M(`g`,Xee,[...r[1]||=[N(`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),N(`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)]])):T(n)===`fill`?(y(),M(`g`,Zee,[...r[2]||=[N(`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)]])):T(n)===`light`?(y(),M(`g`,Qee,[...r[3]||=[N(`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)]])):T(n)===`regular`?(y(),M(`g`,$ee,[...r[4]||=[N(`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)]])):T(n)===`thin`?(y(),M(`g`,ete,[...r[5]||=[N(`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)]])):k(``,!0)],16))}}),nte={key:0},rte={key:1},ite={key:2},ate={key:3},ote={key:4},ste={key:5},cte=w({name:`ScalarIconInfo`,props:{label:{},weight:{}},setup(e){let{bind:t,weight:n}=ka(e);return(e,r)=>(y(),M(`svg`,o({xmlns:`http://www.w3.org/2000/svg`,viewBox:`0 0 256 256`,fill:`currentColor`},T(t)),[S(e.$slots,`default`),T(n)===`bold`?(y(),M(`g`,nte,[...r[0]||=[N(`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)]])):T(n)===`duotone`?(y(),M(`g`,rte,[...r[1]||=[N(`path`,{d:`M224,128a96,96,0,1,1-96-96A96,96,0,0,1,224,128Z`,opacity:`0.2`},null,-1),N(`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)]])):T(n)===`fill`?(y(),M(`g`,ite,[...r[2]||=[N(`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)]])):T(n)===`light`?(y(),M(`g`,ate,[...r[3]||=[N(`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)]])):T(n)===`regular`?(y(),M(`g`,ote,[...r[4]||=[N(`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)]])):T(n)===`thin`?(y(),M(`g`,ste,[...r[5]||=[N(`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)]])):k(``,!0)],16))}}),lte={key:0},ute={key:1},dte={key:2},fte={key:3},pte={key:4},mte={key:5},lo=w({name:`ScalarIconMagnifyingGlass`,props:{label:{},weight:{}},setup(e){let{bind:t,weight:n}=ka(e);return(e,r)=>(y(),M(`svg`,o({xmlns:`http://www.w3.org/2000/svg`,viewBox:`0 0 256 256`,fill:`currentColor`},T(t)),[S(e.$slots,`default`),T(n)===`bold`?(y(),M(`g`,lte,[...r[0]||=[N(`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)]])):T(n)===`duotone`?(y(),M(`g`,ute,[...r[1]||=[N(`path`,{d:`M192,112a80,80,0,1,1-80-80A80,80,0,0,1,192,112Z`,opacity:`0.2`},null,-1),N(`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)]])):T(n)===`fill`?(y(),M(`g`,dte,[...r[2]||=[N(`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)]])):T(n)===`light`?(y(),M(`g`,fte,[...r[3]||=[N(`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)]])):T(n)===`regular`?(y(),M(`g`,pte,[...r[4]||=[N(`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)]])):T(n)===`thin`?(y(),M(`g`,mte,[...r[5]||=[N(`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)]])):k(``,!0)],16))}}),hte={key:0},gte={key:1},_te={key:2},vte={key:3},yte={key:4},bte={key:5},uo=w({name:`ScalarIconPencilSimple`,props:{label:{},weight:{}},setup(e){let{bind:t,weight:n}=ka(e);return(e,r)=>(y(),M(`svg`,o({xmlns:`http://www.w3.org/2000/svg`,viewBox:`0 0 256 256`,fill:`currentColor`},T(t)),[S(e.$slots,`default`),T(n)===`bold`?(y(),M(`g`,hte,[...r[0]||=[N(`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)]])):T(n)===`duotone`?(y(),M(`g`,gte,[...r[1]||=[N(`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),N(`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)]])):T(n)===`fill`?(y(),M(`g`,_te,[...r[2]||=[N(`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)]])):T(n)===`light`?(y(),M(`g`,vte,[...r[3]||=[N(`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)]])):T(n)===`regular`?(y(),M(`g`,yte,[...r[4]||=[N(`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)]])):T(n)===`thin`?(y(),M(`g`,bte,[...r[5]||=[N(`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)]])):k(``,!0)],16))}}),xte={key:0},Ste={key:1},Cte={key:2},wte={key:3},Tte={key:4},Ete={key:5},fo=w({name:`ScalarIconPlus`,props:{label:{},weight:{}},setup(e){let{bind:t,weight:n}=ka(e);return(e,r)=>(y(),M(`svg`,o({xmlns:`http://www.w3.org/2000/svg`,viewBox:`0 0 256 256`,fill:`currentColor`},T(t)),[S(e.$slots,`default`),T(n)===`bold`?(y(),M(`g`,xte,[...r[0]||=[N(`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)]])):T(n)===`duotone`?(y(),M(`g`,Ste,[...r[1]||=[N(`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),N(`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)]])):T(n)===`fill`?(y(),M(`g`,Cte,[...r[2]||=[N(`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)]])):T(n)===`light`?(y(),M(`g`,wte,[...r[3]||=[N(`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)]])):T(n)===`regular`?(y(),M(`g`,Tte,[...r[4]||=[N(`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)]])):T(n)===`thin`?(y(),M(`g`,Ete,[...r[5]||=[N(`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)]])):k(``,!0)],16))}}),Dte={key:0},Ote={key:1},kte={key:2},Ate={key:3},jte={key:4},Mte={key:5},po=w({name:`ScalarIconTrash`,props:{label:{},weight:{}},setup(e){let{bind:t,weight:n}=ka(e);return(e,r)=>(y(),M(`svg`,o({xmlns:`http://www.w3.org/2000/svg`,viewBox:`0 0 256 256`,fill:`currentColor`},T(t)),[S(e.$slots,`default`),T(n)===`bold`?(y(),M(`g`,Dte,[...r[0]||=[N(`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)]])):T(n)===`duotone`?(y(),M(`g`,Ote,[...r[1]||=[N(`path`,{d:`M200,56V208a8,8,0,0,1-8,8H64a8,8,0,0,1-8-8V56Z`,opacity:`0.2`},null,-1),N(`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)]])):T(n)===`fill`?(y(),M(`g`,kte,[...r[2]||=[N(`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)]])):T(n)===`light`?(y(),M(`g`,Ate,[...r[3]||=[N(`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)]])):T(n)===`regular`?(y(),M(`g`,jte,[...r[4]||=[N(`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)]])):T(n)===`thin`?(y(),M(`g`,Mte,[...r[5]||=[N(`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)]])):k(``,!0)],16))}}),Nte={key:0},Pte={key:1},Fte={key:2},Ite={key:3},Lte={key:4},Rte={key:5},mo=w({name:`ScalarIconWebhooksLogo`,props:{label:{},weight:{}},setup(e){let{bind:t,weight:n}=ka(e);return(e,r)=>(y(),M(`svg`,o({xmlns:`http://www.w3.org/2000/svg`,viewBox:`0 0 256 256`,fill:`currentColor`},T(t)),[S(e.$slots,`default`),T(n)===`bold`?(y(),M(`g`,Nte,[...r[0]||=[N(`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)]])):T(n)===`duotone`?(y(),M(`g`,Pte,[...r[1]||=[N(`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),N(`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)]])):T(n)===`fill`?(y(),M(`g`,Fte,[...r[2]||=[N(`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)]])):T(n)===`light`?(y(),M(`g`,Ite,[...r[3]||=[N(`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)]])):T(n)===`regular`?(y(),M(`g`,Lte,[...r[4]||=[N(`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)]])):T(n)===`thin`?(y(),M(`g`,Rte,[...r[5]||=[N(`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)]])):k(``,!0)],16))}}),zte={key:0},Bte={key:1},Vte={key:2},Hte={key:3},Ute={key:4},Wte={key:5},ho=w({name:`ScalarIconX`,props:{label:{},weight:{}},setup(e){let{bind:t,weight:n}=ka(e);return(e,r)=>(y(),M(`svg`,o({xmlns:`http://www.w3.org/2000/svg`,viewBox:`0 0 256 256`,fill:`currentColor`},T(t)),[S(e.$slots,`default`),T(n)===`bold`?(y(),M(`g`,zte,[...r[0]||=[N(`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)]])):T(n)===`duotone`?(y(),M(`g`,Bte,[...r[1]||=[N(`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),N(`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)]])):T(n)===`fill`?(y(),M(`g`,Vte,[...r[2]||=[N(`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)]])):T(n)===`light`?(y(),M(`g`,Hte,[...r[3]||=[N(`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)]])):T(n)===`regular`?(y(),M(`g`,Ute,[...r[4]||=[N(`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)]])):T(n)===`thin`?(y(),M(`g`,Wte,[...r[5]||=[N(`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)]])):k(``,!0)],16))}}),go={PROTOCOL:/^(?:https?|ftp|file|mailto|tel|data|wss?)*:\/\//,MULTIPLE_SLASHES:/(?<!:)\/{2,}/g,VARIABLES:/{{((?:[^{}]|{[^{}]*})*)}}/g,PATH:/(?:{)([^{}]+)}(?!})/g,REF_NAME:/\/([^\/]+)$/,TEMPLATE_VARIABLE:/{{\s*([^}\s]+?)\s*}}|{\s*([^}\s]+?)\s*}|:\b[\w.]+\b/g},_o=e=>!(go.PROTOCOL.test(e)||/^[a-zA-Z0-9-]+\.[a-zA-Z0-9-.]+(\/|$)/.test(e));function Gte(e){return go.PROTOCOL.test(e)?e:`http://${e.replace(/^\//,``)}`}var vo=(...e)=>{let t={};e.forEach(e=>{let n=Array.from(e.keys());new Set(n).forEach(n=>{let r=e.getAll(n);t[n]=r.length>1?r:r[0]??``})});let n=new URLSearchParams;return Object.entries(t).forEach(([e,t])=>{Array.isArray(t)?t.forEach(t=>n.append(e,t)):n.append(e,t)}),n},yo=(e,t)=>!t||e===t?e.trim():e?`${e.trim()}/${t.trim()}`.replace(go.MULTIPLE_SLASHES,`/`):t.trim(),bo=(e,t,n=new URLSearchParams,r=!1)=>{if(e&&(!_o(e)||typeof window<`u`)){let[i=``,a]=(r?e:_o(e)?yo(window.location.origin,e):Gte(e)).split(`?`),o=new URLSearchParams(a||``),[s=``,c]=t.split(`?`),l=new URLSearchParams(c||``),u=e===t?i:yo(i,s),d=vo(o,l,n).toString();return d?`${u}?${d}`:u}return t?yo(e,t):``},xo=(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;return n&&(r=yo(t?new URL(t).origin:window.location.origin,n+`/`)),new URL(e,r).toString()}catch{return e}},Kte=[`href`],qte=Da(w({__name:`OpenApiClientButton`,props:{buttonSource:{},source:{default:`api-reference`},isDevelopment:{type:Boolean},integration:{},url:{},operationPath:{},operationMethod:{}},setup(e){let t=j(()=>{let t=e.url??(typeof window<`u`?window.location.href:void 0);if(!t)return;let n=xo(t);if(!n?.length)return;let r=new URL(e.isDevelopment?`http://localhost:5065`:`https://client.scalar.com`);if(r.searchParams.set(`url`,n),e.operationPath?.length&&e.operationMethod?.length&&(r.searchParams.set(`operation_path`,e.operationPath),r.searchParams.set(`operation_method`,e.operationMethod.toLowerCase())),e.integration!==null&&r.searchParams.set(`integration`,e.integration??`vue`),r.searchParams.set(`utm_source`,`api-reference`),r.searchParams.set(`utm_medium`,`button`),r.searchParams.set(`utm_campaign`,e.buttonSource),e.source===`gitbook`){r.searchParams.set(`utm_source`,`gitbook`);let e=document.querySelector(`img.dark\\:block[alt='Logo']`),t=document.querySelector(`img.dark\\:hidden[alt='Logo']`);e&&e instanceof HTMLImageElement&&r.searchParams.set(`dark_logo`,encodeURIComponent(e.src)),t&&t instanceof HTMLImageElement&&r.searchParams.set(`light_logo`,encodeURIComponent(t.src))}return r.toString()});return(e,n)=>t.value?(y(),M(`a`,{key:0,class:`open-api-client-button`,href:t.value,target:`_blank`},[D(T(Ia),{class:`size-3`,weight:`regular`}),n[0]||=tt(` Open API Client `,-1)],8,Kte)):k(``,!0)}}),[[`__scopeId`,`data-v-cd067f84`]]),So=/^[!#$%&'*+\-.^_`|~A-Za-z0-9]+$/,Jte=e=>`"${e.replaceAll(/(["\\])/g,`\\$1`)}"`,Yte=e=>{let t=e.indexOf(`=`);if(t===-1)return null;let n=e.slice(0,t).trim().toLowerCase();if(!n||!So.test(n))return null;let r=e.slice(t+1).trim();return r?r.startsWith(`"`)&&r.endsWith(`"`)&&r.length>=2?[n,r.slice(1,-1).replaceAll(/\\(["\\])/g,`$1`)]:[n,r]:null},Co=e=>{let[t=``,n=``]=e.split(`/`,2),r=t.trim().toLowerCase(),i=n.trim().toLowerCase();if(!r||!i||!So.test(r)||!So.test(i))throw Error(`Invalid MIME type: "${e}"`);return{essence:`${r}/${i}`,type:r,subtype:i}},wo=(e=`text/plain`)=>{let[t=``,...n]=e.split(`;`),r;try{r=Co(t)}catch{r=Co(`text/plain`)}let{essence:i,type:a,subtype:o}=r,s=new Map;return n.forEach(e=>{let t=Yte(e);if(!t)return;let[n,r]=t;s.set(n,r)}),{essence:i,type:a,subtype:o,parameters:s,toString:()=>{let e=Array.from(s.entries()).map(([e,t])=>`${e}=${So.test(t)?t:Jte(t)}`);return e.length?`${i}; ${e.join(`; `)}`:i}}},To=()=>typeof window<`u`&&`electron`in window,Xte=new Set([`post`,`put`,`patch`,`delete`]),Eo=(e,t=!1)=>{let n=e.toLowerCase();return To()&&!t?!0:Xte.has(n)},Zte=(e,t)=>new Request(e,{...t,body:Eo(t.method??`GET`,!0)?t.body:null}),Qte=`x-scalar-cookie`,$te=`x-scalar-set-cookie`,ene=`x-scalar-user-agent`,tne=`x-scalar-date`,Do=`x-scalar-dnt`,Oo=`x-scalar-referer`;function ko(e){var t,n,r=``;if(typeof e==`string`||typeof e==`number`)r+=e;else if(typeof e==`object`)if(Array.isArray(e)){var i=e.length;for(t=0;t<i;t++)e[t]&&(n=ko(e[t]))&&(r&&(r+=` `),r+=n)}else for(n in e)e[n]&&(r&&(r+=` `),r+=n);return r}function Ao(){for(var e,t,n=0,r=``,i=arguments.length;n<i;n++)(e=arguments[n])&&(t=ko(e))&&(r&&(r+=` `),r+=t);return r}var jo=e=>typeof e==`boolean`?`${e}`:e===0?`0`:e,Mo=e=>{let t=function(){var t=[...arguments];return e?.hooks?.[`cx:done`]===void 0?e?.hooks?.onComplete===void 0?Ao(t):e?.hooks.onComplete(Ao(t)):e?.hooks[`cx:done`](Ao(t))};return{compose:function(){var e=[...arguments];return n=>{let r=Object.fromEntries(Object.entries(n||{}).filter(e=>{let[t]=e;return![`class`,`className`].includes(t)}));return t(e.map(e=>e(r)),n?.class,n?.className)}},cva:e=>n=>{if(e?.variants==null)return t(e?.base,n?.class,n?.className);let{variants:r,defaultVariants:i}=e,a=Object.keys(r).map(e=>{let t=n?.[e],a=i?.[e],o=jo(t)||jo(a);return r[e][o]}),o={...i,...n&&Object.entries(n).reduce((e,t)=>{let[n,r]=t;return r===void 0?e:{...e,[n]:r}},{})},s=e?.compoundVariants?.reduce((e,t)=>{let{class:n,className:r,...i}=t;return Object.entries(i).every(e=>{let[t,n]=e,r=o[t];return Array.isArray(n)?n.includes(r):r===n})?[...e,n,r]:e},[]);return t(e?.base,a,s,n?.class,n?.className)},cx:t}},{compose:nne,cva:rne,cx:ine}=Mo(),No=(e,t)=>{let n=Array(e.length+t.length);for(let t=0;t<e.length;t++)n[t]=e[t];for(let r=0;r<t.length;r++)n[e.length+r]=t[r];return n},Po=(e,t)=>({classGroupId:e,validator:t}),Fo=(e=new Map,t=null,n)=>({nextPart:e,validators:t,classGroupId:n}),Io=`-`,Lo=[],Ro=`arbitrary..`,zo=e=>{let t=Ho(e),{conflictingClassGroups:n,conflictingClassGroupModifiers:r}=e;return{getClassGroupId:e=>{if(e.startsWith(`[`)&&e.endsWith(`]`))return Vo(e);let n=e.split(Io);return Bo(n,n[0]===``&&n.length>1?1:0,t)},getConflictingClassGroupIds:(e,t)=>{if(t){let t=r[e],i=n[e];return t?i?No(i,t):t:i||Lo}return n[e]||Lo}}},Bo=(e,t,n)=>{if(e.length-t===0)return n.classGroupId;let r=e[t],i=n.nextPart.get(r);if(i){let n=Bo(e,t+1,i);if(n)return n}let a=n.validators;if(a===null)return;let o=t===0?e.join(Io):e.slice(t).join(Io),s=a.length;for(let e=0;e<s;e++){let t=a[e];if(t.validator(o))return t.classGroupId}},Vo=e=>e.slice(1,-1).indexOf(`:`)===-1?void 0:(()=>{let t=e.slice(1,-1),n=t.indexOf(`:`),r=t.slice(0,n);return r?Ro+r:void 0})(),Ho=e=>{let{theme:t,classGroups:n}=e;return Uo(n,t)},Uo=(e,t)=>{let n=Fo();for(let r in e){let i=e[r];Wo(i,n,r,t)}return n},Wo=(e,t,n,r)=>{let i=e.length;for(let a=0;a<i;a++){let i=e[a];Go(i,t,n,r)}},Go=(e,t,n,r)=>{if(typeof e==`string`){Ko(e,t,n);return}if(typeof e==`function`){qo(e,t,n,r);return}Jo(e,t,n,r)},Ko=(e,t,n)=>{let r=e===``?t:Yo(t,e);r.classGroupId=n},qo=(e,t,n,r)=>{if(Xo(e)){Wo(e(r),t,n,r);return}t.validators===null&&(t.validators=[]),t.validators.push(Po(n,e))},Jo=(e,t,n,r)=>{let i=Object.entries(e),a=i.length;for(let e=0;e<a;e++){let[a,o]=i[e];Wo(o,Yo(t,a),n,r)}},Yo=(e,t)=>{let n=e,r=t.split(Io),i=r.length;for(let e=0;e<i;e++){let t=r[e],i=n.nextPart.get(t);i||(i=Fo(),n.nextPart.set(t,i)),n=i}return n},Xo=e=>`isThemeGetter`in e&&e.isThemeGetter===!0,Zo=e=>{if(e<1)return{get:()=>void 0,set:()=>{}};let t=0,n=Object.create(null),r=Object.create(null),i=(i,a)=>{n[i]=a,t++,t>e&&(t=0,r=n,n=Object.create(null))};return{get(e){let t=n[e];if(t!==void 0)return t;if((t=r[e])!==void 0)return i(e,t),t},set(e,t){e in n?n[e]=t:i(e,t)}}},Qo=`!`,$o=`:`,es=[],ts=(e,t,n,r,i)=>({modifiers:e,hasImportantModifier:t,baseClassName:n,maybePostfixModifierPosition:r,isExternal:i}),ns=e=>{let{prefix:t,experimentalParseClassName:n}=e,r=e=>{let t=[],n=0,r=0,i=0,a,o=e.length;for(let s=0;s<o;s++){let o=e[s];if(n===0&&r===0){if(o===$o){t.push(e.slice(i,s)),i=s+1;continue}if(o===`/`){a=s;continue}}o===`[`?n++:o===`]`?n--:o===`(`?r++:o===`)`&&r--}let s=t.length===0?e:e.slice(i),c=s,l=!1;s.endsWith(Qo)?(c=s.slice(0,-1),l=!0):s.startsWith(Qo)&&(c=s.slice(1),l=!0);let u=a&&a>i?a-i:void 0;return ts(t,l,c,u)};if(t){let e=t+$o,n=r;r=t=>t.startsWith(e)?n(t.slice(e.length)):ts(es,!1,t,void 0,!0)}if(n){let e=r;r=t=>n({className:t,parseClassName:e})}return r},rs=e=>{let t=new Map;return e.orderSensitiveModifiers.forEach((e,n)=>{t.set(e,1e6+n)}),e=>{let n=[],r=[];for(let i=0;i<e.length;i++){let a=e[i],o=a[0]===`[`,s=t.has(a);o||s?(r.length>0&&(r.sort(),n.push(...r),r=[]),n.push(a)):r.push(a)}return r.length>0&&(r.sort(),n.push(...r)),n}},is=e=>({cache:Zo(e.cacheSize),parseClassName:ns(e),sortModifiers:rs(e),...zo(e)}),as=/\s+/,os=(e,t)=>{let{parseClassName:n,getClassGroupId:r,getConflictingClassGroupIds:i,sortModifiers:a}=t,o=[],s=e.trim().split(as),c=``;for(let e=s.length-1;e>=0;--e){let t=s[e],{isExternal:l,modifiers:u,hasImportantModifier:d,baseClassName:f,maybePostfixModifierPosition:p}=n(t);if(l){c=t+(c.length>0?` `+c:c);continue}let m=!!p,h=r(m?f.substring(0,p):f);if(!h){if(!m){c=t+(c.length>0?` `+c:c);continue}if(h=r(f),!h){c=t+(c.length>0?` `+c:c);continue}m=!1}let g=u.length===0?``:u.length===1?u[0]:a(u).join(`:`),_=d?g+Qo:g,v=_+h;if(o.indexOf(v)>-1)continue;o.push(v);let y=i(h,m);for(let e=0;e<y.length;++e){let t=y[e];o.push(_+t)}c=t+(c.length>0?` `+c:c)}return c},ss=(...e)=>{let t=0,n,r,i=``;for(;t<e.length;)(n=e[t++])&&(r=cs(n))&&(i&&(i+=` `),i+=r);return i},cs=e=>{if(typeof e==`string`)return e;let t,n=``;for(let r=0;r<e.length;r++)e[r]&&(t=cs(e[r]))&&(n&&(n+=` `),n+=t);return n},ls=(e,...t)=>{let n,r,i,a,o=o=>(n=is(t.reduce((e,t)=>t(e),e())),r=n.cache.get,i=n.cache.set,a=s,s(o)),s=e=>{let t=r(e);if(t)return t;let a=os(e,n);return i(e,a),a};return a=o,(...e)=>a(ss(...e))},us=[],ds=e=>{let t=t=>t[e]||us;return t.isThemeGetter=!0,t},fs=/^\[(?:(\w[\w-]*):)?(.+)\]$/i,ps=/^\((?:(\w[\w-]*):)?(.+)\)$/i,ms=/^\d+(?:\.\d+)?\/\d+(?:\.\d+)?$/,hs=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,gs=/\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$/,_s=/^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/,vs=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,ys=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,bs=e=>ms.test(e),xs=e=>!!e&&!Number.isNaN(Number(e)),Ss=e=>!!e&&Number.isInteger(Number(e)),Cs=e=>e.endsWith(`%`)&&xs(e.slice(0,-1)),ws=e=>hs.test(e),Ts=()=>!0,Es=e=>gs.test(e)&&!_s.test(e),Ds=()=>!1,Os=e=>vs.test(e),ks=e=>ys.test(e),As=e=>!Ms(e)&&!Bs(e),js=e=>Js(e,Qs,Ds),Ms=e=>fs.test(e),Ns=e=>Js(e,$s,Es),Ps=e=>Js(e,ec,xs),Fs=e=>Js(e,nc,Ts),Is=e=>Js(e,tc,Ds),Ls=e=>Js(e,Xs,Ds),Rs=e=>Js(e,Zs,ks),zs=e=>Js(e,rc,Os),Bs=e=>ps.test(e),Vs=e=>Ys(e,$s),Hs=e=>Ys(e,tc),Us=e=>Ys(e,Xs),Ws=e=>Ys(e,Qs),Gs=e=>Ys(e,Zs),Ks=e=>Ys(e,rc,!0),qs=e=>Ys(e,nc,!0),Js=(e,t,n)=>{let r=fs.exec(e);return r?r[1]?t(r[1]):n(r[2]):!1},Ys=(e,t,n=!1)=>{let r=ps.exec(e);return r?r[1]?t(r[1]):n:!1},Xs=e=>e===`position`||e===`percentage`,Zs=e=>e===`image`||e===`url`,Qs=e=>e===`length`||e===`size`||e===`bg-size`,$s=e=>e===`length`,ec=e=>e===`number`,tc=e=>e===`family-name`,nc=e=>e===`number`||e===`weight`,rc=e=>e===`shadow`,ic=()=>{let e=ds(`color`),t=ds(`font`),n=ds(`text`),r=ds(`font-weight`),i=ds(`tracking`),a=ds(`leading`),o=ds(`breakpoint`),s=ds(`container`),c=ds(`spacing`),l=ds(`radius`),u=ds(`shadow`),d=ds(`inset-shadow`),f=ds(`text-shadow`),p=ds(`drop-shadow`),m=ds(`blur`),h=ds(`perspective`),g=ds(`aspect`),_=ds(`ease`),v=ds(`animate`),y=()=>[`auto`,`avoid`,`all`,`avoid-page`,`page`,`left`,`right`,`column`],b=()=>[`center`,`top`,`bottom`,`left`,`right`,`top-left`,`left-top`,`top-right`,`right-top`,`bottom-right`,`right-bottom`,`bottom-left`,`left-bottom`],ee=()=>[...b(),Bs,Ms],x=()=>[`auto`,`hidden`,`clip`,`visible`,`scroll`],te=()=>[`auto`,`contain`,`none`],S=()=>[Bs,Ms,c],ne=()=>[bs,`full`,`auto`,...S()],re=()=>[Ss,`none`,`subgrid`,Bs,Ms],ie=()=>[`auto`,{span:[`full`,Ss,Bs,Ms]},Ss,Bs,Ms],ae=()=>[Ss,`auto`,Bs,Ms],oe=()=>[`auto`,`min`,`max`,`fr`,Bs,Ms],C=()=>[`start`,`end`,`center`,`between`,`around`,`evenly`,`stretch`,`baseline`,`center-safe`,`end-safe`],se=()=>[`start`,`end`,`center`,`stretch`,`center-safe`,`end-safe`],ce=()=>[`auto`,...S()],le=()=>[bs,`auto`,`full`,`dvw`,`dvh`,`lvw`,`lvh`,`svw`,`svh`,`min`,`max`,`fit`,...S()],ue=()=>[bs,`screen`,`full`,`dvw`,`lvw`,`svw`,`min`,`max`,`fit`,...S()],de=()=>[bs,`screen`,`full`,`lh`,`dvh`,`lvh`,`svh`,`min`,`max`,`fit`,...S()],w=()=>[e,Bs,Ms],fe=()=>[...b(),Us,Ls,{position:[Bs,Ms]}],T=()=>[`no-repeat`,{repeat:[``,`x`,`y`,`space`,`round`]}],pe=()=>[`auto`,`cover`,`contain`,Ws,js,{size:[Bs,Ms]}],me=()=>[Cs,Vs,Ns],he=()=>[``,`none`,`full`,l,Bs,Ms],ge=()=>[``,xs,Vs,Ns],_e=()=>[`solid`,`dashed`,`dotted`,`double`],ve=()=>[`normal`,`multiply`,`screen`,`overlay`,`darken`,`lighten`,`color-dodge`,`color-burn`,`hard-light`,`soft-light`,`difference`,`exclusion`,`hue`,`saturation`,`color`,`luminosity`],ye=()=>[xs,Cs,Us,Ls],be=()=>[``,`none`,m,Bs,Ms],xe=()=>[`none`,xs,Bs,Ms],Se=()=>[`none`,xs,Bs,Ms],Ce=()=>[xs,Bs,Ms],we=()=>[bs,`full`,...S()];return{cacheSize:500,theme:{animate:[`spin`,`ping`,`pulse`,`bounce`],aspect:[`video`],blur:[ws],breakpoint:[ws],color:[Ts],container:[ws],"drop-shadow":[ws],ease:[`in`,`out`,`in-out`],font:[As],"font-weight":[`thin`,`extralight`,`light`,`normal`,`medium`,`semibold`,`bold`,`extrabold`,`black`],"inset-shadow":[ws],leading:[`none`,`tight`,`snug`,`normal`,`relaxed`,`loose`],perspective:[`dramatic`,`near`,`normal`,`midrange`,`distant`,`none`],radius:[ws],shadow:[ws],spacing:[`px`,xs],text:[ws],"text-shadow":[ws],tracking:[`tighter`,`tight`,`normal`,`wide`,`wider`,`widest`]},classGroups:{aspect:[{aspect:[`auto`,`square`,bs,Ms,Bs,g]}],container:[`container`],columns:[{columns:[xs,Ms,Bs,s]}],"break-after":[{"break-after":y()}],"break-before":[{"break-before":y()}],"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:ee()}],overflow:[{overflow:x()}],"overflow-x":[{"overflow-x":x()}],"overflow-y":[{"overflow-y":x()}],overscroll:[{overscroll:te()}],"overscroll-x":[{"overscroll-x":te()}],"overscroll-y":[{"overscroll-y":te()}],position:[`static`,`fixed`,`absolute`,`relative`,`sticky`],inset:[{inset:ne()}],"inset-x":[{"inset-x":ne()}],"inset-y":[{"inset-y":ne()}],start:[{"inset-s":ne(),start:ne()}],end:[{"inset-e":ne(),end:ne()}],"inset-bs":[{"inset-bs":ne()}],"inset-be":[{"inset-be":ne()}],top:[{top:ne()}],right:[{right:ne()}],bottom:[{bottom:ne()}],left:[{left:ne()}],visibility:[`visible`,`invisible`,`collapse`],z:[{z:[Ss,`auto`,Bs,Ms]}],basis:[{basis:[bs,`full`,`auto`,s,...S()]}],"flex-direction":[{flex:[`row`,`row-reverse`,`col`,`col-reverse`]}],"flex-wrap":[{flex:[`nowrap`,`wrap`,`wrap-reverse`]}],flex:[{flex:[xs,bs,`auto`,`initial`,`none`,Ms]}],grow:[{grow:[``,xs,Bs,Ms]}],shrink:[{shrink:[``,xs,Bs,Ms]}],order:[{order:[Ss,`first`,`last`,`none`,Bs,Ms]}],"grid-cols":[{"grid-cols":re()}],"col-start-end":[{col:ie()}],"col-start":[{"col-start":ae()}],"col-end":[{"col-end":ae()}],"grid-rows":[{"grid-rows":re()}],"row-start-end":[{row:ie()}],"row-start":[{"row-start":ae()}],"row-end":[{"row-end":ae()}],"grid-flow":[{"grid-flow":[`row`,`col`,`dense`,`row-dense`,`col-dense`]}],"auto-cols":[{"auto-cols":oe()}],"auto-rows":[{"auto-rows":oe()}],gap:[{gap:S()}],"gap-x":[{"gap-x":S()}],"gap-y":[{"gap-y":S()}],"justify-content":[{justify:[...C(),`normal`]}],"justify-items":[{"justify-items":[...se(),`normal`]}],"justify-self":[{"justify-self":[`auto`,...se()]}],"align-content":[{content:[`normal`,...C()]}],"align-items":[{items:[...se(),{baseline:[``,`last`]}]}],"align-self":[{self:[`auto`,...se(),{baseline:[``,`last`]}]}],"place-content":[{"place-content":C()}],"place-items":[{"place-items":[...se(),`baseline`]}],"place-self":[{"place-self":[`auto`,...se()]}],p:[{p:S()}],px:[{px:S()}],py:[{py:S()}],ps:[{ps:S()}],pe:[{pe:S()}],pbs:[{pbs:S()}],pbe:[{pbe:S()}],pt:[{pt:S()}],pr:[{pr:S()}],pb:[{pb:S()}],pl:[{pl:S()}],m:[{m:ce()}],mx:[{mx:ce()}],my:[{my:ce()}],ms:[{ms:ce()}],me:[{me:ce()}],mbs:[{mbs:ce()}],mbe:[{mbe:ce()}],mt:[{mt:ce()}],mr:[{mr:ce()}],mb:[{mb:ce()}],ml:[{ml:ce()}],"space-x":[{"space-x":S()}],"space-x-reverse":[`space-x-reverse`],"space-y":[{"space-y":S()}],"space-y-reverse":[`space-y-reverse`],size:[{size:le()}],"inline-size":[{inline:[`auto`,...ue()]}],"min-inline-size":[{"min-inline":[`auto`,...ue()]}],"max-inline-size":[{"max-inline":[`none`,...ue()]}],"block-size":[{block:[`auto`,...de()]}],"min-block-size":[{"min-block":[`auto`,...de()]}],"max-block-size":[{"max-block":[`none`,...de()]}],w:[{w:[s,`screen`,...le()]}],"min-w":[{"min-w":[s,`screen`,`none`,...le()]}],"max-w":[{"max-w":[s,`screen`,`none`,`prose`,{screen:[o]},...le()]}],h:[{h:[`screen`,`lh`,...le()]}],"min-h":[{"min-h":[`screen`,`lh`,`none`,...le()]}],"max-h":[{"max-h":[`screen`,`lh`,...le()]}],"font-size":[{text:[`base`,n,Vs,Ns]}],"font-smoothing":[`antialiased`,`subpixel-antialiased`],"font-style":[`italic`,`not-italic`],"font-weight":[{font:[r,qs,Fs]}],"font-stretch":[{"font-stretch":[`ultra-condensed`,`extra-condensed`,`condensed`,`semi-condensed`,`normal`,`semi-expanded`,`expanded`,`extra-expanded`,`ultra-expanded`,Cs,Ms]}],"font-family":[{font:[Hs,Is,t]}],"font-features":[{"font-features":[Ms]}],"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:[i,Bs,Ms]}],"line-clamp":[{"line-clamp":[xs,`none`,Bs,Ps]}],leading:[{leading:[a,...S()]}],"list-image":[{"list-image":[`none`,Bs,Ms]}],"list-style-position":[{list:[`inside`,`outside`]}],"list-style-type":[{list:[`disc`,`decimal`,`none`,Bs,Ms]}],"text-alignment":[{text:[`left`,`center`,`right`,`justify`,`start`,`end`]}],"placeholder-color":[{placeholder:w()}],"text-color":[{text:w()}],"text-decoration":[`underline`,`overline`,`line-through`,`no-underline`],"text-decoration-style":[{decoration:[..._e(),`wavy`]}],"text-decoration-thickness":[{decoration:[xs,`from-font`,`auto`,Bs,Ns]}],"text-decoration-color":[{decoration:w()}],"underline-offset":[{"underline-offset":[xs,`auto`,Bs,Ms]}],"text-transform":[`uppercase`,`lowercase`,`capitalize`,`normal-case`],"text-overflow":[`truncate`,`text-ellipsis`,`text-clip`],"text-wrap":[{text:[`wrap`,`nowrap`,`balance`,`pretty`]}],indent:[{indent:S()}],"vertical-align":[{align:[`baseline`,`top`,`middle`,`bottom`,`text-top`,`text-bottom`,`sub`,`super`,Bs,Ms]}],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`,Bs,Ms]}],"bg-attachment":[{bg:[`fixed`,`local`,`scroll`]}],"bg-clip":[{"bg-clip":[`border`,`padding`,`content`,`text`]}],"bg-origin":[{"bg-origin":[`border`,`padding`,`content`]}],"bg-position":[{bg:fe()}],"bg-repeat":[{bg:T()}],"bg-size":[{bg:pe()}],"bg-image":[{bg:[`none`,{linear:[{to:[`t`,`tr`,`r`,`br`,`b`,`bl`,`l`,`tl`]},Ss,Bs,Ms],radial:[``,Bs,Ms],conic:[Ss,Bs,Ms]},Gs,Rs]}],"bg-color":[{bg:w()}],"gradient-from-pos":[{from:me()}],"gradient-via-pos":[{via:me()}],"gradient-to-pos":[{to:me()}],"gradient-from":[{from:w()}],"gradient-via":[{via:w()}],"gradient-to":[{to:w()}],rounded:[{rounded:he()}],"rounded-s":[{"rounded-s":he()}],"rounded-e":[{"rounded-e":he()}],"rounded-t":[{"rounded-t":he()}],"rounded-r":[{"rounded-r":he()}],"rounded-b":[{"rounded-b":he()}],"rounded-l":[{"rounded-l":he()}],"rounded-ss":[{"rounded-ss":he()}],"rounded-se":[{"rounded-se":he()}],"rounded-ee":[{"rounded-ee":he()}],"rounded-es":[{"rounded-es":he()}],"rounded-tl":[{"rounded-tl":he()}],"rounded-tr":[{"rounded-tr":he()}],"rounded-br":[{"rounded-br":he()}],"rounded-bl":[{"rounded-bl":he()}],"border-w":[{border:ge()}],"border-w-x":[{"border-x":ge()}],"border-w-y":[{"border-y":ge()}],"border-w-s":[{"border-s":ge()}],"border-w-e":[{"border-e":ge()}],"border-w-bs":[{"border-bs":ge()}],"border-w-be":[{"border-be":ge()}],"border-w-t":[{"border-t":ge()}],"border-w-r":[{"border-r":ge()}],"border-w-b":[{"border-b":ge()}],"border-w-l":[{"border-l":ge()}],"divide-x":[{"divide-x":ge()}],"divide-x-reverse":[`divide-x-reverse`],"divide-y":[{"divide-y":ge()}],"divide-y-reverse":[`divide-y-reverse`],"border-style":[{border:[..._e(),`hidden`,`none`]}],"divide-style":[{divide:[..._e(),`hidden`,`none`]}],"border-color":[{border:w()}],"border-color-x":[{"border-x":w()}],"border-color-y":[{"border-y":w()}],"border-color-s":[{"border-s":w()}],"border-color-e":[{"border-e":w()}],"border-color-bs":[{"border-bs":w()}],"border-color-be":[{"border-be":w()}],"border-color-t":[{"border-t":w()}],"border-color-r":[{"border-r":w()}],"border-color-b":[{"border-b":w()}],"border-color-l":[{"border-l":w()}],"divide-color":[{divide:w()}],"outline-style":[{outline:[..._e(),`none`,`hidden`]}],"outline-offset":[{"outline-offset":[xs,Bs,Ms]}],"outline-w":[{outline:[``,xs,Vs,Ns]}],"outline-color":[{outline:w()}],shadow:[{shadow:[``,`none`,u,Ks,zs]}],"shadow-color":[{shadow:w()}],"inset-shadow":[{"inset-shadow":[`none`,d,Ks,zs]}],"inset-shadow-color":[{"inset-shadow":w()}],"ring-w":[{ring:ge()}],"ring-w-inset":[`ring-inset`],"ring-color":[{ring:w()}],"ring-offset-w":[{"ring-offset":[xs,Ns]}],"ring-offset-color":[{"ring-offset":w()}],"inset-ring-w":[{"inset-ring":ge()}],"inset-ring-color":[{"inset-ring":w()}],"text-shadow":[{"text-shadow":[`none`,f,Ks,zs]}],"text-shadow-color":[{"text-shadow":w()}],opacity:[{opacity:[xs,Bs,Ms]}],"mix-blend":[{"mix-blend":[...ve(),`plus-darker`,`plus-lighter`]}],"bg-blend":[{"bg-blend":ve()}],"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":[xs]}],"mask-image-linear-from-pos":[{"mask-linear-from":ye()}],"mask-image-linear-to-pos":[{"mask-linear-to":ye()}],"mask-image-linear-from-color":[{"mask-linear-from":w()}],"mask-image-linear-to-color":[{"mask-linear-to":w()}],"mask-image-t-from-pos":[{"mask-t-from":ye()}],"mask-image-t-to-pos":[{"mask-t-to":ye()}],"mask-image-t-from-color":[{"mask-t-from":w()}],"mask-image-t-to-color":[{"mask-t-to":w()}],"mask-image-r-from-pos":[{"mask-r-from":ye()}],"mask-image-r-to-pos":[{"mask-r-to":ye()}],"mask-image-r-from-color":[{"mask-r-from":w()}],"mask-image-r-to-color":[{"mask-r-to":w()}],"mask-image-b-from-pos":[{"mask-b-from":ye()}],"mask-image-b-to-pos":[{"mask-b-to":ye()}],"mask-image-b-from-color":[{"mask-b-from":w()}],"mask-image-b-to-color":[{"mask-b-to":w()}],"mask-image-l-from-pos":[{"mask-l-from":ye()}],"mask-image-l-to-pos":[{"mask-l-to":ye()}],"mask-image-l-from-color":[{"mask-l-from":w()}],"mask-image-l-to-color":[{"mask-l-to":w()}],"mask-image-x-from-pos":[{"mask-x-from":ye()}],"mask-image-x-to-pos":[{"mask-x-to":ye()}],"mask-image-x-from-color":[{"mask-x-from":w()}],"mask-image-x-to-color":[{"mask-x-to":w()}],"mask-image-y-from-pos":[{"mask-y-from":ye()}],"mask-image-y-to-pos":[{"mask-y-to":ye()}],"mask-image-y-from-color":[{"mask-y-from":w()}],"mask-image-y-to-color":[{"mask-y-to":w()}],"mask-image-radial":[{"mask-radial":[Bs,Ms]}],"mask-image-radial-from-pos":[{"mask-radial-from":ye()}],"mask-image-radial-to-pos":[{"mask-radial-to":ye()}],"mask-image-radial-from-color":[{"mask-radial-from":w()}],"mask-image-radial-to-color":[{"mask-radial-to":w()}],"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":b()}],"mask-image-conic-pos":[{"mask-conic":[xs]}],"mask-image-conic-from-pos":[{"mask-conic-from":ye()}],"mask-image-conic-to-pos":[{"mask-conic-to":ye()}],"mask-image-conic-from-color":[{"mask-conic-from":w()}],"mask-image-conic-to-color":[{"mask-conic-to":w()}],"mask-mode":[{mask:[`alpha`,`luminance`,`match`]}],"mask-origin":[{"mask-origin":[`border`,`padding`,`content`,`fill`,`stroke`,`view`]}],"mask-position":[{mask:fe()}],"mask-repeat":[{mask:T()}],"mask-size":[{mask:pe()}],"mask-type":[{"mask-type":[`alpha`,`luminance`]}],"mask-image":[{mask:[`none`,Bs,Ms]}],filter:[{filter:[``,`none`,Bs,Ms]}],blur:[{blur:be()}],brightness:[{brightness:[xs,Bs,Ms]}],contrast:[{contrast:[xs,Bs,Ms]}],"drop-shadow":[{"drop-shadow":[``,`none`,p,Ks,zs]}],"drop-shadow-color":[{"drop-shadow":w()}],grayscale:[{grayscale:[``,xs,Bs,Ms]}],"hue-rotate":[{"hue-rotate":[xs,Bs,Ms]}],invert:[{invert:[``,xs,Bs,Ms]}],saturate:[{saturate:[xs,Bs,Ms]}],sepia:[{sepia:[``,xs,Bs,Ms]}],"backdrop-filter":[{"backdrop-filter":[``,`none`,Bs,Ms]}],"backdrop-blur":[{"backdrop-blur":be()}],"backdrop-brightness":[{"backdrop-brightness":[xs,Bs,Ms]}],"backdrop-contrast":[{"backdrop-contrast":[xs,Bs,Ms]}],"backdrop-grayscale":[{"backdrop-grayscale":[``,xs,Bs,Ms]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[xs,Bs,Ms]}],"backdrop-invert":[{"backdrop-invert":[``,xs,Bs,Ms]}],"backdrop-opacity":[{"backdrop-opacity":[xs,Bs,Ms]}],"backdrop-saturate":[{"backdrop-saturate":[xs,Bs,Ms]}],"backdrop-sepia":[{"backdrop-sepia":[``,xs,Bs,Ms]}],"border-collapse":[{border:[`collapse`,`separate`]}],"border-spacing":[{"border-spacing":S()}],"border-spacing-x":[{"border-spacing-x":S()}],"border-spacing-y":[{"border-spacing-y":S()}],"table-layout":[{table:[`auto`,`fixed`]}],caption:[{caption:[`top`,`bottom`]}],transition:[{transition:[``,`all`,`colors`,`opacity`,`shadow`,`transform`,`none`,Bs,Ms]}],"transition-behavior":[{transition:[`normal`,`discrete`]}],duration:[{duration:[xs,`initial`,Bs,Ms]}],ease:[{ease:[`linear`,`initial`,_,Bs,Ms]}],delay:[{delay:[xs,Bs,Ms]}],animate:[{animate:[`none`,v,Bs,Ms]}],backface:[{backface:[`hidden`,`visible`]}],perspective:[{perspective:[h,Bs,Ms]}],"perspective-origin":[{"perspective-origin":ee()}],rotate:[{rotate:xe()}],"rotate-x":[{"rotate-x":xe()}],"rotate-y":[{"rotate-y":xe()}],"rotate-z":[{"rotate-z":xe()}],scale:[{scale:Se()}],"scale-x":[{"scale-x":Se()}],"scale-y":[{"scale-y":Se()}],"scale-z":[{"scale-z":Se()}],"scale-3d":[`scale-3d`],skew:[{skew:Ce()}],"skew-x":[{"skew-x":Ce()}],"skew-y":[{"skew-y":Ce()}],transform:[{transform:[Bs,Ms,``,`none`,`gpu`,`cpu`]}],"transform-origin":[{origin:ee()}],"transform-style":[{transform:[`3d`,`flat`]}],translate:[{translate:we()}],"translate-x":[{"translate-x":we()}],"translate-y":[{"translate-y":we()}],"translate-z":[{"translate-z":we()}],"translate-none":[`translate-none`],accent:[{accent:w()}],appearance:[{appearance:[`none`,`auto`]}],"caret-color":[{caret:w()}],"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`,Bs,Ms]}],"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":S()}],"scroll-mx":[{"scroll-mx":S()}],"scroll-my":[{"scroll-my":S()}],"scroll-ms":[{"scroll-ms":S()}],"scroll-me":[{"scroll-me":S()}],"scroll-mbs":[{"scroll-mbs":S()}],"scroll-mbe":[{"scroll-mbe":S()}],"scroll-mt":[{"scroll-mt":S()}],"scroll-mr":[{"scroll-mr":S()}],"scroll-mb":[{"scroll-mb":S()}],"scroll-ml":[{"scroll-ml":S()}],"scroll-p":[{"scroll-p":S()}],"scroll-px":[{"scroll-px":S()}],"scroll-py":[{"scroll-py":S()}],"scroll-ps":[{"scroll-ps":S()}],"scroll-pe":[{"scroll-pe":S()}],"scroll-pbs":[{"scroll-pbs":S()}],"scroll-pbe":[{"scroll-pbe":S()}],"scroll-pt":[{"scroll-pt":S()}],"scroll-pr":[{"scroll-pr":S()}],"scroll-pb":[{"scroll-pb":S()}],"scroll-pl":[{"scroll-pl":S()}],"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`,Bs,Ms]}],fill:[{fill:[`none`,...w()]}],"stroke-w":[{stroke:[xs,Vs,Ns,Ps]}],stroke:[{stroke:[`none`,...w()]}],"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`]}},ac=(e,{cacheSize:t,prefix:n,experimentalParseClassName:r,extend:i={},override:a={}})=>(oc(e,`cacheSize`,t),oc(e,`prefix`,n),oc(e,`experimentalParseClassName`,r),sc(e.theme,a.theme),sc(e.classGroups,a.classGroups),sc(e.conflictingClassGroups,a.conflictingClassGroups),sc(e.conflictingClassGroupModifiers,a.conflictingClassGroupModifiers),oc(e,`orderSensitiveModifiers`,a.orderSensitiveModifiers),cc(e.theme,i.theme),cc(e.classGroups,i.classGroups),cc(e.conflictingClassGroups,i.conflictingClassGroups),cc(e.conflictingClassGroupModifiers,i.conflictingClassGroupModifiers),lc(e,i,`orderSensitiveModifiers`),e),oc=(e,t,n)=>{n!==void 0&&(e[t]=n)},sc=(e,t)=>{if(t)for(let n in t)oc(e,n,t[n])},cc=(e,t)=>{if(t)for(let n in t)lc(e,t,n)},lc=(e,t,n)=>{let r=t[n];r!==void 0&&(e[n]=e[n]?e[n].concat(r):r)},uc=((e,...t)=>typeof e==`function`?ls(ic,e,...t):ls(()=>ac(ic(),e),...t))({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:dc,cx:fc,compose:ane}=Mo({hooks:{onComplete:e=>uc(e)}});function pc(){let e=ve(),t=j(()=>{let{class:t,style:n,...r}=e;return{class:t||``,style:n,rest:r}});function n(...e){return{class:fc(...e,t.value.class),style:t.value.style,...t.value.rest}}function r(...e){return{class:fc(...e,t.value.class),style:t.value.style}}return{cx:n,stylingAttrsCx:r,otherAttrs:j(()=>t.value.rest)}}var mc=e=>e!=null,hc=e=>e[`$ref-value`],gc=e=>{let{"$ref-value":t,...n}=e;return{...t,...n}},L=(e,t=hc)=>typeof e==`object`&&e&&`$ref`in e?t(e):e,_c=e=>{if(typeof e!=`object`||!e)return!1;let t=Object.getPrototypeOf(e);return t===Object.prototype||t===null},vc=e=>typeof e==`object`&&!!e,yc=e=>decodeURI(e.replace(/~1/g,`/`).replace(/~0/g,`~`)),bc=e=>e.split(`/`).slice(1).map(yc),xc=(e,t,n)=>{let[r,i]=e.split(`#`,2);if(r)return n.has(r)?i?i.startsWith(`/`)?`${n.get(r)}${i}`:n.get(`${r}#${i}`):n.get(r):void 0;if(i)return i.startsWith(`/`)?i.slice(1):n.get(`${t}#${i}`)},Sc=e=>{if(e&&typeof e==`object`&&e.$id&&typeof e.$id==`string`)return e.$id},Cc=e=>e.join(`/`),wc=(e,t=``,n=[],r=new Map,i=new WeakSet)=>{if(typeof e!=`object`||!e||i.has(e))return r;i.add(e);let a=Sc(e);a&&r.set(a,Cc(n));let o=a??t;e.$anchor&&typeof e.$anchor==`string`&&r.set(`${o}#${e.$anchor}`,Cc(n));for(let t in e)typeof e[t]==`object`&&e[t]!==null&&wc(e[t],o,[...n,t],r,i);return r};function Tc(e,t){return t.reduce((e,t)=>e.value===void 0||typeof e.value!=`object`||e.value===null?{context:``,value:void 0}:{context:Sc(e.value)??e.context,value:e.value?.[t]},{context:``,value:e})}function Ec(e,t){return t.reduce((e,t)=>(e[t]===void 0&&(isNaN(Number(t))?e[t]={}:e[t]=[]),e[t]),e)}var Dc=Symbol(`isMagicProxy`),Oc=Symbol(`magicProxyTarget`),kc=`$ref-value`,Ac=`$ref`,jc=(e,t,n={root:e,proxyCache:new WeakMap,cache:new Map,schemas:wc(e),currentContext:``})=>{if(!_c(e)&&!Array.isArray(e))return e;if(n.proxyCache.has(e))return n.proxyCache.get(e);let r=new Proxy(e,{get(e,r,i){if(r===Dc)return!0;if(r===Oc)return e;if(typeof r==`string`&&r.startsWith(`__scalar_`)&&!t?.showInternal)return;let a=Reflect.get(e,Ac,i),o=Sc(e);if(r===kc&&typeof a==`string`){if(n.cache.has(a))return n.cache.get(a);let e=xc(a,o??n.currentContext,n.schemas);if(e===void 0)return;let r=Tc(n.root,bc(`/${e}`));if(Mc(r.value))return r.value;let i=jc(r.value,t,{...n,currentContext:r.context});return n.cache.set(a,i),i}let s=Reflect.get(e,r,i);return Mc(s)?s:jc(s,t,{...n,currentContext:o??n.currentContext})},set(e,r,i,a){let o=Reflect.get(e,Ac,a);if(typeof r==`string`&&r.startsWith(`__scalar_`)&&!t?.showInternal)return!0;if(r===kc&&typeof o==`string`){let t=xc(o,Sc(e)??n.currentContext,n.schemas);if(t===void 0)return;let r=bc(`/${t}`);if(r.length===0)return!1;let a=()=>Tc(n.root,r.slice(0,-1)).value;return a()===void 0&&(Ec(n.root,r.slice(0,-1)),console.warn(`Trying to set $ref-value for invalid reference: ${o}\n\nPlease fix your input file to fix this issue.`)),a()[r.at(-1)]=i,!0}return Reflect.set(e,r,i,a)},deleteProperty(e,t){return Reflect.deleteProperty(e,t)},has(e,n){return typeof n==`string`&&n.startsWith(`__scalar_`)&&!t?.showInternal?!1:n===kc&&Ac in e?!0:Reflect.has(e,n)},ownKeys(e){let n=Reflect.ownKeys(e).filter(e=>typeof e!=`string`||!(e.startsWith(`__scalar_`)&&!t?.showInternal));return Ac in e&&!n.includes(kc)&&n.push(kc),n},getOwnPropertyDescriptor(e,n){if(typeof n==`string`&&n.startsWith(`__scalar_`)&&!t?.showInternal)return;let r=Reflect.get(e,Ac);return n===kc&&typeof r==`string`?{configurable:!0,enumerable:!0,value:void 0,writable:!1}:Reflect.getOwnPropertyDescriptor(e,n)}});return n.proxyCache.set(e,r),r},Mc=e=>typeof e==`object`&&!!e&&e[Dc]===!0;function Nc(e){return typeof e!=`object`||!e?e:e[Dc]?e[Oc]:e}var Pc=Symbol(`isDetectChangesProxy`),Fc=Symbol(`detectChangesProxyTarget`),Ic=(e,t,n={proxyCache:new WeakMap,path:[]})=>{if(!_c(e)&&!Array.isArray(e))return e;if(n.proxyCache.has(e))return n.proxyCache.get(e);let r=new Proxy(e,{get(e,r,i){if(r===Pc)return!0;if(r===Fc)return e;let a=Reflect.get(e,r,i);return Lc(a)?a:Ic(a,t,{...n,path:[...n.path,String(r)]})},set(e,r,i,a){let o=[...n.path,String(r)];t?.hooks?.onBeforeChange?.(o,i);let s=Reflect.set(e,r,i,a);return t?.hooks?.onAfterChange?.(o,i),s},deleteProperty(e,r){let i=[...n.path,String(r)];t?.hooks?.onBeforeChange?.(i);let a=Reflect.deleteProperty(e,r);return t?.hooks?.onAfterChange?.(i),a}});return n.proxyCache.set(e,r),r},Lc=e=>typeof e==`object`&&!!e&&e[Pc]===!0,Rc=e=>typeof e!=`object`||!e?e:e[Pc]?e[Fc]:e,zc=Symbol(`isOverridesProxy`),Bc=Symbol(`getOverridesTarget`),Vc=(e,t,n={cache:new WeakMap})=>{if(!e||typeof e!=`object`)return e;if(n.cache.has(e))return n.cache.get(e);let{overrides:r}=t??{},i=new Proxy(e,{get(e,t,i){if(t===zc)return!0;if(t===Bc)return e;let a=Reflect.get(e,t,i);return Hc(a)?a:_c(a)?Vc(a,{overrides:Reflect.get(r??{},t)},n):Reflect.get(r??{},t)??a},set(e,t,n,i){return t===zc||t===Bc?!1:r&&Reflect.has(r,t)&&r&&typeof r==`object`?(r[t]=n,!0):Reflect.set(e,t,n,i)}});return n.cache.set(e,i),i},Hc=e=>typeof e==`object`&&!!e&&e[zc]===!0;function Uc(e){return typeof e==`object`&&e&&e[zc]?e[Bc]:e}var Wc=(e,{depth:t=0}={})=>{let n=(r,i=0)=>{if(typeof r!=`object`||!r)return r;let a=Rc(Ee(Nc(Uc(r))));return t!==null&&i>=t?a:(i!==0&&a!==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;`,i,`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:a}),console.groupEnd()),Object.entries(a).forEach(([e,t])=>{let r=n(t,i+1);Reflect.set(a,e,r)||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;`,e,`color: #00bfa5; font-weight: bold;`,`color: inherit;`,`color: #03a9f4; font-weight: bold;`,`color: inherit;`,e,r,a)}),a)};return n(e)},Gc=e=>{let t=new WeakSet,n=new WeakMap,r=e=>{if(!_c(e)&&!Array.isArray(e))return e;let i=Wc(e,{depth:1});if(n.has(i))return n.get(i);if(t.has(i))return`[circular]`;if(t.add(i),`$ref`in e){let t=r(L(e)),a=Object.entries(e).filter(([e])=>e!==`$ref`&&e!==`$ref-value`);if(a.length>0&&_c(t)){let e={...t};for(let[t,n]of a)e[t]=r(n);return n.set(i,e),e}return n.set(i,t),t}if(Array.isArray(e)){let t=e.map(r);return n.set(i,t),t}let a=Object.fromEntries(Object.entries(e).map(([e,t])=>[e,r(t)]));return n.set(i,a),a};return r(e)},Kc=(e,t,n)=>{if(!e&&!t)return;let r=!!e&&Object.keys(e).length>0,i=n||Object.keys(e??{})[0]||``,a=L(e?.[i]);if(a!==void 0)return a;if((!r||!n)&&t!==void 0)return{value:L(t)}},qc=(e,t,n)=>{if(`content`in e){let r=e.content?.[n??Object.keys(e.content)[0]??``],i=Kc(r?.examples,r?.example,t);if(i!==void 0)return i}if(`examples`in e||`example`in e){let n=Kc(e.examples,e.example,t);if(n!==void 0)return n}let r=L(e);if(`schema`in r&&r.schema){let e=r.schema;if(`default`in e&&e.default!==void 0)return{value:e.default};if(`enum`in e&&e.enum?.[0]!==void 0)return{value:e.enum[0]};if(`examples`in e&&e.examples?.[0]!==void 0)return{value:e.examples[0]};if(`example`in e&&e.example!==void 0)return{value:e.example}}},Jc=e=>typeof e==`object`&&!!e&&`$dynamicRef`in e&&typeof e.$dynamicRef==`string`,Yc=e=>`$dynamicAnchor`in e||`$id`in e||`$defs`in e,Xc=new WeakMap,Zc=e=>{let t=Wc(e,{depth:1}),n=Xc.get(t);if(n)return n;let r=new Map,i=e=>{if(!e||typeof e!=`object`)return;let t=e.$dynamicAnchor;typeof t==`string`&&!r.has(t)&&r.set(t,L(e,gc))};i(e);let a=e.$defs;if(a&&typeof a==`object`)for(let e of Object.keys(a))i(a[e]);return Xc.set(t,r),r},Qc=(e,t)=>Yc(t)?[...e,t]:e,$c=(e,t)=>{let n=e.startsWith(`#`)?e.slice(1):void 0;if(!(!n||n.startsWith(`/`)))for(let e of t){let t=Zc(e).get(n);if(t)return t}};function el(e){return ll(e)&&!tl(e)&&!pl(e)&&Symbol.asyncIterator in e}function tl(e){return Array.isArray(e)}function nl(e){return typeof e==`bigint`}function rl(e){return typeof e==`boolean`}function il(e){return e instanceof globalThis.Date}function al(e){return typeof e==`function`}function ol(e){return ll(e)&&!tl(e)&&!pl(e)&&Symbol.iterator in e}function sl(e){return e===null}function cl(e){return typeof e==`number`}function ll(e){return typeof e==`object`&&!!e}function ul(e){return e instanceof globalThis.RegExp}function dl(e){return typeof e==`string`}function fl(e){return typeof e==`symbol`}function pl(e){return e instanceof globalThis.Uint8Array}function ml(e){return e===void 0}function hl(e){return e.map(e=>bl(e))}function gl(e){return new Date(e.getTime())}function _l(e){return new Uint8Array(e)}function vl(e){return new RegExp(e.source,e.flags)}function yl(e){let t={};for(let n of Object.getOwnPropertyNames(e))t[n]=bl(e[n]);for(let n of Object.getOwnPropertySymbols(e))t[n]=bl(e[n]);return t}function bl(e){return tl(e)?hl(e):il(e)?gl(e):pl(e)?_l(e):ul(e)?vl(e):ll(e)?yl(e):e}function xl(e){return bl(e)}function Sl(e,t){return xl(t===void 0?e:{...t,...e})}function Cl(e){return Ml(e)&&globalThis.Symbol.asyncIterator in e}function wl(e){return Ml(e)&&globalThis.Symbol.iterator in e}function Tl(e){return e instanceof globalThis.Promise}function El(e){return e instanceof Date&&globalThis.Number.isFinite(e.getTime())}function Dl(e){return e instanceof globalThis.Map}function Ol(e){return e instanceof globalThis.Set}function kl(e){return globalThis.ArrayBuffer.isView(e)}function Al(e){return e instanceof globalThis.Uint8Array}function jl(e,t){return t in e}function Ml(e){return typeof e==`object`&&!!e}function Nl(e){return globalThis.Array.isArray(e)&&!globalThis.ArrayBuffer.isView(e)}function Pl(e){return e===void 0}function Fl(e){return e===null}function Il(e){return typeof e==`boolean`}function Ll(e){return typeof e==`number`}function Rl(e){return globalThis.Number.isInteger(e)}function zl(e){return typeof e==`bigint`}function Bl(e){return typeof e==`string`}function Vl(e){return typeof e==`function`}function Hl(e){return typeof e==`symbol`}function Ul(e){return zl(e)||Il(e)||Fl(e)||Ll(e)||Bl(e)||Hl(e)||Pl(e)}var Wl;(function(e){e.InstanceMode=`default`,e.ExactOptionalPropertyTypes=!1,e.AllowArrayObject=!1,e.AllowNaN=!1,e.AllowNullVoid=!1;function t(t,n){return e.ExactOptionalPropertyTypes?n in t:t[n]!==void 0}e.IsExactOptionalProperty=t;function n(t){let n=Ml(t);return e.AllowArrayObject?n:n&&!Nl(t)}e.IsObjectLike=n;function r(e){return n(e)&&!(e instanceof Date)&&!(e instanceof Uint8Array)}e.IsRecordLike=r;function i(t){return e.AllowNaN?Ll(t):Number.isFinite(t)}e.IsNumberLike=i;function a(t){let n=Pl(t);return e.AllowNullVoid?n||t===null:n}e.IsVoidLike=a})(Wl||={});function one(e){return globalThis.Object.freeze(e).map(e=>Gl(e))}function sne(e){return e}function cne(e){return e}function lne(e){return e}function une(e){let t={};for(let n of Object.getOwnPropertyNames(e))t[n]=Gl(e[n]);for(let n of Object.getOwnPropertySymbols(e))t[n]=Gl(e[n]);return globalThis.Object.freeze(t)}function Gl(e){return tl(e)?one(e):il(e)?sne(e):pl(e)?cne(e):ul(e)?lne(e):ll(e)?une(e):e}function R(e,t){let n=t===void 0?e:{...t,...e};switch(Wl.InstanceMode){case`freeze`:return Gl(n);case`clone`:return xl(n);default:return n}}var Kl=class extends Error{constructor(e){super(e)}},ql=Symbol.for(`TypeBox.Transform`),Jl=Symbol.for(`TypeBox.Readonly`),Yl=Symbol.for(`TypeBox.Optional`),Xl=Symbol.for(`TypeBox.Hint`),z=Symbol.for(`TypeBox.Kind`);function Zl(e){return ll(e)&&e[Jl]===`Readonly`}function Ql(e){return ll(e)&&e[Yl]===`Optional`}function $l(e){return du(e,`Any`)}function eu(e){return du(e,`Argument`)}function tu(e){return du(e,`Array`)}function nu(e){return du(e,`AsyncIterator`)}function ru(e){return du(e,`BigInt`)}function iu(e){return du(e,`Boolean`)}function au(e){return du(e,`Computed`)}function ou(e){return du(e,`Constructor`)}function dne(e){return du(e,`Date`)}function su(e){return du(e,`Function`)}function cu(e){return du(e,`Integer`)}function lu(e){return du(e,`Intersect`)}function uu(e){return du(e,`Iterator`)}function du(e,t){return ll(e)&&z in e&&e[z]===t}function fu(e){return rl(e)||cl(e)||dl(e)}function pu(e){return du(e,`Literal`)}function mu(e){return du(e,`MappedKey`)}function hu(e){return du(e,`MappedResult`)}function gu(e){return du(e,`Never`)}function fne(e){return du(e,`Not`)}function _u(e){return du(e,`Null`)}function vu(e){return du(e,`Number`)}function yu(e){return du(e,`Object`)}function bu(e){return du(e,`Promise`)}function xu(e){return du(e,`Record`)}function Su(e){return du(e,`Ref`)}function Cu(e){return du(e,`RegExp`)}function wu(e){return du(e,`String`)}function Tu(e){return du(e,`Symbol`)}function Eu(e){return du(e,`TemplateLiteral`)}function pne(e){return du(e,`This`)}function Du(e){return ll(e)&&ql in e}function Ou(e){return du(e,`Tuple`)}function ku(e){return du(e,`Undefined`)}function Au(e){return du(e,`Union`)}function mne(e){return du(e,`Uint8Array`)}function hne(e){return du(e,`Unknown`)}function gne(e){return du(e,`Unsafe`)}function _ne(e){return du(e,`Void`)}function vne(e){return ll(e)&&z in e&&dl(e[z])}function ju(e){return $l(e)||eu(e)||tu(e)||iu(e)||ru(e)||nu(e)||au(e)||ou(e)||dne(e)||su(e)||cu(e)||lu(e)||uu(e)||pu(e)||mu(e)||hu(e)||gu(e)||fne(e)||_u(e)||vu(e)||yu(e)||bu(e)||xu(e)||Su(e)||Cu(e)||wu(e)||Tu(e)||Eu(e)||pne(e)||Ou(e)||ku(e)||Au(e)||mne(e)||hne(e)||gne(e)||_ne(e)||vne(e)}var yne=`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`.split(`.`);function Mu(e){try{return new RegExp(e),!0}catch{return!1}}function Nu(e){if(!dl(e))return!1;for(let t=0;t<e.length;t++){let n=e.charCodeAt(t);if(n>=7&&n<=13||n===27||n===127)return!1}return!0}function Pu(e){return Lu(e)||xd(e)}function Fu(e){return ml(e)||nl(e)}function Iu(e){return ml(e)||cl(e)}function Lu(e){return ml(e)||rl(e)}function Ru(e){return ml(e)||dl(e)}function bne(e){return ml(e)||dl(e)&&Nu(e)&&Mu(e)}function xne(e){return ml(e)||dl(e)&&Nu(e)}function zu(e){return ml(e)||xd(e)}function Bu(e){return ll(e)&&e[Yl]===`Optional`}function Vu(e){return $u(e,`Any`)&&Ru(e.$id)}function Sne(e){return $u(e,`Argument`)&&cl(e.index)}function Hu(e){return $u(e,`Array`)&&e.type===`array`&&Ru(e.$id)&&xd(e.items)&&Iu(e.minItems)&&Iu(e.maxItems)&&Lu(e.uniqueItems)&&zu(e.contains)&&Iu(e.minContains)&&Iu(e.maxContains)}function Uu(e){return $u(e,`AsyncIterator`)&&e.type===`AsyncIterator`&&Ru(e.$id)&&xd(e.items)}function Wu(e){return $u(e,`BigInt`)&&e.type===`bigint`&&Ru(e.$id)&&Fu(e.exclusiveMaximum)&&Fu(e.exclusiveMinimum)&&Fu(e.maximum)&&Fu(e.minimum)&&Fu(e.multipleOf)}function Gu(e){return $u(e,`Boolean`)&&e.type===`boolean`&&Ru(e.$id)}function Cne(e){return $u(e,`Computed`)&&dl(e.target)&&tl(e.parameters)&&e.parameters.every(e=>xd(e))}function Ku(e){return $u(e,`Constructor`)&&e.type===`Constructor`&&Ru(e.$id)&&tl(e.parameters)&&e.parameters.every(e=>xd(e))&&xd(e.returns)}function qu(e){return $u(e,`Date`)&&e.type===`Date`&&Ru(e.$id)&&Iu(e.exclusiveMaximumTimestamp)&&Iu(e.exclusiveMinimumTimestamp)&&Iu(e.maximumTimestamp)&&Iu(e.minimumTimestamp)&&Iu(e.multipleOfTimestamp)}function Ju(e){return $u(e,`Function`)&&e.type===`Function`&&Ru(e.$id)&&tl(e.parameters)&&e.parameters.every(e=>xd(e))&&xd(e.returns)}function Yu(e){return $u(e,`Integer`)&&e.type===`integer`&&Ru(e.$id)&&Iu(e.exclusiveMaximum)&&Iu(e.exclusiveMinimum)&&Iu(e.maximum)&&Iu(e.minimum)&&Iu(e.multipleOf)}function Xu(e){return ll(e)&&Object.entries(e).every(([e,t])=>Nu(e)&&xd(t))}function Zu(e){return $u(e,`Intersect`)&&!(dl(e.type)&&e.type!==`object`)&&tl(e.allOf)&&e.allOf.every(e=>xd(e)&&!kne(e))&&Ru(e.type)&&(Lu(e.unevaluatedProperties)||zu(e.unevaluatedProperties))&&Ru(e.$id)}function Qu(e){return $u(e,`Iterator`)&&e.type===`Iterator`&&Ru(e.$id)&&xd(e.items)}function $u(e,t){return ll(e)&&z in e&&e[z]===t}function ed(e){return rd(e)&&dl(e.const)}function td(e){return rd(e)&&cl(e.const)}function nd(e){return rd(e)&&rl(e.const)}function rd(e){return $u(e,`Literal`)&&Ru(e.$id)&&wne(e.const)}function wne(e){return rl(e)||cl(e)||dl(e)}function Tne(e){return $u(e,`MappedKey`)&&tl(e.keys)&&e.keys.every(e=>cl(e)||dl(e))}function Ene(e){return $u(e,`MappedResult`)&&Xu(e.properties)}function id(e){return $u(e,`Never`)&&ll(e.not)&&Object.getOwnPropertyNames(e.not).length===0}function ad(e){return $u(e,`Not`)&&xd(e.not)}function od(e){return $u(e,`Null`)&&e.type===`null`&&Ru(e.$id)}function sd(e){return $u(e,`Number`)&&e.type===`number`&&Ru(e.$id)&&Iu(e.exclusiveMaximum)&&Iu(e.exclusiveMinimum)&&Iu(e.maximum)&&Iu(e.minimum)&&Iu(e.multipleOf)}function cd(e){return $u(e,`Object`)&&e.type===`object`&&Ru(e.$id)&&Xu(e.properties)&&Pu(e.additionalProperties)&&Iu(e.minProperties)&&Iu(e.maxProperties)}function ld(e){return $u(e,`Promise`)&&e.type===`Promise`&&Ru(e.$id)&&xd(e.item)}function ud(e){return $u(e,`Record`)&&e.type===`object`&&Ru(e.$id)&&Pu(e.additionalProperties)&&ll(e.patternProperties)&&(e=>{let t=Object.getOwnPropertyNames(e.patternProperties);return t.length===1&&Mu(t[0])&&ll(e.patternProperties)&&xd(e.patternProperties[t[0]])})(e)}function Dne(e){return $u(e,`Ref`)&&Ru(e.$id)&&dl(e.$ref)}function dd(e){return $u(e,`RegExp`)&&Ru(e.$id)&&dl(e.source)&&dl(e.flags)&&Iu(e.maxLength)&&Iu(e.minLength)}function fd(e){return $u(e,`String`)&&e.type===`string`&&Ru(e.$id)&&Iu(e.minLength)&&Iu(e.maxLength)&&bne(e.pattern)&&xne(e.format)}function pd(e){return $u(e,`Symbol`)&&e.type===`symbol`&&Ru(e.$id)}function md(e){return $u(e,`TemplateLiteral`)&&e.type===`string`&&dl(e.pattern)&&e.pattern[0]===`^`&&e.pattern[e.pattern.length-1]===`$`}function One(e){return $u(e,`This`)&&Ru(e.$id)&&dl(e.$ref)}function kne(e){return ll(e)&&ql in e}function hd(e){return $u(e,`Tuple`)&&e.type===`array`&&Ru(e.$id)&&cl(e.minItems)&&cl(e.maxItems)&&e.minItems===e.maxItems&&(ml(e.items)&&ml(e.additionalItems)&&e.minItems===0||tl(e.items)&&e.items.every(e=>xd(e)))}function gd(e){return $u(e,`Undefined`)&&e.type===`undefined`&&Ru(e.$id)}function _d(e){return $u(e,`Union`)&&Ru(e.$id)&&ll(e)&&tl(e.anyOf)&&e.anyOf.every(e=>xd(e))}function vd(e){return $u(e,`Uint8Array`)&&e.type===`Uint8Array`&&Ru(e.$id)&&Iu(e.minByteLength)&&Iu(e.maxByteLength)}function yd(e){return $u(e,`Unknown`)&&Ru(e.$id)}function Ane(e){return $u(e,`Unsafe`)}function bd(e){return $u(e,`Void`)&&e.type===`void`&&Ru(e.$id)}function jne(e){return ll(e)&&z in e&&dl(e[z])&&!yne.includes(e[z])}function xd(e){return ll(e)&&(Vu(e)||Sne(e)||Hu(e)||Gu(e)||Wu(e)||Uu(e)||Cne(e)||Ku(e)||qu(e)||Ju(e)||Yu(e)||Zu(e)||Qu(e)||rd(e)||Tne(e)||Ene(e)||id(e)||ad(e)||od(e)||sd(e)||cd(e)||ld(e)||ud(e)||Dne(e)||dd(e)||fd(e)||pd(e)||md(e)||One(e)||hd(e)||gd(e)||_d(e)||vd(e)||yd(e)||Ane(e)||bd(e)||jne(e))}var Sd=`(true|false)`,Cd=`(0|[1-9][0-9]*)`,wd=`(.*)`,Mne=`(?!.*)`;`${Sd}`;var Td=`^${Cd}$`,Ed=`^${wd}$`,Nne=`^${Mne}$`,Dd=new Map;function Od(e){return Dd.has(e)}function kd(e){return Dd.get(e)}var Ad=new Map;function jd(e){return Ad.has(e)}function Md(e){return Ad.get(e)}function Pne(e,t){return e.includes(t)}function Fne(e){return[...new Set(e)]}function Ine(e,t){return e.filter(e=>t.includes(e))}function Lne(e,t){return e.reduce((e,t)=>Ine(e,t),t)}function Rne(e){return e.length===1?e[0]:e.length>1?Lne(e.slice(1),e[0]):[]}function zne(e){let t=[];for(let n of e)t.push(...n);return t}function Nd(e){return R({[z]:`Any`},e)}function Pd(e,t){return R({[z]:`Array`,type:`array`,items:e},t)}function Bne(e){return R({[z]:`Argument`,index:e})}function Fd(e,t){return R({[z]:`AsyncIterator`,type:`AsyncIterator`,items:e},t)}function Id(e,t,n){return R({[z]:`Computed`,target:e,parameters:t},n)}function Vne(e,t){let{[t]:n,...r}=e;return r}function Ld(e,t){return t.reduce((e,t)=>Vne(e,t),e)}function Rd(e){return R({[z]:`Never`,not:{}},e)}function zd(e){return R({[z]:`MappedResult`,properties:e})}function Bd(e,t,n){return R({[z]:`Constructor`,type:`Constructor`,parameters:e,returns:t},n)}function Vd(e,t,n){return R({[z]:`Function`,type:`Function`,parameters:e,returns:t},n)}function Hd(e,t){return R({[z]:`Union`,anyOf:e},t)}function Hne(e){return e.some(e=>Ql(e))}function Ud(e){return e.map(e=>Ql(e)?Une(e):e)}function Une(e){return Ld(e,[Yl])}function Wd(e,t){return Hne(e)?jp(Hd(Ud(e),t)):Hd(Ud(e),t)}function Gd(e,t){return e.length===1?R(e[0],t):e.length===0?Rd(t):Wd(e,t)}function Kd(e,t){return e.length===0?Rd(t):e.length===1?R(e[0],t):Hd(e,t)}var qd=class extends Kl{};function Jd(e){return e.replace(/\\\$/g,`$`).replace(/\\\*/g,`*`).replace(/\\\^/g,`^`).replace(/\\\|/g,`|`).replace(/\\\(/g,`(`).replace(/\\\)/g,`)`)}function Yd(e,t,n){return e[t]===n&&e.charCodeAt(t-1)!==92}function Xd(e,t){return Yd(e,t,`(`)}function Zd(e,t){return Yd(e,t,`)`)}function Qd(e,t){return Yd(e,t,`|`)}function $d(e){if(!(Xd(e,0)&&Zd(e,e.length-1)))return!1;let t=0;for(let n=0;n<e.length;n++)if(Xd(e,n)&&(t+=1),Zd(e,n)&&--t,t===0&&n!==e.length-1)return!1;return!0}function ef(e){return e.slice(1,e.length-1)}function tf(e){let t=0;for(let n=0;n<e.length;n++)if(Xd(e,n)&&(t+=1),Zd(e,n)&&--t,Qd(e,n)&&t===0)return!0;return!1}function nf(e){for(let t=0;t<e.length;t++)if(Xd(e,t))return!0;return!1}function rf(e){let[t,n]=[0,0],r=[];for(let i=0;i<e.length;i++)if(Xd(e,i)&&(t+=1),Zd(e,i)&&--t,Qd(e,i)&&t===0){let t=e.slice(n,i);t.length>0&&r.push(of(t)),n=i+1}let i=e.slice(n);return i.length>0&&r.push(of(i)),r.length===0?{type:`const`,const:``}:r.length===1?r[0]:{type:`or`,expr:r}}function af(e){function t(e,t){if(!Xd(e,t))throw new qd(`TemplateLiteralParser: Index must point to open parens`);let n=0;for(let r=t;r<e.length;r++)if(Xd(e,r)&&(n+=1),Zd(e,r)&&--n,n===0)return[t,r];throw new qd(`TemplateLiteralParser: Unclosed group parens in expression`)}function n(e,t){for(let n=t;n<e.length;n++)if(Xd(e,n))return[t,n];return[t,e.length]}let r=[];for(let i=0;i<e.length;i++)if(Xd(e,i)){let[n,a]=t(e,i),o=e.slice(n,a+1);r.push(of(o)),i=a}else{let[t,a]=n(e,i),o=e.slice(t,a);o.length>0&&r.push(of(o)),i=a-1}return r.length===0?{type:`const`,const:``}:r.length===1?r[0]:{type:`and`,expr:r}}function of(e){return $d(e)?of(ef(e)):tf(e)?rf(e):nf(e)?af(e):{type:`const`,const:Jd(e)}}function sf(e){return of(e.slice(1,e.length-1))}var cf=class extends Kl{};function lf(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 uf(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 df(e){return e.type===`const`&&e.const===`.*`}function ff(e){return lf(e)||df(e)?!1:uf(e)?!0:e.type===`and`||e.type===`or`?e.expr.every(e=>ff(e)):e.type===`const`?!0:(()=>{throw new cf(`Unknown expression type`)})()}function pf(e){return ff(sf(e.pattern))}var mf=class extends Kl{};function*hf(e){if(e.length===1)return yield*e[0];for(let t of e[0])for(let n of hf(e.slice(1)))yield`${t}${n}`}function*gf(e){return yield*hf(e.expr.map(e=>[...yf(e)]))}function*_f(e){for(let t of e.expr)yield*yf(t)}function*vf(e){return yield e.const}function*yf(e){return e.type===`and`?yield*gf(e):e.type===`or`?yield*_f(e):e.type===`const`?yield*vf(e):(()=>{throw new mf(`Unknown expression`)})()}function bf(e){let t=sf(e.pattern);return ff(t)?[...yf(t)]:[]}function xf(e,t){return R({[z]:`Literal`,const:e,type:typeof e},t)}function Sf(e){return R({[z]:`Boolean`,type:`boolean`},e)}function Cf(e){return R({[z]:`BigInt`,type:`bigint`},e)}function wf(e){return R({[z]:`Number`,type:`number`},e)}function Tf(e){return R({[z]:`String`,type:`string`},e)}function*Ef(e){let t=e.trim().replace(/"|'/g,``);return t===`boolean`?yield Sf():t===`number`?yield wf():t===`bigint`?yield Cf():t===`string`?yield Tf():yield(()=>{let e=t.split(`|`).map(e=>xf(e.trim()));return e.length===0?Rd():e.length===1?e[0]:Gd(e)})()}function*Df(e){if(e[1]!==`{`)return yield*[xf(`$`),...Of(e.slice(1))];for(let t=2;t<e.length;t++)if(e[t]===`}`){let n=Ef(e.slice(2,t)),r=Of(e.slice(t+1));return yield*[...n,...r]}yield xf(e)}function*Of(e){for(let t=0;t<e.length;t++)if(e[t]===`$`)return yield*[xf(e.slice(0,t)),...Df(e.slice(t))];yield xf(e)}function kf(e){return[...Of(e)]}var Af=class extends Kl{};function jf(e){return e.replace(/[.*+?^${}()|[\]\\]/g,`\\$&`)}function Mf(e,t){return Eu(e)?e.pattern.slice(1,e.pattern.length-1):Au(e)?`(${e.anyOf.map(e=>Mf(e,t)).join(`|`)})`:vu(e)||cu(e)||ru(e)?`${t}${Cd}`:wu(e)?`${t}${wd}`:pu(e)?`${t}${jf(e.const.toString())}`:iu(e)?`${t}${Sd}`:(()=>{throw new Af(`Unexpected Kind '${e[z]}'`)})()}function Nf(e){return`^${e.map(e=>Mf(e,``)).join(``)}\$`}function Pf(e){return Gd(bf(e).map(e=>xf(e)))}function Ff(e,t){let n=dl(e)?Nf(kf(e)):Nf(e);return R({[z]:`TemplateLiteral`,type:`string`,pattern:n},t)}function If(e){return bf(e).map(e=>e.toString())}function Lf(e){let t=[];for(let n of e)t.push(...zf(n));return t}function Rf(e){return[e.toString()]}function zf(e){return[...new Set(Eu(e)?If(e):Au(e)?Lf(e.anyOf):pu(e)?Rf(e.const):vu(e)||cu(e)?[`[number]`]:[])]}function Bf(e,t,n){let r={};for(let i of Object.getOwnPropertyNames(t))r[i]=ep(e,zf(t[i]),n);return r}function Vf(e,t,n){return Bf(e,t.properties,n)}function Hf(e,t,n){return zd(Vf(e,t,n))}function Uf(e,t){return e.map(e=>Zf(e,t))}function Wf(e){return e.filter(e=>!gu(e))}function Gf(e,t){return Bp(Wf(Uf(e,t)))}function Kf(e){return e.some(e=>gu(e))?[]:e}function qf(e,t){return Gd(Kf(Uf(e,t)))}function Jf(e,t){return t in e?e[t]:t===`[number]`?Gd(e):Rd()}function Yf(e,t){return t===`[number]`?e:Rd()}function Xf(e,t){return t in e?e[t]:Rd()}function Zf(e,t){return lu(e)?Gf(e.allOf,t):Au(e)?qf(e.anyOf,t):Ou(e)?Jf(e.items??[],t):tu(e)?Yf(e.items,t):yu(e)?Xf(e.properties,t):Rd()}function Qf(e,t){return t.map(t=>Zf(e,t))}function $f(e,t){return Gd(Qf(e,t))}function ep(e,t,n){if(Su(e)||Su(t)){if(!ju(e)||!ju(t))throw new Kl(`Index types using Ref parameters require both Type and Key to be of TSchema`);return Id(`Index`,[e,t])}return hu(t)?Hf(e,t,n):mu(t)?ip(e,t,n):R(ju(t)?$f(e,zf(t)):$f(e,t),n)}function tp(e,t,n){return{[t]:ep(e,[t],xl(n))}}function np(e,t,n){return t.reduce((t,r)=>({...t,...tp(e,r,n)}),{})}function rp(e,t,n){return np(e,t.keys,n)}function ip(e,t,n){return zd(rp(e,t,n))}function ap(e,t){return R({[z]:`Iterator`,type:`Iterator`,items:e},t)}function op(e){let t=[];for(let n in e)Ql(e[n])||t.push(n);return t}function sp(e,t){let n=op(e);return R(n.length>0?{[z]:`Object`,type:`object`,properties:e,required:n}:{[z]:`Object`,type:`object`,properties:e},t)}var cp=sp;function lp(e,t){return R({[z]:`Promise`,type:`Promise`,item:e},t)}function up(e){return R(Ld(e,[Jl]))}function dp(e){return R({...e,[Jl]:`Readonly`})}function fp(e,t){return t===!1?up(e):dp(e)}function pp(e,t){let n=t??!0;return hu(e)?gp(e,n):fp(e,n)}function mp(e,t){let n={};for(let r of globalThis.Object.getOwnPropertyNames(e))n[r]=pp(e[r],t);return n}function hp(e,t){return mp(e.properties,t)}function gp(e,t){return zd(hp(e,t))}function _p(e,t){return R(e.length>0?{[z]:`Tuple`,type:`array`,items:e,additionalItems:!1,minItems:e.length,maxItems:e.length}:{[z]:`Tuple`,type:`array`,minItems:e.length,maxItems:e.length},t)}function vp(e,t){return e in t?Tp(e,t[e]):zd(t)}function yp(e){return{[e]:xf(e)}}function bp(e){let t={};for(let n of e)t[n]=xf(n);return t}function xp(e,t){return Pne(t,e)?yp(e):bp(t)}function Sp(e,t){return vp(e,xp(e,t))}function Cp(e,t){return t.map(t=>Tp(e,t))}function wp(e,t){let n={};for(let r of globalThis.Object.getOwnPropertyNames(t))n[r]=Tp(e,t[r]);return n}function Tp(e,t){let n={...t};return Ql(t)?jp(Tp(e,Ld(t,[Yl]))):Zl(t)?pp(Tp(e,Ld(t,[Jl]))):hu(t)?vp(e,t.properties):mu(t)?Sp(e,t.keys):ou(t)?Bd(Cp(e,t.parameters),Tp(e,t.returns),n):su(t)?Vd(Cp(e,t.parameters),Tp(e,t.returns),n):nu(t)?Fd(Tp(e,t.items),n):uu(t)?ap(Tp(e,t.items),n):lu(t)?Vp(Cp(e,t.allOf),n):Au(t)?Kd(Cp(e,t.anyOf),n):Ou(t)?_p(Cp(e,t.items??[]),n):yu(t)?cp(wp(e,t.properties),n):tu(t)?Pd(Tp(e,t.items),n):bu(t)?lp(Tp(e,t.item),n):t}function Ep(e,t){let n={};for(let r of e)n[r]=Tp(r,t);return n}function Dp(e,t,n){let r=ju(e)?zf(e):e;return cp(Ep(r,t({[z]:`MappedKey`,keys:r})),n)}function Op(e){return R(Ld(e,[Yl]))}function kp(e){return R({...e,[Yl]:`Optional`})}function Ap(e,t){return t===!1?Op(e):kp(e)}function jp(e,t){let n=t??!0;return hu(e)?Pp(e,n):Ap(e,n)}function Mp(e,t){let n={};for(let r of globalThis.Object.getOwnPropertyNames(e))n[r]=jp(e[r],t);return n}function Np(e,t){return Mp(e.properties,t)}function Pp(e,t){return zd(Np(e,t))}function Fp(e,t={}){let n=e.every(e=>yu(e)),r=ju(t.unevaluatedProperties)?{unevaluatedProperties:t.unevaluatedProperties}:{};return R(t.unevaluatedProperties===!1||ju(t.unevaluatedProperties)||n?{...r,[z]:`Intersect`,type:`object`,allOf:e}:{...r,[z]:`Intersect`,allOf:e},t)}function Ip(e){return e.every(e=>Ql(e))}function Lp(e){return Ld(e,[Yl])}function Rp(e){return e.map(e=>Ql(e)?Lp(e):e)}function zp(e,t){return Ip(e)?jp(Fp(Rp(e),t)):Fp(Rp(e),t)}function Bp(e,t={}){if(e.length===1)return R(e[0],t);if(e.length===0)return Rd(t);if(e.some(e=>Du(e)))throw Error(`Cannot intersect transform types`);return zp(e,t)}function Vp(e,t){if(e.length===1)return R(e[0],t);if(e.length===0)return Rd(t);if(e.some(e=>Du(e)))throw Error(`Cannot intersect transform types`);return Fp(e,t)}function Hp(...e){let[t,n]=typeof e[0]==`string`?[e[0],e[1]]:[e[0].$id,e[1]];if(typeof t!=`string`)throw new Kl(`Ref: $ref must be a string`);return R({[z]:`Ref`,$ref:t},n)}function Up(e,t){return Id(`Awaited`,[Id(e,t)])}function Wp(e){return Id(`Awaited`,[Hp(e)])}function Gp(e){return Vp(Jp(e))}function Kp(e){return Kd(Jp(e))}function qp(e){return Yp(e)}function Jp(e){return e.map(e=>Yp(e))}function Yp(e,t){return R(au(e)?Up(e.target,e.parameters):lu(e)?Gp(e.allOf):Au(e)?Kp(e.anyOf):bu(e)?qp(e.item):Su(e)?Wp(e.$ref):e,t)}function Xp(e){let t=[];for(let n of e)t.push(rm(n));return t}function Zp(e){return zne(Xp(e))}function Qp(e){return Rne(Xp(e))}function $p(e){return e.map((e,t)=>t.toString())}function em(e){return[`[number]`]}function tm(e){return globalThis.Object.getOwnPropertyNames(e)}function nm(e){return im?globalThis.Object.getOwnPropertyNames(e).map(e=>e[0]===`^`&&e[e.length-1]===`$`?e.slice(1,e.length-1):e):[]}function rm(e){return lu(e)?Zp(e.allOf):Au(e)?Qp(e.anyOf):Ou(e)?$p(e.items??[]):tu(e)?em(e.items):yu(e)?tm(e.properties):xu(e)?nm(e.patternProperties):[]}var im=!1;function am(e){im=!0;let t=rm(e);return im=!1,`^(${t.map(e=>`(${e})`).join(`|`)})$`}function om(e,t){return Id(`KeyOf`,[Id(e,t)])}function sm(e){return Id(`KeyOf`,[Hp(e)])}function cm(e,t){return R(Gd(lm(rm(e))),t)}function lm(e){return e.map(e=>e===`[number]`?wf():xf(e))}function um(e,t){return au(e)?om(e.target,e.parameters):Su(e)?sm(e.$ref):hu(e)?pm(e,t):cm(e,t)}function dm(e,t){let n={};for(let r of globalThis.Object.getOwnPropertyNames(e))n[r]=um(e[r],xl(t));return n}function fm(e,t){return dm(e.properties,t)}function pm(e,t){return zd(fm(e,t))}function mm(e){let t=[];for(let n of e)t.push(...rm(n));return Fne(t)}function hm(e){return e.filter(e=>!gu(e))}function gm(e,t){let n=[];for(let r of e)n.push(...Qf(r,[t]));return hm(n)}function _m(e,t){let n={};for(let r of t)n[r]=Bp(gm(e,r));return n}function vm(e,t){return cp(_m(e,mm(e)),t)}function ym(e){return R({[z]:`Date`,type:`Date`},e)}function bm(e){return R({[z]:`Null`,type:`null`},e)}function xm(e){return R({[z]:`Symbol`,type:`symbol`},e)}function Sm(e){return R({[z]:`Undefined`,type:`undefined`},e)}function Cm(e){return R({[z]:`Uint8Array`,type:`Uint8Array`},e)}function wm(e){return R({[z]:`Unknown`},e)}function Tm(e){return e.map(e=>Om(e,!1))}function Em(e){let t={};for(let n of globalThis.Object.getOwnPropertyNames(e))t[n]=pp(Om(e[n],!1));return t}function Dm(e,t){return t===!0?e:pp(e)}function Om(e,t){return el(e)||ol(e)?Dm(Nd(),t):tl(e)?pp(_p(Tm(e))):pl(e)?Cm():il(e)?ym():ll(e)?Dm(cp(Em(e)),t):al(e)?Dm(Vd([],wm()),t):ml(e)?Sm():sl(e)?bm():fl(e)?xm():nl(e)?Cf():cl(e)||rl(e)||dl(e)?xf(e):cp({})}function km(e,t){return R(Om(e,!0),t)}function Am(e,t){return ou(e)?_p(e.parameters,t):Rd(t)}function jm(e,t){if(ml(e))throw Error(`Enum undefined or empty`);let n=globalThis.Object.getOwnPropertyNames(e).filter(e=>isNaN(e)).map(t=>e[t]);return Kd([...new Set(n)].map(e=>xf(e)),{...t,[Xl]:`Enum`})}var Mm=class extends Kl{},B;(function(e){e[e.Union=0]=`Union`,e[e.True=1]=`True`,e[e.False=2]=`False`})(B||={});function Nm(e){return e===B.False?e:B.True}function Pm(e){throw new Mm(e)}function Fm(e){return id(e)||Zu(e)||_d(e)||yd(e)||Vu(e)}function Im(e,t){return id(t)?eh(e,t):Zu(t)?Xm(e,t):_d(t)?Lh(e,t):yd(t)?zh(e,t):Vu(t)?Lm(e,t):Pm(`StructuralRight`)}function Lm(e,t){return B.True}function Rm(e,t){return Zu(t)?Xm(e,t):_d(t)&&t.anyOf.some(e=>Vu(e)||yd(e))?B.True:_d(t)?B.Union:yd(t)||Vu(t)?B.True:B.Union}function zm(e,t){return yd(e)?B.False:Vu(e)?B.Union:id(e)?B.True:B.False}function Bm(e,t){return cd(t)&&_h(t)?B.True:Fm(t)?Im(e,t):Hu(t)?Nm(Uh(e.items,t.items)):B.False}function Vm(e,t){return Fm(t)?Im(e,t):Uu(t)?Nm(Uh(e.items,t.items)):B.False}function Hm(e,t){return Fm(t)?Im(e,t):cd(t)?bh(e,t):ud(t)?Th(e,t):Wu(t)?B.True:B.False}function Um(e,t){return nd(e)||Gu(e)?B.True:B.False}function Wm(e,t){return Fm(t)?Im(e,t):cd(t)?bh(e,t):ud(t)?Th(e,t):Gu(t)?B.True:B.False}function Gm(e,t){return Fm(t)?Im(e,t):cd(t)?bh(e,t):Ku(t)?e.parameters.length>t.parameters.length?B.False:e.parameters.every((e,n)=>Nm(Uh(t.parameters[n],e))===B.True)?Nm(Uh(e.returns,t.returns)):B.False:B.False}function Km(e,t){return Fm(t)?Im(e,t):cd(t)?bh(e,t):ud(t)?Th(e,t):qu(t)?B.True:B.False}function qm(e,t){return Fm(t)?Im(e,t):cd(t)?bh(e,t):Ju(t)?e.parameters.length>t.parameters.length?B.False:e.parameters.every((e,n)=>Nm(Uh(t.parameters[n],e))===B.True)?Nm(Uh(e.returns,t.returns)):B.False:B.False}function Jm(e,t){return rd(e)&&cl(e.const)||sd(e)||Yu(e)?B.True:B.False}function Ym(e,t){return Yu(t)||sd(t)?B.True:Fm(t)?Im(e,t):cd(t)?bh(e,t):ud(t)?Th(e,t):B.False}function Xm(e,t){return t.allOf.every(t=>Uh(e,t)===B.True)?B.True:B.False}function Zm(e,t){return e.allOf.some(e=>Uh(e,t)===B.True)?B.True:B.False}function Qm(e,t){return Fm(t)?Im(e,t):Qu(t)?Nm(Uh(e.items,t.items)):B.False}function $m(e,t){return rd(t)&&t.const===e.const?B.True:Fm(t)?Im(e,t):cd(t)?bh(e,t):ud(t)?Th(e,t):fd(t)?Oh(e,t):sd(t)?ah(e,t):Yu(t)?Jm(e,t):Gu(t)?Um(e,t):B.False}function eh(e,t){return B.False}function th(e,t){return B.True}function nh(e){let[t,n]=[e,0];for(;ad(t);)t=t.not,n+=1;return n%2==0?t:wm()}function rh(e,t){return ad(e)?Uh(nh(e),t):ad(t)?Uh(e,nh(t)):Pm(`Invalid fallthrough for Not`)}function ih(e,t){return Fm(t)?Im(e,t):cd(t)?bh(e,t):ud(t)?Th(e,t):od(t)?B.True:B.False}function ah(e,t){return td(e)||sd(e)||Yu(e)?B.True:B.False}function oh(e,t){return Fm(t)?Im(e,t):cd(t)?bh(e,t):ud(t)?Th(e,t):Yu(t)||sd(t)?B.True:B.False}function sh(e,t){return Object.getOwnPropertyNames(e.properties).length===t}function ch(e){return _h(e)}function lh(e){return sh(e,0)||sh(e,1)&&`description`in e.properties&&_d(e.properties.description)&&e.properties.description.anyOf.length===2&&(fd(e.properties.description.anyOf[0])&&gd(e.properties.description.anyOf[1])||fd(e.properties.description.anyOf[1])&&gd(e.properties.description.anyOf[0]))}function uh(e){return sh(e,0)}function dh(e){return sh(e,0)}function fh(e){return sh(e,0)}function ph(e){return sh(e,0)}function mh(e){return _h(e)}function hh(e){let t=wf();return sh(e,0)||sh(e,1)&&`length`in e.properties&&Nm(Uh(e.properties.length,t))===B.True}function gh(e){return sh(e,0)}function _h(e){let t=wf();return sh(e,0)||sh(e,1)&&`length`in e.properties&&Nm(Uh(e.properties.length,t))===B.True}function vh(e){let t=Vd([Nd()],Nd());return sh(e,0)||sh(e,1)&&`then`in e.properties&&Nm(Uh(e.properties.then,t))===B.True}function yh(e,t){return Uh(e,t)===B.False||Bu(e)&&!Bu(t)?B.False:B.True}function bh(e,t){return yd(e)?B.False:Vu(e)?B.Union:id(e)||ed(e)&&ch(t)||td(e)&&uh(t)||nd(e)&&dh(t)||pd(e)&&lh(t)||Wu(e)&&fh(t)||fd(e)&&ch(t)||pd(e)&&lh(t)||sd(e)&&uh(t)||Yu(e)&&uh(t)||Gu(e)&&dh(t)||vd(e)&&mh(t)||qu(e)&&ph(t)||Ku(e)&&gh(t)||Ju(e)&&hh(t)?B.True:ud(e)&&fd(Ch(e))?t[Xl]===`Record`?B.True:B.False:ud(e)&&sd(Ch(e))&&sh(t,0)?B.True:B.False}function xh(e,t){return Fm(t)?Im(e,t):ud(t)?Th(e,t):cd(t)?(()=>{for(let n of Object.getOwnPropertyNames(t.properties)){if(!(n in e.properties)&&!Bu(t.properties[n]))return B.False;if(Bu(t.properties[n]))return B.True;if(yh(e.properties[n],t.properties[n])===B.False)return B.False}return B.True})():B.False}function Sh(e,t){return Fm(t)?Im(e,t):cd(t)&&vh(t)?B.True:ld(t)?Nm(Uh(e.item,t.item)):B.False}function Ch(e){return Td in e.patternProperties?wf():Ed in e.patternProperties?Tf():Pm(`Unknown record key pattern`)}function wh(e){return Td in e.patternProperties?e.patternProperties[Td]:Ed in e.patternProperties?e.patternProperties[Ed]:Pm(`Unable to get record value schema`)}function Th(e,t){let[n,r]=[Ch(t),wh(t)];return ed(e)&&sd(n)&&Nm(Uh(e,r))===B.True?B.True:vd(e)&&sd(n)||fd(e)&&sd(n)||Hu(e)&&sd(n)?Uh(e,r):cd(e)?(()=>{for(let t of Object.getOwnPropertyNames(e.properties))if(yh(r,e.properties[t])===B.False)return B.False;return B.True})():B.False}function Eh(e,t){return Fm(t)?Im(e,t):cd(t)?bh(e,t):ud(t)?Uh(wh(e),wh(t)):B.False}function Dh(e,t){return Uh(dd(e)?Tf():e,dd(t)?Tf():t)}function Oh(e,t){return rd(e)&&dl(e.const)||fd(e)?B.True:B.False}function kh(e,t){return Fm(t)?Im(e,t):cd(t)?bh(e,t):ud(t)?Th(e,t):fd(t)?B.True:B.False}function Ah(e,t){return Fm(t)?Im(e,t):cd(t)?bh(e,t):ud(t)?Th(e,t):pd(t)?B.True:B.False}function jh(e,t){return md(e)?Uh(Pf(e),t):md(t)?Uh(e,Pf(t)):Pm(`Invalid fallthrough for TemplateLiteral`)}function Mh(e,t){return Hu(t)&&e.items!==void 0&&e.items.every(e=>Uh(e,t.items)===B.True)}function Nh(e,t){return id(e)?B.True:yd(e)?B.False:Vu(e)?B.Union:B.False}function Ph(e,t){return Fm(t)?Im(e,t):cd(t)&&_h(t)||Hu(t)&&Mh(e,t)?B.True:hd(t)?ml(e.items)&&!ml(t.items)||!ml(e.items)&&ml(t.items)?B.False:ml(e.items)&&!ml(t.items)||e.items.every((e,n)=>Uh(e,t.items[n])===B.True)?B.True:B.False:B.False}function Fh(e,t){return Fm(t)?Im(e,t):cd(t)?bh(e,t):ud(t)?Th(e,t):vd(t)?B.True:B.False}function Ih(e,t){return Fm(t)?Im(e,t):cd(t)?bh(e,t):ud(t)?Th(e,t):bd(t)?Vh(e,t):gd(t)?B.True:B.False}function Lh(e,t){return t.anyOf.some(t=>Uh(e,t)===B.True)?B.True:B.False}function Rh(e,t){return e.anyOf.every(e=>Uh(e,t)===B.True)?B.True:B.False}function zh(e,t){return B.True}function Bh(e,t){return id(t)?eh(e,t):Zu(t)?Xm(e,t):_d(t)?Lh(e,t):Vu(t)?Lm(e,t):fd(t)?Oh(e,t):sd(t)?ah(e,t):Yu(t)?Jm(e,t):Gu(t)?Um(e,t):Hu(t)?zm(e,t):hd(t)?Nh(e,t):cd(t)?bh(e,t):yd(t)?B.True:B.False}function Vh(e,t){return gd(e)||gd(e)?B.True:B.False}function Hh(e,t){return Zu(t)?Xm(e,t):_d(t)?Lh(e,t):yd(t)?zh(e,t):Vu(t)?Lm(e,t):cd(t)?bh(e,t):bd(t)?B.True:B.False}function Uh(e,t){return md(e)||md(t)?jh(e,t):dd(e)||dd(t)?Dh(e,t):ad(e)||ad(t)?rh(e,t):Vu(e)?Rm(e,t):Hu(e)?Bm(e,t):Wu(e)?Hm(e,t):Gu(e)?Wm(e,t):Uu(e)?Vm(e,t):Ku(e)?Gm(e,t):qu(e)?Km(e,t):Ju(e)?qm(e,t):Yu(e)?Ym(e,t):Zu(e)?Zm(e,t):Qu(e)?Qm(e,t):rd(e)?$m(e,t):id(e)?th(e,t):od(e)?ih(e,t):sd(e)?oh(e,t):cd(e)?xh(e,t):ud(e)?Eh(e,t):fd(e)?kh(e,t):pd(e)?Ah(e,t):hd(e)?Ph(e,t):ld(e)?Sh(e,t):vd(e)?Fh(e,t):gd(e)?Ih(e,t):_d(e)?Rh(e,t):yd(e)?Bh(e,t):bd(e)?Hh(e,t):Pm(`Unknown left type operand '${e[z]}'`)}function Wh(e,t){return Uh(e,t)}function Gh(e,t,n,r,i){let a={};for(let o of globalThis.Object.getOwnPropertyNames(e))a[o]=Yh(e[o],t,n,r,xl(i));return a}function Kh(e,t,n,r,i){return Gh(e.properties,t,n,r,i)}function qh(e,t,n,r,i){return zd(Kh(e,t,n,r,i))}function Jh(e,t,n,r){let i=Wh(e,t);return i===B.Union?Kd([n,r]):i===B.True?n:r}function Yh(e,t,n,r,i){return hu(e)?qh(e,t,n,r,i):mu(e)?R($h(e,t,n,r,i)):R(Jh(e,t,n,r),i)}function Xh(e,t,n,r,i){return{[e]:Yh(xf(e),t,n,r,xl(i))}}function Zh(e,t,n,r,i){return e.reduce((e,a)=>({...e,...Xh(a,t,n,r,i)}),{})}function Qh(e,t,n,r,i){return Zh(e.keys,t,n,r,i)}function $h(e,t,n,r,i){return zd(Qh(e,t,n,r,i))}function eg(e){return e.allOf.every(e=>rg(e))}function tg(e){return e.anyOf.some(e=>rg(e))}function ng(e){return!rg(e.not)}function rg(e){return e[z]===`Intersect`?eg(e):e[z]===`Union`?tg(e):e[z]===`Not`?ng(e):e[z]===`Undefined`}function ig(e,t){return og(Pf(e),t)}function ag(e,t){let n=e.filter(e=>Wh(e,t)===B.False);return n.length===1?n[0]:Kd(n)}function og(e,t,n={}){return Eu(e)?R(ig(e,t),n):hu(e)?R(lg(e,t),n):R(Au(e)?ag(e.anyOf,t):Wh(e,t)===B.False?e:Rd(),n)}function sg(e,t){let n={};for(let r of globalThis.Object.getOwnPropertyNames(e))n[r]=og(e[r],t);return n}function cg(e,t){return sg(e.properties,t)}function lg(e,t){return zd(cg(e,t))}function ug(e,t){return fg(Pf(e),t)}function dg(e,t){let n=e.filter(e=>Wh(e,t)!==B.False);return n.length===1?n[0]:Kd(n)}function fg(e,t,n){return Eu(e)?R(ug(e,t),n):hu(e)?R(hg(e,t),n):R(Au(e)?dg(e.anyOf,t):Wh(e,t)===B.False?Rd():e,n)}function pg(e,t){let n={};for(let r of globalThis.Object.getOwnPropertyNames(e))n[r]=fg(e[r],t);return n}function mg(e,t){return pg(e.properties,t)}function hg(e,t){return zd(mg(e,t))}function gg(e,t){return ou(e)?R(e.returns,t):Rd(t)}function _g(e){return pp(jp(e))}function vg(e,t,n){return R({[z]:`Record`,type:`object`,patternProperties:{[e]:t}},n)}function yg(e,t,n){let r={};for(let n of e)r[n]=t;return cp(r,{...n,[Xl]:`Record`})}function bg(e,t,n){return pf(e)?yg(zf(e),t,n):vg(e.pattern,t,n)}function xg(e,t,n){return yg(zf(Kd(e)),t,n)}function Sg(e,t,n){return yg([e.toString()],t,n)}function Cg(e,t,n){return vg(e.source,t,n)}function wg(e,t,n){return vg(ml(e.pattern)?Ed:e.pattern,t,n)}function Tg(e,t,n){return vg(Ed,t,n)}function Eg(e,t,n){return vg(Nne,t,n)}function Dg(e,t,n){return cp({true:t,false:t},n)}function Og(e,t,n){return vg(Td,t,n)}function kg(e,t,n){return vg(Td,t,n)}function Ag(e,t,n={}){return Au(e)?xg(e.anyOf,t,n):Eu(e)?bg(e,t,n):pu(e)?Sg(e.const,t,n):iu(e)?Dg(e,t,n):cu(e)?Og(e,t,n):vu(e)?kg(e,t,n):Cu(e)?Cg(e,t,n):wu(e)?wg(e,t,n):$l(e)?Tg(e,t,n):gu(e)?Eg(e,t,n):Rd(n)}function jg(e){return globalThis.Object.getOwnPropertyNames(e.patternProperties)[0]}function Mg(e){let t=jg(e);return t===Ed?Tf():t===Td?wf():Tf({pattern:t})}function Ng(e){return e.patternProperties[jg(e)]}function Pg(e,t){return t.parameters=Jg(e,t.parameters),t.returns=Yg(e,t.returns),t}function Fg(e,t){return t.parameters=Jg(e,t.parameters),t.returns=Yg(e,t.returns),t}function Ig(e,t){return t.allOf=Jg(e,t.allOf),t}function Lg(e,t){return t.anyOf=Jg(e,t.anyOf),t}function Rg(e,t){return ml(t.items)||(t.items=Jg(e,t.items)),t}function zg(e,t){return t.items=Yg(e,t.items),t}function Bg(e,t){return t.items=Yg(e,t.items),t}function Vg(e,t){return t.items=Yg(e,t.items),t}function Hg(e,t){return t.item=Yg(e,t.item),t}function Ug(e,t){let n=qg(e,t.properties);return{...t,...cp(n)}}function Wg(e,t){let n=Ag(Yg(e,Mg(t)),Yg(e,Ng(t)));return{...t,...n}}function Gg(e,t){return t.index in e?e[t.index]:wm()}function Kg(e,t){let n=Zl(t),r=Ql(t),i=Yg(e,t);return n&&r?_g(i):n&&!r?pp(i):!n&&r?jp(i):i}function qg(e,t){return globalThis.Object.getOwnPropertyNames(t).reduce((n,r)=>({...n,[r]:Kg(e,t[r])}),{})}function Jg(e,t){return t.map(t=>Yg(e,t))}function Yg(e,t){return ou(t)?Pg(e,t):su(t)?Fg(e,t):lu(t)?Ig(e,t):Au(t)?Lg(e,t):Ou(t)?Rg(e,t):tu(t)?zg(e,t):nu(t)?Bg(e,t):uu(t)?Vg(e,t):bu(t)?Hg(e,t):yu(t)?Ug(e,t):xu(t)?Wg(e,t):eu(t)?Gg(e,t):t}function Xg(e,t){return Yg(t,Sl(e))}function Zg(e){return R({[z]:`Integer`,type:`integer`},e)}function Qg(e,t,n){return{[e]:l_(xf(e),t,xl(n))}}function $g(e,t,n){return e.reduce((e,r)=>({...e,...Qg(r,t,n)}),{})}function e_(e,t,n){return $g(e.keys,t,n)}function t_(e,t,n){return zd(e_(e,t,n))}function n_(e){let[t,n]=[e.slice(0,1),e.slice(1)];return[t.toLowerCase(),n].join(``)}function r_(e){let[t,n]=[e.slice(0,1),e.slice(1)];return[t.toUpperCase(),n].join(``)}function i_(e){return e.toUpperCase()}function a_(e){return e.toLowerCase()}function o_(e,t,n){let r=sf(e.pattern);return ff(r)?Ff([Kd(c_([...yf(r)].map(e=>xf(e)),t))],n):{...e,pattern:s_(e.pattern,t)}}function s_(e,t){return typeof e==`string`?t===`Uncapitalize`?n_(e):t===`Capitalize`?r_(e):t===`Uppercase`?i_(e):t===`Lowercase`?a_(e):e:e.toString()}function c_(e,t){return e.map(e=>l_(e,t))}function l_(e,t,n={}){return mu(e)?t_(e,t,n):Eu(e)?o_(e,t,n):Au(e)?Kd(c_(e.anyOf,t),n):pu(e)?xf(s_(e.const,t),n):R(e,n)}function u_(e,t={}){return l_(e,`Capitalize`,t)}function d_(e,t={}){return l_(e,`Lowercase`,t)}function f_(e,t={}){return l_(e,`Uncapitalize`,t)}function p_(e,t={}){return l_(e,`Uppercase`,t)}function m_(e,t,n){let r={};for(let i of globalThis.Object.getOwnPropertyNames(e))r[i]=w_(e[i],t,xl(n));return r}function h_(e,t,n){return m_(e.properties,t,n)}function g_(e,t,n){return zd(h_(e,t,n))}function __(e,t){return e.map(e=>C_(e,t))}function v_(e,t){return e.map(e=>C_(e,t))}function y_(e,t){let{[t]:n,...r}=e;return r}function b_(e,t){return t.reduce((e,t)=>y_(e,t),e)}function x_(e,t){let n=Ld(e,[ql,`$id`,`required`,`properties`]);return cp(b_(e.properties,t),n)}function S_(e){return Kd(e.reduce((e,t)=>fu(t)?[...e,xf(t)]:e,[]))}function C_(e,t){return lu(e)?Vp(__(e.allOf,t)):Au(e)?Kd(v_(e.anyOf,t)):yu(e)?x_(e,t):cp({})}function w_(e,t,n){let r=tl(t)?S_(t):t,i=ju(t)?zf(t):t,a=Su(e),o=Su(t);return hu(e)?g_(e,i,n):mu(t)?O_(e,t,n):a&&o||!a&&o||a&&!o?Id(`Omit`,[e,r],n):R({...C_(e,i),...n})}function T_(e,t,n){return{[t]:w_(e,[t],xl(n))}}function E_(e,t,n){return t.reduce((t,r)=>({...t,...T_(e,r,n)}),{})}function D_(e,t,n){return E_(e,t.keys,n)}function O_(e,t,n){return zd(D_(e,t,n))}function k_(e,t,n){let r={};for(let i of globalThis.Object.getOwnPropertyNames(e))r[i]=R_(e[i],t,xl(n));return r}function A_(e,t,n){return k_(e.properties,t,n)}function j_(e,t,n){return zd(A_(e,t,n))}function M_(e,t){return e.map(e=>L_(e,t))}function N_(e,t){return e.map(e=>L_(e,t))}function P_(e,t){let n={};for(let r of t)r in e&&(n[r]=e[r]);return n}function F_(e,t){let n=Ld(e,[ql,`$id`,`required`,`properties`]);return cp(P_(e.properties,t),n)}function I_(e){return Kd(e.reduce((e,t)=>fu(t)?[...e,xf(t)]:e,[]))}function L_(e,t){return lu(e)?Vp(M_(e.allOf,t)):Au(e)?Kd(N_(e.anyOf,t)):yu(e)?F_(e,t):cp({})}function R_(e,t,n){let r=tl(t)?I_(t):t,i=ju(t)?zf(t):t,a=Su(e),o=Su(t);return hu(e)?j_(e,i,n):mu(t)?H_(e,t,n):a&&o||!a&&o||a&&!o?Id(`Pick`,[e,r],n):R({...L_(e,i),...n})}function z_(e,t,n){return{[t]:R_(e,[t],xl(n))}}function B_(e,t,n){return t.reduce((t,r)=>({...t,...z_(e,r,n)}),{})}function V_(e,t,n){return B_(e,t.keys,n)}function H_(e,t,n){return zd(V_(e,t,n))}function U_(e,t){return Id(`Partial`,[Id(e,t)])}function W_(e){return Id(`Partial`,[Hp(e)])}function G_(e){let t={};for(let n of globalThis.Object.getOwnPropertyNames(e))t[n]=jp(e[n]);return t}function K_(e){let t=Ld(e,[ql,`$id`,`required`,`properties`]);return cp(G_(e.properties),t)}function q_(e){return e.map(e=>J_(e))}function J_(e){return au(e)?U_(e.target,e.parameters):Su(e)?W_(e.$ref):lu(e)?Vp(q_(e.allOf)):Au(e)?Kd(q_(e.anyOf)):yu(e)?K_(e):ru(e)||iu(e)||cu(e)||pu(e)||_u(e)||vu(e)||wu(e)||Tu(e)||ku(e)?e:cp({})}function Y_(e,t){return hu(e)?Q_(e,t):R({...J_(e),...t})}function X_(e,t){let n={};for(let r of globalThis.Object.getOwnPropertyNames(e))n[r]=Y_(e[r],xl(t));return n}function Z_(e,t){return X_(e.properties,t)}function Q_(e,t){return zd(Z_(e,t))}function $_(e,t){return Id(`Required`,[Id(e,t)])}function ev(e){return Id(`Required`,[Hp(e)])}function tv(e){let t={};for(let n of globalThis.Object.getOwnPropertyNames(e))t[n]=Ld(e[n],[Yl]);return t}function nv(e){let t=Ld(e,[ql,`$id`,`required`,`properties`]);return cp(tv(e.properties),t)}function rv(e){return e.map(e=>iv(e))}function iv(e){return au(e)?$_(e.target,e.parameters):Su(e)?ev(e.$ref):lu(e)?Vp(rv(e.allOf)):Au(e)?Kd(rv(e.anyOf)):yu(e)?nv(e):ru(e)||iu(e)||cu(e)||pu(e)||_u(e)||vu(e)||wu(e)||Tu(e)||ku(e)?e:cp({})}function av(e,t){return hu(e)?cv(e,t):R({...iv(e),...t})}function ov(e,t){let n={};for(let r of globalThis.Object.getOwnPropertyNames(e))n[r]=av(e[r],t);return n}function sv(e,t){return ov(e.properties,t)}function cv(e,t){return zd(sv(e,t))}function lv(e,t){return t.map(t=>Su(t)?uv(e,t.$ref):jv(e,t))}function uv(e,t){return t in e?Su(e[t])?uv(e,e[t].$ref):jv(e,e[t]):Rd()}function dv(e){return Yp(e[0])}function fv(e){return ep(e[0],e[1])}function pv(e){return um(e[0])}function mv(e){return Y_(e[0])}function hv(e){return w_(e[0],e[1])}function gv(e){return R_(e[0],e[1])}function _v(e){return av(e[0])}function vv(e,t,n){let r=lv(e,n);return t===`Awaited`?dv(r):t===`Index`?fv(r):t===`KeyOf`?pv(r):t===`Partial`?mv(r):t===`Omit`?hv(r):t===`Pick`?gv(r):t===`Required`?_v(r):Rd()}function yv(e,t){return Pd(jv(e,t))}function bv(e,t){return Fd(jv(e,t))}function xv(e,t,n){return Bd(Av(e,t),jv(e,n))}function Sv(e,t,n){return Vd(Av(e,t),jv(e,n))}function Cv(e,t){return Vp(Av(e,t))}function wv(e,t){return ap(jv(e,t))}function Tv(e,t){return cp(globalThis.Object.keys(t).reduce((n,r)=>({...n,[r]:jv(e,t[r])}),{}))}function Ev(e,t){let[n,r]=[jv(e,Ng(t)),jg(t)],i=Sl(t);return i.patternProperties[r]=n,i}function Dv(e,t){return Su(t)?{...uv(e,t.$ref),[ql]:t[ql]}:t}function Ov(e,t){return _p(Av(e,t))}function kv(e,t){return Kd(Av(e,t))}function Av(e,t){return t.map(t=>jv(e,t))}function jv(e,t){return Ql(t)?R(jv(e,Ld(t,[Yl])),t):Zl(t)?R(jv(e,Ld(t,[Jl])),t):Du(t)?R(Dv(e,t),t):tu(t)?R(yv(e,t.items),t):nu(t)?R(bv(e,t.items),t):au(t)?R(vv(e,t.target,t.parameters)):ou(t)?R(xv(e,t.parameters,t.returns),t):su(t)?R(Sv(e,t.parameters,t.returns),t):lu(t)?R(Cv(e,t.allOf),t):uu(t)?R(wv(e,t.items),t):yu(t)?R(Tv(e,t.properties),t):xu(t)?R(Ev(e,t)):Ou(t)?R(Ov(e,t.items||[]),t):Au(t)?R(kv(e,t.anyOf),t):t}function Mv(e,t){return t in e?jv(e,e[t]):Rd()}function Nv(e){return globalThis.Object.getOwnPropertyNames(e).reduce((t,n)=>({...t,[n]:Mv(e,n)}),{})}var Pv=class{constructor(e){let t=Nv(e);this.$defs=this.WithIdentifiers(t)}Import(e,t){let n={...this.$defs,[e]:R(this.$defs[e],t)};return R({[z]:`Import`,$defs:n,$ref:e})}WithIdentifiers(e){return globalThis.Object.getOwnPropertyNames(e).reduce((t,n)=>({...t,[n]:{...e[n],$id:n}}),{})}};function Fv(e){return new Pv(e)}function Iv(e,t){return R({[z]:`Not`,not:e},t)}function Lv(e,t){return su(e)?_p(e.parameters,t):Rd()}var Rv=0;function zv(e,t={}){ml(t.$id)&&(t.$id=`T${Rv++}`);let n=Sl(e({[z]:`This`,$ref:`${t.$id}`}));return n.$id=t.$id,R({[Xl]:`Recursive`,...n},t)}function Bv(e,t){let n=dl(e)?new globalThis.RegExp(e):e;return R({[z]:`RegExp`,type:`RegExp`,source:n.source,flags:n.flags},t)}function Vv(e){return lu(e)?e.allOf:Au(e)?e.anyOf:Ou(e)?e.items??[]:[]}function Hv(e){return Vv(e)}function Uv(e,t){return su(e)?R(e.returns,t):Rd(t)}var Wv=class{constructor(e){this.schema=e}Decode(e){return new Gv(this.schema,e)}},Gv=class{constructor(e,t){this.schema=e,this.decode=t}EncodeTransform(e,t){let n={Encode:n=>t[ql].Encode(e(n)),Decode:e=>this.decode(t[ql].Decode(e))};return{...t,[ql]:n}}EncodeSchema(e,t){let n={Decode:this.decode,Encode:e};return{...t,[ql]:n}}Encode(e){return Du(this.schema)?this.EncodeTransform(e,this.schema):this.EncodeSchema(e,this.schema)}};function Kv(e){return new Wv(e)}function qv(e={}){return R({[z]:e[z]??`Unsafe`},e)}function Jv(e){return R({[z]:`Void`,type:`void`},e)}var V=n({Any:()=>Nd,Argument:()=>Bne,Array:()=>Pd,AsyncIterator:()=>Fd,Awaited:()=>Yp,BigInt:()=>Cf,Boolean:()=>Sf,Capitalize:()=>u_,Composite:()=>vm,Const:()=>km,Constructor:()=>Bd,ConstructorParameters:()=>Am,Date:()=>ym,Enum:()=>jm,Exclude:()=>og,Extends:()=>Yh,Extract:()=>fg,Function:()=>Vd,Index:()=>ep,InstanceType:()=>gg,Instantiate:()=>Xg,Integer:()=>Zg,Intersect:()=>Vp,Iterator:()=>ap,KeyOf:()=>um,Literal:()=>xf,Lowercase:()=>d_,Mapped:()=>Dp,Module:()=>Fv,Never:()=>Rd,Not:()=>Iv,Null:()=>bm,Number:()=>wf,Object:()=>cp,Omit:()=>w_,Optional:()=>jp,Parameters:()=>Lv,Partial:()=>Y_,Pick:()=>R_,Promise:()=>lp,Readonly:()=>pp,ReadonlyOptional:()=>_g,Record:()=>Ag,Recursive:()=>zv,Ref:()=>Hp,RegExp:()=>Bv,Required:()=>av,Rest:()=>Hv,ReturnType:()=>Uv,String:()=>Tf,Symbol:()=>xm,TemplateLiteral:()=>Ff,Transform:()=>Kv,Tuple:()=>_p,Uint8Array:()=>Cm,Uncapitalize:()=>f_,Undefined:()=>Sm,Union:()=>Kd,Unknown:()=>wm,Unsafe:()=>qv,Uppercase:()=>p_,Void:()=>Jv}),Yv=(...e)=>V.Composite(e),Xv=class extends Kl{constructor(e){super(`Unable to dereference schema with $id '${e.$ref}'`),this.schema=e}};function Zv(e,t){let n=t.find(t=>t.$id===e.$ref);if(n===void 0)throw new Xv(e);return $v(n,t)}function Qv(e,t){return!Bl(e.$id)||t.some(t=>t.$id===e.$id)||t.push(e),t}function $v(e,t){return e[z]===`This`||e[z]===`Ref`?Zv(e,t):e}var ey=class extends Kl{constructor(e){super(`Unable to hash value`),this.value=e}},ty;(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`})(ty||={});var ny=BigInt(`14695981039346656037`),[ry,iy]=[BigInt(`1099511628211`),BigInt(`18446744073709551616`)],ay=Array.from({length:256}).map((e,t)=>BigInt(t)),oy=new Float64Array(1),sy=new DataView(oy.buffer),cy=new Uint8Array(oy.buffer);function*ly(e){let 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 uy(e){Sy(ty.Array);for(let t of e)xy(t)}function dy(e){Sy(ty.Boolean),Sy(e?1:0)}function fy(e){Sy(ty.BigInt),sy.setBigInt64(0,e);for(let e of cy)Sy(e)}function py(e){Sy(ty.Date),xy(e.getTime())}function my(e){Sy(ty.Null)}function hy(e){Sy(ty.Number),sy.setFloat64(0,e);for(let e of cy)Sy(e)}function gy(e){Sy(ty.Object);for(let t of globalThis.Object.getOwnPropertyNames(e).sort())xy(t),xy(e[t])}function _y(e){Sy(ty.String);for(let t=0;t<e.length;t++)for(let n of ly(e.charCodeAt(t)))Sy(n)}function vy(e){Sy(ty.Symbol),xy(e.description)}function yy(e){Sy(ty.Uint8Array);for(let t=0;t<e.length;t++)Sy(e[t])}function by(e){return Sy(ty.Undefined)}function xy(e){if(Nl(e))return uy(e);if(Il(e))return dy(e);if(zl(e))return fy(e);if(El(e))return py(e);if(Fl(e))return my(e);if(Ll(e))return hy(e);if(Ml(e))return gy(e);if(Bl(e))return _y(e);if(Hl(e))return vy(e);if(Al(e))return yy(e);if(Pl(e))return by(e);throw new ey(e)}function Sy(e){ny^=ay[e],ny=ny*ry%iy}function Cy(e){return ny=BigInt(`14695981039346656037`),xy(e),ny}var wy=class extends Kl{constructor(e){super(`Unknown type`),this.schema=e}};function Ty(e,t,n){let 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 Ey(e){return e[z]===`Any`||e[z]===`Unknown`}function Dy(e){return e!==void 0}function Oy(e,t,n){return!0}function ky(e,t,n){return!0}function Ay(e,t,n,r){if(!Nl(n)||Dy(e.minItems)&&!(n.length>=e.minItems)||Dy(e.maxItems)&&!(n.length<=e.maxItems))return!1;if(Ty(r,n,e)===!1)return!0;if(!n.every(n=>cb(e.items,t,n,r))||e.uniqueItems===!0&&!(function(){let e=new Set;for(let t of n){let n=Cy(t);if(e.has(n))return!1;e.add(n)}return!0})())return!1;if(!(Dy(e.contains)||Ll(e.minContains)||Ll(e.maxContains)))return!0;let i=Dy(e.contains)?e.contains:Rd(),a=n.reduce((e,n)=>cb(i,t,n,r)?e+1:e,0);return!(a===0||Ll(e.minContains)&&a<e.minContains||Ll(e.maxContains)&&a>e.maxContains)}function jy(e,t,n){return Cl(n)}function My(e,t,n){return!(!zl(n)||Dy(e.exclusiveMaximum)&&!(n<e.exclusiveMaximum)||Dy(e.exclusiveMinimum)&&!(n>e.exclusiveMinimum)||Dy(e.maximum)&&!(n<=e.maximum)||Dy(e.minimum)&&!(n>=e.minimum)||Dy(e.multipleOf)&&n%e.multipleOf!==BigInt(0))}function Ny(e,t,n){return Il(n)}function Py(e,t,n,r){return cb(e.returns,t,n.prototype,r)}function Fy(e,t,n){return!(!El(n)||Dy(e.exclusiveMaximumTimestamp)&&!(n.getTime()<e.exclusiveMaximumTimestamp)||Dy(e.exclusiveMinimumTimestamp)&&!(n.getTime()>e.exclusiveMinimumTimestamp)||Dy(e.maximumTimestamp)&&!(n.getTime()<=e.maximumTimestamp)||Dy(e.minimumTimestamp)&&!(n.getTime()>=e.minimumTimestamp)||Dy(e.multipleOfTimestamp)&&n.getTime()%e.multipleOfTimestamp!==0)}function Iy(e,t,n){return Vl(n)}function Ly(e,t,n,r){let i=globalThis.Object.values(e.$defs),a=e.$defs[e.$ref];return cb(a,[...t,...i],n,r)}function Ry(e,t,n){return!(!Rl(n)||Dy(e.exclusiveMaximum)&&!(n<e.exclusiveMaximum)||Dy(e.exclusiveMinimum)&&!(n>e.exclusiveMinimum)||Dy(e.maximum)&&!(n<=e.maximum)||Dy(e.minimum)&&!(n>=e.minimum)||Dy(e.multipleOf)&&n%e.multipleOf!==0)}function zy(e,t,n,r){let i=e.allOf.every(e=>cb(e,t,n,r));if(e.unevaluatedProperties===!1){let t=new RegExp(am(e)),r=Object.getOwnPropertyNames(n).every(e=>t.test(e));return i&&r}else if(ju(e.unevaluatedProperties)){let a=new RegExp(am(e)),o=Object.getOwnPropertyNames(n).every(i=>a.test(i)||cb(e.unevaluatedProperties,t,n[i],r));return i&&o}else return i}function By(e,t,n){return wl(n)}function Vy(e,t,n){return n===e.const}function Hy(e,t,n){return!1}function Uy(e,t,n,r){return!cb(e.not,t,n,r)}function Wy(e,t,n){return Fl(n)}function Gy(e,t,n){return!(!Wl.IsNumberLike(n)||Dy(e.exclusiveMaximum)&&!(n<e.exclusiveMaximum)||Dy(e.exclusiveMinimum)&&!(n>e.exclusiveMinimum)||Dy(e.minimum)&&!(n>=e.minimum)||Dy(e.maximum)&&!(n<=e.maximum)||Dy(e.multipleOf)&&n%e.multipleOf!==0)}function Ky(e,t,n,r){if(!Wl.IsObjectLike(n)||Dy(e.minProperties)&&!(Object.getOwnPropertyNames(n).length>=e.minProperties)||Dy(e.maxProperties)&&!(Object.getOwnPropertyNames(n).length<=e.maxProperties))return!1;if(Ty(r,n,e)===!1)return!0;let i=Object.getOwnPropertyNames(e.properties);for(let a of i){let i=e.properties[a];if(e.required&&e.required.includes(a)){if(!cb(i,t,n[a],r)||(rg(i)||Ey(i))&&!(a in n))return!1}else if(Wl.IsExactOptionalProperty(n,a)&&!cb(i,t,n[a],r))return!1}if(e.additionalProperties===!1){let t=Object.getOwnPropertyNames(n);return e.required&&e.required.length===i.length&&t.length===i.length?!0:t.every(e=>i.includes(e))}else if(typeof e.additionalProperties==`object`)return Object.getOwnPropertyNames(n).every(a=>i.includes(a)||cb(e.additionalProperties,t,n[a],r));else return!0}function qy(e,t,n){return Tl(n)}function Jy(e,t,n,r){if(!Wl.IsRecordLike(n)||Dy(e.minProperties)&&!(Object.getOwnPropertyNames(n).length>=e.minProperties)||Dy(e.maxProperties)&&!(Object.getOwnPropertyNames(n).length<=e.maxProperties))return!1;let[i,a]=Object.entries(e.patternProperties)[0],o=new RegExp(i),s=Object.entries(n).every(([e,n])=>o.test(e)?cb(a,t,n,r):!0),c=typeof e.additionalProperties==`object`?Object.entries(n).every(([n,i])=>o.test(n)?!0:cb(e.additionalProperties,t,i,r)):!0,l=e.additionalProperties===!1?Object.getOwnPropertyNames(n).every(e=>o.test(e)):!0;return s&&c&&l}function Yy(e,t,n,r){return cb($v(e,t),t,n,r)}function Xy(e,t,n){let r=new RegExp(e.source,e.flags);return Dy(e.minLength)&&!(n.length>=e.minLength)||Dy(e.maxLength)&&!(n.length<=e.maxLength)?!1:r.test(n)}function Zy(e,t,n){return!Bl(n)||Dy(e.minLength)&&!(n.length>=e.minLength)||Dy(e.maxLength)&&!(n.length<=e.maxLength)||Dy(e.pattern)&&!new RegExp(e.pattern).test(n)?!1:Dy(e.format)?Od(e.format)?kd(e.format)(n):!1:!0}function Qy(e,t,n){return Hl(n)}function $y(e,t,n){return Bl(n)&&new RegExp(e.pattern).test(n)}function eb(e,t,n,r){return cb($v(e,t),t,n,r)}function tb(e,t,n,r){if(!Nl(n)||e.items===void 0&&n.length!==0||n.length!==e.maxItems)return!1;if(!e.items)return!0;for(let i=0;i<e.items.length;i++)if(!cb(e.items[i],t,n[i],r))return!1;return!0}function nb(e,t,n){return Pl(n)}function rb(e,t,n,r){return e.anyOf.some(e=>cb(e,t,n,r))}function ib(e,t,n){return!(!Al(n)||Dy(e.maxByteLength)&&!(n.length<=e.maxByteLength)||Dy(e.minByteLength)&&!(n.length>=e.minByteLength))}function ab(e,t,n){return!0}function ob(e,t,n){return Wl.IsVoidLike(n)}function sb(e,t,n){return jd(e[z])?Md(e[z])(e,n):!1}function cb(e,t,n,r){let i=Dy(e.$id)?Qv(e,t):t,a=e;switch(a[z]){case`Any`:return Oy(a,i,n);case`Argument`:return ky(a,i,n);case`Array`:return Ay(a,i,n,r);case`AsyncIterator`:return jy(a,i,n);case`BigInt`:return My(a,i,n);case`Boolean`:return Ny(a,i,n);case`Constructor`:return Py(a,i,n,r);case`Date`:return Fy(a,i,n);case`Function`:return Iy(a,i,n);case`Import`:return Ly(a,i,n,r);case`Integer`:return Ry(a,i,n);case`Intersect`:return zy(a,i,n,r);case`Iterator`:return By(a,i,n);case`Literal`:return Vy(a,i,n);case`Never`:return Hy(a,i,n);case`Not`:return Uy(a,i,n,r);case`Null`:return Wy(a,i,n);case`Number`:return Gy(a,i,n);case`Object`:return Ky(a,i,n,r);case`Promise`:return qy(a,i,n);case`Record`:return Jy(a,i,n,r);case`Ref`:return Yy(a,i,n,r);case`RegExp`:return Xy(a,i,n);case`String`:return Zy(a,i,n);case`Symbol`:return Qy(a,i,n);case`TemplateLiteral`:return $y(a,i,n);case`This`:return eb(a,i,n,r);case`Tuple`:return tb(a,i,n,r);case`Undefined`:return nb(a,i,n);case`Union`:return rb(a,i,n,r);case`Uint8Array`:return ib(a,i,n);case`Unknown`:return ab(a,i,n);case`Void`:return ob(a,i,n);default:if(!jd(a[z]))throw new wy(a);return sb(a,i,n)}}function lb(...e){return e.length===2||e.length===3&&e[2]instanceof WeakMap?cb(e[0],[],e[1],e[2]??new WeakMap):cb(e[0],e[1],e[2],e[3]??new WeakMap)}function ub(e,t){if(t.has(e))return t.get(e);let n={};t.set(e,n);for(let r of Object.getOwnPropertyNames(e))n[r]=_b(e[r],t);for(let r of Object.getOwnPropertySymbols(e))n[r]=_b(e[r],t);return n}function db(e,t){if(t.has(e))return t.get(e);let n=[];t.set(e,n);for(let r=0;r<e.length;r++)n.push(_b(e[r],t));return n}function fb(e){return e.slice()}function pb(e){return new Map(_b([...e.entries()]))}function mb(e){return new Set(_b([...e.entries()]))}function hb(e){return new Date(e.toISOString())}function gb(e){return e}function _b(e,t=new WeakMap){if(Nl(e))return db(e,t);if(El(e))return hb(e);if(kl(e))return fb(e);if(Dl(e))return pb(e);if(Ol(e))return mb(e);if(Ml(e))return ub(e,t);if(Ul(e))return gb(e);throw Error(`ValueClone: Unable to clone value`)}var vb=class extends Kl{constructor(e,t){super(t),this.schema=e}};function yb(e){return Vl(e)?e():_b(e)}function bb(e,t){return jl(e,`default`)?yb(e.default):{}}function xb(e,t){return{}}function Sb(e,t){if(e.uniqueItems===!0&&!jl(e,`default`))throw new vb(e,`Array with the uniqueItems constraint requires a default value`);if(`contains`in e&&!jl(e,`default`))throw new vb(e,`Array with the contains constraint requires a default value`);return`default`in e?yb(e.default):e.minItems===void 0?[]:Array.from({length:e.minItems}).map(n=>ex(e.items,t))}function Cb(e,t){return jl(e,`default`)?yb(e.default):(async function*(){})()}function wb(e,t){return jl(e,`default`)?yb(e.default):BigInt(0)}function Tb(e,t){return jl(e,`default`)?yb(e.default):!1}function Eb(e,t){if(jl(e,`default`))return yb(e.default);{let n=ex(e.returns,t);return typeof n==`object`&&!Array.isArray(n)?class{constructor(){for(let[e,t]of Object.entries(n)){let n=this;n[e]=t}}}:class{}}}function Db(e,t){return jl(e,`default`)?yb(e.default):e.minimumTimestamp===void 0?new Date:new Date(e.minimumTimestamp)}function Ob(e,t){return jl(e,`default`)?yb(e.default):()=>ex(e.returns,t)}function kb(e,t){let n=globalThis.Object.values(e.$defs),r=e.$defs[e.$ref];return ex(r,[...t,...n])}function Ab(e,t){return jl(e,`default`)?yb(e.default):e.minimum===void 0?0:e.minimum}function jb(e,t){if(jl(e,`default`))return yb(e.default);{let n=e.allOf.reduce((e,n)=>{let r=ex(n,t);return typeof r==`object`?{...e,...r}:r},{});if(!lb(e,t,n))throw new vb(e,`Intersect produced invalid value. Consider using a default value.`);return n}}function Mb(e,t){return jl(e,`default`)?yb(e.default):(function*(){})()}function Nb(e,t){return jl(e,`default`)?yb(e.default):e.const}function Pb(e,t){if(jl(e,`default`))return yb(e.default);throw new vb(e,`Never types cannot be created. Consider using a default value.`)}function Fb(e,t){if(jl(e,`default`))return yb(e.default);throw new vb(e,`Not types must have a default value`)}function Ib(e,t){return jl(e,`default`)?yb(e.default):null}function Lb(e,t){return jl(e,`default`)?yb(e.default):e.minimum===void 0?0:e.minimum}function Rb(e,t){if(jl(e,`default`))return yb(e.default);{let n=new Set(e.required),r={};for(let[i,a]of Object.entries(e.properties))n.has(i)&&(r[i]=ex(a,t));return r}}function zb(e,t){return jl(e,`default`)?yb(e.default):Promise.resolve(ex(e.item,t))}function Bb(e,t){return jl(e,`default`)?yb(e.default):{}}function Vb(e,t){return jl(e,`default`)?yb(e.default):ex($v(e,t),t)}function Hb(e,t){if(jl(e,`default`))return yb(e.default);throw new vb(e,`RegExp types cannot be created. Consider using a default value.`)}function Ub(e,t){if(e.pattern!==void 0){if(jl(e,`default`))return yb(e.default);throw new vb(e,`String types with patterns must specify a default value`)}else if(e.format!==void 0){if(jl(e,`default`))return yb(e.default);throw new vb(e,`String types with formats must specify a default value`)}else if(jl(e,`default`))return yb(e.default);else if(e.minLength!==void 0)return Array.from({length:e.minLength}).map(()=>` `).join(``);else return``}function Wb(e,t){return jl(e,`default`)?yb(e.default):`value`in e?Symbol.for(e.value):Symbol()}function Gb(e,t){if(jl(e,`default`))return yb(e.default);if(!pf(e))throw new vb(e,`Can only create template literals that produce a finite variants. Consider using a default value.`);return bf(e)[0]}function Kb(e,t){if(nx++>tx)throw new vb(e,`Cannot create recursive type as it appears possibly infinite. Consider using a default.`);return jl(e,`default`)?yb(e.default):ex($v(e,t),t)}function qb(e,t){return jl(e,`default`)?yb(e.default):e.items===void 0?[]:Array.from({length:e.minItems}).map((n,r)=>ex(e.items[r],t))}function Jb(e,t){if(jl(e,`default`))return yb(e.default)}function Yb(e,t){if(jl(e,`default`))return yb(e.default);if(e.anyOf.length===0)throw Error(`ValueCreate.Union: Cannot create Union with zero variants`);return ex(e.anyOf[0],t)}function Xb(e,t){return jl(e,`default`)?yb(e.default):e.minByteLength===void 0?new Uint8Array:new Uint8Array(e.minByteLength)}function Zb(e,t){return jl(e,`default`)?yb(e.default):{}}function Qb(e,t){if(jl(e,`default`))return yb(e.default)}function $b(e,t){if(jl(e,`default`))return yb(e.default);throw Error(`User defined types must specify a default value`)}function ex(e,t){let n=Qv(e,t),r=e;switch(r[z]){case`Any`:return bb(r,n);case`Argument`:return xb(r,n);case`Array`:return Sb(r,n);case`AsyncIterator`:return Cb(r,n);case`BigInt`:return wb(r,n);case`Boolean`:return Tb(r,n);case`Constructor`:return Eb(r,n);case`Date`:return Db(r,n);case`Function`:return Ob(r,n);case`Import`:return kb(r,n);case`Integer`:return Ab(r,n);case`Intersect`:return jb(r,n);case`Iterator`:return Mb(r,n);case`Literal`:return Nb(r,n);case`Never`:return Pb(r,n);case`Not`:return Fb(r,n);case`Null`:return Ib(r,n);case`Number`:return Lb(r,n);case`Object`:return Rb(r,n);case`Promise`:return zb(r,n);case`Record`:return Bb(r,n);case`Ref`:return Vb(r,n);case`RegExp`:return Hb(r,n);case`String`:return Ub(r,n);case`Symbol`:return Wb(r,n);case`TemplateLiteral`:return Gb(r,n);case`This`:return Kb(r,n);case`Tuple`:return qb(r,n);case`Undefined`:return Jb(r,n);case`Union`:return Yb(r,n);case`Uint8Array`:return Xb(r,n);case`Unknown`:return Zb(r,n);case`Void`:return Qb(r,n);default:if(!jd(r[z]))throw new vb(r,`Unknown type`);return $b(r,n)}}var tx=512,nx=0;function rx(...e){return nx=0,e.length===2?ex(e[0],e[1]):ex(e[0],[])}var ix=class extends Kl{constructor(e,t){super(t),this.schema=e}};function ax(e,t,n){if(e[z]===`Object`&&typeof n==`object`&&!Fl(n)){let r=e,i=Object.getOwnPropertyNames(n);return Object.entries(r.properties).reduce((e,[r,a])=>{let o=a[z]===`Literal`&&a.const===n[r]?100:0,s=lb(a,t,n[r])?10:0,c=i.includes(r)?1:0;return e+(o+s+c)},0)}else if(e[z]===`Union`){let r=e.anyOf.map(e=>$v(e,t)).map(e=>ax(e,t,n));return Math.max(...r)}else return lb(e,t,n)?1:0}function ox(e,t,n){let r=e.anyOf.map(e=>$v(e,t)),[i,a]=[r[0],0];for(let e of r){let r=ax(e,t,n);r>a&&(i=e,a=r)}return i}function sx(e,t,n,r){return`default`in e?typeof n==`function`?e.default:_b(e.default):Cx(ox(e,t,n),t,n,r)}function cx(e,t,n){return lb(e,t,n)?_b(n):rx(e,t)}function lx(e,t,n){return lb(e,t,n)?n:rx(e,t)}function ux(e,t,n,r){if(lb(e,t,n))return _b(n);let i=Nl(n)?n:rx(e,t),a=Ll(e.minItems)&&i.length<e.minItems?[...i,...Array.from({length:e.minItems-i.length},()=>null)]:i,o=(Ll(e.maxItems)&&a.length>e.maxItems?a.slice(0,e.maxItems):a).map(n=>Sx(e.items,t,n,r));if(e.uniqueItems!==!0)return o;let s=[...new Set(o)];if(!lb(e,t,s))throw new ix(e,`Array cast produced invalid data due to uniqueItems constraint`);return s}function dx(e,t,n,r){if(lb(e,t,n))return rx(e,t);let i=new Set(e.returns.required||[]),a=function(){};for(let[o,s]of Object.entries(e.returns.properties))!i.has(o)&&n.prototype[o]===void 0||(a.prototype[o]=Sx(s,t,n.prototype[o],r));return a}function fx(e,t,n,r){let i=globalThis.Object.values(e.$defs),a=e.$defs[e.$ref];return Sx(a,[...t,...i],n,r)}function px(e,t){return Ml(e)&&!Ml(t)||!Ml(e)&&Ml(t)?e:!Ml(e)||!Ml(t)?t:globalThis.Object.getOwnPropertyNames(e).reduce((n,r)=>{let i=r in t?px(e[r],t[r]):e[r];return{...n,[r]:i}},{})}function mx(e,t,n){if(lb(e,t,n))return n;let r=rx(e,t),i=px(r,n);return lb(e,t,i)?i:r}function hx(e,t,n){throw new ix(e,`Never types cannot be cast`)}function gx(e,t,n,r){if(r.has(n))return r.get(n);if(lb(e,t,n))return n;if(typeof n!=`object`||!n)return rx(e,t);let i=new Set(e.required||[]),a={};r.set(n,a);for(let[o,s]of Object.entries(e.properties))!i.has(o)&&n[o]===void 0||(a[o]=Sx(s,t,n[o],r));if(typeof e.additionalProperties==`object`){let i=Object.getOwnPropertyNames(e.properties);for(let o of Object.getOwnPropertyNames(n))i.includes(o)||(a[o]=Sx(e.additionalProperties,t,n[o],r))}return a}function _x(e,t,n,r){if(lb(e,t,n))return _b(n);if(typeof n!=`object`||!n||Array.isArray(n)||n instanceof Date)return rx(e,t);let i=Object.getOwnPropertyNames(e.patternProperties)[0],a=e.patternProperties[i],o={};for(let[e,i]of Object.entries(n))o[e]=Sx(a,t,i,r);return o}function vx(e,t,n,r){return Sx($v(e,t),t,n,r)}function yx(e,t,n,r){return Sx($v(e,t),t,n,r)}function bx(e,t,n,r){return lb(e,t,n)?_b(n):Nl(n)?e.items===void 0?[]:e.items.map((e,i)=>Sx(e,t,n[i],r)):rx(e,t)}function xx(e,t,n,r){return lb(e,t,n)?_b(n):sx(e,t,n,r)}function Sx(e,t,n,r){let i=Bl(e.$id)?Qv(e,t):t,a=e;switch(e[z]){case`Array`:return ux(a,i,n,r);case`Constructor`:return dx(a,i,n,r);case`Import`:return fx(a,i,n,r);case`Intersect`:return mx(a,i,n);case`Never`:return hx(a,i,n);case`Object`:return gx(a,i,n,r);case`Record`:return _x(a,i,n,r);case`Ref`:return vx(a,i,n,r);case`This`:return yx(a,i,n,r);case`Tuple`:return bx(a,i,n,r);case`Union`:return xx(a,i,n,r);case`Date`:case`Symbol`:case`Uint8Array`:return cx(e,t,n);default:return lx(a,i,n)}}function Cx(...e){return e.length===2||e.length===3&&e[2]instanceof WeakMap?Sx(e[0],[],e[1],e[2]??new WeakMap):Sx(e[0],e[1],e[2],e[3]??new WeakMap)}var wx=(e,t)=>Cx(e,t),Tx={document:{navigation:`x-scalar-navigation`},workspace:{colorMode:`x-scalar-color-mode`,sidebarWidth:`x-scalar-sidebar-width`,defaultClient:`x-scalar-default-client`,defaultExample:`x-scalar-default-example`,activeDocument:`x-scalar-active-document`,theme:`x-scalar-theme`}},Ex=V.Object({name:V.String(),value:V.Union([V.Object({description:V.Optional(V.String()),default:V.String({default:``})}),V.String()])}),Dx=pt({name:P(),value:mt([pt({description:F(P()),default:P()}),P()])},{typeName:`XScalarEnvVar`}),Ox=V.Object({description:V.Optional(V.String()),color:V.String({default:`#FFFFFF`}),variables:V.Array(Ex)}),kx=pt({description:F(P()),color:P({typeComment:`Color for the environment`}),variables:dt(Dx,{typeComment:`An array of variables`})},{typeName:`XScalarEnvironment`,typeComment:`A map of environments by name`}),Ax=V.Object({"x-scalar-environments":V.Optional(V.Record(V.String(),Ox))}),jx=pt({"x-scalar-environments":F(ft(P(),kx))},{typeName:`XScalarEnvironments`,typeComment:`A record of environments by name`}),Mx=V.Object({"x-scalar-icon":V.Optional(V.String())}),Nx=pt({"x-scalar-icon":F(P())},{typeName:`XScalarIcon`,typeComment:`A custom icon representing the collection`}),Px=V.Object({"x-scalar-is-dirty":V.Optional(V.Boolean())}),Fx=pt({"x-scalar-is-dirty":F(st({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`}),Ix=V.Object({"x-scalar-original-document-hash":V.String()}),Lx=pt({"x-scalar-original-document-hash":P({typeComment:`Original input document hash`})},{typeName:`XScalarOriginalDocumentHash`,typeComment:`Original input document hash`}),Rx=V.Partial(V.Object({"x-scalar-original-source-url":V.String()})),zx=pt({"x-scalar-original-source-url":F(P({typeComment:`Original document source URL when loaded from an external source`}))},{typeName:`XScalarOriginalSourceUrl`,typeComment:`Original document source URL when loaded from an external source.`}),Bx=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())}),Vx=V.Object({"x-scalar-registry-meta":V.Optional(Bx)}),Hx=pt({namespace:P({typeComment:`The namespace under which this registry meta is scoped.`}),slug:P({typeComment:`A unique slug identifier for this registry meta within the namespace.`}),version:P({typeComment:`The version of the registry meta.`}),commitHash:F(P({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:F(P({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:F(st({typeComment:`Cached outcome of the last conflict check, valid only while conflictCheckedAgainstHash matches the registry hash.`}))},{typeName:`XScalarRegistryMetaInner`,typeComment:`Registry meta namespace and slug`}),Ux=pt({"x-scalar-registry-meta":F(Hx)},{typeName:`XScalarRegistryMeta`,typeComment:`The registry meta for the document`}),Wx=V.Object({"x-scalar-watch-mode":V.Optional(V.Boolean())}),Gx=pt({"x-scalar-watch-mode":F(st({typeComment:`Whether the document is in watch mode`}))},{typeName:`XScalarWatchMode`,typeComment:`Whether the document is in watch mode`}),Kx=V.Object({"x-post-response":V.Optional(V.String())}),qx=pt({"x-post-response":F(P({typeComment:`Script to run after a response is received`}))},{typeName:`XPostResponse`,typeComment:`Post-response script for an operation`}),Jx=V.Object({"x-pre-request":V.Optional(V.String())}),Yx=pt({"x-pre-request":F(P())},{typeName:`XPreRequest`,typeComment:`Pre-request script to run before the request is sent.`}),Xx=V.Object({"x-scalar-active-environment":V.Optional(V.String())}),Zx=pt({"x-scalar-active-environment":F(P({typeComment:`The currently selected environment`}))},{typeName:`XScalarActiveEnvironment`,typeComment:`The currently selected environment`}),Qx=V.Object({name:V.String(),value:V.String(),domain:V.Optional(V.String()),path:V.Optional(V.String()),isDisabled:V.Optional(V.Boolean())}),$x=pt({name:P({typeComment:`Defines the cookie name and its value.`}),value:P({typeComment:`Defines the cookie value.`}),domain:F(P({typeComment:`Allows this domain and all subdomains.`})),path:F(P({typeComment:`Restricts this cookie to requests that contain this path.`})),isDisabled:F(st({typeComment:`Indicates if the cookie is disabled.`}))},{typeName:`XScalarCookie`,typeComment:`A persisted cookie definition for the workspace`}),eS=V.Object({"x-scalar-cookies":V.Optional(V.Array(Qx))}),tS=pt({"x-scalar-cookies":F(dt($x,{typeComment:`Cookies persisted for the workspace`}))},{typeName:`XScalarCookies`,typeComment:`Persisted workspace cookies`}),nS=V.Object({"x-scalar-order":V.Optional(V.Array(V.String()))}),rS=pt({"x-scalar-order":F(dt(P()))},{typeName:`XScalarOrder`,typeComment:`Custom order for elements in the Scalar UI`}),iS=V.Object({"x-scalar-selected-server":V.Optional(V.String())}),aS=pt({"x-scalar-selected-server":F(P({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`)."}),oS=Yv(V.Object({name:V.String(),tags:V.Array(V.String())}),nS),sS=ht([pt({name:P({typeComment:`The group name.`}),tags:dt(P(),{typeComment:`List of tags to include in this group.`})},{typeName:`XTagGroupBase`}),rS],{typeName:`XTagGroup`,typeComment:`A tag group with optional custom ordering`}),cS=V.Object({"x-tagGroups":V.Optional(V.Array(oS))}),lS=pt({"x-tagGroups":F(dt(sS,{typeComment:`Tag groups for organizing tags in the UI`}))},{typeName:`XTagGroups`,typeComment:`Groups of tags for the OpenAPI document`}),uS=[`delete`,`get`,`head`,`options`,`patch`,`post`,`put`,`trace`],dS=Object.freeze(new Set(uS)),fS={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`},pS=V.Ref(fS.ComponentsObject),mS=V.Ref(fS.SecurityRequirementObject),hS=V.Ref(fS.TagObject),gS=V.Ref(fS.CallbackObject),_S=V.Ref(fS.PathItemObject),vS=V.Ref(fS.PathsObject),yS=V.Ref(fS.OperationObject),bS=V.Ref(fS.SchemaObject),xS=V.Ref(fS.EncodingObject),SS=V.Ref(fS.HeaderObject),CS=V.Ref(fS.MediaTypeObject),wS=V.Ref(fS.ServerObject),TS=V.Ref(fS.ExternalDocumentationObject),ES=V.Ref(fS.InfoObject),DS=V.Ref(fS.ContactObject),OS=V.Ref(fS.LicenseObject),kS=V.Ref(fS.ResponseObject),AS=V.Ref(fS.ResponsesObject),jS=V.Ref(fS.ParameterObject),MS=V.Ref(fS.ExampleObject),NS=V.Ref(fS.RequestBodyObject),PS=V.Ref(fS.SecuritySchemeObject),FS=V.Ref(fS.LinkObject),IS=V.Ref(fS.XMLObject),LS=V.Ref(fS.DiscriminatorObject),RS=V.Ref(fS.OAuthFlowsObject),zS=V.Ref(fS.ServerVariableObject),BS=V.Ref(fS.TraversedEntryObject),VS=V.Ref(fS.TraversedDocumentObject),HS=V.Object({id:V.String(),title:V.String()}),US=Yv(HS,V.Object({type:V.Literal(`document`),name:V.String(),children:V.Optional(V.Array(BS)),icon:V.Optional(V.String())})),WS=Yv(HS,V.Object({type:V.Literal(`text`),children:V.Optional(V.Array(BS))})),GS=Yv(HS,V.Object({type:V.Literal(`example`),name:V.String()})),KS=Yv(HS,V.Object({type:V.Literal(`operation`),ref:V.String(),method:V.Union(uS.map(e=>V.Literal(e))),path:V.String(),isDeprecated:V.Optional(V.Boolean()),children:V.Optional(V.Array(BS))})),qS=Yv(HS,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(BS))})),JS=Yv(HS,V.Object({type:V.Literal(`asyncapi-channel`),channelName:V.String(),channelAddress:V.String(),children:V.Optional(V.Array(BS))})),YS=Yv(HS,V.Object({type:V.Literal(`asyncapi-message`),messageName:V.String(),channelName:V.String()})),XS=Yv(HS,V.Object({type:V.Literal(`model`),ref:V.String(),name:V.String()})),ZS=Yv(HS,V.Object({type:V.Literal(`webhook`),ref:V.String(),method:V.Union(uS.map(e=>V.Literal(e))),name:V.String(),isDeprecated:V.Optional(V.Boolean())})),QS=Yv(HS,V.Object({type:V.Literal(`tag`),name:V.String(),description:V.Optional(V.String()),children:V.Optional(V.Array(BS)),isGroup:V.Boolean(),isWebhooks:V.Optional(V.Boolean()),xKeys:V.Optional(V.Record(V.String(),V.Unknown()))})),$S=Yv(HS,V.Object({type:V.Literal(`models`),name:V.String(),children:V.Optional(V.Array(BS))})),eC=V.Union([WS,KS,qS,JS,YS,XS,QS,ZS,GS,US,$S]),tC=V.Object({$status:V.Optional(V.Union([V.Literal(`loading`),V.Literal(`error`)])),$global:V.Optional(V.Boolean())}),nC=Yv(V.Object({$ref:V.String(),summary:V.Optional(V.String()),description:V.Optional(V.String())}),tC),rC=e=>Yv(nC,V.Object({"$ref-value":e})),iC=V.Record(V.String(),V.Union([_S,rC(_S)])),aC=V.Record(V.String(),V.Union([PS,rC(PS)])),oC=V.Object({schemas:V.Optional(V.Record(V.String(),V.Union([bS,rC(bS)]))),responses:V.Optional(V.Record(V.String(),V.Union([kS,rC(kS)]))),parameters:V.Optional(V.Record(V.String(),V.Union([jS,rC(jS)]))),examples:V.Optional(V.Record(V.String(),V.Union([MS,rC(MS)]))),requestBodies:V.Optional(V.Record(V.String(),V.Union([NS,rC(NS)]))),headers:V.Optional(V.Record(V.String(),V.Union([SS,rC(SS)]))),securitySchemes:V.Optional(aC),links:V.Optional(V.Record(V.String(),V.Union([FS,rC(FS)]))),callbacks:V.Optional(V.Record(V.String(),V.Union([gS,rC(gS)]))),pathItems:V.Optional(V.Record(V.String(),V.Union([_S,rC(_S)])))}),sC=V.Object({name:V.Optional(V.String()),url:V.Optional(V.String()),email:V.Optional(V.String())}),cC=V.Object({propertyName:V.String(),mapping:V.Optional(V.Record(V.String(),V.String()))}),Wne=V.Object({contentType:V.Optional(V.String()),headers:V.Optional(V.Record(V.String(),V.Union([SS,rC(SS)]))),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())}),Gne=V.Object({"x-disabled":V.Optional(V.Boolean())}),Kne=pt({"x-disabled":F(st())},{typeName:`XDisabled`,typeComment:`Whether a parameter example is disabled in the API client`}),qne=Yv(V.Object({summary:V.Optional(V.String()),description:V.Optional(V.String()),value:V.Optional(V.Any()),externalValue:V.Optional(V.String())}),Gne),Jne=V.Object({url:V.String(),description:V.Optional(V.String())}),lC=V.Object({description:V.Optional(V.String()),required:V.Optional(V.Boolean()),deprecated:V.Optional(V.Boolean())}),Yne=Yv(lC,V.Object({style:V.Optional(V.String()),explode:V.Optional(V.Boolean()),schema:V.Optional(V.Union([bS,rC(bS)])),example:V.Optional(V.Any()),examples:V.Optional(V.Record(V.String(),V.Union([MS,rC(MS)])))})),Xne=V.Union([Yne,Yv(lC,V.Object({content:V.Optional(V.Record(V.String(),CS))}))]),Zne=V.Object({name:V.String(),url:V.String()}),Qne=V.Object({"x-scalar-links":V.Optional(V.Array(Zne))}),$ne=pt({name:P(),url:P()},{typeName:`XScalarLinkItem`,typeComment:`A named link to display alongside the API info`}),ere=pt({"x-scalar-links":F(dt($ne,{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`}),tre=V.Object({lang:V.String(),description:V.Optional(V.String()),source:V.Optional(V.String())}),nre=V.Object({"x-scalar-sdk-installation":V.Optional(V.Array(tre))}),rre=pt({lang:P(),description:F(P()),source:F(P())},{typeName:`XScalarSdkInstallationItem`,typeComment:`Scalar SDK installation entry`}),ire=pt({"x-scalar-sdk-installation":F(dt(rre,{typeComment:`Scalar SDK installation information`}))},{typeName:`XScalarSdkInstallation`,typeComment:`Scalar SDK installation information`}),are=Yv(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(DS),license:V.Optional(OS)}),nre,Qne),ore=V.Object({name:V.Optional(V.String()),identifier:V.Optional(V.String()),url:V.Optional(V.String())}),sre=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(wS)}),cre=V.Object({schema:V.Optional(V.Union([bS,rC(bS)])),example:V.Optional(V.Any()),examples:V.Optional(V.Record(V.String(),V.Union([MS,rC(MS)]))),encoding:V.Optional(V.Record(V.String(),xS))}),uC=V.Object({"x-scalar-credentials-location":V.Optional(V.Union([V.Literal(`header`),V.Literal(`body`)]))}),lre=pt({"x-scalar-credentials-location":F(mt([gt(`header`),gt(`body`)]))},{typeName:`XScalarCredentialsLocation`,typeComment:`Where OAuth2 credentials are sent`}),ure=V.Object({"x-scalar-security-body":V.Optional(V.Record(V.String(),V.String()))}),dre=pt({"x-scalar-security-body":F(ft(P(),P()))},{typeName:`XScalarSecurityBody`,typeComment:`Additional OAuth token request body parameters`}),fre=V.Object({"x-scalar-security-query":V.Optional(V.Record(V.String(),V.String()))}),pre=pt({"x-scalar-security-query":F(ft(P(),P()))},{typeName:`XScalarSecurityQuery`,typeComment:`Additional OAuth authorize query parameters`}),dC=V.Object({"x-scalar-secret-token":V.String()});pt({"x-scalar-secret-token":P()},{typeName:`XScalarSecretToken`,typeComment:`Persisted OAuth access token (sensitive)`});var mre=V.Object({"x-scalar-secret-refresh-token":V.Optional(V.String())});pt({"x-scalar-secret-refresh-token":F(P())},{typeName:`XScalarSecretRefreshToken`,typeComment:`Persisted OAuth refresh token (sensitive)`});var hre=V.Object({"x-scalar-secret-auth-url":V.Optional(V.String())}),gre=pt({"x-scalar-secret-auth-url":F(P())},{typeName:`XScalarAuthUrl`,typeComment:`Persisted OAuth authorization URL override`}),_re=V.Object({"x-scalar-secret-token-url":V.Optional(V.String())}),vre=pt({"x-scalar-secret-token-url":F(P())},{typeName:`XScalarTokenUrl`,typeComment:`Persisted OAuth token URL override`}),fC=V.Object({"x-scalar-secret-username":V.String(),"x-scalar-secret-password":V.String()});pt({"x-scalar-secret-username":P(),"x-scalar-secret-password":P()},{typeName:`XScalarSecretHTTP`,typeComment:`Persisted HTTP basic credentials (sensitive)`});var pC=V.Object({"x-scalar-secret-client-secret":V.String()});pt({"x-scalar-secret-client-secret":P()},{typeName:`XScalarSecretClientSecret`,typeComment:`Persisted OAuth client secret (sensitive)`});var yre=V.Object({"x-scalar-secret-client-id":V.String()});pt({"x-scalar-secret-client-id":P()},{typeName:`XScalarSecretClientId`,typeComment:`Persisted OAuth client ID`});var mC=V.Object({"x-scalar-secret-redirect-uri":V.String()});pt({"x-scalar-secret-redirect-uri":P()},{typeName:`XScalarSecretRedirectUri`,typeComment:`Persisted OAuth redirect URI`});var bre=V.Object({"x-tokenName":V.Optional(V.String())}),xre=pt({"x-tokenName":F(P())},{typeName:`XTokenName`,typeComment:`Custom OAuth2 access token field name`}),Sre=V.Object({"x-usePkce":V.Union([V.Literal(`SHA-256`),V.Literal(`plain`),V.Literal(`no`)],{default:`no`})}),Cre=pt({"x-usePkce":mt([gt(`SHA-256`),gt(`plain`),gt(`no`)],{typeComment:`PKCE mode for the OAuth2 authorization code flow`})},{typeName:`XusePkce`,typeComment:`PKCE setting for OAuth2`}),hC=Yv(V.Object({refreshUrl:V.String(),scopes:V.Record(V.String(),V.String())}),fre,ure,bre,hre,_re),gC=Yv(hC,V.Object({authorizationUrl:V.String()})),_C=Yv(hC,V.Object({tokenUrl:V.String()}),uC),vC=Yv(hC,V.Object({tokenUrl:V.String()}),uC),yC=Yv(hC,V.Object({authorizationUrl:V.String(),tokenUrl:V.String()}),Sre,uC),wre=V.Object({implicit:V.Optional(gC),password:V.Optional(_C),clientCredentials:V.Optional(vC),authorizationCode:V.Optional(yC)}),bC=V.Object({"x-internal":V.Optional(V.Boolean())}),Tre=pt({"x-internal":F(st({typeComment:`Extension to mark an entity as internal`}))},{typeName:`XInternal`,typeComment:`Extension to mark an entity as internal`}),xC=V.Object({"x-scalar-ignore":V.Optional(V.Boolean())}),Ere=pt({"x-scalar-ignore":F(st())},{typeName:`XScalarIgnore`,typeComment:`Internal extension to mark an entity as ignored`}),Dre=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`}),Ore=pt({name:P({typeComment:`The text that displays in the badge. This is required for all badges.`}),position:F(mt([gt(`before`),gt(`after`)],{typeComment:`The position of the badge in relation to the header`})),color:F(P({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`}),kre=V.Object({"x-badges":V.Optional(V.Array(Dre))}),Are=pt({"x-badges":F(dt(Ore,{typeComment:`Badges displayed for this operation in documentation`}))},{typeName:`XBadges`,typeComment:`Badges for an operation in the Scalar UI`}),SC=V.Object({lang:V.Optional(V.String()),label:V.Optional(V.String()),source:V.String()}),jre=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())}),Mre=V.Object({"code-samples":V.Optional(V.Array(jre)),"samples-languages":V.Optional(V.Array(V.String()))}),CC=V.Object({title:V.Optional(V.String()),request:V.Optional(V.Record(V.String(),V.String())),response:V.Optional(V.Unknown())}),Nre=V.Union([CC,V.Array(CC)]),Pre=V.Object({"x-codeSamples":V.Optional(V.Array(SC)),"x-code-samples":V.Optional(V.Array(SC)),"x-custom-examples":V.Optional(V.Array(SC)),"x-readme":V.Optional(Mre),"x-stainless-snippets":V.Optional(V.Record(V.String(),V.String())),"x-stainless-examples":V.Optional(Nre),"x-scalar-examples":V.Optional(V.Array(SC))}),wC=pt({lang:F(P()),label:F(P()),source:P()}),Fre=pt({language:F(P()),code:P(),name:F(P()),install:F(P()),correspondingExample:F(P())}),Ire=pt({"code-samples":F(dt(Fre)),"samples-languages":F(dt(P()))}),TC=pt({title:F(P()),request:F(ft(P(),P())),response:F(ut())}),Lre=mt([TC,dt(TC)]),Rre=pt({"x-codeSamples":F(dt(wC)),"x-code-samples":F(dt(wC)),"x-custom-examples":F(dt(wC)),"x-readme":F(Ire),"x-stainless-snippets":F(ft(P(),P())),"x-stainless-examples":F(Lre),"x-scalar-examples":F(dt(wC))}),zre=V.Object({"x-draft-examples":V.Optional(V.Array(V.String()))}),Bre=pt({"x-draft-examples":F(dt(P()))},{typeName:`XDraftExamples`,typeComment:`Draft example identifiers for an operation`}),Vre=V.Record(V.String(),V.Boolean()),EC=V.Record(V.String(),Vre),Hre=V.Object({"x-scalar-disable-parameters":V.Optional(V.Object({"global-cookies":V.Optional(EC),"global-headers":V.Optional(EC),"default-headers":V.Optional(EC)}))}),Ure=ft(P(),st()),DC=ft(P(),Ure),Wre=pt({"global-cookies":F(DC),"global-headers":F(DC),"default-headers":F(DC)},{typeName:`DisableParametersConfig`,typeComment:`Disabled parameter state by category and example`}),Gre=pt({"x-scalar-disable-parameters":F(Wre)},{typeName:`XScalarDisableParameters`,typeComment:`Tracks which parameters are disabled across examples`}),Kre={Deprecated:`deprecated`,Experimental:`experimental`,Stable:`stable`},qre=V.Object({"x-scalar-stability":V.Optional(V.Union([V.Literal(`deprecated`),V.Literal(`experimental`),V.Literal(`stable`)]))}),Jre=pt({"x-scalar-stability":F(mt([gt(`deprecated`),gt(`experimental`),gt(`stable`)],{typeComment:`Stability level of the operation`}))},{typeName:`XScalarStability`,typeComment:`Stability of the operation in the Scalar UI`}),Yre=Yv(V.Object({tags:V.Optional(V.Array(V.String())),summary:V.Optional(V.String()),description:V.Optional(V.String()),externalDocs:V.Optional(TS),operationId:V.Optional(V.String()),parameters:V.Optional(V.Array(V.Union([jS,rC(jS)]))),requestBody:V.Optional(V.Union([NS,rC(NS)])),responses:V.Optional(AS),deprecated:V.Optional(V.Boolean()),security:V.Optional(V.Array(mS)),servers:V.Optional(V.Array(wS)),callbacks:V.Optional(V.Record(V.String(),V.Union([gS,rC(gS)])))}),kre,bC,xC,Pre,qre,Hre,Kx,Jx,zre,iS),Xre=V.Object({"x-global":V.Optional(V.Boolean())}),Zre=pt({"x-global":F(st())},{typeName:`XGlobal`,typeComment:`When true, the parameter is injected into every request for the workspace`}),OC=Yv(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())}),Xre,bC,xC),Qre=Yv(OC,V.Object({style:V.Optional(V.String()),explode:V.Optional(V.Boolean()),schema:V.Optional(V.Union([bS,rC(bS)])),example:V.Optional(V.Any()),examples:V.Optional(V.Record(V.String(),V.Union([MS,rC(MS)])))})),$re=Yv(OC,V.Object({content:V.Optional(V.Record(V.String(),CS))})),eie=V.Union([Qre,$re]),tie=V.Object({$ref:V.Optional(V.String()),summary:V.Optional(V.String()),description:V.Optional(V.String()),get:V.Optional(V.Union([yS,rC(yS)])),put:V.Optional(V.Union([yS,rC(yS)])),post:V.Optional(V.Union([yS,rC(yS)])),delete:V.Optional(V.Union([yS,rC(yS)])),patch:V.Optional(V.Union([yS,rC(yS)])),connect:V.Optional(V.Union([yS,rC(yS)])),options:V.Optional(V.Union([yS,rC(yS)])),head:V.Optional(V.Union([yS,rC(yS)])),trace:V.Optional(V.Union([yS,rC(yS)])),servers:V.Optional(V.Array(wS)),parameters:V.Optional(V.Array(V.Union([jS,rC(jS)])))}),nie=V.Record(V.String(),V.Union([_S,rC(_S)])),rie=V.Object({"x-scalar-selected-content-type":V.Optional(V.Record(V.String(),V.String()))}),iie=pt({"x-scalar-selected-content-type":F(ft(P(),P(),{typeComment:`Selected content type per example name`}))},{typeName:`XScalarSelectedContentType`,typeComment:`Selected content type per example for request or response bodies`}),aie=Yv(V.Object({description:V.Optional(V.String()),content:V.Record(V.String(),CS),required:V.Optional(V.Boolean())}),rie),oie=V.Object({description:V.String(),headers:V.Optional(V.Record(V.String(),V.Union([SS,rC(SS)]))),content:V.Optional(V.Record(V.String(),CS)),links:V.Optional(V.Record(V.String(),V.Union([FS,rC(FS)])))}),sie=V.Record(V.String(),V.Union([kS,rC(kS)])),cie=V.Object({"x-tags":V.Optional(V.Array(V.String()))}),lie=pt({"x-tags":F(dt(P()))},{typeName:`XTags`,typeComment:`Custom tag ordering or grouping hints for schema objects`}),uie=V.Object({"x-additionalPropertiesName":V.Optional(V.String())}),die=pt({"x-additionalPropertiesName":F(P())},{typeName:`XAdditionalPropertiesName`,typeComment:`Display name for additional properties on a schema`}),fie=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())]))}),kC=mt([ft(P(),P()),dt(P())]),pie=pt({"x-enumDescriptions":F(kC),"x-enum-descriptions":F(kC)},{typeName:`XEnumDescriptions`,typeComment:`Descriptions for enum values`}),mie=V.Object({"x-enum-varnames":V.Optional(V.Array(V.String())),"x-enumNames":V.Optional(V.Array(V.String()))}),hie=pt({"x-enum-varnames":F(dt(P())),"x-enumNames":F(dt(P()))},{typeName:`XEnumVarNames`,typeComment:`Display names for enum values`}),gie=V.Object({"x-examples":V.Optional(V.Record(V.String(),V.Unknown()))}),_ie=pt({"x-examples":F(ft(P(),lt()))},{typeName:`XExamples`,typeComment:`Named examples attached to a schema`}),vie=V.Object({"x-order":V.Optional(V.Number())}),yie=pt({"x-order":F(ot())},{typeName:`XOrder`,typeComment:`Display order for a schema property`}),bie=V.Object({"x-variable":V.Optional(V.String())}),xie=pt({"x-variable":F(P())},{typeName:`XVariable`,typeComment:`Variable reference for a schema property`}),AC=V.Union([bS,Yv(nC,V.Object({"$ref-value":V.Optional(V.Unknown())}))]),Sie=V.Union([V.Literal(`null`),V.Literal(`boolean`),V.Literal(`string`),V.Literal(`number`),V.Literal(`integer`),V.Literal(`object`),V.Literal(`array`)]),Cie=V.Object({type:V.Union([V.Literal(`null`),V.Literal(`boolean`)])}),jC=Yv(xC,bC,bie,gie,fie,mie,uie,vie,cie),MC=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(AC),deprecated:V.Optional(V.Boolean()),discriminator:V.Optional(LS),readOnly:V.Optional(V.Boolean()),writeOnly:V.Optional(V.Boolean()),xml:V.Optional(IS),externalDocs:V.Optional(TS),example:V.Optional(V.Unknown()),examples:V.Optional(V.Array(V.Unknown())),allOf:V.Optional(V.Array(AC)),oneOf:V.Optional(V.Array(AC)),anyOf:V.Optional(V.Array(AC)),not:V.Optional(AC)}),NC=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}))}),wie=Yv(V.Object({type:V.Union([V.Literal(`number`),V.Literal(`integer`)]),format:V.Optional(V.String())}),NC),PC=V.Object({maxLength:V.Optional(V.Integer({minimum:0})),minLength:V.Optional(V.Integer({minimum:0})),pattern:V.Optional(V.String())}),Tie=Yv(V.Object({type:V.Literal(`string`),format:V.Optional(V.String())}),PC),FC=V.Object({maxItems:V.Optional(V.Integer({minimum:0})),minItems:V.Optional(V.Integer({minimum:0})),uniqueItems:V.Optional(V.Boolean()),items:V.Optional(AC),prefixItems:V.Optional(V.Array(AC))}),Eie=Yv(V.Object({type:V.Literal(`array`)}),FC),IC=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(),AC)),additionalProperties:V.Optional(V.Union([V.Boolean(),AC])),patternProperties:V.Optional(V.Record(V.String(),AC)),propertyNames:V.Optional(AC)}),Die=Yv(V.Object({type:V.Literal(`object`)}),IC),Oie=Yv(V.Object({type:V.Array(Sie),format:V.Optional(V.String())}),NC,PC,FC,IC),kie=V.Union([Yv(V.Object({__scalar_:V.String()}),MC,jC),Yv(Cie,MC,jC),Yv(wie,MC,jC),Yv(Tie,MC,jC),Yv(Die,MC,jC),Yv(Eie,MC,jC),Yv(Oie,MC,jC)]),Aie=V.Partial(V.Record(V.String(),V.Array(V.String()))),jie=V.Object({"x-default-scopes":V.Optional(V.Array(V.String()))}),Mie=pt({"x-default-scopes":F(dt(P()))},{typeName:`XDefaultScopes`,typeComment:`Default selected OAuth scopes`}),LC=V.Object({description:V.Optional(V.String())}),Nie=Yv(LC,V.Object({type:V.Literal(`apiKey`),name:V.String(),in:V.Union([V.Literal(`query`),V.Literal(`header`),V.Literal(`cookie`)])})),Pie=Yv(LC,V.Object({type:V.Literal(`http`),scheme:V.Union([V.Literal(`basic`),V.Literal(`bearer`)]),bearerFormat:V.Optional(V.String())})),Fie=Yv(LC,V.Object({type:V.Literal(`oauth2`),flows:RS}),jie),Iie=Yv(LC,V.Object({type:V.Literal(`openIdConnect`),openIdConnectUrl:V.String()})),Lie=V.Union([Nie,Pie,Fie,Iie]),Rie=V.Object({url:V.String(),description:V.Optional(V.String()),variables:V.Optional(V.Record(V.String(),zS))}),zie=V.Object({enum:V.Optional(V.Array(V.String())),default:V.Optional(V.String()),description:V.Optional(V.String())}),Bie=V.Object({"x-displayName":V.Optional(V.String())}),Vie=pt({"x-displayName":F(P())},{typeName:`XDisplayName`,typeComment:`Display-friendly name for a tag`}),Hie=Yv(V.Object({name:V.String(),description:V.Optional(V.String()),externalDocs:V.Optional(TS)}),Bie,bC,xC,nS),Uie=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())}),Wie=Yv(V.Partial(V.Object({"x-original-oas-version":V.String(),[Tx.document.navigation]:VS})),Rx,cS,Ax,iS,Mx,nS,eS,Ix,Px,Xx,Wx,Vx,Jx,Kx),Gie=Yv(V.Object({openapi:V.String(),info:ES,jsonSchemaDialect:V.Optional(V.String()),servers:V.Optional(V.Array(wS)),paths:V.Optional(vS),webhooks:V.Optional(vS),components:V.Optional(pS),security:V.Optional(V.Array(mS)),tags:V.Optional(V.Array(hS)),externalDocs:V.Optional(TS)}),Wie),RC=V.Module({[fS.ComponentsObject]:oC,[fS.SecurityRequirementObject]:Aie,[fS.TagObject]:Hie,[fS.CallbackObject]:iC,[fS.PathItemObject]:tie,[fS.PathsObject]:nie,[fS.OperationObject]:Yre,[fS.SchemaObject]:kie,[fS.EncodingObject]:Wne,[fS.MediaTypeObject]:cre,[fS.HeaderObject]:Xne,[fS.ServerObject]:Rie,[fS.ExternalDocumentationObject]:Jne,[fS.InfoObject]:are,[fS.ContactObject]:sC,[fS.LicenseObject]:ore,[fS.ResponseObject]:oie,[fS.ResponsesObject]:sie,[fS.ParameterObject]:eie,[fS.ExampleObject]:qne,[fS.RequestBodyObject]:aie,[fS.SecuritySchemes]:aC,[fS.SecuritySchemeObject]:Lie,[fS.LinkObject]:sre,[fS.XMLObject]:Uie,[fS.DiscriminatorObject]:cC,[fS.OAuthFlowsObject]:wre,[fS.ServerVariableObject]:zie,OpenApiDocument:Gie,[fS.TraversedDescriptionObject]:WS,[fS.TraversedOperationObject]:KS,[fS.TraversedAsyncApiOperationObject]:qS,[fS.TraversedAsyncApiChannelObject]:JS,[fS.TraversedAsyncApiMessageObject]:YS,[fS.TraversedSchemaObject]:XS,[fS.TraversedWebhookObject]:ZS,[fS.TraversedTagObject]:QS,[fS.TraversedEntryObject]:eC,[fS.TraversedDocumentObject]:US}),Kie=RC.Import(`OpenApiDocument`);RC.Import(`ComponentsObject`);var qie=RC.Import(`SecurityRequirementObject`);RC.Import(`TagObject`),RC.Import(`CallbackObject`),RC.Import(`PathItemObject`),RC.Import(`PathsObject`),RC.Import(`OperationObject`);var Jie=RC.Import(`SchemaObject`);RC.Import(`EncodingObject`),RC.Import(`MediaTypeObject`),RC.Import(`HeaderObject`);var zC=RC.Import(`ServerObject`);RC.Import(`ExternalDocumentationObject`),RC.Import(`InfoObject`),RC.Import(`ContactObject`),RC.Import(`LicenseObject`),RC.Import(`ResponseObject`),RC.Import(`ResponsesObject`),RC.Import(`ParameterObject`),RC.Import(`ExampleObject`),RC.Import(`RequestBodyObject`),RC.Import(`SecuritySchemes`);var Yie=RC.Import(`SecuritySchemeObject`);RC.Import(`LinkObject`),RC.Import(`XMLObject`),RC.Import(`DiscriminatorObject`),RC.Import(`OAuthFlowsObject`),RC.Import(`ServerVariableObject`),RC.Import(`TraversedDescriptionObject`),RC.Import(`TraversedEntryObject`),RC.Import(`TraversedTagObject`),RC.Import(`TraversedOperationObject`),RC.Import(`TraversedSchemaObject`),RC.Import(`TraversedWebhookObject`);var BC={schema:e=>{if(e===void 0)return;let t=L(e,gc);return wx(Yv(Jie,V.Object({$ref:V.Optional(V.String())})),t)}},VC=10,Xie=`additionalProperty`,HC=new Date().toISOString(),Zie=HC.split(`T`)[0],Qie=HC.split(`T`)[1].split(`.`)[0],$ie={"date-time":HC,date:Zie,email:`hello@example.com`,hostname:`example.com`,"idn-email":`jane.doe@example.com`,"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:Qie,"uri-reference":`../folder`,"uri-template":`https://example.com/{id}`,uri:`https://example.com`,uuid:`123e4567-e89b-12d3-a456-426614174000`,"object-id":`6592008029c8c3e4dc76256c`},eae=e=>{if(!(`propertyNames`in e)||!e.propertyNames)return;let t=BC.schema(e.propertyNames);if(t&&`enum`in t&&Array.isArray(t.enum)&&t.enum.length>0)return t.enum},UC=(e,t=!1,n=``)=>`type`in e&&e.type===`string`&&`format`in e&&e.format===`binary`?`@filename`:t&&`format`in e&&e.format?$ie[e.format]??n:n,WC=new WeakMap,GC=new WeakMap,KC=e=>Wc(e,{depth:1}),tae=e=>{if(!e)return;let t=GC.get(e);if(t)return t;if(`required`in e){let t=e.required;if(Array.isArray(t)&&t.length>0){let n=new Set(t);return GC.set(e,n),n}}},qC=(e,t,n,r=!1)=>{if(r||typeof t!=`object`||!t)return t;let i=KC(e),a=WC.get(i)??new Map;return a&&a.set(n,t),WC.set(i,a),t},nae=e=>!!(e.allOf||e.oneOf||e.anyOf),rae=(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`)||nae(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;let i=n??e.title??``,a=tae(t);return!(a&&a.has(i))},JC=(e,t)=>Array.isArray(e)&&Array.isArray(t)?[...e,...t]:e&&typeof e==`object`&&t&&typeof t==`object`?{...e,...t}:t,iae=VC*5,YC=new WeakMap,XC=(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&&!Array.isArray(e);case`array`:return Array.isArray(e);case`null`:return e===null;default:return!1}},ZC=e=>{let t=KC(e);if(YC.has(t))return YC.get(t);let n=`$ref`in e?BC.schema(e):e;return YC.set(t,n),n},QC=(e,t,n=new Set,r=0)=>{if(r>iae)return!0;let i=KC(e);if(n.has(i))return!0;if(n.add(i),`type`in e&&e.type&&!(Array.isArray(e.type)?e.type:[e.type]).some(e=>e===`number`&&XC(t,`integer`)?!0:XC(t,e)))return n.delete(i),!1;let a=e.anyOf;if(Array.isArray(a)&&a.length>0&&!a.some(e=>{let i=ZC(e);return!!i&&QC(i,t,n,r+1)}))return n.delete(i),!1;let o=e.oneOf;if(Array.isArray(o)&&o.length>0&&!o.some(e=>{let i=ZC(e);return!!i&&QC(i,t,n,r+1)}))return n.delete(i),!1;let s=e.allOf;return Array.isArray(s)&&s.length>0&&!s.every(e=>{let i=ZC(e);return!i||QC(i,t,n,r+1)})?(n.delete(i),!1):(n.delete(i),!0)},$C=Symbol(`INVALID_DEFAULT`),aae=e=>{let t=e.default;return QC(e,t)?t:$C},oae=(e,t)=>[...e,t].join(`.`),ew=(e,t,n,r)=>{let i=n?.compositionSelection?.[oae(e,t)];if(!(typeof i!=`number`||Number.isNaN(i)))return Math.max(0,Math.min(i,r-1))},tw=e=>{if(e&&typeof e==`object`&&`x-order`in e){let t=Number(e[`x-order`]);return Number.isNaN(t)?void 0:t}},sae=e=>Object.keys(e).sort((t,n)=>{let r=tw(e[t]),i=tw(e[n]);return r!==void 0&&i!==void 0?r-i:r===void 0?i===void 0?0:1:-1}),cae=(e,t,n,r,i,a,o)=>{let s={},c=Qc(o,e),l=o.length>0;if(`properties`in e&&e.properties){let i=e.properties,o=sae(i),l=o.length;for(let u=0;u<l;u++){let l=o[u],d=BC.schema(i[l]);if(!d)continue;let f=t?.xml&&`xml`in d?d.xml?.name:void 0,p=nw(d,t,{level:n+1,parentSchema:e,name:l,schemaPath:[...a,l],seen:r,dynamicScope:c});p!==void 0&&(s[f??l]=p)}}if(`patternProperties`in e&&e.patternProperties)for(let i of Object.keys(e.patternProperties)){let o=BC.schema(e.patternProperties[i]);o&&(s[i]=nw(o,t,{level:n+1,parentSchema:e,name:i,schemaPath:[...a,i],seen:r,dynamicScope:c}))}if(`additionalProperties`in e&&e.additionalProperties){let i=typeof e.additionalProperties==`boolean`?e.additionalProperties:BC.schema(e.additionalProperties),o=e.additionalProperties===!0||typeof e.additionalProperties==`object`&&Object.keys(e.additionalProperties).length===0,l=typeof i==`object`&&`x-additionalPropertiesName`in i&&typeof i[`x-additionalPropertiesName`]==`string`&&i[`x-additionalPropertiesName`].trim().length>0,u=l?void 0:eae(e),d=l?i[`x-additionalPropertiesName`].trim():Xie,f=o?`anything`:typeof i==`object`?nw(i,t,{level:n+1,schemaPath:[...a,d],seen:r,dynamicScope:c}):`anything`;u&&u.length>0?s[String(u[0])]=f:s[d]=f}let u=e.oneOf?`oneOf`:e.anyOf?`anyOf`:void 0,d=u?e[u]:void 0;if(u&&d?.length){let e=ew(a,u,t,d.length)??0,i=BC.schema(d[e]);i&&Object.assign(s,nw(i,t,{level:n+1,schemaPath:a,seen:r,dynamicScope:c}))}else if(Array.isArray(e.allOf)&&e.allOf.length>0){let i=s;for(let a of e.allOf){let o=nw(BC.schema(a),t,{level:n+1,parentSchema:e,seen:r,dynamicScope:c});i=JC(i,o)}i&&typeof i==`object`&&Object.assign(s,i)}if(t?.xml&&`xml`in e&&e.xml?.name&&n===0){let t={};return t[e.xml.name]=s,qC(e,t,i,l)}return qC(e,s,i,l)},lae=(e,t,n,r,i,a,o)=>{let s=Qc(o,e),c=o.length>0,l=`items`in e?BC.schema(e.items):void 0,u=r;if(l&&Jc(l)){let e=$c(l.$dynamicRef,s);e&&(l=e,u=new WeakSet)}let d=[...a,`items`],f=l&&typeof l==`object`&&`xml`in l?l.xml?.name:void 0,p=!!(t?.xml&&`xml`in e&&e.xml?.wrapped&&f);if(e.example!==void 0)return qC(e,p?{[f]:e.example}:e.example,i,c);if(l&&typeof l==`object`){if(Array.isArray(l.allOf)&&l.allOf.length>0){let r=l.allOf.filter(mc),a=BC.schema(r[0]);if(a&&typeof a==`object`&&`type`in a&&a.type===`object`){let a=nw({type:`object`,allOf:r},t,{level:n+1,parentSchema:e,schemaPath:d,seen:u,dynamicScope:s});return qC(e,p?[{[f]:a}]:[a],i,c)}let o=r.map(r=>nw(BC.schema(r),t,{level:n+1,parentSchema:e,schemaPath:d,seen:u,dynamicScope:s})).filter(mc);return qC(e,p?o.map(e=>({[f]:e})):o,i,c)}let r=l.oneOf?`oneOf`:l.anyOf?`anyOf`:void 0,a=r?l[r]:void 0;if(r&&a&&a.length>0){let o=a[ew(d,r,t,a.length)??0],l=nw(BC.schema(o),t,{level:n+1,parentSchema:e,schemaPath:d,seen:u,dynamicScope:s});return qC(e,p?[{[f]:l}]:[l],i,c)}}let m=l&&typeof l==`object`&&(`type`in l&&l.type===`object`||`properties`in l),h=l&&typeof l==`object`&&(`type`in l&&l.type===`array`||`items`in l);if(l&&typeof l==`object`&&(`type`in l&&l.type||m||h)){let r=nw(l,t,{level:n+1,schemaPath:d,seen:u,dynamicScope:s});return qC(e,p?[{[f]:r}]:[r],i,c)}return qC(e,[],i,c)},uae=(e,t,n)=>{if(`type`in e&&e.type&&!Array.isArray(e.type))switch(e.type){case`string`:return UC(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}},dae=(e,t,n)=>{if(`type`in e&&Array.isArray(e.type)){if(e.type.includes(`null`))return null;let r=e.type[0];if(r)switch(r){case`string`:return UC(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}}},fae=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(([e],[t])=>e.localeCompare(t)):void 0}),nw=(e,t,{level:n=0,parentSchema:r,name:i,seen:a=new WeakSet,schemaPath:o=[],dynamicScope:s=[]}={})=>{let c=BC.schema(e);if(!mc(c))return;if(Jc(c)){let e=$c(c.$dynamicRef,s);if(e)return nw(e,t,{level:n+1,parentSchema:r,name:i,seen:new WeakSet,schemaPath:o,dynamicScope:s})}let l=Qc(s,c),u=s.length>0,d=KC(c);if(a.has(d))return;a.add(d);let f=fae(t)+(o.length>0?`:path:${o.join(`.`)}`:``);if(!u){let e=WC.get(d)?.get(f);if(e!==void 0)return a.delete(d),e}if(n>VC)return a.delete(d),`[Max Depth Exceeded]`;let p=!!t?.emptyString;if(rae(c,r,i,t)){a.delete(d);return}if(`x-variable`in c&&c[`x-variable`]){let e=t?.variables?.[c[`x-variable`]];if(e!==void 0)return`type`in c&&(c.type===`number`||c.type===`integer`)?(a.delete(d),qC(c,Number(e),f,u)):(a.delete(d),qC(c,e,f,u))}if(Array.isArray(c.examples)&&c.examples.length>0)return a.delete(d),qC(c,c.examples[0],f,u);if(c.example!==void 0)return a.delete(d),qC(c,c.example,f,u);if(c.default!==void 0){let e=aae(c);if(e!==$C)return a.delete(d),qC(c,e,f,u)}if(c.const!==void 0)return a.delete(d),qC(c,c.const,f,u);if(Array.isArray(c.enum)&&c.enum.length>0)return a.delete(d),qC(c,c.enum[0],f,u);if(`properties`in c||`type`in c&&c.type===`object`){let e=cae(c,t,n,a,f,o,s);return a.delete(d),e}if(`type`in c&&c.type===`array`||`items`in c){let e=lae(c,t,n,a,f,o,s);return a.delete(d),e}let m=uae(c,p,t?.emptyString);if(m!==void 0)return a.delete(d),qC(c,m,f,u);let h=c.oneOf?`oneOf`:c.anyOf?`anyOf`:void 0,g=h?c[h]:void 0;if(h&&Array.isArray(g)&&g.length>0){let e=ew(o,h,t,g.length),r=e===void 0?g.find(e=>{let t=BC.schema(e);return t&&(!(`type`in t)||t.type!==`null`)}):g[e];if(r){let e=BC.schema(r);if(e)return a.delete(d),qC(c,nw(e,t,{level:n+1,schemaPath:o,seen:a,dynamicScope:l}),f,u)}return a.delete(d),qC(c,null,f,u)}if(Array.isArray(c.allOf)&&c.allOf.length>0){let e,r=c.allOf;for(let i of r){let r=nw(i,t,{level:n+1,parentSchema:c,schemaPath:o,seen:a,dynamicScope:l});e===void 0?e=r:e&&typeof e==`object`&&r&&typeof r==`object`?e=JC(e,r):r!==void 0&&(e=r)}return a.delete(d),qC(c,e??null,f,u)}let _=dae(c,p,t?.emptyString);return _===void 0?(a.delete(d),qC(c,null,f,u)):(a.delete(d),qC(c,_,f,u))},rw=(e,t)=>typeof e==`string`?e:t.includes(`json`)||typeof e==`object`&&e&&!Array.isArray(e)?JSON.stringify(e):String(e),iw=(e,t)=>{if(Array.isArray(e))return e.join(`,`);if(typeof e==`object`&&e){let n=Object.entries(e);return t?n.map(([e,t])=>`${e}=${t}`).join(`,`):n.map(([e,t])=>`${e},${t}`).join(`,`)}return e},aw=(e,t)=>Array.isArray(e)&&t?e.map(e=>({key:``,value:e})):Array.isArray(e)?e.join(`,`):typeof e==`object`&&e&&t?Object.entries(e).map(([e,t])=>({key:e,value:t})):typeof e==`object`&&e?Object.entries(e).map(([e,t])=>`${e},${t}`).join(`,`):e,ow=(e,t)=>{if(Array.isArray(e)&&t)return e.map(e=>({key:``,value:e}));if(Array.isArray(e))return e.map(e=>e===null?`null`:String(e)).join(`,`);if(typeof e==`object`&&e&&t)return Object.entries(e).map(([e,t])=>({key:e,value:t}));if(typeof e==`object`&&e){let t=e=>{let n=[];for(let[r,i]of Object.entries(e))typeof i==`object`&&i&&!Array.isArray(i)?n.push(r,...t(i)):n.push(r,i===null?`null`:String(i));return n};return t(e).join(`,`)}return e},sw=e=>Array.isArray(e)?e.join(` `):typeof e==`object`&&e?Object.entries(e).map(([e,t])=>`${e} ${t}`).join(` `):String(e),cw=e=>Array.isArray(e)?e.join(`|`):typeof e==`object`&&e?Object.entries(e).flat().join(`|`):String(e),lw=(e,t)=>{let n=[],r=(e,t)=>{if(Array.isArray(t))for(let n of t)r(`${e}[]`,n);else typeof t==`object`&&t?i(t,e):n.push({key:e,value:String(t)})},i=(e,t)=>{for(let[n,i]of Object.entries(e))r(`${t}[${n}]`,i)};return typeof t==`object`&&t&&!Array.isArray(t)&&i(t,e),n},uw=e=>typeof e==`object`&&e?JSON.stringify(e):String(e),dw=(e,t,n)=>{if(!(n&&(n.style!==void 0||n.explode!==void 0||n.allowReserved!==void 0))||typeof t!=`object`||!t||t instanceof File||Array.isArray(t)&&t.some(e=>e instanceof File))return null;let r=Wc(t),i=n?.style??`form`,a=n?.explode??i===`form`,o=[];if(i===`deepObject`)if(Array.isArray(r)){let t=aw(r,!0);if(Array.isArray(t))for(let n of t)o.push({key:n.key||e,value:uw(n.value)});else o.push({key:e,value:String(t)})}else for(let t of lw(e,r))o.push({key:t.key,value:String(t.value)});else if(i===`spaceDelimited`)o.push({key:e,value:String(sw(r))});else if(i===`pipeDelimited`)o.push({key:e,value:String(cw(r))});else{let t=aw(r,a);if(Array.isArray(t))for(let n of t)o.push({key:n.key||e,value:uw(n.value)});else o.push({key:e,value:String(t)})}return o};function fw(e,t){let n=/{{\s*([\w.-]+)\s*}}/g,r=/{\s*([\w.-]+)\s*}/g,i=(e,n)=>typeof t==`function`?t(n):t[n]?.toString()||`{${n}}`;return e.replace(n,i).replace(r,i)}var pw=(e,t={})=>e.replace(go.PATH,(e,n)=>t[n]??e),mw=(e,t={})=>e.replace(go.VARIABLES,(e,n)=>typeof t==`function`?t(n)??e:t[n]??e),hw=e=>({ok:!0,data:e}),gw=(e,t)=>({ok:!1,error:e,message:t}),_w=e=>e instanceof Error?e.message:String(e);function vw(e){try{let t=e();return t instanceof Promise?t.then(e=>hw(e),e=>(console.error(e),gw(_w(e)))):hw(t)}catch(e){return console.error(e),gw(_w(e))}}var pae=[`localhost`,`127.0.0.1`,`[::1]`,`0.0.0.0`],mae=[`test`,`example`,`invalid`,`localhost`];function yw(e){try{let{hostname:t}=new URL(e);if(pae.includes(t))return!0;let n=t.split(`.`).pop();return!!(n&&mae.includes(n))}catch{return!0}}var bw=(e,t)=>{try{if(!xw(e,t))return t??``;let n=new URL(t);return n.href=_o(e)?`http://localhost${e}`:e,n.searchParams.append(`scalar_url`,t),_o(e)?n.toString().replace(/^http:\/\/localhost/,``):n.toString()}catch{return t??``}},xw=(e,t)=>{try{return!e||!t||_o(t)?!1:_o(e)||yw(e)?!0:!yw(t)}catch{return!1}},Sw=typeof Buffer==`function`;typeof TextDecoder==`function`&&new TextDecoder;var Cw=typeof TextEncoder==`function`?new TextEncoder:void 0,ww=Array.prototype.slice.call(`ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=`);(e=>{let t={};return e.forEach((e,n)=>t[e]=n),t})(ww);var Tw=String.fromCharCode.bind(String);typeof Uint8Array.from==`function`&&Uint8Array.from.bind(Uint8Array);var Ew=e=>e.replace(/=/g,``).replace(/[+\/]/g,e=>e==`+`?`-`:`_`),Dw=typeof btoa==`function`?e=>btoa(e):Sw?e=>Buffer.from(e,`binary`).toString(`base64`):e=>{let t,n,r,i,a=``,o=e.length%3;for(let o=0;o<e.length;){if((n=e.charCodeAt(o++))>255||(r=e.charCodeAt(o++))>255||(i=e.charCodeAt(o++))>255)throw TypeError(`invalid character found`);t=n<<16|r<<8|i,a+=ww[t>>18&63]+ww[t>>12&63]+ww[t>>6&63]+ww[t&63]}return o?a.slice(0,o-3)+`===`.substring(o):a},Ow=Sw?e=>Buffer.from(e).toString(`base64`):e=>{let t=4096,n=[];for(let r=0,i=e.length;r<i;r+=t)n.push(Tw.apply(null,e.subarray(r,r+t)));return Dw(n.join(``))},kw=(e,t=!1)=>t?Ew(Ow(e)):Ow(e),hae=e=>{if(e.length<2){var t=e.charCodeAt(0);return t<128?e:t<2048?Tw(192|t>>>6)+Tw(128|t&63):Tw(224|t>>>12&15)+Tw(128|t>>>6&63)+Tw(128|t&63)}else{var t=65536+(e.charCodeAt(0)-55296)*1024+(e.charCodeAt(1)-56320);return Tw(240|t>>>18&7)+Tw(128|t>>>12&63)+Tw(128|t>>>6&63)+Tw(128|t&63)}},gae=/[\uD800-\uDBFF][\uDC00-\uDFFFF]|[^\x00-\x7F]/g,_ae=e=>e.replace(gae,hae),Aw=Sw?e=>Buffer.from(e,`utf8`).toString(`base64`):Cw?e=>Ow(Cw.encode(e)):e=>Dw(_ae(e)),jw=(e,t=!1)=>t?Ew(Aw(e)):Aw(e),vae=(e,t)=>{if(!e||!t)return!0;try{let n=e.startsWith(`http`)?e:`http://${e}`,r=new URL(n).hostname,i=!t,a=t===r,o=t.startsWith(`.`)&&t===`.${r}`,s=t.startsWith(`.`)&&r?.endsWith(t);return i||a||s||o}catch{return!1}},Mw=({cookie:e,url:t,disabledGlobalCookies:n})=>{if(e.isDisabled||n[e.name.toLowerCase()]===!0||!e.name)return!1;let r=new URL(t,`https://example.com`);return!(e.domain&&!vae(t,e.domain)||e.path&&!r.pathname.startsWith(e.path))},yae="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.",bae=`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
+ `,xae=(e,t)=>{let n=e.map(e=>`${e.name}=${e.value}`).join(`; `);return t&&n?`${t}; ${n}`:t||n||``},Sae=({cookies:e,originalCookieHeader:t,url:n,useCustomCookieHeader:r})=>{let i=xae(e.filter(e=>Mw({url:n,cookie:e,disabledGlobalCookies:{}})),t??void 0);return i?r?(console.warn(yae),{name:Qte,value:i}):(console.warn(bae),{name:`Cookie`,value:i}):null},Cae={21:`!`,24:`$`,27:`'`,28:`(`,29:`)`,"2A":`*`,"2C":`,`,"2F":`/`,"3A":`:`,"3B":`;`,40:`@`},wae=e=>e.replace(/%([0-9A-Fa-f]{2})/g,(e,t)=>Cae[t.toUpperCase()]??e),Tae=e=>{try{return decodeURIComponent(e.replaceAll(`+`,`%20`))}catch{return e}},Nw=(e,t)=>{if(t.size===0)return e;let n=e.indexOf(`?`);if(n===-1)return e;let r=e.indexOf(`#`,n),i=e.slice(0,n+1),a=r===-1?e.slice(n+1):e.slice(n+1,r),o=r===-1?``:e.slice(r);return a?`${i}${a.split(`&`).map(e=>{if(!e)return e;let n=e.indexOf(`=`),r=n===-1?e:e.slice(0,n),i=Tae(r);return!t.has(i)||n===-1?e:`${r}=${wae(e.slice(n+1))}`}).join(`&`)}${o}`:e},Eae=`MISSING_REQUEST_SERVER_BASE`,Pw=`INVALID_REQUEST_FACTORY_URL`,Dae=`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.`,Fw=(e,t)=>{let n=t.envVariables,r=vw(()=>Object.fromEntries(Object.entries(e.path.variables).map(([e,t])=>[e,encodeURIComponent(mw(t,n))])));if(!r.ok)return gw(Pw,`The request URL contains invalid characters in path parameters.`);let i=r.data,a=bo(mw(e.baseUrl,n),pw(mw(e.path.raw,n),i));if(!t.allowMissingRequestServerBase&&_o(a))return gw(Eae,Dae);let o=globalThis.window?.location?.origin,s=o&&o!==`null`?o:`http://localhost:3000`,c=vw(()=>new URL(a,s));if(!c.ok)return gw(Pw,`The request URL could not be parsed. Check the server URL and path for invalid characters.`);let l=c.data,u=new URLSearchParams;for(let[t,r]of e.query.entries())u.append(mw(t,n),mw(r,n));let d=new URLSearchParams;for(let[e,n]of t.securityQueryParams.entries())d.append(e,n);return l.search=vo(l.searchParams,u,d).toString(),hw(l.toString())},Iw=[`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`],Lw=`abcdefghijklmnopqrstuvwxyz0123456789`,Rw=[`#e34f26`,`#3498db`,`#2ecc71`,`#9b59b6`,`#f1c40f`,`#1abc9c`,`#e74c3c`,`#2c3e50`,`#d35400`,`#8e44ad`,`#27ae60`,`#c0392b`,`#16a085`,`#f39c12`,`#7f8c8d`],Oae=[`HTTP`,`SQL`,`TCP`,`JSON`,`XML`,`API`,`SSL`,`CSS`,`HTML`,`RAM`,`FTP`,`SSH`,`DNS`,`URL`,`USB`],kae=[`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`],Aae=[`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`],jae=[`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`],Mae=[`en`,`es`,`fr`,`de`,`it`,`pt`,`ja`,`zh`,`ko`,`ar`,`ru`,`nl`,`sv`,`pl`,`da`,`fi`,`nb`,`tr`,`hi`,`th`],Nae=[`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`],Pae=[`http`,`https`],Fae=[`1.0.0`,`2.3.1`,`0.9.4`,`3.12.0`,`1.5.7`,`4.0.0-beta.1`,`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`],zw=[`Emma`,`Liam`,`Olivia`,`Noah`,`Ava`,`James`,`Sophia`,`Oliver`,`Isabella`,`Lucas`,`Mia`,`Ethan`,`Charlotte`,`Mason`,`Amelia`],Bw=[`Smith`,`Johnson`,`Williams`,`Brown`,`Jones`,`Garcia`,`Miller`,`Davis`,`Rodriguez`,`Martinez`,`Hernandez`,`Lopez`,`Gonzalez`,`Wilson`,`Anderson`],Iae=[`Mr.`,`Mrs.`,`Ms.`,`Dr.`,`Prof.`,`Rev.`,`Sir`,`Mx.`],Lae=[`Jr.`,`Sr.`,`II`,`III`,`IV`,`PhD`,`MD`,`DDS`,`Esq.`],Rae=[`Marketing`,`Engineering`,`Finance`,`Operations`,`Human Resources`,`Sales`,`Research`,`Design`,`Legal`,`Product`,`Data`,`Support`,`Quality`,`Security`,`Communications`],zae=[`Senior`,`Lead`,`Junior`,`Principal`,`Chief`,`Associate`,`Global`,`Regional`,`Internal`,`Dynamic`,`Staff`,`Executive`,`National`,`Strategic`,`Corporate`],Bae=[`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`],Vae=[`Full-time`,`Part-time`,`Contract`,`Freelance`,`Internship`,`Temporary`,`Remote`,`Hybrid`,`Consultant`,`Seasonal`],Vw=[`(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`],Hae=[`New York`,`London`,`Tokyo`,`Paris`,`Sydney`,`Toronto`,`Berlin`,`Singapore`,`Mumbai`,`São Paulo`,`Amsterdam`,`Seoul`,`Dublin`,`Barcelona`,`Melbourne`],Uae=[`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`],Wae=[`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`],Gae=[`United States`,`United Kingdom`,`Canada`,`Australia`,`Germany`,`France`,`Japan`,`Brazil`,`India`,`Netherlands`,`South Korea`,`Singapore`,`Ireland`,`Spain`,`Sweden`],Kae=[`US`,`GB`,`CA`,`AU`,`DE`,`FR`,`JP`,`BR`,`IN`,`NL`,`KR`,`SG`,`IE`,`ES`,`SE`,`IT`,`NO`,`DK`,`FI`,`CH`],qae=[`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`],Jae=[`-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`],Yae=[`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`],Xae=[`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`],Hw=`https://loremflickr.com/640/480`,Zae=Array.from({length:10},(e,t)=>`${Hw}/abstract?lock=${t+1}`),Qae=Array.from({length:10},(e,t)=>`${Hw}/animals?lock=${t+1}`),$ae=Array.from({length:10},(e,t)=>`${Hw}/business?lock=${t+1}`),eoe=Array.from({length:10},(e,t)=>`${Hw}/cat?lock=${t+1}`),toe=Array.from({length:10},(e,t)=>`${Hw}/city?lock=${t+1}`),noe=Array.from({length:10},(e,t)=>`${Hw}/food?lock=${t+1}`),roe=Array.from({length:10},(e,t)=>`${Hw}/nightlife?lock=${t+1}`),ioe=Array.from({length:10},(e,t)=>`${Hw}/fashion?lock=${t+1}`),aoe=Array.from({length:10},(e,t)=>`${Hw}/people?lock=${t+1}`),ooe=Array.from({length:10},(e,t)=>`${Hw}/nature?lock=${t+1}`),soe=Array.from({length:10},(e,t)=>`${Hw}/sports?lock=${t+1}`),coe=Array.from({length:10},(e,t)=>`${Hw}/transport?lock=${t+1}`),loe=[`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%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%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`],uoe=[`34042448`,`34102758`,`02997566`,`52631809`,`75412296`,`37762776`,`44117882`,`13865687`,`44377086`,`74440091`],doe=[`Personal Checking`,`Savings Account`,`Money Market`,`Home Loan`,`Auto Loan`,`Investment Account`,`Business Checking`,`Credit Card`,`Retirement Fund`,`College Savings`],foe=[`DEUTDEFF`,`BNPAFRPP`,`CHASUS33`,`HSBCGB2L`,`COBADEFF`,`SCBLSGSG`,`ANZBAU3M`,`CITIUS33`,`BOFAUS3N`,`NWBKGB2L`],poe=[`GB29NWBK60161331926819`,`DE89370400440532013000`,`FR7630006000011234567890189`,`ES9121000418450200051332`,`IT60X0542811101000000123456`,`NL91ABNA0417164300`,`CH9300762011623852957`,`BE68539007547034`,`AT611904300234573201`,`FI2112345600000785`],moe=[`deposit`,`withdrawal`,`payment`,`invoice`,`transfer`],hoe=[`USD`,`EUR`,`GBP`,`JPY`,`AUD`,`CAD`,`CHF`,`CNY`,`INR`,`BRL`,`SEK`,`NOK`,`DKK`,`SGD`,`HKD`],goe=[`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`],_oe=[`$`,`€`,`£`,`¥`,`A$`,`C$`,`CHF`,`¥`,`₹`,`R$`],voe=[`1A1zP1eP5QGefi2DMPTfTL5SLmv7DivfNa`,`3J98t1WpEZ73CNmQviecrnyiWrnqRhWNLy`,`bc1qw508d6qejxtdg4y5r3zarvary0c5xw7kv8f3t4`,`1BvBMSEYstWetqTFn5Au4m4GFg7xJaNVN2`,`3Kzh9qAqVWQhEsfQz7zEQL1EuSx5tyNLNS`,`1FeexV6bAHb8ybZjqQMjJrcCrHGW9sb6uF`,`bc1qxy2kgdygjrsqtzq2n0yrf2493p83kkfjhx0wlh`,`3FZbgi29cpjq2GjdwV8eyHuJJnkLtktZc5`,`1P5ZEDWTKTFGxQjZphgWPQUpe554WKDfHQ`,`bc1q42lja79elem0anu8q860g3milve2ycq5t8g3ux`],yoe=[`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`],boe=[`Inc`,`LLC`,`Group`,`Ltd`,`PLC`,`Corp`],Uw=[`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`],xoe=[`innovative`,`scalable`,`seamless`,`cutting-edge`,`robust`,`synergistic`,`dynamic`,`holistic`,`strategic`,`disruptive`,`frictionless`,`proactive`,`world-class`,`collaborative`,`granular`],Soe=[`leverage`,`iterate`,`synergize`,`monetize`,`orchestrate`,`disintermediate`,`harness`,`incentivize`,`optimize`,`streamline`,`revolutionize`,`cultivate`,`empower`,`facilitate`,`aggregate`],Coe=[`frameworks`,`paradigms`,`synergies`,`platforms`,`infrastructures`,`bandwidth`,`channels`,`communities`,`convergence`,`deliverables`,`e-markets`,`experiences`,`initiatives`,`interfaces`,`methodologies`],woe=[`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`],Toe=[`Adaptive`,`Advanced`,`Automated`,`Balanced`,`Business-focused`,`Centralized`,`Cloned`,`Configurable`,`Cross-group`,`Customizable`,`De-engineered`,`Decentralized`,`Digitized`,`Distributed`,`Enhanced`],Eoe=[`24 hour`,`actuating`,`analyzing`,`asymmetric`,`asynchronous`,`background`,`bandwidth-monitored`,`bi-directional`,`bifurcated`,`bottom-line`,`clear-thinking`,`client-driven`,`client-server`,`coherent`,`cohesive`],Doe=[`ability`,`access`,`algorithm`,`alliance`,`analyzer`,`application`,`approach`,`architecture`,`array`,`attitude`,`benchmark`,`budgetary management`,`capability`,`capacity`,`challenge`],Ooe=[`id`,`name`,`email`,`status`,`created_at`,`updated_at`,`description`,`amount`,`category`,`token`,`avatar`,`phone`,`address`,`comment`,`title`],koe=[`int`,`varchar`,`text`,`boolean`,`date`,`timestamp`,`float`,`bigint`,`json`,`uuid`,`decimal`,`enum`,`blob`,`char`,`smallint`],Aoe=[`utf8_general_ci`,`utf8mb4_unicode_ci`,`ascii_general_ci`,`latin1_swedish_ci`,`utf8_unicode_ci`,`utf8mb4_general_ci`,`utf8_bin`,`latin1_general_ci`,`utf8mb4_bin`,`ascii_bin`],joe=[`InnoDB`,`MyISAM`,`MEMORY`,`CSV`,`ARCHIVE`,`FEDERATED`,`NDB`,`MERGE`,`BLACKHOLE`,`EXAMPLE`],Moe=[`Monday`,`Tuesday`,`Wednesday`,`Thursday`,`Friday`,`Saturday`,`Sunday`],Noe=[`January`,`February`,`March`,`April`,`May`,`June`,`July`,`August`,`September`,`October`,`November`,`December`],Poe=[`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`],Foe=[`com`,`org`,`net`,`io`,`dev`,`co`,`info`,`app`,`me`,`xyz`],Ioe=[`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`],Loe=[`emma.smith@example.com`,`liam.johnson@test.org`,`olivia.williams@demo.io`,`noah.brown@sample.net`,`ava.jones@mail.com`,`james.garcia@inbox.dev`,`sophia.miller@webmail.co`,`oliver.davis@post.io`,`isabella.rodriguez@email.org`,`lucas.martinez@connect.net`,`mia.hernandez@hub.com`,`ethan.lopez@office.dev`,`charlotte.gonzalez@corp.io`,`mason.wilson@biz.co`,`amelia.anderson@pro.net`],Roe=[`emma@example.com`,`liam@example.org`,`olivia@example.net`,`noah@example.com`,`ava@example.org`,`james@example.net`,`sophia@example.com`,`oliver@example.org`,`isabella@example.net`,`lucas@example.com`,`mia@example.org`,`ethan@example.net`],zoe=[`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`],Boe=[`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`],Voe=[`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`],Hoe=[`application`,`text`,`image`,`audio`,`video`,`font`,`model`,`multipart`,`message`,`chemical`],Uoe=[`pdf`,`csv`,`png`,`json`,`md`,`yml`,`html`,`txt`,`xml`,`sql`,`tar`,`gz`,`wasm`,`webp`],Woe=[`report.pdf`,`photo.jpg`,`document.docx`,`spreadsheet.xlsx`,`presentation.pptx`,`image.png`,`video.mp4`,`audio.mp3`,`archive.zip`,`readme.txt`],Goe=[`text`,`application`,`image`,`audio`,`video`],Koe=[`pdf`,`jpg`,`png`,`gif`,`mp3`,`mp4`,`doc`,`xls`,`ppt`,`txt`,`zip`,`html`,`css`,`js`,`json`],qoe=[`/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`],Joe=[`/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`],Yoe=[`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`],Xoe=[`Chair`,`Computer`,`Keyboard`,`Mouse`,`Table`,`Phone`,`Shoes`,`Shirt`,`Pants`,`Hat`,`Bike`,`Towels`,`Gloves`,`Soap`,`Tuna`],Zoe=[`Refined`,`Elegant`,`Rustic`,`Gorgeous`,`Practical`,`Fantastic`,`Handcrafted`,`Incredible`,`Licensed`,`Sleek`,`Intelligent`,`Recycled`,`Modern`,`Bespoke`,`Ergonomic`],Qoe=[`Cotton`,`Steel`,`Wooden`,`Concrete`,`Rubber`,`Granite`,`Plastic`,`Frozen`,`Soft`,`Metal`,`Bronze`,`Silk`,`Leather`,`Ceramic`,`Bamboo`],$oe=[`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`],ese=[`Electronics`,`Clothing`,`Books`,`Home`,`Garden`,`Sports`,`Toys`,`Automotive`,`Grocery`,`Health`,`Beauty`,`Music`,`Movies`,`Games`,`Outdoors`],tse=[`server`,`database`,`network`,`protocol`,`system`,`algorithm`,`interface`,`module`,`component`,`function`,`framework`,`library`,`instance`,`variable`,`endpoint`],nse=[`run`,`build`,`deploy`,`parse`,`fetch`,`render`,`compile`,`stream`,`cache`,`merge`,`sync`,`push`,`pull`,`test`,`debug`],rse=[`running`,`building`,`deploying`,`parsing`,`fetching`,`rendering`,`compiling`,`streaming`,`caching`,`merging`,`syncing`,`pushing`,`pulling`,`testing`,`debugging`],ise=[`fast`,`secure`,`scalable`,`robust`,`dynamic`,`modular`,`stable`,`lightweight`,`portable`,`resilient`,`efficient`,`responsive`,`concurrent`,`stateless`,`distributed`],Ww=[`pixel`,`quantum`,`cipher`,`matrix`,`vector`,`nexus`,`pulse`,`flux`,`forge`,`prism`,`vortex`,`helix`,`orbit`,`spark`,`nebula`],Gw=[`lorem`,`ipsum`,`dolor`,`sit`,`amet`,`consectetur`,`adipiscing`,`elit`,`sed`,`do`,`eiusmod`,`tempor`,`incididunt`,`ut`,`labore`,`et`,`dolore`,`magna`,`aliqua`,`enim`],Kw=[`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.`],qw=[`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.`],ase=[`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`],H=e=>e[Math.floor(Math.random()*e.length)],Jw=(e,t)=>Math.floor(Math.random()*(t-e+1))+e,ose=e=>Array.from({length:e},()=>Math.floor(Math.random()*10)).join(``),sse=e=>Array.from({length:e},()=>Lw[Math.floor(Math.random()*Lw.length)]).join(``),cse=()=>{let e=Date.now()+Jw(1,365)*864e5;return new Date(e).toISOString()},lse=()=>{let e=Date.now()-Jw(1,365)*864e5;return new Date(e).toISOString()},use=()=>{let e=Date.now()-Jw(1,3)*864e5;return new Date(e).toISOString()},Yw=(e,t,n)=>{let r=Jw(t,n);return Array.from({length:r},()=>H(e)).join(` `)},Xw=(e,t,n)=>{let r=Jw(t,n);return Array.from({length:r},()=>H(e)).join(` `)},dse=(e,t,n)=>{let r=Jw(t,n);return Array.from({length:r},()=>H(e)).join(`
13
+ `)},Zw={$guid:{fn:()=>H(Iw),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:()=>H(Iw),comment:`A random 36-character UUID`},$randomAlphaNumeric:{fn:()=>`abcdefghijklmnopqrstuvwxyz0123456789`[Math.floor(Math.random()*36)]??`a`,comment:`A random alpha-numeric character`},$randomBoolean:{fn:()=>Math.random()<.5?`true`:`false`,comment:`A random boolean value`},$randomInt:{fn:()=>Jw(0,1e3).toString(),comment:`A random integer between 0 and 1000`},$randomColor:{fn:()=>H(Rw),comment:`A random color in hex format`},$randomHexColor:{fn:()=>H(Rw),comment:`A random hex value`},$randomAbbreviation:{fn:()=>H(Oae),comment:`A random abbreviation`},$randomIP:{fn:()=>H(kae),comment:`A random IPv4 address`},$randomIPV6:{fn:()=>H(Aae),comment:`A random IPv6 address`},$randomMACAddress:{fn:()=>H(jae),comment:`A random MAC address`},$randomPassword:{fn:()=>sse(15),comment:`A random 15-character alpha-numeric password`},$randomLocale:{fn:()=>H(Mae),comment:`A random two-letter language code (ISO 639-1)`},$randomUserAgent:{fn:()=>H(Nae),comment:`A random user agent`},$randomProtocol:{fn:()=>H(Pae),comment:`A random internet protocol`},$randomSemver:{fn:()=>H(Fae),comment:`A random semantic version number`},$randomFirstName:{fn:()=>H(zw),comment:`A random first name`},$randomLastName:{fn:()=>H(Bw),comment:`A random last name`},$randomFullName:{fn:()=>`${H(zw)} ${H(Bw)}`,comment:`A random first and last name`},$randomNamePrefix:{fn:()=>H(Iae),comment:`A random name prefix`},$randomNameSuffix:{fn:()=>H(Lae),comment:`A random name suffix`},$randomJobArea:{fn:()=>H(Rae),comment:`A random job area`},$randomJobDescriptor:{fn:()=>H(zae),comment:`A random job descriptor`},$randomJobTitle:{fn:()=>H(Bae),comment:`A random job title`},$randomJobType:{fn:()=>H(Vae),comment:`A random job type`},$randomPhoneNumber:{fn:()=>H(Vw),comment:`A random ten-digit phone number`},$randomPhoneNumberExt:{fn:()=>`${Jw(10,99)}-${H(Vw)}`,comment:`A random phone number prefixed with a two-digit extension (10–99)`},$randomCity:{fn:()=>H(Hae),comment:`A random city name`},$randomStreetName:{fn:()=>H(Uae),comment:`A random street name`},$randomStreetAddress:{fn:()=>H(Wae),comment:`A random street address`},$randomCountry:{fn:()=>H(Gae),comment:`A random country`},$randomCountryCode:{fn:()=>H(Kae),comment:`A random two-letter country code (ISO 3166-1 alpha-2)`},$randomLatitude:{fn:()=>H(qae),comment:`A random latitude coordinate`},$randomLongitude:{fn:()=>H(Jae),comment:`A random longitude coordinate`},$randomAvatarImage:{fn:()=>H(Yae),comment:`A random avatar image`},$randomImageUrl:{fn:()=>H(Xae),comment:`A URL of a random image`},$randomAbstractImage:{fn:()=>H(Zae),comment:`A URL of a random abstract image`},$randomAnimalsImage:{fn:()=>H(Qae),comment:`A URL of a random animal image`},$randomBusinessImage:{fn:()=>H($ae),comment:`A URL of a random stock business image`},$randomCatsImage:{fn:()=>H(eoe),comment:`A URL of a random cat image`},$randomCityImage:{fn:()=>H(toe),comment:`A URL of a random city image`},$randomFoodImage:{fn:()=>H(noe),comment:`A URL of a random food image`},$randomNightlifeImage:{fn:()=>H(roe),comment:`A URL of a random nightlife image`},$randomFashionImage:{fn:()=>H(ioe),comment:`A URL of a random fashion image`},$randomPeopleImage:{fn:()=>H(aoe),comment:`A URL of a random image of a person`},$randomNatureImage:{fn:()=>H(ooe),comment:`A URL of a random nature image`},$randomSportsImage:{fn:()=>H(soe),comment:`A URL of a random sports image`},$randomTransportImage:{fn:()=>H(coe),comment:`A URL of a random transportation image`},$randomImageDataUri:{fn:()=>H(loe),comment:`A random image data URI`},$randomBankAccount:{fn:()=>H(uoe),comment:`A random 8-digit bank account number`},$randomBankAccountName:{fn:()=>H(doe),comment:`A random bank account name`},$randomCreditCardMask:{fn:()=>`**** **** **** ${ose(4)}`,comment:`A random masked credit card number`},$randomBankAccountBic:{fn:()=>H(foe),comment:`A random BIC (Bank Identifier Code)`},$randomBankAccountIban:{fn:()=>H(poe),comment:`A random 15-31 character IBAN (International Bank Account Number)`},$randomTransactionType:{fn:()=>H(moe),comment:`A random transaction type`},$randomCurrencyCode:{fn:()=>H(hoe),comment:`A random 3-letter currency code (ISO-4217)`},$randomCurrencyName:{fn:()=>H(goe),comment:`A random currency name`},$randomCurrencySymbol:{fn:()=>H(_oe),comment:`A random currency symbol`},$randomBitcoin:{fn:()=>H(voe),comment:`A random bitcoin address`},$randomCompanyName:{fn:()=>H(yoe),comment:`A random company name`},$randomCompanySuffix:{fn:()=>H(boe),comment:`A random company suffix`},$randomBs:{fn:()=>H(Uw),comment:`A random phrase of business-speak`},$randomBsAdjective:{fn:()=>H(xoe),comment:`A random business-speak adjective`},$randomBsBuzz:{fn:()=>H(Soe),comment:`A random business-speak buzzword`},$randomBsNoun:{fn:()=>H(Coe),comment:`A random business-speak noun`},$randomCatchPhrase:{fn:()=>H(woe),comment:`A random catchphrase`},$randomCatchPhraseAdjective:{fn:()=>H(Toe),comment:`A random catchphrase adjective`},$randomCatchPhraseDescriptor:{fn:()=>H(Eoe),comment:`A random catchphrase descriptor`},$randomCatchPhraseNoun:{fn:()=>H(Doe),comment:`Randomly generates a catchphrase noun`},$randomDatabaseColumn:{fn:()=>H(Ooe),comment:`A random database column name`},$randomDatabaseType:{fn:()=>H(koe),comment:`A random database type`},$randomDatabaseCollation:{fn:()=>H(Aoe),comment:`A random database collation`},$randomDatabaseEngine:{fn:()=>H(joe),comment:`A random database engine`},$randomDateFuture:{fn:cse,comment:`A random future datetime`},$randomDatePast:{fn:lse,comment:`A random past datetime`},$randomDateRecent:{fn:use,comment:`A random recent datetime`},$randomWeekday:{fn:()=>H(Moe),comment:`A random weekday`},$randomMonth:{fn:()=>H(Noe),comment:`A random month`},$randomDomainName:{fn:()=>H(Poe),comment:`A random domain name`},$randomDomainSuffix:{fn:()=>H(Foe),comment:`A random domain suffix`},$randomDomainWord:{fn:()=>H(Ioe),comment:`A random unqualified domain name`},$randomEmail:{fn:()=>H(Loe),comment:`A random email address`},$randomExampleEmail:{fn:()=>H(Roe),comment:`A random email address from an example domain`},$randomUserName:{fn:()=>H(zoe),comment:`A random username`},$randomUrl:{fn:()=>H(Boe),comment:`A random URL`},$randomFileName:{fn:()=>H(Voe),comment:`A random file name (includes uncommon extensions)`},$randomFileType:{fn:()=>H(Hoe),comment:`A random file type (includes uncommon file types)`},$randomFileExt:{fn:()=>H(Uoe),comment:`A random file extension (includes uncommon extensions)`},$randomCommonFileName:{fn:()=>H(Woe),comment:`A random file name`},$randomCommonFileType:{fn:()=>H(Goe),comment:`A random, common file type`},$randomCommonFileExt:{fn:()=>H(Koe),comment:`A random, common file extension`},$randomFilePath:{fn:()=>H(qoe),comment:`A random file path`},$randomDirectoryPath:{fn:()=>H(Joe),comment:`A random directory path`},$randomMimeType:{fn:()=>H(Yoe),comment:`A random MIME type`},$randomPrice:{fn:()=>(Math.random()*1e3).toFixed(2),comment:`A random price between 0.00 and 1000.00`},$randomProduct:{fn:()=>H(Xoe),comment:`A random product`},$randomProductAdjective:{fn:()=>H(Zoe),comment:`A random product adjective`},$randomProductMaterial:{fn:()=>H(Qoe),comment:`A random product material`},$randomProductName:{fn:()=>H($oe),comment:`A random product name`},$randomDepartment:{fn:()=>H(ese),comment:`A random commerce department`},$randomNoun:{fn:()=>H(tse),comment:`A random noun`},$randomVerb:{fn:()=>H(nse),comment:`A random verb`},$randomIngverb:{fn:()=>H(rse),comment:"A random verb ending in `-ing`"},$randomAdjective:{fn:()=>H(ise),comment:`A random adjective`},$randomWord:{fn:()=>H(Ww),comment:`A random word`},$randomWords:{fn:()=>Yw(Ww,2,5),comment:`Some random words`},$randomPhrase:{fn:()=>H(Uw),comment:`A random phrase`},$randomLoremWord:{fn:()=>H(Gw),comment:`A random word of lorem ipsum text`},$randomLoremWords:{fn:()=>Yw(Gw,3,3),comment:`Some random words of lorem ipsum text`},$randomLoremSentence:{fn:()=>H(Kw),comment:`A random sentence of lorem ipsum text`},$randomLoremSentences:{fn:()=>Xw(Kw,2,6),comment:`A random 2 to 6 sentences of lorem ipsum text`},$randomLoremParagraph:{fn:()=>H(qw),comment:`A random paragraph of lorem ipsum text`},$randomLoremParagraphs:{fn:()=>Xw(qw,3,3),comment:`3 random paragraphs of lorem ipsum text`},$randomLoremText:{fn:()=>Xw(qw,1,3),comment:`A random amount of lorem ipsum text`},$randomLoremSlug:{fn:()=>H(ase),comment:`A random lorem ipsum URL slug`},$randomLoremLines:{fn:()=>dse(Kw,1,5),comment:`1 to 5 random lines of lorem ipsum`}},Qw=e=>Zw[e].comment,fse=[`$guid`,`$timestamp`,`$isoTimestamp`,`$randomUUID`,`$randomEmail`,`$randomInt`,`$randomFirstName`,`$randomLastName`],$w=Object.keys(Zw),eT=e=>Object.hasOwn(Zw,e),pse=[{header:`date`,scalarHeader:tne},{header:`dnt`,scalarHeader:Do},{header:`referer`,scalarHeader:Oo},{header:`user-agent`,scalarHeader:ene}],tT=(e,t)=>{let n=mw(e.value,t);return e.format===`basic`?`Basic ${jw(n)}`:e.format===`bearer`?`Bearer ${n}`:n},nT=e=>t=>eT(t)?Zw[t].fn()??null:e[t]??null,mse=(e,t,n)=>{let r=nT(t),i=new URLSearchParams;e.options?.disableSecurity||e.security.forEach(e=>{if(e.in!==`query`)return;let t=mw(e.name,r);i.append(t,tT(e,r))});let a=Fw(e,{envVariables:r,securityQueryParams:i,allowMissingRequestServerBase:n?.allowMissingRequestServerBase??!0});if(!a.ok)throw Error(a.message??a.error);return Nw(a.data,e.allowedReservedQueryParameters??new Set)},hse=`BUILD_REQUEST_FAILED`,gse=(e,t)=>{let n=vw(()=>_se(e,t));return n.ok?n.data:gw(hse,n.error)},_se=(e,t)=>{let n=nT(t.envVariables),r=new AbortController,i=(()=>{let t=new Headers;return e.headers.forEach((e,r)=>{t.set(mw(r,n),mw(e,n))}),t})(),a=(()=>{if(e.body?.mode===`raw`)return typeof e.body.value==`string`?mw(e.body.value,n):e.body.value;if(e.body?.mode===`formdata`){let t=new FormData;return e.body.value.forEach(e=>{if(e.type===`text`){t.append(mw(e.key,n),mw(e.value,n));return}t.append(mw(e.key,n),e.value)}),t}return e.body?.mode===`urlencoded`?new URLSearchParams(e.body.value.map(e=>[mw(e.key,n),mw(e.value,n)])):null})(),o=new URLSearchParams,s=[];e.options?.disableSecurity||e.security.forEach(e=>{let t=mw(e.name,n),r=tT(e,n);if(e.in===`header`){i.append(t,r);return}if(e.in===`query`){o.append(t,r);return}e.in===`cookie`&&s.push({name:t,value:r,isDisabled:!1})});let c=Fw(e,{envVariables:n,securityQueryParams:o,allowMissingRequestServerBase:t.allowMissingRequestServerBase});if(!c.ok)return gw(c.error,c.message);let l=c.data,u=xw(e.proxyUrl,l),d=Sae({cookies:[...e.cookies,...s].map(e=>({...e,name:mw(e.name,n),value:mw(e.value,n)})),originalCookieHeader:i.get(`cookie`),url:l,useCustomCookieHeader:(u||e.options?.isElectron)??!1});d&&i.set(d.name,d.value),(u||e.options?.isElectron)&&pse.forEach(({header:e,scalarHeader:t})=>{let n=i.get(e);n&&(i.set(t,n),i.delete(e))});let f=Nw(l,e.allowedReservedQueryParameters??new Set);return hw({requestPayload:[u?bw(e.proxyUrl,f):f,{method:e.method.toUpperCase(),headers:i,body:a,cache:e.cache,signal:r.signal}],controller:r,isUsingProxy:u})},rT=(e,t)=>`content`in t?vse(e,Object.keys(t.content??{})[0]??``):`schema`in t?aT(e,t.schema):e,vse=(e,t)=>{if(typeof e==`string`&&t.includes(`json`))try{return JSON.parse(e)}catch{return e}return e},yse=new Set([`array`,`object`]),iT=e=>{let t=L(e);if(!(!t||typeof t!=`object`)){if(`type`in t&&t.type){let e=Array.isArray(t.type)?t.type.find(e=>yse.has(e)):t.type;if(e===`array`||e===`object`)return e}for(let e of[`anyOf`,`oneOf`,`allOf`]){let n=t[e];if(Array.isArray(n))for(let e of n){let t=iT(e);if(t)return t}}}},aT=(e,t)=>{if(typeof e==`string`){let n=iT(t);if(n)try{return JSON.parse(e)}catch{if(n===`array`)return e.split(/,\s?/).filter(e=>e!==``)}}return e},oT=(e,t,n=!0)=>{let r=t?.[`x-disabled`];return typeof r==`boolean`?r:n?!e.required&&e.in!==`path`:!1},sT=e=>e.variables.reduce((e,t)=>(e[t.name]=typeof t.value==`string`?t.value:t.value.default,e),{}),cT=e=>Object.entries(e),lT=e=>e?cT(e?.variables??{}).reduce((e,[t,n])=>(n.default&&(e[t]=n.default),e),{}):{},bse=`*/*`,xse={accept:`Accept`,"content-type":`Content-Type`,"user-agent":`User-Agent`},Sse=e=>xse[e.toLowerCase()]??e,Cse=e=>Object.fromEntries(Object.entries(e).map(([e,t])=>[Sse(e),t])),wse=(e,t)=>{let n=new Set;for(let r of e.parameters??[]){let e=L(r);if(e.in!==`header`)continue;let i=`examples`in e&&e.examples?.[t]?e.examples[t]:void 0;oT(e,i?L(i):void 0)||n.add(e.name.toLowerCase())}return n},uT=(e,t,n,r)=>{let i=r.hideOverriddenHeaders?wse(e,t):null,a=r.hideDisabledHeaders?e[`x-scalar-disable-parameters`]?.[`default-headers`]?.[t]??{}:null;return Object.fromEntries(Object.entries(n).filter(([e])=>{let t=e.toLowerCase();return!(i?.has(t)||a&&a[t]===!0)}))},Tse=(e,t,n)=>uT(e,t,n,{hideOverriddenHeaders:!1,hideDisabledHeaders:!0}),dT=({method:e,operation:t,exampleName:n,hideDisabledHeaders:r=!1,hideOverriddenHeaders:i=!1,options:a={isElectron:!1,appVersion:`0.0.0`}})=>{let o=new Headers,s=L(t.requestBody);if(Eo(e)&&s){let e=s[`x-scalar-selected-content-type`]?.[n]??Object.keys(s.content??{})[0];e&&e!==`none`&&e!==`other`&&o.set(`Content-Type`,e)}let c=Object.keys(t.responses??{}).find(e=>e.startsWith(`2`)),l=c?L(t.responses[c]):null,u=Object.keys(l?.content??{}).join(`, `)||bse;o.set(`Accept`,u),a.isElectron&&a.appVersion&&o.set(`User-Agent`,`Scalar/${a.appVersion}`);let d=Object.fromEntries(o.entries());return i||r?uT(t,n,d,{hideOverriddenHeaders:i,hideDisabledHeaders:r}):d},Ese=new Set([`__proto__`,`prototype`,`constructor`]),fT=(e,t)=>{if(Ese.has(e)){let n=t?`Prototype pollution key detected: "${e}" in ${t}`:`Prototype pollution key detected: "${e}"`;throw Error(n)}},Dse=e=>`type`in e&&(e.type===`object`||Array.isArray(e.type)&&e.type.includes(`object`)),Ose=e=>`type`in e&&(e.type===`array`||Array.isArray(e.type)&&e.type.includes(`array`)),kse=e=>`type`in e&&(e.type===`string`||Array.isArray(e.type)&&e.type.includes(`string`)),Ase=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`)),jse=e=>e!==void 0&&`type`in e,pT=e=>`content`in e&&e.content!==void 0,mT=e=>_c(e)&&`openapi`in e&&typeof e.openapi==`string`,hT=e=>_c(e)&&`asyncapi`in e&&typeof e.asyncapi==`string`,Mse=e=>{if(mT(e))return`openapi`;if(hT(e))return`asyncapi`},gT=e=>e===`asyncapi`?`AsyncAPI`:`OpenAPI`,Nse=(e,t)=>{if(e===null)return{name:null,environment:wx(Ox,{})};let n=e.workspace[`x-scalar-active-environment`];if(!n)return{name:null,environment:wx(Ox,{})};let r=e.workspace[`x-scalar-environments`]?.[n]??{variables:[]},i=(mT(t)?t[`x-scalar-environments`]?.[n]:void 0)??{variables:[]};return{name:n,environment:wx(Ox,{...r,...i,variables:[...r.variables,...i.variables]})}},_T=e=>e&&typeof e==`string`?dS.has(e.toLowerCase()):!1,vT=e=>{if(!(!e||typeof e!=`object`))return L(e,gc)},yT=(e,t)=>{let n=vT(e);if(n)return n[t]},bT=(e,t,n)=>{if(!(!e||typeof e!=`object`)){if(`$ref`in e&&`$ref-value`in e){let r=e[`$ref-value`];if(r){r[t]=n;return}}e[t]=n}},xT=(e,t)=>{if(!(!e||typeof e!=`object`)){if(`$ref`in e&&`$ref-value`in e){let n=e[`$ref-value`];n&&delete n[t]}delete e[t]}},ST=(e,t)=>{let n=vT(e);if(n)for(let[e,r]of Object.entries(n))!_T(e)||r===void 0||t(e,r)},CT=e=>{let t=vT(e);return!t||Object.keys(t).length===0},Pse=(e=[],t=[])=>{let n=t.flatMap(e=>{let t=L(e);return t?`${t.in}:${t.name}`:[]}),r=new Set(n);return[...e.filter(e=>{let t=L(e);return t?!r.has(`${t.in}:${t.name}`):!1}),...t]},Fse=(e,t)=>JSON.stringify(t)===`[{}]`&&e?.length?e.find(e=>JSON.stringify(e)===`{}`)?e:[...e,{}]:t??e??[],wT=e=>Object.keys(e),Ise=(e,t)=>wT(t).flatMap(t=>L(e?.[t])||[]),TT=e=>{let t=e.some(e=>Object.keys(e).length>1);return e.some(e=>Object.keys(e).length===0)&&!t},ET=e=>!e||e.type!==`oauth2`?[]:e[`x-default-scopes`]??[],Lse=(e,t)=>Object.fromEntries(Object.entries(e).map(([e,n])=>{if(Array.isArray(n)&&n.length>0)return[e,[...n]];let r=L(t[e]),i=r?.type===`oauth2`?r[`x-default-scopes`]:void 0;return Array.isArray(i)&&i.length>0?[e,[...i]]:[e,Array.isArray(n)?[...n]:n]})),Rse=(e,t)=>{if(!Array.isArray(e)){let n=L(t[e]);return{[e]:ET(n)}}let n={};for(let r of e)if(Array.isArray(r))for(let e of r)n[e]=ET(L(t[e]));else n[r]=ET(L(t[r]));return n},DT=(e,t,n=[],r={},i)=>{if(t)return t;if(e)return e;if(TT(n)&&!i)return{selectedIndex:-1,selectedSchemes:[]};if(i)return{selectedIndex:0,selectedSchemes:[Rse(i,r)]};let a=n[0];return a?{selectedIndex:0,selectedSchemes:[Lse(a,r)]}:{selectedIndex:-1,selectedSchemes:[]}},OT=(e,t=new WeakMap)=>{if(typeof e!=`object`||!e)return e;if(t.has(e))return t.get(e);let n=Array.isArray(e)?[]:{};return t.set(e,n),Object.keys(e).forEach(r=>{n[r]=OT(e[r],t)}),n},kT=(e,t,n=!1,r=new Set)=>{for(let i in t)if(!(i in e))e[i]=t[i];else{let a=e[i],o=t[i];if(typeof a==`object`&&a&&typeof o==`object`&&o&&!(n&&(Array.isArray(a)||Array.isArray(o)))){let e=Nc(a),t=Nc(o);if(r.has(e)||r.has(t))continue;r.add(e),r.add(t),kT(a,o,n,r)}else try{e[i]=o}catch(e){console.warn(`Issue setting ${i} on object`),console.warn(e)}}return e},AT={"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`},jT=(e,t,n={},r)=>Object.fromEntries(e.map(e=>{let i=typeof n[e]==`string`?n[e]:void 0,a=typeof t[e]==`string`?t[e]:void 0,o=typeof t[AT[e]]==`string`?t[AT[e]]:void 0;return[e,e===`x-scalar-secret-redirect-uri`?i??a??o??r??``:i||a||o||``]})),MT=(e={})=>{let t=e[`x-scalar-secret-refresh-token`];return typeof t==`string`?{"x-scalar-secret-refresh-token":t}:{}},NT=(e,t={})=>{let n=t[`x-scalar-credentials-location`]??e[`x-scalar-credentials-location`];return n?{"x-scalar-credentials-location":n}:{}},PT=(e,t,n)=>{let r=new Set;return{flows:cT(e??{}).reduce((e,[i,a])=>{if(!_c(a))return e;let o=a.selectedScopes;return Array.isArray(o)&&o.forEach(e=>typeof e==`string`&&r.add(e)),i===`implicit`&&(e.implicit={...a,...jT([`x-scalar-secret-client-id`,`x-scalar-secret-redirect-uri`,`x-scalar-secret-token`,`x-scalar-secret-auth-url`],a,t?.implicit,n),...MT(t?.implicit)}),i===`password`&&(e[i]={...a,...jT([`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`],a,t?.password),...NT(a,t?.password),...MT(t?.password)}),i===`clientCredentials`&&(e[i]={...a,...jT([`x-scalar-secret-client-id`,`x-scalar-secret-client-secret`,`x-scalar-secret-token`,`x-scalar-secret-token-url`],a,t?.clientCredentials),...NT(a,t?.clientCredentials),...MT(t?.clientCredentials)}),i===`authorizationCode`&&(e[i]={...a,...jT([`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`],a,t?.authorizationCode,n),...NT(a,t?.authorizationCode),...MT(t?.authorizationCode)}),e},{}),selectedScopes:Array.from(r)}},zse=(e,t,n,r,i)=>{let a=t.getAuthSecrets(r,n);if(e.type===`apiKey`){let t=a?.type===`apiKey`?a:void 0;return{...e,"x-scalar-secret-token":t?.[`x-scalar-secret-token`]||e.value||``}}if(e.type===`http`){let t=a?.type===`http`?a:void 0;return{...e,"x-scalar-secret-token":t?.[`x-scalar-secret-token`]||e.token||``,"x-scalar-secret-username":t?.[`x-scalar-secret-username`]||e.username||``,"x-scalar-secret-password":t?.[`x-scalar-secret-password`]||e.password||``}}if(e.type===`oauth2`){let t=a?.type===`oauth2`?a:void 0,n=PT(e.flows,t,i),r=Array.isArray(e[`x-default-scopes`])?e[`x-default-scopes`].filter(e=>typeof e==`string`):[],o=Array.from(new Set([...r,...n.selectedScopes]));return{...e,flows:n.flows,"x-default-scopes":o}}if(e.type===`openIdConnect`){let t=a?.type===`openIdConnect`?a:void 0,n=PT({implicit:t?.implicit,password:t?.password,clientCredentials:t?.clientCredentials,authorizationCode:t?.authorizationCode},t,i);return{...e,...cT(n.flows).length?{flows:n.flows}:{}}}return e},FT=e=>{let t=L(e);return!!t&&typeof t==`object`&&`availableScopes`in t},Bse=e=>{let t=L(e);if(!t||typeof t!=`object`)return e;let n=Object.entries(t);return n.some(([,e])=>FT(e))?Object.fromEntries(n.map(([e,t])=>{if(!FT(t))return[e,t];let{availableScopes:n,scopes:r,...i}=L(t);return[e,{...i,scopes:r??n??{}}]})):e},Vse=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){let t=Bse(e.flows);if(t!==e.flows)return{...e,flows:t}}return e},Hse=(e={},t={},n,r,i)=>cT(kT(cT(e).reduce((e,[t,n])=>{let r=OT(L(n));return r&&(e[t]=r),e},{}),t)??{}).reduce((e,[t,a])=>{let o=Vse(a);return e[t]=zse({...wx(Yie,o),...o},n,t,r,i),e},{});function Use(e,t={}){return Array.isArray(e)?e.map(e=>qse(e,t)):[]}function Wse(e){try{let t=new URL(e),n=t.port?`:${t.port}`:``;return`${t.protocol}//${t.hostname}${n}`}catch{return}}function Gse(){if(!(typeof window>`u`||typeof window?.location?.origin!=`string`))return window.location.origin}function Kse(e,t){let{baseServerUrl:n,documentUrl:r}=t;if(n)return yo(n,e);if(r){let t=Wse(r);if(t)return yo(t,e)}let i=Gse();return i?yo(i,e):e}function qse(e,t){return e.url?.startsWith(`/`)&&(e.url=Kse(e.url,t)),e}var Jse=(e,t,n,r)=>{let i=mT(e)?e[`x-scalar-selected-server`]:void 0,a=n==null?t?.[`x-scalar-selected-server`]??i:i;return a==null?r[0]??null:r.find(({url:e})=>e===a)??null},IT=(e,t)=>{let n=e.__vccOpts||e;for(let[e,r]of t)n[e]=r;return n},LT=Object.defineProperty,U=(e,t)=>{let n={};for(var r in e)LT(n,r,{get:e[r],enumerable:!0});return t||LT(n,Symbol.toStringTag,{value:`Module`}),n},Yse=U({default:()=>Zse,render:()=>RT}),Xse={xmlns:`http://www.w3.org/2000/svg`,fill:`none`,viewBox:`0 0 24 24`};function RT(e,t){return y(),M(`svg`,Xse,[...t[0]||=[N(`path`,{stroke:`currentColor`,"stroke-linecap":`round`,"stroke-linejoin":`round`,d:`M5 11.988h14M12.006 5v14`},null,-1)]])}var Zse={render:RT},Qse=U({default:()=>ece,render:()=>zT}),$se={xmlns:`http://www.w3.org/2000/svg`,fill:`none`,viewBox:`0 0 24 24`};function zT(e,t){return y(),M(`svg`,$se,[...t[0]||=[N(`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 ece={render:zT},tce=U({default:()=>rce,render:()=>BT}),nce={xmlns:`http://www.w3.org/2000/svg`,fill:`none`,viewBox:`0 0 24 24`};function BT(e,t){return y(),M(`svg`,nce,[...t[0]||=[N(`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 rce={render:BT},ice=U({default:()=>oce,render:()=>VT}),ace={xmlns:`http://www.w3.org/2000/svg`,viewBox:`0 0 24 24`};function VT(e,t){return y(),M(`svg`,ace,[...t[0]||=[N(`path`,{fill:`none`,stroke:`currentColor`,"stroke-linecap":`round`,"stroke-linejoin":`round`,d:`M22 12H2m9.3-9.3L2 12l9.3 9.3`},null,-1)]])}var oce={render:VT},sce=U({default:()=>lce,render:()=>HT}),cce={xmlns:`http://www.w3.org/2000/svg`,viewBox:`0 0 24 24`};function HT(e,t){return y(),M(`svg`,cce,[...t[0]||=[N(`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 lce={render:HT},uce=U({default:()=>fce,render:()=>UT}),dce={xmlns:`http://www.w3.org/2000/svg`,fill:`none`,viewBox:`0 0 24 24`};function UT(e,t){return y(),M(`svg`,dce,[...t[0]||=[N(`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 fce={render:UT},pce=U({default:()=>hce,render:()=>WT}),mce={xmlns:`http://www.w3.org/2000/svg`,fill:`none`,stroke:`currentColor`,"stroke-linecap":`round`,"stroke-linejoin":`round`,viewBox:`0 0 24 24`};function WT(e,t){return y(),M(`svg`,mce,[...t[0]||=[N(`path`,{d:`M16.4 6.8v5.6H7.6m0-5.6v10.4`},null,-1),N(`circle`,{cx:`7.6`,cy:`4.4`,r:`2.4`},null,-1),N(`circle`,{cx:`7.6`,cy:`19.6`,r:`2.4`},null,-1),N(`circle`,{cx:`16.4`,cy:`4.4`,r:`2.4`},null,-1)]])}var hce={render:WT},gce=U({default:()=>vce,render:()=>GT}),_ce={xmlns:`http://www.w3.org/2000/svg`,fill:`none`,stroke:`currentColor`,"stroke-linecap":`round`,"stroke-linejoin":`round`,viewBox:`0 0 24 24`};function GT(e,t){return y(),M(`svg`,_ce,[...t[0]||=[N(`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),N(`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),N(`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 vce={render:GT},yce=U({default:()=>xce,render:()=>KT}),bce={xmlns:`http://www.w3.org/2000/svg`,viewBox:`0 0 24 24`};function KT(e,t){return y(),M(`svg`,bce,[...t[0]||=[N(`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 xce={render:KT},Sce=U({default:()=>JT,render:()=>qT}),Cce={xmlns:`http://www.w3.org/2000/svg`,fill:`none`,viewBox:`0 0 24 24`};function qT(e,t){return y(),M(`svg`,Cce,[...t[0]||=[N(`path`,{stroke:`currentColor`,"stroke-linecap":`round`,"stroke-linejoin":`round`,d:`m18 10-6 6-6-6`},null,-1)]])}var JT={render:qT},YT=U({default:()=>QT,render:()=>ZT}),XT={xmlns:`http://www.w3.org/2000/svg`,fill:`none`,viewBox:`0 0 24 24`};function ZT(e,t){return y(),M(`svg`,XT,[...t[0]||=[N(`path`,{stroke:`currentColor`,"stroke-linecap":`round`,"stroke-linejoin":`round`,d:`m14 18-6-6 6-6`},null,-1)]])}var QT={render:ZT},$T=U({default:()=>nE,render:()=>tE}),eE={xmlns:`http://www.w3.org/2000/svg`,fill:`none`,viewBox:`0 0 24 24`};function tE(e,t){return y(),M(`svg`,eE,[...t[0]||=[N(`path`,{stroke:`currentColor`,"stroke-linecap":`round`,"stroke-linejoin":`round`,d:`m9 18 6-6-6-6`},null,-1)]])}var nE={render:tE},rE=U({default:()=>oE,render:()=>aE}),iE={xmlns:`http://www.w3.org/2000/svg`,fill:`none`,viewBox:`0 0 24 24`};function aE(e,t){return y(),M(`svg`,iE,[...t[0]||=[N(`path`,{stroke:`currentColor`,"stroke-linecap":`round`,"stroke-linejoin":`round`,d:`m18 15-6-6-6 6`},null,-1)]])}var oE={render:aE},sE=U({default:()=>uE,render:()=>lE}),cE={xmlns:`http://www.w3.org/2000/svg`,fill:`none`,viewBox:`0 0 24 24`};function lE(e,t){return y(),M(`svg`,cE,[...t[0]||=[N(`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 uE={render:lE},dE=U({default:()=>mE,render:()=>pE}),fE={xmlns:`http://www.w3.org/2000/svg`,fill:`none`,viewBox:`0 0 24 24`};function pE(e,t){return y(),M(`svg`,fE,[...t[0]||=[N(`path`,{stroke:`currentColor`,"stroke-linecap":`round`,"stroke-linejoin":`round`,d:`M18 6 6 18M6 6l12 12`},null,-1)]])}var mE={render:pE},hE=U({default:()=>vE,render:()=>_E}),gE={xmlns:`http://www.w3.org/2000/svg`,fill:`none`,viewBox:`0 0 24 24`};function _E(e,t){return y(),M(`svg`,gE,[...t[0]||=[N(`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)]])}var vE={render:_E},yE=U({default:()=>SE,render:()=>xE}),bE={xmlns:`http://www.w3.org/2000/svg`,fill:`none`,viewBox:`0 0 24 24`};function xE(e,t){return y(),M(`svg`,bE,[...t[0]||=[N(`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 SE={render:xE},CE=U({default:()=>EE,render:()=>TE}),wE={xmlns:`http://www.w3.org/2000/svg`,fill:`none`,stroke:`currentColor`,"stroke-linecap":`round`,"stroke-linejoin":`round`,viewBox:`0 0 24 24`};function TE(e,t){return y(),M(`svg`,wE,[...t[0]||=[N(`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 EE={render:TE},DE=U({default:()=>AE,render:()=>kE}),OE={xmlns:`http://www.w3.org/2000/svg`,viewBox:`0 0 24 24`};function kE(e,t){return y(),M(`svg`,OE,[...t[0]||=[N(`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),N(`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 AE={render:kE},jE=U({default:()=>PE,render:()=>NE}),ME={xmlns:`http://www.w3.org/2000/svg`,fill:`none`,stroke:`currentColor`,"stroke-linecap":`round`,"stroke-linejoin":`round`,viewBox:`0 0 24 24`};function NE(e,t){return y(),M(`svg`,ME,[...t[0]||=[N(`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),N(`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 PE={render:NE},FE=U({default:()=>RE,render:()=>LE}),IE={xmlns:`http://www.w3.org/2000/svg`,fill:`none`,viewBox:`0 0 24 24`};function LE(e,t){return y(),M(`svg`,IE,[...t[0]||=[N(`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 RE={render:LE},zE=U({default:()=>HE,render:()=>VE}),BE={xmlns:`http://www.w3.org/2000/svg`,fill:`none`,viewBox:`0 0 24 24`};function VE(e,t){return y(),M(`svg`,BE,[...t[0]||=[N(`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),N(`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 HE={render:VE},UE=U({default:()=>KE,render:()=>GE}),WE={xmlns:`http://www.w3.org/2000/svg`,fill:`none`,stroke:`currentColor`,"stroke-linecap":`round`,"stroke-linejoin":`round`,viewBox:`0 0 24 24`};function GE(e,t){return y(),M(`svg`,WE,[...t[0]||=[N(`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 KE={render:GE},qE=U({default:()=>XE,render:()=>YE}),JE={xmlns:`http://www.w3.org/2000/svg`,fill:`none`,viewBox:`0 0 24 24`};function YE(e,t){return y(),M(`svg`,JE,[...t[0]||=[N(`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-2h4c1 0 2 1 2 2v2m-6 5v6m4-6v6`},null,-1)]])}var XE={render:YE},ZE=U({default:()=>eD,render:()=>$E}),QE={xmlns:`http://www.w3.org/2000/svg`,fill:`none`,stroke:`currentColor`,"stroke-linecap":`round`,"stroke-linejoin":`round`,viewBox:`0 0 24 24`};function $E(e,t){return y(),M(`svg`,QE,[...t[0]||=[N(`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),N(`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 eD={render:$E},tD=U({default:()=>iD,render:()=>rD}),nD={xmlns:`http://www.w3.org/2000/svg`,viewBox:`0 0 24 24`};function rD(e,t){return y(),M(`svg`,nD,[...t[0]||=[N(`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),N(`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 iD={render:rD},aD=U({default:()=>cD,render:()=>sD}),oD={xmlns:`http://www.w3.org/2000/svg`,fill:`none`,stroke:`currentColor`,"stroke-linecap":`round`,"stroke-linejoin":`round`,viewBox:`0 0 24 24`};function sD(e,t){return y(),M(`svg`,oD,[...t[0]||=[N(`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 cD={render:sD},lD=U({default:()=>fD,render:()=>dD}),uD={xmlns:`http://www.w3.org/2000/svg`,fill:`none`,viewBox:`0 0 24 24`};function dD(e,t){return y(),M(`svg`,uD,[...t[0]||=[N(`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),N(`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 fD={render:dD},pD=U({default:()=>gD,render:()=>hD}),mD={xmlns:`http://www.w3.org/2000/svg`,fill:`none`,viewBox:`0 0 24 24`};function hD(e,t){return y(),M(`svg`,mD,[...t[0]||=[N(`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 gD={render:hD},_D=U({default:()=>bD,render:()=>yD}),vD={xmlns:`http://www.w3.org/2000/svg`,fill:`none`,stroke:`currentColor`,"stroke-linecap":`round`,"stroke-linejoin":`round`,viewBox:`0 0 24 24`};function yD(e,t){return y(),M(`svg`,vD,[...t[0]||=[N(`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 bD={render:yD},xD=U({default:()=>wD,render:()=>CD}),SD={xmlns:`http://www.w3.org/2000/svg`,fill:`none`,stroke:`currentColor`,"stroke-linecap":`round`,"stroke-linejoin":`round`,viewBox:`0 0 24 24`};function CD(e,t){return y(),M(`svg`,SD,[...t[0]||=[N(`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),N(`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 wD={render:CD},TD=U({default:()=>OD,render:()=>DD}),ED={xmlns:`http://www.w3.org/2000/svg`,fill:`none`,stroke:`currentColor`,"stroke-linecap":`round`,"stroke-linejoin":`round`,viewBox:`0 0 24 24`};function DD(e,t){return y(),M(`svg`,ED,[...t[0]||=[N(`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),N(`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 OD={render:DD},kD=U({default:()=>MD,render:()=>jD}),AD={xmlns:`http://www.w3.org/2000/svg`,fill:`none`,viewBox:`0 0 24 24`};function jD(e,t){return y(),M(`svg`,AD,[...t[0]||=[N(`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 MD={render:jD},ND=U({default:()=>ID,render:()=>FD}),PD={xmlns:`http://www.w3.org/2000/svg`,fill:`none`,viewBox:`0 0 24 24`};function FD(e,t){return y(),M(`svg`,PD,[...t[0]||=[N(`path`,{stroke:`currentColor`,"stroke-linecap":`round`,"stroke-linejoin":`round`,d:`M6.4 4H20v13.59M4 20 20 4`},null,-1)]])}var ID={render:FD},LD=U({default:()=>BD,render:()=>zD}),RD={xmlns:`http://www.w3.org/2000/svg`,fill:`none`,viewBox:`0 0 24 24`};function zD(e,t){return y(),M(`svg`,RD,[...t[0]||=[N(`path`,{stroke:`currentColor`,"stroke-linecap":`round`,"stroke-linejoin":`round`,d:`M4 6h16M7.556 12h8.888m-6.222 6h3.556`},null,-1)]])}var BD={render:zD},VD=U({default:()=>WD,render:()=>UD}),HD={xmlns:`http://www.w3.org/2000/svg`,fill:`none`,viewBox:`0 0 24 24`};function UD(e,t){return y(),M(`svg`,HD,[...t[0]||=[N(`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 WD={render:UD},GD=U({default:()=>JD,render:()=>qD}),KD={xmlns:`http://www.w3.org/2000/svg`,fill:`currentColor`,viewBox:`0 0 1024 1024`};function qD(e,t){return y(),M(`svg`,KD,[...t[0]||=[N(`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 JD={render:qD},YD=U({default:()=>QD,render:()=>ZD}),XD={xmlns:`http://www.w3.org/2000/svg`,fill:`none`,stroke:`currentColor`,"stroke-linecap":`round`,"stroke-linejoin":`round`,viewBox:`0 0 24 24`};function ZD(e,t){return y(),M(`svg`,XD,[...t[0]||=[N(`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 QD={render:ZD},$D=U({default:()=>nO,render:()=>tO}),eO={xmlns:`http://www.w3.org/2000/svg`,fill:`none`,viewBox:`0 0 24 24`};function tO(e,t){return y(),M(`svg`,eO,[...t[0]||=[N(`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 nO={render:tO},rO=U({default:()=>oO,render:()=>aO}),iO={xmlns:`http://www.w3.org/2000/svg`,fill:`currentColor`,viewBox:`0 0 24 24`};function aO(e,t){return y(),M(`svg`,iO,[...t[0]||=[N(`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 oO={render:aO},sO=U({default:()=>uO,render:()=>lO}),cO={xmlns:`http://www.w3.org/2000/svg`,fill:`none`,stroke:`currentColor`,"stroke-linecap":`round`,"stroke-linejoin":`round`,viewBox:`0 0 24 24`};function lO(e,t){return y(),M(`svg`,cO,[...t[0]||=[N(`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),N(`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 uO={render:lO},dO=U({default:()=>mO,render:()=>pO}),fO={xmlns:`http://www.w3.org/2000/svg`,fill:`none`,viewBox:`0 0 24 24`};function pO(e,t){return y(),M(`svg`,fO,[...t[0]||=[N(`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 mO={render:pO},hO=U({default:()=>vO,render:()=>_O}),gO={xmlns:`http://www.w3.org/2000/svg`,fill:`none`,stroke:`currentColor`,"stroke-linecap":`round`,"stroke-linejoin":`round`,viewBox:`0 0 24 24`};function _O(e,t){return y(),M(`svg`,gO,[...t[0]||=[N(`path`,{d:`M12.9 6.8v6.1h4.7`},null,-1),N(`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 vO={render:_O},yO=U({default:()=>SO,render:()=>xO}),bO={xmlns:`http://www.w3.org/2000/svg`,fill:`none`,stroke:`currentColor`,"stroke-linecap":`round`,"stroke-linejoin":`round`,viewBox:`0 0 24 24`};function xO(e,t){return y(),M(`svg`,bO,[...t[0]||=[N(`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 SO={render:xO},CO=U({default:()=>EO,render:()=>TO}),wO={xmlns:`http://www.w3.org/2000/svg`,fill:`none`,stroke:`currentColor`,"stroke-linecap":`round`,"stroke-linejoin":`round`,viewBox:`0 0 24 24`};function TO(e,t){return y(),M(`svg`,wO,[...t[0]||=[N(`path`,{d:`M12 10.67v7.98M14.66 16 12 18.64 9.34 16`},null,-1),N(`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),N(`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 EO={render:TO},DO=U({default:()=>AO,render:()=>kO}),OO={xmlns:`http://www.w3.org/2000/svg`,fill:`none`,viewBox:`0 0 24 24`};function kO(e,t){return y(),M(`svg`,OO,[...t[0]||=[N(`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),N(`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),N(`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 AO={render:kO},jO=U({default:()=>PO,render:()=>NO}),MO={xmlns:`http://www.w3.org/2000/svg`,fill:`none`,stroke:`currentColor`,"stroke-linecap":`round`,"stroke-linejoin":`round`,viewBox:`0 0 24 24`};function NO(e,t){return y(),M(`svg`,MO,[...t[0]||=[N(`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),N(`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 PO={render:NO},FO=U({default:()=>RO,render:()=>LO}),IO={xmlns:`http://www.w3.org/2000/svg`,fill:`none`,stroke:`currentColor`,"stroke-linecap":`round`,"stroke-linejoin":`round`,viewBox:`0 0 24 24`};function LO(e,t){return y(),M(`svg`,IO,[...t[0]||=[N(`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 RO={render:LO},zO=U({default:()=>HO,render:()=>VO}),BO={xmlns:`http://www.w3.org/2000/svg`,fill:`none`,viewBox:`0 0 24 24`};function VO(e,t){return y(),M(`svg`,BO,[...t[0]||=[N(`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.01M4.93 4.93l3.22 3.22`},null,-1)]])}var HO={render:VO},UO=U({default:()=>KO,render:()=>GO}),WO={xmlns:`http://www.w3.org/2000/svg`,viewBox:`0 0 24 24`};function GO(e,t){return y(),M(`svg`,WO,[...t[0]||=[N(`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 KO={render:GO},qO=U({default:()=>XO,render:()=>YO}),JO={xmlns:`http://www.w3.org/2000/svg`,fill:`none`,stroke:`currentColor`,"stroke-linecap":`round`,"stroke-linejoin":`round`,viewBox:`0 0 24 24`};function YO(e,t){return y(),M(`svg`,JO,[...t[0]||=[N(`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 XO={render:YO},ZO=U({default:()=>ek,render:()=>$O}),QO={xmlns:`http://www.w3.org/2000/svg`,fill:`none`,stroke:`currentColor`,"stroke-linecap":`round`,"stroke-linejoin":`round`,viewBox:`0 0 24 24`};function $O(e,t){return y(),M(`svg`,QO,[...t[0]||=[N(`path`,{d:`M12 17a1 1 0 1 0 0-2 1 1 0 0 0 0 2`},null,-1),N(`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 ek={render:$O},tk=U({default:()=>ik,render:()=>rk}),nk={xmlns:`http://www.w3.org/2000/svg`,fill:`currentColor`,viewBox:`0 0 593 593`};function rk(e,t){return y(),M(`svg`,nk,[...t[0]||=[N(`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 ik={render:rk},ak=U({default:()=>ck,render:()=>sk}),ok={xmlns:`http://www.w3.org/2000/svg`,viewBox:`0 0 24 24`};function sk(e,t){return y(),M(`svg`,ok,[...t[0]||=[N(`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 ck={render:sk},lk=U({default:()=>fk,render:()=>dk}),uk={xmlns:`http://www.w3.org/2000/svg`,fill:`none`,viewBox:`0 0 24 24`};function dk(e,t){return y(),M(`svg`,uk,[...t[0]||=[N(`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 fk={render:dk},pk=U({default:()=>gk,render:()=>hk}),mk={xmlns:`http://www.w3.org/2000/svg`,viewBox:`0 0 24 24`};function hk(e,t){return y(),M(`svg`,mk,[...t[0]||=[N(`path`,{fill:`none`,stroke:`currentColor`,"stroke-linecap":`round`,"stroke-linejoin":`round`,d:`M22 6.8H2m20 10.4H2`},null,-1)]])}var gk={render:hk},_k=U({default:()=>bk,render:()=>yk}),vk={xmlns:`http://www.w3.org/2000/svg`,fill:`none`,viewBox:`0 0 24 24`};function yk(e,t){return y(),M(`svg`,vk,[...t[0]||=[N(`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 bk={render:yk},xk=U({default:()=>wk,render:()=>Ck}),Sk={xmlns:`http://www.w3.org/2000/svg`,fill:`none`,stroke:`currentColor`,"stroke-linecap":`round`,"stroke-linejoin":`round`,viewBox:`0 0 24 24`};function Ck(e,t){return y(),M(`svg`,Sk,[...t[0]||=[N(`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),N(`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 wk={render:Ck},Tk=U({default:()=>Ok,render:()=>Dk}),Ek={xmlns:`http://www.w3.org/2000/svg`,fill:`none`,stroke:`currentColor`,"stroke-linecap":`round`,"stroke-linejoin":`round`,viewBox:`0 0 24 24`};function Dk(e,t){return y(),M(`svg`,Ek,[...t[0]||=[N(`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 Ok={render:Dk},kk=U({default:()=>Mk,render:()=>jk}),Ak={xmlns:`http://www.w3.org/2000/svg`,fill:`none`,stroke:`currentColor`,"stroke-linecap":`round`,"stroke-linejoin":`round`,viewBox:`0 0 24 24`};function jk(e,t){return y(),M(`svg`,Ak,[...t[0]||=[N(`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 Mk={render:jk},Nk=U({default:()=>Ik,render:()=>Fk}),Pk={xmlns:`http://www.w3.org/2000/svg`,viewBox:`0 0 24 24`};function Fk(e,t){return y(),M(`svg`,Pk,[...t[0]||=[N(`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 Ik={render:Fk},Lk=U({default:()=>Bk,render:()=>zk}),Rk={xmlns:`http://www.w3.org/2000/svg`,fill:`none`,stroke:`currentColor`,"stroke-linecap":`round`,"stroke-linejoin":`round`,viewBox:`0 0 24 24`};function zk(e,t){return y(),M(`svg`,Rk,[...t[0]||=[N(`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 Bk={render:zk},Vk=U({default:()=>Wk,render:()=>Uk}),Hk={xmlns:`http://www.w3.org/2000/svg`,fill:`none`,viewBox:`0 0 24 24`};function Uk(e,t){return y(),M(`svg`,Hk,[...t[0]||=[N(`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 Wk={render:Uk},Gk=U({default:()=>Jk,render:()=>qk}),Kk={xmlns:`http://www.w3.org/2000/svg`,fill:`none`,viewBox:`0 0 24 24`};function qk(e,t){return y(),M(`svg`,Kk,[...t[0]||=[N(`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 Jk={render:qk},Yk=U({default:()=>Qk,render:()=>Zk}),Xk={xmlns:`http://www.w3.org/2000/svg`,fill:`none`,viewBox:`0 0 24 24`};function Zk(e,t){return y(),M(`svg`,Xk,[...t[0]||=[N(`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),N(`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),N(`path`,{stroke:`currentColor`,"stroke-linecap":`round`,"stroke-linejoin":`round`,d:`M6 8h4m-4 8h4`},null,-1)]])}var Qk={render:Zk},$k=U({default:()=>nA,render:()=>tA}),eA={xmlns:`http://www.w3.org/2000/svg`,fill:`none`,viewBox:`0 0 24 24`};function tA(e,t){return y(),M(`svg`,eA,[...t[0]||=[N(`path`,{stroke:`currentColor`,"stroke-linecap":`round`,"stroke-linejoin":`round`,d:`M20 7H9m0 0a2 2 0 1 1-4 0 2 2 0 0 1 4 0m7 10H5m11 0a2 2 0 1 0 4 0 2 2 0 0 0-4 0`},null,-1)]])}var nA={render:tA},rA=U({default:()=>oA,render:()=>aA}),iA={xmlns:`http://www.w3.org/2000/svg`,fill:`none`,viewBox:`0 0 24 24`};function aA(e,t){return y(),M(`svg`,iA,[...t[0]||=[N(`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),N(`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 oA={render:aA},sA=U({default:()=>uA,render:()=>lA}),cA={xmlns:`http://www.w3.org/2000/svg`,viewBox:`0 0 24 24`};function lA(e,t){return y(),M(`svg`,cA,[...t[0]||=[N(`path`,{fill:`none`,stroke:`currentColor`,"stroke-linecap":`round`,"stroke-linejoin":`round`,d:`M2 5.4h20M2 12h20M2 18.6h13.3`},null,-1)]])}var uA={render:lA},dA=U({default:()=>mA,render:()=>pA}),fA={xmlns:`http://www.w3.org/2000/svg`,viewBox:`0 0 24 24`};function pA(e,t){return y(),M(`svg`,fA,[...t[0]||=[N(`path`,{fill:`none`,stroke:`currentColor`,"stroke-linecap":`round`,"stroke-linejoin":`round`,d:`M13 15h5M6 9l4 3-4 3`},null,-1),N(`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 mA={render:pA},hA=U({default:()=>vA,render:()=>_A}),gA={xmlns:`http://www.w3.org/2000/svg`,fill:`none`,viewBox:`0 0 24 24`};function _A(e,t){return y(),M(`svg`,gA,[...t[0]||=[N(`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 vA={render:_A},yA=U({default:()=>SA,render:()=>xA}),bA={xmlns:`http://www.w3.org/2000/svg`,fill:`none`,stroke:`currentColor`,"stroke-linecap":`round`,"stroke-linejoin":`round`,viewBox:`0 0 24 24`};function xA(e,t){return y(),M(`svg`,bA,[...t[0]||=[N(`path`,{d:`M12 17a1 1 0 1 0 0-2 1 1 0 0 0 0 2`},null,-1),N(`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 SA={render:xA},CA=U({default:()=>EA,render:()=>TA}),wA={xmlns:`http://www.w3.org/2000/svg`,fill:`none`,viewBox:`0 0 24 24`};function TA(e,t){return y(),M(`svg`,wA,[...t[0]||=[N(`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 EA={render:TA},DA=U({default:()=>AA,render:()=>kA}),OA={xmlns:`http://www.w3.org/2000/svg`,fill:`none`,viewBox:`0 0 24 24`};function kA(e,t){return y(),M(`svg`,OA,[...t[0]||=[N(`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 AA={render:kA},jA=U({default:()=>PA,render:()=>NA}),MA={xmlns:`http://www.w3.org/2000/svg`,fill:`none`,stroke:`currentColor`,"stroke-linecap":`round`,"stroke-linejoin":`round`,viewBox:`0 0 24 24`};function NA(e,t){return y(),M(`svg`,MA,[...t[0]||=[N(`path`,{d:`M3.5 22.2c.3-4.5 4-8 8.5-8s8.2 3.5 8.5 8z`},null,-1),N(`circle`,{cx:`12`,cy:`6.2`,r:`4.5`},null,-1)]])}var PA={render:NA},FA=U({default:()=>RA,render:()=>LA}),IA={xmlns:`http://www.w3.org/2000/svg`,fill:`none`,stroke:`currentColor`,"stroke-linecap":`round`,"stroke-linejoin":`round`,viewBox:`0 0 24 24`};function LA(e,t){return y(),M(`svg`,IA,[...t[0]||=[N(`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),N(`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 RA={render:LA},zA=U({default:()=>HA,render:()=>VA}),BA={xmlns:`http://www.w3.org/2000/svg`,fill:`none`,stroke:`currentColor`,"stroke-linecap":`round`,"stroke-linejoin":`round`,viewBox:`0 0 24 24`};function VA(e,t){return y(),M(`svg`,BA,[...t[0]||=[N(`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 HA={render:VA},UA=U({default:()=>KA,render:()=>GA}),WA={xmlns:`http://www.w3.org/2000/svg`,fill:`none`,viewBox:`0 0 24 24`};function GA(e,t){return y(),M(`svg`,WA,[...t[0]||=[N(`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 KA={render:GA},qA=U({default:()=>XA,render:()=>YA}),JA={xmlns:`http://www.w3.org/2000/svg`,fill:`none`,stroke:`currentColor`,"stroke-linecap":`round`,"stroke-linejoin":`round`,viewBox:`0 0 24 24`};function YA(e,t){return y(),M(`svg`,JA,[...t[0]||=[N(`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),N(`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 XA={render:YA},ZA=U({default:()=>ej,render:()=>$A}),QA={xmlns:`http://www.w3.org/2000/svg`,fill:`none`,viewBox:`0 0 24 24`};function $A(e,t){return y(),M(`svg`,QA,[...t[0]||=[N(`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 0 0 1 4 0`},null,-1)]])}var ej={render:$A},tj=U({default:()=>ij,render:()=>rj}),nj={xmlns:`http://www.w3.org/2000/svg`,fill:`none`,stroke:`currentColor`,"stroke-linecap":`round`,"stroke-linejoin":`round`,viewBox:`0 0 24 24`};function rj(e,t){return y(),M(`svg`,nj,[...t[0]||=[N(`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 ij={render:rj},aj=U({default:()=>cj,render:()=>sj}),oj={xmlns:`http://www.w3.org/2000/svg`,fill:`currentColor`,viewBox:`0 0 24 24`};function sj(e,t){return y(),M(`svg`,oj,[...t[0]||=[N(`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 cj={render:sj},lj=U({default:()=>fj,render:()=>dj}),uj={xmlns:`http://www.w3.org/2000/svg`,fill:`currentColor`,viewBox:`0 0 24 24`};function dj(e,t){return y(),M(`svg`,uj,[...t[0]||=[N(`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 fj={render:dj},pj=U({default:()=>gj,render:()=>hj}),mj={xmlns:`http://www.w3.org/2000/svg`,fill:`none`,viewBox:`0 0 24 24`};function hj(e,t){return y(),M(`svg`,mj,[...t[0]||=[N(`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 gj={render:hj},_j=U({default:()=>bj,render:()=>yj}),vj={xmlns:`http://www.w3.org/2000/svg`,fill:`currentColor`,viewBox:`0 0 24 24`};function yj(e,t){return y(),M(`svg`,vj,[...t[0]||=[N(`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.018.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 bj={render:yj},xj=U({default:()=>wj,render:()=>Cj}),Sj={xmlns:`http://www.w3.org/2000/svg`,fill:`currentColor`,viewBox:`0 0 24 24`};function Cj(e,t){return y(),M(`svg`,Sj,[...t[0]||=[N(`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 wj={render:Cj},Tj=U({default:()=>Oj,render:()=>Dj}),Ej={xmlns:`http://www.w3.org/2000/svg`,fill:`currentColor`,viewBox:`0 0 24 24`};function Dj(e,t){return y(),M(`svg`,Ej,[...t[0]||=[N(`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),N(`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 Oj={render:Dj},kj=U({default:()=>Mj,render:()=>jj}),Aj={xmlns:`http://www.w3.org/2000/svg`,fill:`currentColor`,viewBox:`0 0 128 128`};function jj(e,t){return y(),M(`svg`,Aj,[...t[0]||=[N(`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 Mj={render:jj},Nj=U({default:()=>Ij,render:()=>Fj}),Pj={xmlns:`http://www.w3.org/2000/svg`,fill:`currentColor`,viewBox:`0 0 128 128`};function Fj(e,t){return y(),M(`svg`,Pj,[...t[0]||=[N(`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 Ij={render:Fj},Lj=U({default:()=>Bj,render:()=>zj}),Rj={xmlns:`http://www.w3.org/2000/svg`,fill:`currentColor`,viewBox:`0 0 128 128`};function zj(e,t){return y(),M(`svg`,Rj,[...t[0]||=[N(`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 Bj={render:zj},Vj=U({default:()=>Wj,render:()=>Uj}),Hj={xmlns:`http://www.w3.org/2000/svg`,fill:`currentColor`,viewBox:`0 0 24 24`};function Uj(e,t){return y(),M(`svg`,Hj,[...t[0]||=[N(`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 Wj={render:Uj},Gj=U({default:()=>Jj,render:()=>qj}),Kj={xmlns:`http://www.w3.org/2000/svg`,fill:`currentColor`,viewBox:`0 0 50 50`};function qj(e,t){return y(),M(`svg`,Kj,[...t[0]||=[N(`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 Jj={render:qj},Yj=U({default:()=>Qj,render:()=>Zj}),Xj={xmlns:`http://www.w3.org/2000/svg`,fill:`currentColor`,viewBox:`0 0 128 128`};function Zj(e,t){return y(),M(`svg`,Xj,[...t[0]||=[N(`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 Qj={render:Zj},$j=U({default:()=>nM,render:()=>tM}),eM={xmlns:`http://www.w3.org/2000/svg`,fill:`currentColor`,viewBox:`0 0 128 128`};function tM(e,t){return y(),M(`svg`,eM,[...t[0]||=[N(`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 nM={render:tM},rM=U({default:()=>oM,render:()=>aM}),iM={xmlns:`http://www.w3.org/2000/svg`,fill:`currentColor`,viewBox:`0 0 24 24`};function aM(e,t){return y(),M(`svg`,iM,[...t[0]||=[N(`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 oM={render:aM},sM=U({default:()=>uM,render:()=>lM}),cM={xmlns:`http://www.w3.org/2000/svg`,fill:`currentColor`,viewBox:`0 0 128 128`};function lM(e,t){return y(),M(`svg`,cM,[...t[0]||=[N(`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 uM={render:lM},dM=U({default:()=>mM,render:()=>pM}),fM={xmlns:`http://www.w3.org/2000/svg`,fill:`currentColor`,viewBox:`0 0 24 24`};function pM(e,t){return y(),M(`svg`,fM,[...t[0]||=[N(`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),N(`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),N(`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 mM={render:pM},hM=U({default:()=>vM,render:()=>_M}),gM={xmlns:`http://www.w3.org/2000/svg`,fill:`currentColor`,viewBox:`0 0 24 24`};function _M(e,t){return y(),M(`svg`,gM,[...t[0]||=[N(`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 vM={render:_M},yM=U({default:()=>SM,render:()=>xM}),bM={xmlns:`http://www.w3.org/2000/svg`,fill:`currentColor`,viewBox:`0 0 24 24`};function xM(e,t){return y(),M(`svg`,bM,[...t[0]||=[N(`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),N(`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 SM={render:xM},CM=U({default:()=>EM,render:()=>TM}),wM={xmlns:`http://www.w3.org/2000/svg`,fill:`currentColor`,viewBox:`0 0 128 128`};function TM(e,t){return y(),M(`svg`,wM,[...t[0]||=[N(`path`,{d:`M0 0h61.4L0 60.4zm0 128L128 0H64.6L0 63.7zm128 0L64.6 66.6 3.3 128z`},null,-1)]])}var EM={render:TM},DM=U({default:()=>AM,render:()=>kM}),OM={xmlns:`http://www.w3.org/2000/svg`,fill:`currentColor`,viewBox:`0 0 24 24`};function kM(e,t){return y(),M(`svg`,OM,[...t[0]||=[N(`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),N(`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 AM={render:kM},jM=U({default:()=>PM,render:()=>NM}),MM={xmlns:`http://www.w3.org/2000/svg`,fill:`currentColor`,viewBox:`0 0 128 128`};function NM(e,t){return y(),M(`svg`,MM,[...t[0]||=[N(`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),N(`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 PM={render:NM},FM=U({default:()=>RM,render:()=>LM}),IM={xmlns:`http://www.w3.org/2000/svg`,fill:`currentColor`,viewBox:`0 0 128 128`};function LM(e,t){return y(),M(`svg`,IM,[...t[0]||=[N(`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 13.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 RM={render:LM},zM=U({default:()=>HM,render:()=>VM}),BM={xmlns:`http://www.w3.org/2000/svg`,fill:`currentColor`,viewBox:`0 0 24 24`};function VM(e,t){return y(),M(`svg`,BM,[...t[0]||=[N(`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 HM={render:VM},UM=U({default:()=>KM,render:()=>GM}),WM={xmlns:`http://www.w3.org/2000/svg`,fill:`currentColor`,viewBox:`0 0 121 121`};function GM(e,t){return y(),M(`svg`,WM,[...t[0]||=[N(`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 KM={render:GM},qM=U({default:()=>XM,render:()=>YM}),JM={xmlns:`http://www.w3.org/2000/svg`,fill:`currentColor`,viewBox:`0 0 24 24`};function YM(e,t){return y(),M(`svg`,JM,[...t[0]||=[N(`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 XM={render:YM},ZM=U({default:()=>eN,render:()=>$M}),QM={xmlns:`http://www.w3.org/2000/svg`,fill:`currentColor`,viewBox:`0 0 128 128`};function $M(e,t){return y(),M(`svg`,QM,[...t[0]||=[N(`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),N(`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 eN={render:$M},tN=U({default:()=>iN,render:()=>rN}),nN={xmlns:`http://www.w3.org/2000/svg`,fill:`currentColor`,viewBox:`0 0 24 24`};function rN(e,t){return y(),M(`svg`,nN,[...t[0]||=[N(`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 iN={render:rN},aN=U({default:()=>cN,render:()=>sN}),oN={xmlns:`http://www.w3.org/2000/svg`,fill:`none`,viewBox:`0 0 24 24`};function sN(e,t){return y(),M(`svg`,oN,[...t[0]||=[N(`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.036v4.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 cN={render:sN},lN=U({default:()=>fN,render:()=>dN}),uN={xmlns:`http://www.w3.org/2000/svg`,fill:`currentColor`,viewBox:`0 0 24 24`};function dN(e,t){return y(),M(`svg`,uN,[...t[0]||=[N(`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 fN={render:dN},pN=U({default:()=>gN,render:()=>hN}),mN={xmlns:`http://www.w3.org/2000/svg`,fill:`currentColor`,viewBox:`0 0 17 17`};function hN(e,t){return y(),M(`svg`,mN,[...t[0]||=[N(`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 gN={render:hN},_N=U({default:()=>bN,render:()=>yN}),vN={xmlns:`http://www.w3.org/2000/svg`,fill:`currentColor`,viewBox:`0 0 128 128`};function yN(e,t){return y(),M(`svg`,vN,[...t[0]||=[N(`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 bN={render:yN},xN=U({default:()=>wN,render:()=>CN}),SN={xmlns:`http://www.w3.org/2000/svg`,fill:`currentColor`,viewBox:`0 0 24 24`};function CN(e,t){return y(),M(`svg`,SN,[...t[0]||=[N(`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 wN={render:CN},TN=U({default:()=>ON,render:()=>DN}),EN={xmlns:`http://www.w3.org/2000/svg`,viewBox:`0 0 24 24`};function DN(e,t){return y(),M(`svg`,EN,[...t[0]||=[N(`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 ON={render:DN},kN=U({default:()=>MN,render:()=>jN}),AN={xmlns:`http://www.w3.org/2000/svg`,fill:`currentColor`,viewBox:`0 0 24 24`};function jN(e,t){return y(),M(`svg`,AN,[...t[0]||=[N(`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 MN={render:jN},NN=U({default:()=>IN,render:()=>FN}),PN={xmlns:`http://www.w3.org/2000/svg`,fill:`currentColor`,viewBox:`0 0 24 24`};function FN(e,t){return y(),M(`svg`,PN,[...t[0]||=[N(`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 IN={render:FN},LN=U({default:()=>BN,render:()=>zN}),RN={xmlns:`http://www.w3.org/2000/svg`,fill:`none`,viewBox:`0 0 24 24`};function zN(e,t){return y(),M(`svg`,RN,[...t[0]||=[N(`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 BN={render:zN},VN=U({default:()=>WN,render:()=>UN}),HN={xmlns:`http://www.w3.org/2000/svg`,fill:`none`,viewBox:`0 0 24 24`};function UN(e,t){return y(),M(`svg`,HN)}var WN={render:UN},GN=U({default:()=>JN,render:()=>qN}),KN={xmlns:`http://www.w3.org/2000/svg`,fill:`none`,viewBox:`0 0 24 24`};function qN(e,t){return y(),M(`svg`,KN,[...t[0]||=[Ze(`<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>`,29)]])}var JN={render:qN},YN=U({default:()=>QN,render:()=>ZN}),XN={xmlns:`http://www.w3.org/2000/svg`,fill:`none`,viewBox:`0 0 24 24`};function ZN(e,t){return y(),M(`svg`,XN,[...t[0]||=[N(`path`,{fill:`#512BD4`,d:`M22 2H2v20h20z`},null,-1),N(`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 QN={render:ZN},$N=U({default:()=>nP,render:()=>tP}),eP={xmlns:`http://www.w3.org/2000/svg`,fill:`none`,viewBox:`0 0 24 24`};function tP(e,t){return y(),M(`svg`,eP,[...t[0]||=[Ze(`<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 nP={render:tP},rP=U({default:()=>oP,render:()=>aP}),iP={xmlns:`http://www.w3.org/2000/svg`,fill:`none`,viewBox:`0 0 24 24`};function aP(e,t){return y(),M(`svg`,iP,[...t[0]||=[N(`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 oP={render:aP},sP=U({default:()=>uP,render:()=>lP}),cP={xmlns:`http://www.w3.org/2000/svg`,fill:`none`,viewBox:`0 0 24 24`};function lP(e,t){return y(),M(`svg`,cP,[...t[0]||=[N(`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 uP={render:lP},dP=U({default:()=>mP,render:()=>pP}),fP={xmlns:`http://www.w3.org/2000/svg`,fill:`none`,viewBox:`0 0 24 24`};function pP(e,t){return y(),M(`svg`,fP,[...t[0]||=[N(`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)]])}var mP={render:pP},hP=U({default:()=>vP,render:()=>_P}),gP={xmlns:`http://www.w3.org/2000/svg`,fill:`none`,viewBox:`0 0 24 24`};function _P(e,t){return y(),M(`svg`,gP,[...t[0]||=[N(`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),N(`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 vP={render:_P},yP=U({default:()=>SP,render:()=>xP}),bP={xmlns:`http://www.w3.org/2000/svg`,fill:`none`,viewBox:`0 0 24 24`};function xP(e,t){return y(),M(`svg`,bP,[...t[0]||=[N(`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),N(`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 SP={render:xP},CP=U({default:()=>EP,render:()=>TP}),wP={xmlns:`http://www.w3.org/2000/svg`,fill:`none`,viewBox:`0 0 24 24`};function TP(e,t){return y(),M(`svg`,wP,[...t[0]||=[N(`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 EP={render:TP},DP=U({default:()=>AP,render:()=>kP}),OP={xmlns:`http://www.w3.org/2000/svg`,fill:`none`,viewBox:`0 0 24 24`};function kP(e,t){return y(),M(`svg`,OP,[...t[0]||=[Ze(`<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 AP={render:kP},jP=U({default:()=>PP,render:()=>NP}),MP={xmlns:`http://www.w3.org/2000/svg`,fill:`none`,viewBox:`0 0 24 24`};function NP(e,t){return y(),M(`svg`,MP,[...t[0]||=[N(`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.017a.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 PP={render:NP},FP=U({default:()=>RP,render:()=>LP}),IP={xmlns:`http://www.w3.org/2000/svg`,fill:`none`,viewBox:`0 0 24 24`};function LP(e,t){return y(),M(`svg`,IP,[...t[0]||=[N(`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 RP={render:LP},zP=U({default:()=>HP,render:()=>VP}),BP={xmlns:`http://www.w3.org/2000/svg`,fill:`none`,viewBox:`0 0 24 24`};function VP(e,t){return y(),M(`svg`,BP,[...t[0]||=[Ze(`<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 HP={render:VP},UP=U({default:()=>KP,render:()=>GP}),WP={xmlns:`http://www.w3.org/2000/svg`,fill:`none`,viewBox:`0 0 24 24`};function GP(e,t){return y(),M(`svg`,WP,[...t[0]||=[N(`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 KP={render:GP},qP=U({default:()=>XP,render:()=>YP}),JP={xmlns:`http://www.w3.org/2000/svg`,fill:`none`,viewBox:`0 0 24 24`};function YP(e,t){return y(),M(`svg`,JP,[...t[0]||=[Ze(`<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 XP={render:YP},ZP=U({default:()=>eF,render:()=>$P}),QP={xmlns:`http://www.w3.org/2000/svg`,fill:`none`,viewBox:`0 0 24 24`};function $P(e,t){return y(),M(`svg`,QP,[...t[0]||=[N(`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),N(`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 eF={render:$P},tF=U({default:()=>iF,render:()=>rF}),nF={xmlns:`http://www.w3.org/2000/svg`,fill:`none`,viewBox:`0 0 24 24`};function rF(e,t){return y(),M(`svg`,nF,[...t[0]||=[N(`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),N(`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),N(`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),N(`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 iF={render:rF},aF=U({default:()=>cF,render:()=>sF}),oF={xmlns:`http://www.w3.org/2000/svg`,fill:`none`,viewBox:`0 0 24 24`};function sF(e,t){return y(),M(`svg`,oF,[...t[0]||=[N(`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.036v4.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 cF={render:sF},lF=U({default:()=>fF,render:()=>dF}),uF={xmlns:`http://www.w3.org/2000/svg`,fill:`green`,viewBox:`-2 0 24 24`};function dF(e,t){return y(),M(`svg`,uF,[...t[0]||=[N(`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),N(`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 fF={render:dF},pF=U({default:()=>gF,render:()=>hF}),mF={xmlns:`http://www.w3.org/2000/svg`,fill:`none`,viewBox:`0 0 24 24`};function hF(e,t){return y(),M(`svg`,mF,[...t[0]||=[N(`path`,{fill:`#41B883`,d:`m14.31 4.34-2.31 4-2.31-4H2l10 17.32L22 4.34z`},null,-1),N(`path`,{fill:`#34495E`,d:`m14.31 4.34-2.31 4-2.31-4H6l6 10.392L18 4.34z`},null,-1)]])}var gF={render:hF},_F=Object.assign({"../icons/Add.svg":Yse,"../icons/AddTab.svg":Qse,"../icons/Alert.svg":tce,"../icons/ArrowLeft.svg":ice,"../icons/ArrowRight.svg":sce,"../icons/Brackets.svg":uce,"../icons/Branch.svg":pce,"../icons/Changelog.svg":gce,"../icons/Checkmark.svg":yce,"../icons/ChevronDown.svg":Sce,"../icons/ChevronLeft.svg":YT,"../icons/ChevronRight.svg":$T,"../icons/ChevronUp.svg":rE,"../icons/Clipboard.svg":sE,"../icons/Close.svg":dE,"../icons/CloseTab.svg":hE,"../icons/CloseTabs.svg":yE,"../icons/Cloud.svg":CE,"../icons/CodeFolder.svg":DE,"../icons/Cog.svg":jE,"../icons/Collection.svg":FE,"../icons/Cookie.svg":zE,"../icons/DarkMode.svg":UE,"../icons/Delete.svg":qE,"../icons/Discord.svg":ZE,"../icons/DocsPage.svg":tD,"../icons/Download.svg":aD,"../icons/Duplicate.svg":lD,"../icons/Edit.svg":pD,"../icons/Ellipses.svg":_D,"../icons/Email.svg":xD,"../icons/Error.svg":TD,"../icons/Example.svg":kD,"../icons/ExternalLink.svg":ND,"../icons/FilterList.svg":LD,"../icons/Folder.svg":VD,"../icons/GitHub.svg":GD,"../icons/GitHubLine.svg":YD,"../icons/Globe.svg":$D,"../icons/Google.svg":rO,"../icons/Help.svg":sO,"../icons/Hide.svg":dO,"../icons/History.svg":hO,"../icons/House.svg":yO,"../icons/Import.svg":CO,"../icons/Info.svg":DO,"../icons/Key.svg":jO,"../icons/Leave.svg":FO,"../icons/LightDarkModeToggle.svg":zO,"../icons/LightMode.svg":UO,"../icons/Link.svg":qO,"../icons/Lock.svg":ZO,"../icons/Logo.svg":tk,"../icons/Magic.svg":ak,"../icons/Markdown.svg":lk,"../icons/Menu.svg":pk,"../icons/NotAllowed.svg":_k,"../icons/Page.svg":xk,"../icons/Pencil.svg":Tk,"../icons/Play.svg":kk,"../icons/Refresh.svg":Nk,"../icons/Roadmap.svg":Lk,"../icons/Scribble.svg":Vk,"../icons/Search.svg":Gk,"../icons/Server.svg":Yk,"../icons/Settings.svg":$k,"../icons/Show.svg":rA,"../icons/Sort.svg":sA,"../icons/Terminal.svg":dA,"../icons/Trash.svg":hA,"../icons/Unlock.svg":yA,"../icons/Unwatch.svg":CA,"../icons/Upload.svg":DA,"../icons/User.svg":jA,"../icons/UserSwitch.svg":FA,"../icons/Users.svg":zA,"../icons/Versions.svg":UA,"../icons/Wallet.svg":qA,"../icons/Watch.svg":ZA,"../icons/Workspace.svg":tj,"../icons/programming-framework-angular.svg":aj,"../icons/programming-framework-astro.svg":lj,"../icons/programming-framework-laravel.svg":pj,"../icons/programming-framework-nextdotjs.svg":_j,"../icons/programming-framework-react.svg":xj,"../icons/programming-framework-vuedotjs.svg":Tj,"../icons/programming-language-c.svg":kj,"../icons/programming-language-clojure.svg":Nj,"../icons/programming-language-csharp.svg":Lj,"../icons/programming-language-css3.svg":Vj,"../icons/programming-language-dart.svg":Gj,"../icons/programming-language-fsharp.svg":Yj,"../icons/programming-language-go.svg":$j,"../icons/programming-language-html5.svg":rM,"../icons/programming-language-http.svg":sM,"../icons/programming-language-java.svg":dM,"../icons/programming-language-javascript.svg":hM,"../icons/programming-language-json.svg":yM,"../icons/programming-language-kotlin.svg":CM,"../icons/programming-language-node.svg":DM,"../icons/programming-language-objc.svg":jM,"../icons/programming-language-ocaml.svg":FM,"../icons/programming-language-php.svg":zM,"../icons/programming-language-powershell.svg":UM,"../icons/programming-language-python.svg":qM,"../icons/programming-language-r.svg":ZM,"../icons/programming-language-ruby.svg":tN,"../icons/programming-language-rust.svg":aN,"../icons/programming-language-scala.svg":lN,"../icons/programming-language-shell.svg":pN,"../icons/programming-language-swift.svg":_N,"../icons/programming-language-typescript.svg":xN,"../icons/programming-script-code.svg":TN,"../icons/programming-tool-git.svg":kN,"../icons/programming-tool-tailwindcss.svg":NN}),vF=Object.assign({"../logos/Adonisjs.svg":LN,"../logos/Astro.svg":VN,"../logos/Docusaurus.svg":GN,"../logos/Dotnet.svg":YN,"../logos/Elysiajs.svg":$N,"../logos/Express.svg":rP,"../logos/Fastapi.svg":sP,"../logos/Fastify.svg":dP,"../logos/Go.svg":hP,"../logos/Hono.svg":yP,"../logos/Laravel.svg":CP,"../logos/Litestar.svg":DP,"../logos/Nestjs.svg":jP,"../logos/Nextjs.svg":FP,"../logos/Nitro.svg":zP,"../logos/Nuxt.svg":UP,"../logos/Openapi.svg":qP,"../logos/Platformatic.svg":ZP,"../logos/React.svg":tF,"../logos/Rust.svg":aF,"../logos/Svelte.svg":lF,"../logos/Vue.svg":pF}),yF=e=>{let t=`../icons/${e}.svg`;return _F[t]?_F[t]:(console.warn(`Could not find icon: ${e}`),null)},bF=e=>{let t=`../logos/${e}.svg`;return vF[t]?vF[t]:(console.warn(`Could not find icon: ${e}`),null)},xF=dc({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`}}),SF=IT(w({inheritAttrs:!1,__name:`ScalarIcon`,props:{icon:{},logo:{},size:{},thickness:{},label:{}},setup(e){qt(e=>({c07589c2:r.value}));let t=e,{cx:n}=pc(),r=j(()=>t.thickness??`2`),i=j(()=>t.label?{"aria-label":t.label}:{"aria-hidden":!0,role:`presentation`}),a=j(()=>{if(t.icon)return yF(t.icon);if(t.logo)return bF(t.logo)});return(t,r)=>(y(),O(x(a.value),qe($e({...T(n)(`scalar-icon`,T(xF)({size:e.size})),...i.value})),null,16))}}),[[`__scopeId`,`data-v-b651bb23`]]),CF=w({inheritAttrs:!1,__name:`ScalarIconLegacyAdapter`,props:{icon:{type:[Object,Function]},label:{},weight:{},logo:{},size:{},thickness:{}},setup(e){let{cx:t}=pc();return(n,r)=>typeof e.icon==`string`?(y(),O(SF,o({key:0},{...n.$props,...n.$attrs},{icon:e.icon}),null,16,[`icon`])):(y(),O(x(e.icon),o({key:1,label:e.label,weight:e.weight},T(t)(T(xF)({size:e.size}))),null,16,[`label`,`weight`]))}}),wF={class:`circular-loader`},TF=IT(w({inheritAttrs:!1,__name:`ScalarLoading`,props:{loader:{},size:{}},setup(e){let{cx:t}=pc(),n=dc({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,i)=>e.loader?(y(),M(`div`,qe(o({key:0},T(t)(`loader-wrapper`,T(n)({size:e.size})))),[(y(),M(`svg`,{class:v([`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`},[i[0]||=Ze(`<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),N(`g`,wF,[N(`circle`,{class:v([`loader-path`,{"loader-path-off":!e.loader.isLoading}]),cx:`50`,cy:`50`,fill:`none`,r:`20`,"stroke-width":`3`},null,2)])],2))],16)):k(``,!0)}}),[[`__scopeId`,`data-v-27df5cd8`]]),EF={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`]},DF={key:3,class:`centered`},OF=w({inheritAttrs:!1,__name:`ScalarButton`,props:{is:{default:`button`},variant:{default:`solid`},size:{default:`md`},disabled:{type:Boolean},icon:{type:[Object,Function]},loader:{}},setup(e){let t=dc({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:EF},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=dc({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=dc({variants:{size:{xs:`size-4`,sm:`size-5`,md:`size-6`}}}),{cx:i}=pc();return(a,s)=>(y(),O(x(e.is),o({"aria-disabled":e.disabled||void 0,type:e.is===`button`?`button`:void 0},T(i)(T(t)({disabled:e.disabled,size:e.size,variant:e.variant}),{relative:e.loader?.isActive})),{default:E(()=>[a.$slots.icon||e.icon?(y(),M(`div`,{key:0,class:v([T(n)({size:e.size}),{invisible:e.loader?.isActive}])},[S(a.$slots,`icon`,{},()=>[(y(),O(x(e.icon),{class:`size-full`}))])],2)):k(``,!0),e.loader?(y(),M(`span`,{key:1,class:v({invisible:e.loader?.isActive})},[S(a.$slots,`default`)],2)):S(a.$slots,`default`,{key:2}),e.loader?.isActive?(y(),M(`div`,DF,[D(T(TF),{class:v(T(r)({size:e.size})),loader:e.loader},null,8,[`class`,`loader`])])):k(``,!0)]),_:3},16,[`aria-disabled`,`type`]))}});function kF(e){return e?.options!==void 0}function AF(e){return e[0]?kF(e[0]):!1}var jF=((e,t)=>e===``?t:t.filter(t=>t.label.toLowerCase().includes(e.toLowerCase()))),MF=w({__name:`ScalarListboxCheckbox`,props:{selected:{type:Boolean},multiselect:{type:Boolean}},setup(e){return(t,n)=>(y(),M(`div`,{class:v([`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?(y(),O(T(so),{key:0,class:`size-3`,weight:`bold`})):k(``,!0)],2))}}),NF=[`aria-selected`],PF=w({__name:`ScalarComboboxOption`,props:{active:{type:Boolean},selected:{type:Boolean}},setup(e){let t=dc({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)=>(y(),M(`li`,{"aria-selected":e.selected,class:v(T(fc)(T(t)({active:e.active,selected:e.selected}))),role:`option`,tabindex:`-1`},[S(n.$slots,`default`,{active:e.active,selected:e.selected})],10,NF))}}),FF=[`id`,`aria-labelledby`,`role`],IF=[`id`],LF=w({__name:`ScalarComboboxOptionGroup`,props:{id:{default:()=>xe()},hidden:{type:Boolean,default:!1}},setup(e){return(t,n)=>(y(),M(`div`,{id:e.id,"aria-labelledby":e.id?`${e.id}-label`:void 0,class:`contents`,role:e.hidden?void 0:`group`},[e.hidden?k(``,!0):(y(),M(`div`,{key:0,id:`${e.id}-label`,class:`min-w-0 truncate px-2.5 py-1.5 text-c-2`},[S(t.$slots,`label`)],8,IF)),S(t.$slots,`default`)],8,FF))}}),RF={class:`relative flex`},zF=[`aria-activedescendant`,`placeholder`],BF=[`aria-multiselectable`],VF={class:`inline-block min-w-0 flex-1 truncate text-c-1`},HF=w({inheritAttrs:!1,__name:`ScalarComboboxOptions`,props:Ie({options:{},placeholder:{},filterFn:{type:Function,default:jF},multiselect:{type:Boolean}},{modelValue:{default:[]},modelModifiers:{}}),emits:Ie([`add`],[`update:modelValue`]),setup(e,{emit:t}){let n=t,r=le(e,`modelValue`),i=a(),o=`scalar-combobox-items-${xe()}`,s={id:`${xe()}-add`,label:`Add a new option`};function c(e){return`${o}-${e.id}`}let l=j(()=>AF(e.options)?e.options.flatMap(e=>e.options):e.options),u=j(()=>AF(e.options)?e.options:[{label:``,options:e.options}]),d=A(``),f=A(r.value?.[0]??l.value[0]);ue(()=>{d.value=``,f.value=r.value?.[0]??l.value[0],r.value[0]&&setTimeout(()=>{let e=r.value[0];e&&document?.getElementById(c(e))?.scrollIntoView({block:`nearest`})},10)}),Xe(()=>d.value,()=>f.value=m.value[0]);let p=j(()=>e.filterFn(d.value,l.value,u.value)),m=j(()=>i.add?[...p.value,s]:p.value);function h(t){if(t){if(t.id===s.id){v();return}e.multiselect?r.value.some(e=>e.id===t.id)?r.value=r.value.filter(e=>e.id!==t.id):r.value=[...r.value,l.value.find(e=>e.id===t.id)]:r.value=[l.value.find(e=>e.id===t.id)]}}function g(e){let t=m.value,n=t.findIndex(e=>e.id===f.value?.id)+e;n<0||n>t.length-1||(f.value=t[n],f.value&&document?.getElementById(c(f.value))?.scrollIntoView({behavior:`smooth`,block:`nearest`}))}function v(){n(`add`),d.value=``}let b=A(null);return ue(()=>setTimeout(()=>b.value?.focus(),0)),(t,n)=>(y(),M(Ne,null,[N(`div`,RF,[D(T(lo),{class:`pointer-events-none absolute left-2.5 top-1/2 -translate-y-1/2 text-c-3 size-4`}),We(N(`input`,{ref_key:`input`,ref:b,"onUpdate:modelValue":n[0]||=e=>d.value=e,"aria-activedescendant":f.value?c(f.value):void 0,"aria-autocomplete":`list`,"aria-controls":o,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:[n[1]||=zn(Ln(e=>g(1),[`prevent`]),[`down`]),n[2]||=zn(Ln(e=>f.value&&h(f.value),[`prevent`]),[`enter`]),n[3]||=zn(Ln(e=>g(-1),[`prevent`]),[`up`])]},null,40,zF),[[wn,d.value]])]),We(N(`ul`,{id:o,"aria-multiselectable":e.multiselect,class:`border-t p-0.75 custom-scroll overscroll-contain flex-1 min-h-0`,role:`listbox`,tabindex:`-1`},[(y(!0),M(Ne,null,_(u.value,(i,a)=>(y(),O(LF,{id:`${o}-group-${a}`,key:a,hidden:!i.options.some(e=>p.value.some(t=>t.id===e.id))||!i.label},{label:E(()=>[t.$slots.group?S(t.$slots,`group`,{key:0,group:i}):(y(),M(Ne,{key:1},[tt(be(i.label),1)],64))]),default:E(()=>[(y(!0),M(Ne,null,_(p.value,a=>(y(),M(Ne,{key:a.id},[i.options.some(e=>e.id===a.id)?(y(),O(PF,{key:0,id:c(a),active:f.value?.id===a.id,selected:r.value.some(e=>e.id===a.id),onClick:e=>h(a),onMousedown:n[4]||=Ln(()=>{},[`prevent`]),onMouseenter:e=>f.value=a},{default:E(({active:n,selected:i})=>[t.$slots.option?S(t.$slots,`option`,{key:0,active:n,option:a,selected:i}):(y(),M(Ne,{key:1},[D(T(MF),{multiselect:e.multiselect,selected:r.value.some(e=>e.id===a.id)},null,8,[`multiselect`,`selected`]),N(`span`,VF,be(a.label),1)],64))]),_:2},1032,[`id`,`active`,`selected`,`onClick`,`onMouseenter`])):k(``,!0)],64))),128))]),_:2},1032,[`id`,`hidden`]))),128)),i.add?(y(),O(PF,{key:0,id:c(s),active:f.value?.id===s.id,onClick:v,onMousedown:n[5]||=Ln(()=>{},[`prevent`]),onMouseenter:n[6]||=e=>f.value=s},{default:E(({active:e})=>[D(T(fo),{class:`size-4 p-px`}),S(t.$slots,`add`,{active:e})]),_:3},8,[`id`,`active`])):k(``,!0)],8,BF),[[Wt,p.value.length||i.add]])],64))}}),UF=Symbol(),WF=()=>f(UF,`body`),GF=e=>{let t=e??`scalar-teleport-${xe()}`;return pe(UF,`#${t}`),t},KF=w({inheritAttrs:!1,__name:`ScalarTeleport`,props:{to:{},immediate:{type:Boolean},disabled:{type:Boolean}},setup(e){let t=WF();return(n,r)=>(y(),O(Ue,{defer:!e.immediate,disabled:e.disabled,to:e.to||T(t)},[N(`div`,o({class:`scalar-app`,style:{display:`contents`}},n.$attrs),[S(n.$slots,`default`)],16)],8,[`defer`,`disabled`,`to`]))}});function qF(e,t={enabled:A(!0)}){let n=A(0),r=A(0),i=A();return typeof ResizeObserver<`u`&&(i.value=new ResizeObserver(([e])=>{e&&(n.value=e.borderBoxSize[0]?.inlineSize??0,r.value=e.borderBoxSize[0]?.blockSize??0)})),Xe([()=>d(t.enabled),()=>d(e)],([e,t])=>{!t||!i.value||(e?i.value.observe(t):i.value.disconnect())},{immediate:!0}),{width:j(()=>d(t.enabled)?`${n.value}px`:void 0),height:j(()=>d(t.enabled)?`${r.value}px`:void 0)}}var JF=[`top`,`right`,`bottom`,`left`],YF=Math.min,XF=Math.max,ZF=Math.round,QF=Math.floor,$F=e=>({x:e,y:e}),eI={left:`right`,right:`left`,bottom:`top`,top:`bottom`},tI={start:`end`,end:`start`};function nI(e,t,n){return XF(e,YF(t,n))}function rI(e,t){return typeof e==`function`?e(t):e}function iI(e){return e.split(`-`)[0]}function aI(e){return e.split(`-`)[1]}function oI(e){return e===`x`?`y`:`x`}function sI(e){return e===`y`?`height`:`width`}var cI=new Set([`top`,`bottom`]);function lI(e){return cI.has(iI(e))?`y`:`x`}function uI(e){return oI(lI(e))}function dI(e,t,n){n===void 0&&(n=!1);let r=aI(e),i=uI(e),a=sI(i),o=i===`x`?r===(n?`end`:`start`)?`right`:`left`:r===`start`?`bottom`:`top`;return t.reference[a]>t.floating[a]&&(o=bI(o)),[o,bI(o)]}function fI(e){let t=bI(e);return[pI(e),t,pI(t)]}function pI(e){return e.replace(/start|end/g,e=>tI[e])}var mI=[`left`,`right`],hI=[`right`,`left`],gI=[`top`,`bottom`],_I=[`bottom`,`top`];function vI(e,t,n){switch(e){case`top`:case`bottom`:return n?t?hI:mI:t?mI:hI;case`left`:case`right`:return t?gI:_I;default:return[]}}function yI(e,t,n,r){let i=aI(e),a=vI(iI(e),n===`start`,r);return i&&(a=a.map(e=>e+`-`+i),t&&(a=a.concat(a.map(pI)))),a}function bI(e){return e.replace(/left|right|bottom|top/g,e=>eI[e])}function xI(e){return{top:0,right:0,bottom:0,left:0,...e}}function SI(e){return typeof e==`number`?{top:e,right:e,bottom:e,left:e}:xI(e)}function CI(e){let{x:t,y:n,width:r,height:i}=e;return{width:r,height:i,top:n,left:t,right:t+r,bottom:n+i,x:t,y:n}}function wI(e,t,n){let{reference:r,floating:i}=e,a=lI(t),o=uI(t),s=sI(o),c=iI(t),l=a===`y`,u=r.x+r.width/2-i.width/2,d=r.y+r.height/2-i.height/2,f=r[s]/2-i[s]/2,p;switch(c){case`top`:p={x:u,y:r.y-i.height};break;case`bottom`:p={x:u,y:r.y+r.height};break;case`right`:p={x:r.x+r.width,y:d};break;case`left`:p={x:r.x-i.width,y:d};break;default:p={x:r.x,y:r.y}}switch(aI(t)){case`start`:p[o]-=f*(n&&l?-1:1);break;case`end`:p[o]+=f*(n&&l?-1:1);break}return p}var TI=async(e,t,n)=>{let{placement:r=`bottom`,strategy:i=`absolute`,middleware:a=[],platform:o}=n,s=a.filter(Boolean),c=await(o.isRTL==null?void 0:o.isRTL(t)),l=await o.getElementRects({reference:e,floating:t,strategy:i}),{x:u,y:d}=wI(l,r,c),f=r,p={},m=0;for(let n=0;n<s.length;n++){let{name:a,fn:h}=s[n],{x:g,y:_,data:v,reset:y}=await h({x:u,y:d,initialPlacement:r,placement:f,strategy:i,middlewareData:p,rects:l,platform:o,elements:{reference:e,floating:t}});u=g??u,d=_??d,p={...p,[a]:{...p[a],...v}},y&&m<=50&&(m++,typeof y==`object`&&(y.placement&&(f=y.placement),y.rects&&(l=y.rects===!0?await o.getElementRects({reference:e,floating:t,strategy:i}):y.rects),{x:u,y:d}=wI(l,f,c)),n=-1)}return{x:u,y:d,placement:f,strategy:i,middlewareData:p}};async function EI(e,t){t===void 0&&(t={});let{x:n,y:r,platform:i,rects:a,elements:o,strategy:s}=e,{boundary:c=`clippingAncestors`,rootBoundary:l=`viewport`,elementContext:u=`floating`,altBoundary:d=!1,padding:f=0}=rI(t,e),p=SI(f),m=o[d?u===`floating`?`reference`:`floating`:u],h=CI(await i.getClippingRect({element:await(i.isElement==null?void 0:i.isElement(m))??!0?m:m.contextElement||await(i.getDocumentElement==null?void 0:i.getDocumentElement(o.floating)),boundary:c,rootBoundary:l,strategy:s})),g=u===`floating`?{x:n,y:r,width:a.floating.width,height:a.floating.height}:a.reference,_=await(i.getOffsetParent==null?void 0:i.getOffsetParent(o.floating)),v=await(i.isElement==null?void 0:i.isElement(_))&&await(i.getScale==null?void 0:i.getScale(_))||{x:1,y:1},y=CI(i.convertOffsetParentRelativeRectToViewportRelativeRect?await i.convertOffsetParentRelativeRectToViewportRelativeRect({elements:o,rect:g,offsetParent:_,strategy:s}):g);return{top:(h.top-y.top+p.top)/v.y,bottom:(y.bottom-h.bottom+p.bottom)/v.y,left:(h.left-y.left+p.left)/v.x,right:(y.right-h.right+p.right)/v.x}}var DI=e=>({name:`arrow`,options:e,async fn(t){let{x:n,y:r,placement:i,rects:a,platform:o,elements:s,middlewareData:c}=t,{element:l,padding:u=0}=rI(e,t)||{};if(l==null)return{};let d=SI(u),f={x:n,y:r},p=uI(i),m=sI(p),h=await o.getDimensions(l),g=p===`y`,_=g?`top`:`left`,v=g?`bottom`:`right`,y=g?`clientHeight`:`clientWidth`,b=a.reference[m]+a.reference[p]-f[p]-a.floating[m],ee=f[p]-a.reference[p],x=await(o.getOffsetParent==null?void 0:o.getOffsetParent(l)),te=x?x[y]:0;(!te||!await(o.isElement==null?void 0:o.isElement(x)))&&(te=s.floating[y]||a.floating[m]);let S=b/2-ee/2,ne=te/2-h[m]/2-1,re=YF(d[_],ne),ie=YF(d[v],ne),ae=re,oe=te-h[m]-ie,C=te/2-h[m]/2+S,se=nI(ae,C,oe),ce=!c.arrow&&aI(i)!=null&&C!==se&&a.reference[m]/2-(C<ae?re:ie)-h[m]/2<0,le=ce?C<ae?C-ae:C-oe:0;return{[p]:f[p]+le,data:{[p]:se,centerOffset:C-se-le,...ce&&{alignmentOffset:le}},reset:ce}}}),OI=function(e){return e===void 0&&(e={}),{name:`flip`,options:e,async fn(t){var n;let{placement:r,middlewareData:i,rects:a,initialPlacement:o,platform:s,elements:c}=t,{mainAxis:l=!0,crossAxis:u=!0,fallbackPlacements:d,fallbackStrategy:f=`bestFit`,fallbackAxisSideDirection:p=`none`,flipAlignment:m=!0,...h}=rI(e,t);if((n=i.arrow)!=null&&n.alignmentOffset)return{};let g=iI(r),_=lI(o),v=iI(o)===o,y=await(s.isRTL==null?void 0:s.isRTL(c.floating)),b=d||(v||!m?[bI(o)]:fI(o)),ee=p!==`none`;!d&&ee&&b.push(...yI(o,m,p,y));let x=[o,...b],te=await EI(t,h),S=[],ne=i.flip?.overflows||[];if(l&&S.push(te[g]),u){let e=dI(r,a,y);S.push(te[e[0]],te[e[1]])}if(ne=[...ne,{placement:r,overflows:S}],!S.every(e=>e<=0)){let e=(i.flip?.index||0)+1,t=x[e];if(t&&(!(u===`alignment`&&_!==lI(t))||ne.every(e=>lI(e.placement)===_?e.overflows[0]>0:!0)))return{data:{index:e,overflows:ne},reset:{placement:t}};let n=ne.filter(e=>e.overflows[0]<=0).sort((e,t)=>e.overflows[1]-t.overflows[1])[0]?.placement;if(!n)switch(f){case`bestFit`:{let e=ne.filter(e=>{if(ee){let t=lI(e.placement);return t===_||t===`y`}return!0}).map(e=>[e.placement,e.overflows.filter(e=>e>0).reduce((e,t)=>e+t,0)]).sort((e,t)=>e[1]-t[1])[0]?.[0];e&&(n=e);break}case`initialPlacement`:n=o;break}if(r!==n)return{reset:{placement:n}}}return{}}}};function kI(e,t){return{top:e.top-t.height,right:e.right-t.width,bottom:e.bottom-t.height,left:e.left-t.width}}function AI(e){return JF.some(t=>e[t]>=0)}var jI=function(e){return e===void 0&&(e={}),{name:`hide`,options:e,async fn(t){let{rects:n}=t,{strategy:r=`referenceHidden`,...i}=rI(e,t);switch(r){case`referenceHidden`:{let e=kI(await EI(t,{...i,elementContext:`reference`}),n.reference);return{data:{referenceHiddenOffsets:e,referenceHidden:AI(e)}}}case`escaped`:{let e=kI(await EI(t,{...i,altBoundary:!0}),n.floating);return{data:{escapedOffsets:e,escaped:AI(e)}}}default:return{}}}}},MI=new Set([`left`,`top`]);async function NI(e,t){let{placement:n,platform:r,elements:i}=e,a=await(r.isRTL==null?void 0:r.isRTL(i.floating)),o=iI(n),s=aI(n),c=lI(n)===`y`,l=MI.has(o)?-1:1,u=a&&c?-1:1,d=rI(t,e),{mainAxis:f,crossAxis:p,alignmentAxis:m}=typeof d==`number`?{mainAxis:d,crossAxis:0,alignmentAxis:null}:{mainAxis:d.mainAxis||0,crossAxis:d.crossAxis||0,alignmentAxis:d.alignmentAxis};return s&&typeof m==`number`&&(p=s===`end`?m*-1:m),c?{x:p*u,y:f*l}:{x:f*l,y:p*u}}var PI=function(e){return e===void 0&&(e=0),{name:`offset`,options:e,async fn(t){var n;let{x:r,y:i,placement:a,middlewareData:o}=t,s=await NI(t,e);return a===o.offset?.placement&&(n=o.arrow)!=null&&n.alignmentOffset?{}:{x:r+s.x,y:i+s.y,data:{...s,placement:a}}}}},FI=function(e){return e===void 0&&(e={}),{name:`shift`,options:e,async fn(t){let{x:n,y:r,placement:i}=t,{mainAxis:a=!0,crossAxis:o=!1,limiter:s={fn:e=>{let{x:t,y:n}=e;return{x:t,y:n}}},...c}=rI(e,t),l={x:n,y:r},u=await EI(t,c),d=lI(iI(i)),f=oI(d),p=l[f],m=l[d];if(a){let e=f===`y`?`top`:`left`,t=f===`y`?`bottom`:`right`,n=p+u[e],r=p-u[t];p=nI(n,p,r)}if(o){let e=d===`y`?`top`:`left`,t=d===`y`?`bottom`:`right`,n=m+u[e],r=m-u[t];m=nI(n,m,r)}let h=s.fn({...t,[f]:p,[d]:m});return{...h,data:{x:h.x-n,y:h.y-r,enabled:{[f]:a,[d]:o}}}}}},II=function(e){return e===void 0&&(e={}),{options:e,fn(t){let{x:n,y:r,placement:i,rects:a,middlewareData:o}=t,{offset:s=0,mainAxis:c=!0,crossAxis:l=!0}=rI(e,t),u={x:n,y:r},d=lI(i),f=oI(d),p=u[f],m=u[d],h=rI(s,t),g=typeof h==`number`?{mainAxis:h,crossAxis:0}:{mainAxis:0,crossAxis:0,...h};if(c){let e=f===`y`?`height`:`width`,t=a.reference[f]-a.floating[e]+g.mainAxis,n=a.reference[f]+a.reference[e]-g.mainAxis;p<t?p=t:p>n&&(p=n)}if(l){let e=f===`y`?`width`:`height`,t=MI.has(iI(i)),n=a.reference[d]-a.floating[e]+(t&&o.offset?.[d]||0)+(t?0:g.crossAxis),r=a.reference[d]+a.reference[e]+(t?0:o.offset?.[d]||0)-(t?g.crossAxis:0);m<n?m=n:m>r&&(m=r)}return{[f]:p,[d]:m}}}},LI=function(e){return e===void 0&&(e={}),{name:`size`,options:e,async fn(t){var n,r;let{placement:i,rects:a,platform:o,elements:s}=t,{apply:c=()=>{},...l}=rI(e,t),u=await EI(t,l),d=iI(i),f=aI(i),p=lI(i)===`y`,{width:m,height:h}=a.floating,g,_;d===`top`||d===`bottom`?(g=d,_=f===(await(o.isRTL==null?void 0:o.isRTL(s.floating))?`start`:`end`)?`left`:`right`):(_=d,g=f===`end`?`top`:`bottom`);let v=h-u.top-u.bottom,y=m-u.left-u.right,b=YF(h-u[g],v),ee=YF(m-u[_],y),x=!t.middlewareData.shift,te=b,S=ee;if((n=t.middlewareData.shift)!=null&&n.enabled.x&&(S=y),(r=t.middlewareData.shift)!=null&&r.enabled.y&&(te=v),x&&!f){let e=XF(u.left,0),t=XF(u.right,0),n=XF(u.top,0),r=XF(u.bottom,0);p?S=m-2*(e!==0||t!==0?e+t:XF(u.left,u.right)):te=h-2*(n!==0||r!==0?n+r:XF(u.top,u.bottom))}await c({...t,availableWidth:S,availableHeight:te});let ne=await o.getDimensions(s.floating);return m!==ne.width||h!==ne.height?{reset:{rects:!0}}:{}}}};function RI(){return typeof window<`u`}function zI(e){return HI(e)?(e.nodeName||``).toLowerCase():`#document`}function BI(e){var t;return(e==null||(t=e.ownerDocument)==null?void 0:t.defaultView)||window}function VI(e){return((HI(e)?e.ownerDocument:e.document)||window.document)?.documentElement}function HI(e){return RI()?e instanceof Node||e instanceof BI(e).Node:!1}function UI(e){return RI()?e instanceof Element||e instanceof BI(e).Element:!1}function WI(e){return RI()?e instanceof HTMLElement||e instanceof BI(e).HTMLElement:!1}function GI(e){return!RI()||typeof ShadowRoot>`u`?!1:e instanceof ShadowRoot||e instanceof BI(e).ShadowRoot}var KI=new Set([`inline`,`contents`]);function qI(e){let{overflow:t,overflowX:n,overflowY:r,display:i}=oL(e);return/auto|scroll|overlay|hidden|clip/.test(t+r+n)&&!KI.has(i)}var JI=new Set([`table`,`td`,`th`]);function YI(e){return JI.has(zI(e))}var XI=[`:popover-open`,`:modal`];function ZI(e){return XI.some(t=>{try{return e.matches(t)}catch{return!1}})}var QI=[`transform`,`translate`,`scale`,`rotate`,`perspective`],$I=[`transform`,`translate`,`scale`,`rotate`,`perspective`,`filter`],eL=[`paint`,`layout`,`strict`,`content`];function tL(e){let t=rL(),n=UI(e)?oL(e):e;return QI.some(e=>n[e]?n[e]!==`none`:!1)||(n.containerType?n.containerType!==`normal`:!1)||!t&&(n.backdropFilter?n.backdropFilter!==`none`:!1)||!t&&(n.filter?n.filter!==`none`:!1)||$I.some(e=>(n.willChange||``).includes(e))||eL.some(e=>(n.contain||``).includes(e))}function nL(e){let t=cL(e);for(;WI(t)&&!aL(t);){if(tL(t))return t;if(ZI(t))return null;t=cL(t)}return null}function rL(){return typeof CSS>`u`||!CSS.supports?!1:CSS.supports(`-webkit-backdrop-filter`,`none`)}var iL=new Set([`html`,`body`,`#document`]);function aL(e){return iL.has(zI(e))}function oL(e){return BI(e).getComputedStyle(e)}function sL(e){return UI(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.scrollX,scrollTop:e.scrollY}}function cL(e){if(zI(e)===`html`)return e;let t=e.assignedSlot||e.parentNode||GI(e)&&e.host||VI(e);return GI(t)?t.host:t}function lL(e){let t=cL(e);return aL(t)?e.ownerDocument?e.ownerDocument.body:e.body:WI(t)&&qI(t)?t:lL(t)}function uL(e,t,n){t===void 0&&(t=[]),n===void 0&&(n=!0);let r=lL(e),i=r===e.ownerDocument?.body,a=BI(r);if(i){let e=dL(a);return t.concat(a,a.visualViewport||[],qI(r)?r:[],e&&n?uL(e):[])}return t.concat(r,uL(r,[],n))}function dL(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}function fL(e){let t=oL(e),n=parseFloat(t.width)||0,r=parseFloat(t.height)||0,i=WI(e),a=i?e.offsetWidth:n,o=i?e.offsetHeight:r,s=ZF(n)!==a||ZF(r)!==o;return s&&(n=a,r=o),{width:n,height:r,$:s}}function pL(e){return UI(e)?e:e.contextElement}function mL(e){let t=pL(e);if(!WI(t))return $F(1);let n=t.getBoundingClientRect(),{width:r,height:i,$:a}=fL(t),o=(a?ZF(n.width):n.width)/r,s=(a?ZF(n.height):n.height)/i;return(!o||!Number.isFinite(o))&&(o=1),(!s||!Number.isFinite(s))&&(s=1),{x:o,y:s}}var hL=$F(0);function gL(e){let t=BI(e);return!rL()||!t.visualViewport?hL:{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}}function _L(e,t,n){return t===void 0&&(t=!1),!n||t&&n!==BI(e)?!1:t}function vL(e,t,n,r){t===void 0&&(t=!1),n===void 0&&(n=!1);let i=e.getBoundingClientRect(),a=pL(e),o=$F(1);t&&(r?UI(r)&&(o=mL(r)):o=mL(e));let s=_L(a,n,r)?gL(a):$F(0),c=(i.left+s.x)/o.x,l=(i.top+s.y)/o.y,u=i.width/o.x,d=i.height/o.y;if(a){let e=BI(a),t=r&&UI(r)?BI(r):r,n=e,i=dL(n);for(;i&&r&&t!==n;){let e=mL(i),t=i.getBoundingClientRect(),r=oL(i),a=t.left+(i.clientLeft+parseFloat(r.paddingLeft))*e.x,o=t.top+(i.clientTop+parseFloat(r.paddingTop))*e.y;c*=e.x,l*=e.y,u*=e.x,d*=e.y,c+=a,l+=o,n=BI(i),i=dL(n)}}return CI({width:u,height:d,x:c,y:l})}function yL(e,t){let n=sL(e).scrollLeft;return t?t.left+n:vL(VI(e)).left+n}function bL(e,t){let n=e.getBoundingClientRect();return{x:n.left+t.scrollLeft-yL(e,n),y:n.top+t.scrollTop}}function xL(e){let{elements:t,rect:n,offsetParent:r,strategy:i}=e,a=i===`fixed`,o=VI(r),s=t?ZI(t.floating):!1;if(r===o||s&&a)return n;let c={scrollLeft:0,scrollTop:0},l=$F(1),u=$F(0),d=WI(r);if((d||!d&&!a)&&((zI(r)!==`body`||qI(o))&&(c=sL(r)),WI(r))){let e=vL(r);l=mL(r),u.x=e.x+r.clientLeft,u.y=e.y+r.clientTop}let f=o&&!d&&!a?bL(o,c):$F(0);return{width:n.width*l.x,height:n.height*l.y,x:n.x*l.x-c.scrollLeft*l.x+u.x+f.x,y:n.y*l.y-c.scrollTop*l.y+u.y+f.y}}function SL(e){return Array.from(e.getClientRects())}function CL(e){let t=VI(e),n=sL(e),r=e.ownerDocument.body,i=XF(t.scrollWidth,t.clientWidth,r.scrollWidth,r.clientWidth),a=XF(t.scrollHeight,t.clientHeight,r.scrollHeight,r.clientHeight),o=-n.scrollLeft+yL(e),s=-n.scrollTop;return oL(r).direction===`rtl`&&(o+=XF(t.clientWidth,r.clientWidth)-i),{width:i,height:a,x:o,y:s}}var wL=25;function TL(e,t){let n=BI(e),r=VI(e),i=n.visualViewport,a=r.clientWidth,o=r.clientHeight,s=0,c=0;if(i){a=i.width,o=i.height;let e=rL();(!e||e&&t===`fixed`)&&(s=i.offsetLeft,c=i.offsetTop)}let l=yL(r);if(l<=0){let e=r.ownerDocument,t=e.body,n=getComputedStyle(t),i=e.compatMode===`CSS1Compat`&&parseFloat(n.marginLeft)+parseFloat(n.marginRight)||0,o=Math.abs(r.clientWidth-t.clientWidth-i);o<=wL&&(a-=o)}else l<=wL&&(a+=l);return{width:a,height:o,x:s,y:c}}var EL=new Set([`absolute`,`fixed`]);function DL(e,t){let n=vL(e,!0,t===`fixed`),r=n.top+e.clientTop,i=n.left+e.clientLeft,a=WI(e)?mL(e):$F(1);return{width:e.clientWidth*a.x,height:e.clientHeight*a.y,x:i*a.x,y:r*a.y}}function OL(e,t,n){let r;if(t===`viewport`)r=TL(e,n);else if(t===`document`)r=CL(VI(e));else if(UI(t))r=DL(t,n);else{let n=gL(e);r={x:t.x-n.x,y:t.y-n.y,width:t.width,height:t.height}}return CI(r)}function kL(e,t){let n=cL(e);return n===t||!UI(n)||aL(n)?!1:oL(n).position===`fixed`||kL(n,t)}function AL(e,t){let n=t.get(e);if(n)return n;let r=uL(e,[],!1).filter(e=>UI(e)&&zI(e)!==`body`),i=null,a=oL(e).position===`fixed`,o=a?cL(e):e;for(;UI(o)&&!aL(o);){let t=oL(o),n=tL(o);!n&&t.position===`fixed`&&(i=null),(a?!n&&!i:!n&&t.position===`static`&&i&&EL.has(i.position)||qI(o)&&!n&&kL(e,o))?r=r.filter(e=>e!==o):i=t,o=cL(o)}return t.set(e,r),r}function jL(e){let{element:t,boundary:n,rootBoundary:r,strategy:i}=e,a=[...n===`clippingAncestors`?ZI(t)?[]:AL(t,this._c):[].concat(n),r],o=a[0],s=a.reduce((e,n)=>{let r=OL(t,n,i);return e.top=XF(r.top,e.top),e.right=YF(r.right,e.right),e.bottom=YF(r.bottom,e.bottom),e.left=XF(r.left,e.left),e},OL(t,o,i));return{width:s.right-s.left,height:s.bottom-s.top,x:s.left,y:s.top}}function ML(e){let{width:t,height:n}=fL(e);return{width:t,height:n}}function NL(e,t,n){let r=WI(t),i=VI(t),a=n===`fixed`,o=vL(e,!0,a,t),s={scrollLeft:0,scrollTop:0},c=$F(0);function l(){c.x=yL(i)}if(r||!r&&!a)if((zI(t)!==`body`||qI(i))&&(s=sL(t)),r){let e=vL(t,!0,a,t);c.x=e.x+t.clientLeft,c.y=e.y+t.clientTop}else i&&l();a&&!r&&i&&l();let u=i&&!r&&!a?bL(i,s):$F(0);return{x:o.left+s.scrollLeft-c.x-u.x,y:o.top+s.scrollTop-c.y-u.y,width:o.width,height:o.height}}function PL(e){return oL(e).position===`static`}function FL(e,t){if(!WI(e)||oL(e).position===`fixed`)return null;if(t)return t(e);let n=e.offsetParent;return VI(e)===n&&(n=n.ownerDocument.body),n}function IL(e,t){let n=BI(e);if(ZI(e))return n;if(!WI(e)){let t=cL(e);for(;t&&!aL(t);){if(UI(t)&&!PL(t))return t;t=cL(t)}return n}let r=FL(e,t);for(;r&&YI(r)&&PL(r);)r=FL(r,t);return r&&aL(r)&&PL(r)&&!tL(r)?n:r||nL(e)||n}var LL=async function(e){let t=this.getOffsetParent||IL,n=this.getDimensions,r=await n(e.floating);return{reference:NL(e.reference,await t(e.floating),e.strategy),floating:{x:0,y:0,width:r.width,height:r.height}}};function RL(e){return oL(e).direction===`rtl`}var zL={convertOffsetParentRelativeRectToViewportRelativeRect:xL,getDocumentElement:VI,getClippingRect:jL,getOffsetParent:IL,getElementRects:LL,getClientRects:SL,getDimensions:ML,getScale:mL,isElement:UI,isRTL:RL};function BL(e,t){return e.x===t.x&&e.y===t.y&&e.width===t.width&&e.height===t.height}function VL(e,t){let n=null,r,i=VI(e);function a(){var e;clearTimeout(r),(e=n)==null||e.disconnect(),n=null}function o(s,c){s===void 0&&(s=!1),c===void 0&&(c=1),a();let l=e.getBoundingClientRect(),{left:u,top:d,width:f,height:p}=l;if(s||t(),!f||!p)return;let m=QF(d),h=QF(i.clientWidth-(u+f)),g=QF(i.clientHeight-(d+p)),_=QF(u),v={rootMargin:-m+`px `+-h+`px `+-g+`px `+-_+`px`,threshold:XF(0,YF(1,c))||1},y=!0;function b(t){let n=t[0].intersectionRatio;if(n!==c){if(!y)return o();n?o(!1,n):r=setTimeout(()=>{o(!1,1e-7)},1e3)}n===1&&!BL(l,e.getBoundingClientRect())&&o(),y=!1}try{n=new IntersectionObserver(b,{...v,root:i.ownerDocument})}catch{n=new IntersectionObserver(b,v)}n.observe(e)}return o(!0),a}function HL(e,t,n,r){r===void 0&&(r={});let{ancestorScroll:i=!0,ancestorResize:a=!0,elementResize:o=typeof ResizeObserver==`function`,layoutShift:s=typeof IntersectionObserver==`function`,animationFrame:c=!1}=r,l=pL(e),u=i||a?[...l?uL(l):[],...uL(t)]:[];u.forEach(e=>{i&&e.addEventListener(`scroll`,n,{passive:!0}),a&&e.addEventListener(`resize`,n)});let d=l&&s?VL(l,n):null,f=-1,p=null;o&&(p=new ResizeObserver(e=>{let[r]=e;r&&r.target===l&&p&&(p.unobserve(t),cancelAnimationFrame(f),f=requestAnimationFrame(()=>{var e;(e=p)==null||e.observe(t)})),n()}),l&&!c&&p.observe(l),p.observe(t));let m,h=c?vL(e):null;c&&g();function g(){let t=vL(e);h&&!BL(h,t)&&n(),h=t,m=requestAnimationFrame(g)}return n(),()=>{var e;u.forEach(e=>{i&&e.removeEventListener(`scroll`,n),a&&e.removeEventListener(`resize`,n)}),d?.(),(e=p)==null||e.disconnect(),p=null,c&&cancelAnimationFrame(m)}}var UL=PI,WL=FI,GL=OI,KL=LI,qL=jI,JL=DI,YL=II,XL=(e,t,n)=>{let r=new Map,i={platform:zL,...n},a={...i.platform,_c:r};return TI(e,t,{...i,platform:a})};function ZL(e){return typeof e==`object`&&!!e&&`$el`in e}function QL(e){if(ZL(e)){let t=e.$el;return HI(t)&&zI(t)===`#comment`?null:t}return e}function $L(e){return typeof e==`function`?e():T(e)}function eR(e){return{name:`arrow`,options:e,fn(t){let n=QL($L(e.element));return n==null?{}:JL({element:n,padding:e.padding}).fn(t)}}}function tR(e){return typeof window>`u`?1:(e.ownerDocument.defaultView||window).devicePixelRatio||1}function nR(e,t){let n=tR(e);return Math.round(t*n)/n}function rR(e,t,n){n===void 0&&(n={});let r=n.whileElementsMounted,i=j(()=>$L(n.open)??!0),a=j(()=>$L(n.middleware)),o=j(()=>$L(n.placement)??`bottom`),s=j(()=>$L(n.strategy)??`absolute`),c=j(()=>$L(n.transform)??!0),l=j(()=>QL(e.value)),u=j(()=>QL(t.value)),d=A(0),f=A(0),p=A(s.value),m=A(o.value),h=nt({}),g=A(!1),_=j(()=>{let e={position:p.value,left:`0`,top:`0`};if(!u.value)return e;let t=nR(u.value,d.value),n=nR(u.value,f.value);return c.value?{...e,transform:`translate(`+t+`px, `+n+`px)`,...tR(u.value)>=1.5&&{willChange:`transform`}}:{position:p.value,left:t+`px`,top:n+`px`}}),v;function y(){if(l.value==null||u.value==null)return;let e=i.value;XL(l.value,u.value,{middleware:a.value,placement:o.value,strategy:s.value}).then(t=>{d.value=t.x,f.value=t.y,p.value=t.strategy,m.value=t.placement,h.value=t.middlewareData,g.value=e!==!1})}function b(){typeof v==`function`&&(v(),v=void 0)}function ee(){if(b(),r===void 0){y();return}if(l.value!=null&&u.value!=null){v=r(l.value,u.value,y);return}}function x(){i.value||(g.value=!1)}return Xe([a,o,s,i],y,{flush:`sync`}),Xe([l,u],ee,{flush:`sync`}),Xe(i,x,{flush:`sync`}),Re()&&Ge(b),{x:Qe(d),y:Qe(f),strategy:Qe(p),placement:Qe(m),middlewareData:Qe(h),isPositioned:Qe(g),floatingStyles:_,update:y}}var iR=w({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}){let n=A(null),r=A(null),i=j(()=>{if(typeof window<`u`&&r.value){if(typeof e.target==`string`){let t=document.getElementById(e.target);if(t)return t;console.warn(`ScalarFloating: Target with id="${e.target}" not found`)}else if(e.target instanceof HTMLElement)return e.target;let t=r.value.children?.[0];return t instanceof HTMLElement?t:r.value}}),a=qF(i,{enabled:j(()=>e.resize)}),o=j(()=>lI(e.placement??`bottom`)===`y`?a.width.value:void 0),s=j(()=>lI(e.placement??`bottom`)===`x`?a.height.value:void 0),{floatingStyles:c,middlewareData:l}=rR(i,n,{placement:j(()=>e.placement??`bottom`),whileElementsMounted:HL,middleware:j(()=>[UL(e.offset),GL({padding:48}),WL({padding:8}),KL({apply({availableWidth:e,availableHeight:t,elements:n}){Object.assign(n.floating.style,{maxWidth:`${Math.max(0,e)-16}px`,maxHeight:`${Math.max(0,t)-16}px`})}}),...e.middleware])});return t({targetRef:i}),(t,i)=>(y(),M(Ne,null,[N(`div`,{ref_key:`wrapperRef`,ref:r,class:v({contents:!!t.$slots.default})},[S(t.$slots,`default`)],2),t.$slots.floating?(y(),O(T(KF),{key:0,disabled:!e.teleport,to:typeof e.teleport==`string`?e.teleport:void 0},{default:E(()=>[N(`div`,{ref_key:`floatingRef`,ref:n,class:`relative z-context`,style:te(T(c))},[S(t.$slots,`floating`,{data:T(l),height:s.value,width:o.value})],4)]),_:3},8,[`disabled`,`to`])):k(``,!0)],64))}}),aR=w({inheritAttrs:!1,__name:`ScalarFloatingBackdrop`,setup(e){let{cx:t}=pc();return(e,n)=>(y(),M(`div`,qe($e(T(t)(`absolute inset-0 -z-1 rounded bg-b-1 shadow-lg brightness-lifted`))),[S(e.$slots,`default`)],16))}}),oR=w({inheritAttrs:!1,__name:`ScalarComboboxPopover`,props:{placement:{},offset:{type:[Number,Object,Function]},resize:{type:Boolean},target:{},middleware:{},teleport:{type:[Boolean,String]}},setup(e,{expose:t}){let{cx:n}=pc(),r=A(null),i=e=>{[`ArrowUp`,`ArrowDown`].includes(e.key)&&(e.preventDefault(),e.target?.dispatchEvent(new KeyboardEvent(`keydown`,{key:`Enter`})))};return t({popoverButtonRef:r}),(e,t)=>(y(),O(T(wa),{as:`template`},{default:E(({open:t})=>[D(T(iR),qe($e(e.$props)),Ce({default:E(()=>[D(T(Ta),{ref_key:`popoverButtonRef`,ref:r,as:`template`,onKeydown:i},{default:E(()=>[S(e.$slots,`default`,{open:t})]),_:2},1536)]),_:2},[t?{name:`floating`,fn:E(({width:r})=>[D(T(Ea),o({style:{width:r}},T(n)(`relative flex flex-col max-h-[inherit] w-40 rounded text-sm`)),{default:E(({close:n})=>[S(e.$slots,`popover`,{close:n,open:t}),D(T(aR))]),_:2},1040,[`style`])]),key:`0`}:void 0]),1040)]),_:3}))}}),sR=w({__name:`ScalarCombobox`,props:Ie({options:{},placeholder:{},filterFn:{type:Function},placement:{},offset:{type:[Number,Object,Function]},resize:{type:Boolean},target:{},middleware:{},teleport:{type:[Boolean,String]}},{modelValue:{},modelModifiers:{}}),emits:Ie([`add`],[`update:modelValue`]),setup(e,{emit:t}){let n=t,r=le(e,`modelValue`);return(t,i)=>(y(),O(oR,{middleware:e.middleware,offset:e.offset,placement:e.placement??`bottom-start`,resize:e.resize,target:e.target,teleport:e.teleport},{default:E(({open:e})=>[S(t.$slots,`default`,{open:e})]),popover:E(({open:i,close:a})=>[D(HF,{filterFn:e.filterFn,modelValue:r.value?[r.value]:[],open:i,options:e.options,placeholder:e.placeholder,onAdd:()=>(a(),n(`add`)),"onUpdate:modelValue":e=>(a(),r.value=e[0])},Ce({_:2},[t.$slots.option?{name:`option`,fn:E(e=>[S(t.$slots,`option`,qe($e(e)))]),key:`0`}:void 0,t.$slots.group?{name:`group`,fn:E(e=>[S(t.$slots,`group`,qe($e(e)))]),key:`1`}:void 0,t.$slots.add?{name:`add`,fn:E(e=>[S(t.$slots,`add`,qe($e(e)))]),key:`2`}:void 0]),1032,[`filterFn`,`modelValue`,`open`,`options`,`placeholder`,`onAdd`,`onUpdate:modelValue`])]),_:3},8,[`middleware`,`offset`,`placement`,`resize`,`target`,`teleport`]))}}),cR=w({__name:`ScalarComboboxMultiselect`,props:Ie({options:{},placeholder:{},filterFn:{type:Function},placement:{},offset:{type:[Number,Object,Function]},resize:{type:Boolean},target:{},middleware:{},teleport:{type:[Boolean,String]}},{modelValue:{default:[]},modelModifiers:{}}),emits:Ie([`add`],[`update:modelValue`]),setup(e,{expose:t,emit:n}){let r=n,i=le(e,`modelValue`),a=A(null);return t({comboboxPopoverRef:a}),(t,n)=>(y(),O(oR,{ref_key:`comboboxPopoverRef`,ref:a,middleware:e.middleware,offset:e.offset,placement:e.placement??`bottom-start`,resize:e.resize,target:e.target,teleport:e.teleport},{default:E(({open:e})=>[S(t.$slots,`default`,{open:e})]),popover:E(({open:a})=>[e.options?.length?(y(),O(HF,{key:0,modelValue:i.value,"onUpdate:modelValue":n[0]||=e=>i.value=e,filterFn:e.filterFn,multiselect:``,open:a,options:e.options,placeholder:e.placeholder,onAdd:n[1]||=e=>r(`add`)},Ce({_:2},[t.$slots.option?{name:`option`,fn:E(e=>[S(t.$slots,`option`,qe($e(e)))]),key:`0`}:void 0,t.$slots.group?{name:`group`,fn:E(e=>[S(t.$slots,`group`,qe($e(e)))]),key:`1`}:void 0,t.$slots.add?{name:`add`,fn:E(e=>[S(t.$slots,`add`,qe($e(e)))]),key:`2`}:void 0]),1032,[`modelValue`,`filterFn`,`open`,`options`,`placeholder`])):k(``,!0)]),_:3},8,[`middleware`,`offset`,`placement`,`resize`,`target`,`teleport`]))}}),lR={class:`custom-scroll min-h-0 flex-1`},uR={class:`flex flex-col p-0.75`},dR=w({inheritAttrs:!1,__name:`ScalarDropdownMenu`,props:{is:{}},setup(e){let{cx:t}=pc();return(n,r)=>(y(),O(x(e.is??`div`),qe($e(T(t)(`relative flex w-56`))),{default:E(()=>[N(`div`,lR,[S(n.$slots,`menu`,{},()=>[N(`div`,uR,[S(n.$slots,`default`)])]),S(n.$slots,`backdrop`,{},()=>[D(T(aR))])])]),_:3},16))}}),fR=Symbol();function pR(){let e=A();return pe(fR,e),{active:e}}function mR(){let e=f(fR);return e||console.warn(`useDropdownItem must be used within a ScalarDropdown`),{active:e}}function hR(e){return Re()?(Ge(e),!0):!1}var gR=typeof window<`u`&&typeof document<`u`;typeof WorkerGlobalScope<`u`&&globalThis instanceof WorkerGlobalScope;var _R=e=>e!=null,vR=Object.prototype.toString,yR=e=>vR.call(e)===`[object Object]`,bR=()=>{},xR=SR();function SR(){return gR&&(window==null?void 0:window.navigator)?.userAgent&&(/iP(?:ad|hone|od)/.test(window.navigator.userAgent)||(window==null?void 0:window.navigator)?.maxTouchPoints>2&&/iPad|Macintosh/.test(window==null?void 0:window.navigator.userAgent))}function CR(...e){if(e.length!==1)return et(...e);let t=e[0];return typeof t==`function`?Me(Je(()=>({get:t,set:bR}))):A(t)}function wR(e,t){function n(...n){return new Promise((r,i)=>{Promise.resolve(e(()=>t.apply(this,n),{fn:t,thisArg:this,args:n})).then(r).catch(i)})}return n}var TR=e=>e();function ER(e,t={}){let n,r,i=bR,a=e=>{clearTimeout(e),i(),i=bR},o;return s=>{let c=d(e),l=d(t.maxWait);return n&&a(n),c<=0||l!==void 0&&l<=0?(r&&=(a(r),void 0),Promise.resolve(s())):new Promise((e,u)=>{i=t.rejectOnCancel?u:e,o=s,l&&!r&&(r=setTimeout(()=>{n&&a(n),r=void 0,e(o())},l)),n=setTimeout(()=>{r&&a(r),r=void 0,e(s())},c)})}}function DR(e){let t;function n(){return t||=e(),t}return n.reset=async()=>{let e=t;t=void 0,e&&await e},n}function OR(e){return Array.isArray(e)?e:[e]}function kR(e,t=200,n={}){return wR(ER(t,n),e)}function AR(e,t,n={}){let{eventFilter:r=TR,...i}=n;return Xe(e,wR(r,t),i)}function jR(e,t,n={}){let{immediate:r=!0,immediateCallback:i=!1}=n,a=nt(!1),o;function s(){o&&=(clearTimeout(o),void 0)}function c(){a.value=!1,s()}function l(...n){i&&e(),s(),a.value=!0,o=setTimeout(()=>{a.value=!1,o=void 0,e(...n)},d(t))}return r&&(a.value=!0,gR&&l()),hR(c),{isPending:Qe(a),start:l,stop:c}}function MR(e,t,n={}){let{debounce:r=0,maxWait:i=void 0,...a}=n;return AR(e,t,{...a,eventFilter:ER(r,{maxWait:i})})}function NR(e,t,n){return Xe(e,t,{...n,immediate:!0})}var PR=gR?window:void 0,FR=gR?window.document:void 0,IR=gR?window.navigator:void 0;gR&&window.location;function LR(e){let t=d(e);return t?.$el??t}function RR(...e){let t=[],n=()=>{t.forEach(e=>e()),t.length=0},r=(e,t,n,r)=>(e.addEventListener(t,n,r),()=>e.removeEventListener(t,n,r)),i=j(()=>{let t=OR(d(e[0])).filter(e=>e!=null);return t.every(e=>typeof e!=`string`)?t:void 0}),a=NR(()=>[i.value?.map(e=>LR(e))??[PR].filter(e=>e!=null),OR(d(i.value?e[1]:e[0])),OR(T(i.value?e[2]:e[1])),d(i.value?e[3]:e[2])],([e,i,a,o])=>{if(n(),!e?.length||!i?.length||!a?.length)return;let s=yR(o)?{...o}:o;t.push(...e.flatMap(e=>i.flatMap(t=>a.map(n=>r(e,t,n,s)))))},{flush:`post`});return hR(n),()=>{a(),n()}}var zR=!1;function BR(e,t,n={}){let{window:r=PR,ignore:i=[],capture:a=!0,detectIframe:o=!1,controls:s=!1}=n;if(!r)return s?{stop:bR,cancel:bR,trigger:bR}:bR;if(xR&&!zR){zR=!0;let e={passive:!0};Array.from(r.document.body.children).forEach(t=>t.addEventListener(`click`,bR,e)),r.document.documentElement.addEventListener(`click`,bR,e)}let c=!0,l=e=>d(i).some(t=>{if(typeof t==`string`)return Array.from(r.document.querySelectorAll(t)).some(t=>t===e.target||e.composedPath().includes(t));{let n=LR(t);return n&&(e.target===n||e.composedPath().includes(n))}});function u(e){let t=d(e);return t&&t.$.subTree.shapeFlag===16}function f(e,t){let n=d(e),r=n.$.subTree&&n.$.subTree.children;return r==null||!Array.isArray(r)?!1:r.some(e=>e.el===t.target||t.composedPath().includes(e.el))}let p=n=>{let r=LR(e);if(n.target!=null&&!(!(r instanceof Element)&&u(e)&&f(e,n))&&!(!r||r===n.target||n.composedPath().includes(r))){if(`detail`in n&&n.detail===0&&(c=!l(n)),!c){c=!0;return}t(n)}},m=!1,h=[RR(r,`click`,e=>{m||(m=!0,setTimeout(()=>{m=!1},0),p(e))},{passive:!0,capture:a}),RR(r,`pointerdown`,t=>{let n=LR(e);c=!l(t)&&!!(n&&!t.composedPath().includes(n))},{passive:!0}),o&&RR(r,`blur`,n=>{setTimeout(()=>{let i=LR(e);r.document.activeElement?.tagName===`IFRAME`&&!i?.contains(r.document.activeElement)&&t(n)},0)},{passive:!0})].filter(Boolean),g=()=>h.forEach(e=>e());return s?{stop:g,cancel:()=>{c=!1},trigger:e=>{c=!0,p(e),c=!1}}:g}function VR(){let e=nt(!1),t=u();return t&&ue(()=>{e.value=!0},t),e}function HR(e){let t=VR();return j(()=>(t.value,!!e()))}function UR(e,t,n={}){let{window:r=PR,...i}=n,a,o=HR(()=>r&&`MutationObserver`in r),s=()=>{a&&=(a.disconnect(),void 0)},c=Xe(j(()=>{let t=OR(d(e)).map(LR).filter(_R);return new Set(t)}),e=>{s(),o.value&&e.size&&(a=new MutationObserver(t),e.forEach(e=>a.observe(e,i)))},{immediate:!0,flush:`post`}),l=()=>a?.takeRecords(),u=()=>{c(),s()};return hR(u),{isSupported:o,stop:u,takeRecords:l}}function WR(e,t,n={}){let{window:r=PR,document:i=r?.document,flush:a=`sync`}=n;if(!r||!i)return bR;let o,s=e=>{o?.(),o=e},c=He(()=>{let n=LR(e);if(n){let{stop:e}=UR(i,e=>{e.map(e=>[...e.removedNodes]).flat().some(e=>e===n||e.contains(n))&&t(e)},{window:r,childList:!0,subtree:!0});s(e)}},{flush:a}),l=()=>{c(),s()};return hR(l),l}function GR(e={}){let{window:t=PR,deep:n=!0,triggerOnRemoval:r=!1}=e,i=e.document??t?.document,a=()=>{let e=i?.activeElement;if(n)for(;e?.shadowRoot;)e=e?.shadowRoot?.activeElement;return e},o=nt(),s=()=>{o.value=a()};if(t){let e={capture:!0,passive:!0};RR(t,`blur`,e=>{e.relatedTarget===null&&s()},e),RR(t,`focus`,s,e)}return r&&WR(o,s,{document:i}),s(),o}function KR(e,t={}){let{controls:n=!1,navigator:r=IR}=t,i=HR(()=>r&&`permissions`in r),a=nt(),o=typeof e==`string`?{name:e}:e,s=nt(),c=()=>{s.value=a.value?.state??`prompt`};RR(a,`change`,c,{passive:!0});let l=DR(async()=>{if(i.value){if(!a.value)try{a.value=await r.permissions.query(o)}catch{a.value=void 0}finally{c()}if(n)return Ee(a.value)}});return l(),n?{state:s,isSupported:i,query:l}:s}function qR(e={}){let{navigator:t=IR,read:n=!1,source:r,copiedDuring:i=1500,legacy:a=!1}=e,o=HR(()=>t&&`clipboard`in t),s=KR(`clipboard-read`),c=KR(`clipboard-write`),l=j(()=>o.value||a),u=nt(``),f=nt(!1),p=jR(()=>f.value=!1,i,{immediate:!1});async function m(){let e=!(o.value&&v(s.value));if(!e)try{u.value=await t.clipboard.readText()}catch{e=!0}e&&(u.value=_())}l.value&&n&&RR([`copy`,`cut`],m,{passive:!0});async function h(e=d(r)){if(l.value&&e!=null){let n=!(o.value&&v(c.value));if(!n)try{await t.clipboard.writeText(e)}catch{n=!0}n&&g(e),u.value=e,f.value=!0,p.start()}}function g(e){let t=document.createElement(`textarea`);t.value=e??``,t.style.position=`absolute`,t.style.opacity=`0`,document.body.appendChild(t),t.select(),document.execCommand(`copy`),t.remove()}function _(){return((document==null?void 0:document.getSelection)?.call(document))?.toString()??``}function v(e){return e===`granted`||e===`prompt`}return{isSupported:l,text:u,copied:f,copy:h}}function JR(e,t,n={}){let{window:r=PR,...i}=n,a,o=HR(()=>r&&`ResizeObserver`in r),s=()=>{a&&=(a.disconnect(),void 0)},c=Xe(j(()=>{let t=d(e);return Array.isArray(t)?t.map(e=>LR(e)):[LR(t)]}),e=>{if(s(),o.value&&r){a=new ResizeObserver(t);for(let t of e)t&&a.observe(t,i)}},{immediate:!0,flush:`post`}),l=()=>{s(),c()};return hR(l),{isSupported:o,stop:l}}function YR(e,t={}){let{delayEnter:n=0,delayLeave:r=0,triggerOnRemoval:i=!1,window:a=PR}=t,o=nt(!1),s,c=e=>{let t=e?n:r;s&&=(clearTimeout(s),void 0),t?s=setTimeout(()=>o.value=e,t):o.value=e};return a?(RR(e,`mouseenter`,()=>c(!0),{passive:!0}),RR(e,`mouseleave`,()=>c(!1),{passive:!0}),i&&WR(j(()=>LR(e)),()=>c(!1)),o):o}function XR(e,t,n={}){let{root:r,rootMargin:i=`0px`,threshold:a=0,window:o=PR,immediate:s=!0}=n,c=HR(()=>o&&`IntersectionObserver`in o),l=j(()=>OR(d(e)).map(LR).filter(_R)),u=bR,f=nt(s),p=c.value?Xe(()=>[l.value,LR(r),f.value],([e,n])=>{if(u(),!f.value||!e.length)return;let r=new IntersectionObserver(t,{root:LR(n),rootMargin:i,threshold:a});e.forEach(e=>e&&r.observe(e)),u=()=>{r.disconnect(),u=bR}},{immediate:s,flush:`post`}):bR,m=()=>{u(),p(),f.value=!1};return hR(m),{isSupported:c,isActive:f,pause(){u(),f.value=!1},resume(){f.value=!0},stop:m}}function ZR(e=null,t={}){let{baseUrl:n=``,rel:r=`icon`,document:i=FR}=t,a=CR(e),o=e=>{let t=i?.head.querySelectorAll(`link[rel*="${r}"]`);if(!t||t.length===0){let t=i?.createElement(`link`);t&&(t.rel=r,t.href=`${n}${e}`,t.type=`image/${e.split(`.`).pop()}`,i?.head.append(t));return}t?.forEach(t=>t.href=`${n}${e}`)};return Xe(a,(e,t)=>{typeof e==`string`&&e!==t&&o(e)},{immediate:!0}),a}var QR=`focusin`,$R=`focusout`,ez=`:focus-within`;function tz(e,t={}){let{window:n=PR}=t,r=j(()=>LR(e)),i=nt(!1),a=j(()=>i.value);if(!n||!GR(t).value)return{focused:a};let o={passive:!0};return RR(r,QR,()=>i.value=!0,o),RR(r,$R,()=>{var e;return i.value=((e=r.value)?.matches)?.call(e,ez)??!1},o),{focused:a}}function nz(e){return typeof Window<`u`&&e instanceof Window?e.document.documentElement:typeof Document<`u`&&e instanceof Document?e.documentElement:e}function rz(e){let 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;{let t=e.parentNode;return!t||t.tagName===`BODY`?!1:rz(t)}}function iz(e){let t=e||window.event,n=t.target;return rz(n)?!1:t.touches.length>1?!0:(t.preventDefault&&t.preventDefault(),!1)}var az=new WeakMap;function oz(e,t=!1){let n=nt(t),r=null,i=``;Xe(CR(e),e=>{let t=nz(d(e));if(t){let e=t;if(az.get(e)||az.set(e,e.style.overflow),e.style.overflow!==`hidden`&&(i=e.style.overflow),e.style.overflow===`hidden`)return n.value=!0;if(n.value)return e.style.overflow=`hidden`}},{immediate:!0});let a=()=>{let t=nz(d(e));!t||n.value||(xR&&(r=RR(t,`touchmove`,e=>{iz(e)},{passive:!1})),t.style.overflow=`hidden`,n.value=!0)},o=()=>{let t=nz(d(e));!t||!n.value||(xR&&r?.(),t.style.overflow=i,az.delete(t),n.value=!1)};return hR(o),j({get(){return n.value},set(e){e?a():o()}})}var sz=[`id`,`aria-activedescendant`,`aria-labelledby`,`onKeydown`],cz=w({inheritAttrs:!1,__name:`ScalarDropdown`,props:Ie({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){let t=A(),n=A(),r=le(e,`open`),{active:i}=pR(),a=xe(),s=A(a),c=xe();async function l(){r.value=!r.value,await Pe(),r.value&&n.value?.focus()}async function u(e){if([`ArrowDown`,`ArrowUp`,` `,`Enter`].includes(e.key))e.preventDefault();else return;r.value||=!0,await Pe(),n.value?.focus(),[`ArrowDown`,` `,`Enter`].includes(e.key)?p(1):e.key===`ArrowUp`&&p(-1)}Xe(()=>t.value?.targetRef,(e,t)=>{e&&(e.id?s.value=e.id:(s.value=a,e.setAttribute(`id`,s.value)),e.setAttribute(`aria-haspopup`,`menu`),e.setAttribute(`aria-expanded`,`${r.value}`),r.value&&e.setAttribute(`aria-controls`,c),e.addEventListener(`click`,l),e.addEventListener(`keydown`,u)),t&&t!==e&&(t.id===a&&t.removeAttribute(`id`),t.removeAttribute(`aria-controls`),t.removeAttribute(`aria-haspopup`),t.removeAttribute(`aria-expanded`),t.removeEventListener(`click`,l),t.removeEventListener(`keydown`,u))},{immediate:!0}),Xe(r,e=>{let n=t.value?.targetRef;n&&(n.setAttribute(`aria-expanded`,`${e}`),e?n.setAttribute(`aria-controls`,c):n.removeAttribute(`aria-controls`))},{immediate:!0});async function d(){t.value?.targetRef?.focus(),r.value=!1}function f(){if(!i.value||!n.value)return;let e=n.value.querySelector(`#${i.value}[role="menuitem"]:not([aria-disabled="true"])`);e&&(e.click(),d())}function p(e){if(!r.value||!n.value)return;let t=Array.from(n.value.querySelectorAll(`[role="menuitem"]:not([aria-disabled="true"])`));if(t.length===0)return;let a=t.findIndex(e=>e.id===i.value);if(a===-1){let n=t[e>0?0:t.length-1];n?.id&&(i.value=n.id);return}let o=a+e;if(o<0||o>t.length-1)return;let s=t[o];s?.id&&(i.value=s.id)}BR(n,d,{ignore:[j(()=>t.value?.targetRef)]});let{cx:m}=pc();return(a,l)=>(y(),O(T(iR),o({ref_key:`floatingRef`,ref:t},a.$props,{placement:e.placement??`bottom-start`}),Ce({default:E(()=>[S(a.$slots,`default`,{open:r.value})]),_:2},[r.value?{name:`floating`,fn:E(({width:e})=>[D(dR,o({style:{width:e}},T(m)(`max-h-[inherit] max-w-[inherit]`)),{menu:E(()=>[N(`div`,{id:T(c),ref_key:`menuRef`,ref:n,"aria-activedescendant":T(i),"aria-labelledby":s.value,class:`flex flex-col p-0.75 outline-none`,role:`menu`,tabindex:`-1`,onClick:Ln(d,[`stop`]),onKeydown:[l[0]||=zn(Ln(e=>p(1),[`prevent`,`stop`]),[`down`]),zn(Ln(f,[`prevent`,`stop`]),[`enter`]),zn(Ln(d,[`prevent`,`stop`]),[`escape`]),zn(Ln(f,[`prevent`,`stop`]),[`space`]),zn(Ln(d,[`prevent`,`stop`]),[`tab`]),l[1]||=zn(Ln(e=>p(-1),[`prevent`,`stop`]),[`up`])]},[S(a.$slots,`items`,{open:r.value})],40,sz)]),_:3},16,[`style`])]),key:`0`}:void 0]),1040,[`placement`]))}}),lz=IT(w({__name:`ScalarDropdownButton`,props:{is:{default:`button`},active:{type:Boolean},disabled:{type:Boolean}},setup(e){let t=dc({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)=>(y(),O(x(e.is),{"aria-disabled":e.disabled,class:v([`item`,T(fc)(`scalar-dropdown-item`,T(t)({active:e.active,disabled:e.disabled}))]),type:e.is===`button`?`button`:void 0},{default:E(()=>[S(n.$slots,`default`,{},void 0,!0)]),_:3},8,[`aria-disabled`,`class`,`type`]))}}),[[`__scopeId`,`data-v-f5e0d3d8`]]),uz={},dz={class:`-mx-0.75 my-0.75 h-border bg-border`};function fz(e,t,n,r,i,a){return y(),M(`div`,dz)}var pz=IT(uz,[[`render`,fz]]),mz=IT(w({__name:`ScalarDropdownItem`,props:{id:{default:()=>xe()},disabled:{type:Boolean}},emits:[`click`],setup(e){let{active:t}=mR();return(n,r)=>(y(),O(lz,{id:e.id,active:T(t)===e.id,disabled:e.disabled,role:`menuitem`,tabindex:`-1`,onClick:r[0]||=e=>n.$emit(`click`,e),onMouseenter:r[1]||=n=>t.value=e.id},{default:E(()=>[S(n.$slots,`default`,{},void 0,!0)]),_:3},8,[`id`,`active`,`disabled`]))}}),[[`__scopeId`,`data-v-3402682d`]]),hz={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`},gz={class:`text-c-1 whitespace-nowrap`},_z={class:`text-c-1 overflow-hidden text-ellipsis`},vz={class:`overflow-hidden text-ellipsis`},yz={class:`flex h-4 w-4 items-center justify-center`},bz=w({__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}){let n=e,r=t,i=j(()=>n.value??[]),a=A(!1),o=A(``),s=A(null);Xe(o,e=>{r(`update:modelValue`,e)});let c=e=>{r(`update:modelValue`,e),a.value=!1},l=()=>{o.value.trim()&&c(o.value)},u=()=>{o.value.trim()||r(`update:modelValue`,``),a.value=!1},d=e=>n.modelValue.toString()===e;Xe(a,e=>{e&&Pe(()=>{s.value?.focus()})});let f=j(()=>n.modelValue===void 0?n.default:n.modelValue),p=j(()=>i.value.map(e=>{let t=e.toString();return{id:t,label:t,value:t}})),m=j(()=>{let e=new Set(n.modelValue.toString().split(`,`));return p.value.filter(t=>e.has(t.id))}),h=e=>{r(`update:modelValue`,e.map(e=>e.value).join(`,`))};return(t,n)=>(y(),M(`div`,hz,[e.type===`array`?(y(),O(T(cR),{key:0,modelValue:m.value,options:p.value,"onUpdate:modelValue":h},{default:E(()=>[D(T(OF),{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:E(()=>[N(`span`,gz,be(m.value.length>0?m.value.map(e=>e.label).join(`, `):`Select a value`),1),D(T(SF),{class:`min-w-4`,icon:`ChevronDown`,size:`md`})]),_:1})]),_:1},8,[`modelValue`,`options`])):a.value?We((y(),M(`input`,{key:1,ref_key:`inputRef`,ref:s,"onUpdate:modelValue":n[0]||=e=>o.value=e,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:zn(l,[`enter`])},null,544)),[[wn,o.value]]):(y(),O(T(cz),{key:2,resize:``,value:f.value},{items:E(()=>[(y(!0),M(Ne,null,_(i.value,e=>(y(),O(T(mz),{key:e,class:`group/item flex items-center gap-1.5 overflow-hidden text-ellipsis whitespace-nowrap`,value:e,onClick:t=>c(e)},{default:E(()=>[N(`div`,{class:v([`flex h-4 w-4 items-center justify-center rounded-full p-[3px]`,d(e)?`bg-c-accent text-b-1`:`shadow-border text-transparent`])},[D(T(SF),{class:`size-2.5`,icon:`Checkmark`,thickness:`3`})],2),N(`span`,vz,be(e),1)]),_:2},1032,[`value`,`onClick`]))),128)),e.canAddCustomValue?(y(),M(Ne,{key:0},[i.value.length?(y(),O(T(pz),{key:0})):k(``,!0),D(T(mz),{class:`flex items-center gap-1.5`,onClick:n[1]||=e=>a.value=!0},{default:E(()=>[N(`div`,yz,[D(T(SF),{icon:`Add`,size:`sm`})]),n[2]||=N(`span`,null,`Add value`,-1)]),_:1})],64)):k(``,!0)]),default:E(()=>[D(T(OF),{class:`size-full justify-start gap-1.5 overflow-auto px-2 py-1.5 font-normal whitespace-nowrap outline-none`,variant:`ghost`},{default:E(()=>[N(`span`,_z,be(f.value??`Select a value`),1),D(T(SF),{icon:`ChevronDown`,size:`md`})]),_:1})]),_:1},8,[`value`]))]))}});function xz(e){return Array.isArray?Array.isArray(e):Mz(e)===`[object Array]`}var Sz=1/0;function Cz(e){if(typeof e==`string`)return e;let t=e+``;return t==`0`&&1/e==-Sz?`-0`:t}function wz(e){return e==null?``:Cz(e)}function Tz(e){return typeof e==`string`}function Ez(e){return typeof e==`number`}function Dz(e){return e===!0||e===!1||kz(e)&&Mz(e)==`[object Boolean]`}function Oz(e){return typeof e==`object`}function kz(e){return Oz(e)&&e!==null}function Az(e){return e!=null}function jz(e){return!e.trim().length}function Mz(e){return e==null?e===void 0?`[object Undefined]`:`[object Null]`:Object.prototype.toString.call(e)}var Nz=`Incorrect 'index' type`,Pz=e=>`Invalid value for key ${e}`,Fz=e=>`Pattern length exceeds max of ${e}.`,Iz=e=>`Missing ${e} property in key`,Lz=e=>`Property 'weight' in key '${e}' must be a positive integer`,Rz=Object.prototype.hasOwnProperty,zz=class{constructor(e){this._keys=[],this._keyMap={};let t=0;e.forEach(e=>{let n=Bz(e);this._keys.push(n),this._keyMap[n.id]=n,t+=n.weight}),this._keys.forEach(e=>{e.weight/=t})}get(e){return this._keyMap[e]}keys(){return this._keys}toJSON(){return JSON.stringify(this._keys)}};function Bz(e){let t=null,n=null,r=null,i=1,a=null;if(Tz(e)||xz(e))r=e,t=Vz(e),n=Hz(e);else{if(!Rz.call(e,`name`))throw Error(Iz(`name`));let o=e.name;if(r=o,Rz.call(e,`weight`)&&(i=e.weight,i<=0))throw Error(Lz(o));t=Vz(o),n=Hz(o),a=e.getFn}return{path:t,id:n,weight:i,src:r,getFn:a}}function Vz(e){return xz(e)?e:e.split(`.`)}function Hz(e){return xz(e)?e.join(`.`):e}function Uz(e,t){let n=[],r=!1,i=(e,t,a)=>{if(Az(e))if(!t[a])n.push(e);else{let o=e[t[a]];if(!Az(o))return;if(a===t.length-1&&(Tz(o)||Ez(o)||Dz(o)))n.push(wz(o));else if(xz(o)){r=!0;for(let e=0,n=o.length;e<n;e+=1)i(o[e],t,a+1)}else t.length&&i(o,t,a+1)}};return i(e,Tz(t)?t.split(`.`):t,0),r?n:n[0]}var Wz={includeMatches:!1,findAllMatches:!1,minMatchCharLength:1},Gz={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},Kz={location:0,threshold:.6,distance:100},qz={useExtendedSearch:!1,getFn:Uz,ignoreLocation:!1,ignoreFieldNorm:!1,fieldNormWeight:1},Jz={...Gz,...Wz,...Kz,...qz},Yz=/[^ ]+/g;function Xz(e=1,t=3){let n=new Map,r=10**t;return{get(t){let i=t.match(Yz).length;if(n.has(i))return n.get(i);let a=1/i**(.5*e),o=parseFloat(Math.round(a*r)/r);return n.set(i,o),o},clear(){n.clear()}}}var Zz=class{constructor({getFn:e=Jz.getFn,fieldNormWeight:t=Jz.fieldNormWeight}={}){this.norm=Xz(t,3),this.getFn=e,this.isCreated=!1,this.setIndexRecords()}setSources(e=[]){this.docs=e}setIndexRecords(e=[]){this.records=e}setKeys(e=[]){this.keys=e,this._keysMap={},e.forEach((e,t)=>{this._keysMap[e.id]=t})}create(){this.isCreated||!this.docs.length||(this.isCreated=!0,Tz(this.docs[0])?this.docs.forEach((e,t)=>{this._addString(e,t)}):this.docs.forEach((e,t)=>{this._addObject(e,t)}),this.norm.clear())}add(e){let t=this.size();Tz(e)?this._addString(e,t):this._addObject(e,t)}removeAt(e){this.records.splice(e,1);for(let t=e,n=this.size();t<n;t+=1)--this.records[t].i}getValueForItemAtKeyId(e,t){return e[this._keysMap[t]]}size(){return this.records.length}_addString(e,t){if(!Az(e)||jz(e))return;let n={v:e,i:t,n:this.norm.get(e)};this.records.push(n)}_addObject(e,t){let n={i:t,$:{}};this.keys.forEach((t,r)=>{let i=t.getFn?t.getFn(e):this.getFn(e,t.path);if(Az(i)){if(xz(i)){let e=[],t=[{nestedArrIndex:-1,value:i}];for(;t.length;){let{nestedArrIndex:n,value:r}=t.pop();if(Az(r))if(Tz(r)&&!jz(r)){let t={v:r,i:n,n:this.norm.get(r)};e.push(t)}else xz(r)&&r.forEach((e,n)=>{t.push({nestedArrIndex:n,value:e})})}n.$[r]=e}else if(Tz(i)&&!jz(i)){let e={v:i,n:this.norm.get(i)};n.$[r]=e}}}),this.records.push(n)}toJSON(){return{keys:this.keys,records:this.records}}};function Qz(e,t,{getFn:n=Jz.getFn,fieldNormWeight:r=Jz.fieldNormWeight}={}){let i=new Zz({getFn:n,fieldNormWeight:r});return i.setKeys(e.map(Bz)),i.setSources(t),i.create(),i}function $z(e,{getFn:t=Jz.getFn,fieldNormWeight:n=Jz.fieldNormWeight}={}){let{keys:r,records:i}=e,a=new Zz({getFn:t,fieldNormWeight:n});return a.setKeys(r),a.setIndexRecords(i),a}function eB(e,{errors:t=0,currentLocation:n=0,expectedLocation:r=0,distance:i=Jz.distance,ignoreLocation:a=Jz.ignoreLocation}={}){let o=t/e.length;if(a)return o;let s=Math.abs(r-n);return i?o+s/i:s?1:o}function tB(e=[],t=Jz.minMatchCharLength){let n=[],r=-1,i=-1,a=0;for(let o=e.length;a<o;a+=1){let o=e[a];o&&r===-1?r=a:!o&&r!==-1&&(i=a-1,i-r+1>=t&&n.push([r,i]),r=-1)}return e[a-1]&&a-r>=t&&n.push([r,a-1]),n}var nB=32;function rB(e,t,n,{location:r=Jz.location,distance:i=Jz.distance,threshold:a=Jz.threshold,findAllMatches:o=Jz.findAllMatches,minMatchCharLength:s=Jz.minMatchCharLength,includeMatches:c=Jz.includeMatches,ignoreLocation:l=Jz.ignoreLocation}={}){if(t.length>nB)throw Error(Fz(nB));let u=t.length,d=e.length,f=Math.max(0,Math.min(r,d)),p=a,m=f,h=s>1||c,g=h?Array(d):[],_;for(;(_=e.indexOf(t,m))>-1;){let e=eB(t,{currentLocation:_,expectedLocation:f,distance:i,ignoreLocation:l});if(p=Math.min(e,p),m=_+u,h){let e=0;for(;e<u;)g[_+e]=1,e+=1}}m=-1;let v=[],y=1,b=u+d,ee=1<<u-1;for(let r=0;r<u;r+=1){let a=0,s=b;for(;a<s;)eB(t,{errors:r,currentLocation:f+s,expectedLocation:f,distance:i,ignoreLocation:l})<=p?a=s:b=s,s=Math.floor((b-a)/2+a);b=s;let c=Math.max(1,f-s+1),_=o?d:Math.min(f+s,d)+u,x=Array(_+2);x[_+1]=(1<<r)-1;for(let a=_;a>=c;--a){let o=a-1,s=n[e.charAt(o)];if(h&&(g[o]=+!!s),x[a]=(x[a+1]<<1|1)&s,r&&(x[a]|=(v[a+1]|v[a])<<1|1|v[a+1]),x[a]&ee&&(y=eB(t,{errors:r,currentLocation:o,expectedLocation:f,distance:i,ignoreLocation:l}),y<=p)){if(p=y,m=o,m<=f)break;c=Math.max(1,2*f-m)}}if(eB(t,{errors:r+1,currentLocation:f,expectedLocation:f,distance:i,ignoreLocation:l})>p)break;v=x}let x={isMatch:m>=0,score:Math.max(.001,y)};if(h){let e=tB(g,s);e.length?c&&(x.indices=e):x.isMatch=!1}return x}function iB(e){let t={};for(let n=0,r=e.length;n<r;n+=1){let i=e.charAt(n);t[i]=(t[i]||0)|1<<r-n-1}return t}var aB=String.prototype.normalize?(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,``)):(e=>e),oB=class{constructor(e,{location:t=Jz.location,threshold:n=Jz.threshold,distance:r=Jz.distance,includeMatches:i=Jz.includeMatches,findAllMatches:a=Jz.findAllMatches,minMatchCharLength:o=Jz.minMatchCharLength,isCaseSensitive:s=Jz.isCaseSensitive,ignoreDiacritics:c=Jz.ignoreDiacritics,ignoreLocation:l=Jz.ignoreLocation}={}){if(this.options={location:t,threshold:n,distance:r,includeMatches:i,findAllMatches:a,minMatchCharLength:o,isCaseSensitive:s,ignoreDiacritics:c,ignoreLocation:l},e=s?e:e.toLowerCase(),e=c?aB(e):e,this.pattern=e,this.chunks=[],!this.pattern.length)return;let u=(e,t)=>{this.chunks.push({pattern:e,alphabet:iB(e),startIndex:t})},d=this.pattern.length;if(d>nB){let e=0,t=d%nB,n=d-t;for(;e<n;)u(this.pattern.substr(e,nB),e),e+=nB;if(t){let e=d-nB;u(this.pattern.substr(e),e)}}else u(this.pattern,0)}searchIn(e){let{isCaseSensitive:t,ignoreDiacritics:n,includeMatches:r}=this.options;if(e=t?e:e.toLowerCase(),e=n?aB(e):e,this.pattern===e){let t={isMatch:!0,score:0};return r&&(t.indices=[[0,e.length-1]]),t}let{location:i,distance:a,threshold:o,findAllMatches:s,minMatchCharLength:c,ignoreLocation:l}=this.options,u=[],d=0,f=!1;this.chunks.forEach(({pattern:t,alphabet:n,startIndex:p})=>{let{isMatch:m,score:h,indices:g}=rB(e,t,n,{location:i+p,distance:a,threshold:o,findAllMatches:s,minMatchCharLength:c,includeMatches:r,ignoreLocation:l});m&&(f=!0),d+=h,m&&g&&(u=[...u,...g])});let p={isMatch:f,score:f?d/this.chunks.length:1};return f&&r&&(p.indices=u),p}},sB=class{constructor(e){this.pattern=e}static isMultiMatch(e){return cB(e,this.multiRegex)}static isSingleMatch(e){return cB(e,this.singleRegex)}search(){}};function cB(e,t){let n=e.match(t);return n?n[1]:null}var lB=class extends sB{constructor(e){super(e)}static get type(){return`exact`}static get multiRegex(){return/^="(.*)"$/}static get singleRegex(){return/^=(.*)$/}search(e){let t=e===this.pattern;return{isMatch:t,score:t?0:1,indices:[0,this.pattern.length-1]}}},uB=class extends sB{constructor(e){super(e)}static get type(){return`inverse-exact`}static get multiRegex(){return/^!"(.*)"$/}static get singleRegex(){return/^!(.*)$/}search(e){let t=e.indexOf(this.pattern)===-1;return{isMatch:t,score:t?0:1,indices:[0,e.length-1]}}},dB=class extends sB{constructor(e){super(e)}static get type(){return`prefix-exact`}static get multiRegex(){return/^\^"(.*)"$/}static get singleRegex(){return/^\^(.*)$/}search(e){let t=e.startsWith(this.pattern);return{isMatch:t,score:t?0:1,indices:[0,this.pattern.length-1]}}},fB=class extends sB{constructor(e){super(e)}static get type(){return`inverse-prefix-exact`}static get multiRegex(){return/^!\^"(.*)"$/}static get singleRegex(){return/^!\^(.*)$/}search(e){let t=!e.startsWith(this.pattern);return{isMatch:t,score:t?0:1,indices:[0,e.length-1]}}},pB=class extends sB{constructor(e){super(e)}static get type(){return`suffix-exact`}static get multiRegex(){return/^"(.*)"\$$/}static get singleRegex(){return/^(.*)\$$/}search(e){let t=e.endsWith(this.pattern);return{isMatch:t,score:t?0:1,indices:[e.length-this.pattern.length,e.length-1]}}},mB=class extends sB{constructor(e){super(e)}static get type(){return`inverse-suffix-exact`}static get multiRegex(){return/^!"(.*)"\$$/}static get singleRegex(){return/^!(.*)\$$/}search(e){let t=!e.endsWith(this.pattern);return{isMatch:t,score:t?0:1,indices:[0,e.length-1]}}},hB=class extends sB{constructor(e,{location:t=Jz.location,threshold:n=Jz.threshold,distance:r=Jz.distance,includeMatches:i=Jz.includeMatches,findAllMatches:a=Jz.findAllMatches,minMatchCharLength:o=Jz.minMatchCharLength,isCaseSensitive:s=Jz.isCaseSensitive,ignoreDiacritics:c=Jz.ignoreDiacritics,ignoreLocation:l=Jz.ignoreLocation}={}){super(e),this._bitapSearch=new oB(e,{location:t,threshold:n,distance:r,includeMatches:i,findAllMatches:a,minMatchCharLength:o,isCaseSensitive:s,ignoreDiacritics:c,ignoreLocation:l})}static get type(){return`fuzzy`}static get multiRegex(){return/^"(.*)"$/}static get singleRegex(){return/^(.*)$/}search(e){return this._bitapSearch.searchIn(e)}},gB=class extends sB{constructor(e){super(e)}static get type(){return`include`}static get multiRegex(){return/^'"(.*)"$/}static get singleRegex(){return/^'(.*)$/}search(e){let t=0,n,r=[],i=this.pattern.length;for(;(n=e.indexOf(this.pattern,t))>-1;)t=n+i,r.push([n,t-1]);let a=!!r.length;return{isMatch:a,score:a?0:1,indices:r}}},_B=[lB,gB,dB,fB,mB,pB,uB,hB],vB=_B.length,yB=/ +(?=(?:[^\"]*\"[^\"]*\")*[^\"]*$)/,bB=`|`;function xB(e,t={}){return e.split(bB).map(e=>{let n=e.trim().split(yB).filter(e=>e&&!!e.trim()),r=[];for(let e=0,i=n.length;e<i;e+=1){let i=n[e],a=!1,o=-1;for(;!a&&++o<vB;){let e=_B[o],n=e.isMultiMatch(i);n&&(r.push(new e(n,t)),a=!0)}if(!a)for(o=-1;++o<vB;){let e=_B[o],n=e.isSingleMatch(i);if(n){r.push(new e(n,t));break}}}return r})}var SB=new Set([hB.type,gB.type]),CB=class{constructor(e,{isCaseSensitive:t=Jz.isCaseSensitive,ignoreDiacritics:n=Jz.ignoreDiacritics,includeMatches:r=Jz.includeMatches,minMatchCharLength:i=Jz.minMatchCharLength,ignoreLocation:a=Jz.ignoreLocation,findAllMatches:o=Jz.findAllMatches,location:s=Jz.location,threshold:c=Jz.threshold,distance:l=Jz.distance}={}){this.query=null,this.options={isCaseSensitive:t,ignoreDiacritics:n,includeMatches:r,minMatchCharLength:i,findAllMatches:o,ignoreLocation:a,location:s,threshold:c,distance:l},e=t?e:e.toLowerCase(),e=n?aB(e):e,this.pattern=e,this.query=xB(this.pattern,this.options)}static condition(e,t){return t.useExtendedSearch}searchIn(e){let t=this.query;if(!t)return{isMatch:!1,score:1};let{includeMatches:n,isCaseSensitive:r,ignoreDiacritics:i}=this.options;e=r?e:e.toLowerCase(),e=i?aB(e):e;let a=0,o=[],s=0;for(let r=0,i=t.length;r<i;r+=1){let i=t[r];o.length=0,a=0;for(let t=0,r=i.length;t<r;t+=1){let r=i[t],{isMatch:c,indices:l,score:u}=r.search(e);if(c){if(a+=1,s+=u,n){let e=r.constructor.type;SB.has(e)?o=[...o,...l]:o.push(l)}}else{s=0,a=0,o.length=0;break}}if(a){let e={isMatch:!0,score:s/a};return n&&(e.indices=o),e}}return{isMatch:!1,score:1}}},wB=[];function TB(...e){wB.push(...e)}function EB(e,t){for(let n=0,r=wB.length;n<r;n+=1){let r=wB[n];if(r.condition(e,t))return new r(e,t)}return new oB(e,t)}var DB={AND:`$and`,OR:`$or`},OB={PATH:`$path`,PATTERN:`$val`},kB=e=>!!(e[DB.AND]||e[DB.OR]),AB=e=>!!e[OB.PATH],jB=e=>!xz(e)&&Oz(e)&&!kB(e),MB=e=>({[DB.AND]:Object.keys(e).map(t=>({[t]:e[t]}))});function NB(e,t,{auto:n=!0}={}){let r=e=>{let i=Object.keys(e),a=AB(e);if(!a&&i.length>1&&!kB(e))return r(MB(e));if(jB(e)){let r=a?e[OB.PATH]:i[0],o=a?e[OB.PATTERN]:e[r];if(!Tz(o))throw Error(Pz(r));let s={keyId:Hz(r),pattern:o};return n&&(s.searcher=EB(o,t)),s}let o={children:[],operator:i[0]};return i.forEach(t=>{let n=e[t];xz(n)&&n.forEach(e=>{o.children.push(r(e))})}),o};return kB(e)||(e=MB(e)),r(e)}function PB(e,{ignoreFieldNorm:t=Jz.ignoreFieldNorm}){e.forEach(e=>{let n=1;e.matches.forEach(({key:e,norm:r,score:i})=>{let a=e?e.weight:null;n*=(i===0&&a?2**-52:i)**+((a||1)*(t?1:r))}),e.score=n})}function FB(e,t){let n=e.matches;t.matches=[],Az(n)&&n.forEach(e=>{if(!Az(e.indices)||!e.indices.length)return;let{indices:n,value:r}=e,i={indices:n,value:r};e.key&&(i.key=e.key.src),e.idx>-1&&(i.refIndex=e.idx),t.matches.push(i)})}function IB(e,t){t.score=e.score}function LB(e,t,{includeMatches:n=Jz.includeMatches,includeScore:r=Jz.includeScore}={}){let i=[];return n&&i.push(FB),r&&i.push(IB),e.map(e=>{let{idx:n}=e,r={item:t[n],refIndex:n};return i.length&&i.forEach(t=>{t(e,r)}),r})}var RB=class{constructor(e,t={},n){this.options={...Jz,...t},this.options.useExtendedSearch,this._keyStore=new zz(this.options.keys),this.setCollection(e,n)}setCollection(e,t){if(this._docs=e,t&&!(t instanceof Zz))throw Error(Nz);this._myIndex=t||Qz(this.options.keys,this._docs,{getFn:this.options.getFn,fieldNormWeight:this.options.fieldNormWeight})}add(e){Az(e)&&(this._docs.push(e),this._myIndex.add(e))}remove(e=()=>!1){let t=[];for(let n=0,r=this._docs.length;n<r;n+=1){let i=this._docs[n];e(i,n)&&(this.removeAt(n),--n,--r,t.push(i))}return t}removeAt(e){this._docs.splice(e,1),this._myIndex.removeAt(e)}getIndex(){return this._myIndex}search(e,{limit:t=-1}={}){let{includeMatches:n,includeScore:r,shouldSort:i,sortFn:a,ignoreFieldNorm:o}=this.options,s=Tz(e)?Tz(this._docs[0])?this._searchStringList(e):this._searchObjectList(e):this._searchLogical(e);return PB(s,{ignoreFieldNorm:o}),i&&s.sort(a),Ez(t)&&t>-1&&(s=s.slice(0,t)),LB(s,this._docs,{includeMatches:n,includeScore:r})}_searchStringList(e){let t=EB(e,this.options),{records:n}=this._myIndex,r=[];return n.forEach(({v:e,i:n,n:i})=>{if(!Az(e))return;let{isMatch:a,score:o,indices:s}=t.searchIn(e);a&&r.push({item:e,idx:n,matches:[{score:o,value:e,norm:i,indices:s}]})}),r}_searchLogical(e){let t=NB(e,this.options),n=(e,t,r)=>{if(!e.children){let{keyId:n,searcher:i}=e,a=this._findMatches({key:this._keyStore.get(n),value:this._myIndex.getValueForItemAtKeyId(t,n),searcher:i});return a&&a.length?[{idx:r,item:t,matches:a}]:[]}let i=[];for(let a=0,o=e.children.length;a<o;a+=1){let o=e.children[a],s=n(o,t,r);if(s.length)i.push(...s);else if(e.operator===DB.AND)return[]}return i},r=this._myIndex.records,i={},a=[];return r.forEach(({$:e,i:r})=>{if(Az(e)){let o=n(t,e,r);o.length&&(i[r]||(i[r]={idx:r,item:e,matches:[]},a.push(i[r])),o.forEach(({matches:e})=>{i[r].matches.push(...e)}))}}),a}_searchObjectList(e){let t=EB(e,this.options),{keys:n,records:r}=this._myIndex,i=[];return r.forEach(({$:e,i:r})=>{if(!Az(e))return;let a=[];n.forEach((n,r)=>{a.push(...this._findMatches({key:n,value:e[r],searcher:t}))}),a.length&&i.push({idx:r,item:e,matches:a})}),i}_findMatches({key:e,value:t,searcher:n}){if(!Az(t))return[];let r=[];if(xz(t))t.forEach(({v:t,i,n:a})=>{if(!Az(t))return;let{isMatch:o,score:s,indices:c}=n.searchIn(t);o&&r.push({score:s,key:e,value:t,idx:i,norm:a,indices:c})});else{let{v:i,n:a}=t,{isMatch:o,score:s,indices:c}=n.searchIn(i);o&&r.push({score:s,key:e,value:i,norm:a,indices:c})}return r}};RB.version=`7.1.0`,RB.createIndex=Qz,RB.parseIndex=$z,RB.config=Jz,RB.parseQuery=NB,TB(CB);var zB=[`id`],BB=[`id`,`aria-selected`,`onClick`],VB={class:`flex items-center gap-2 whitespace-nowrap`},HB={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`},UB={class:`max-w-[9rem] overflow-hidden text-right text-ellipsis whitespace-nowrap`},WB=12,GB=w({__name:`EnvironmentVariablesDropdown`,props:{query:{},environment:{},dropdownPosition:{},contextFunctionItems:{default:()=>[]},listboxId:{}},emits:[`select`,`redirect`,`close`],setup(e,{expose:t,emit:n}){let r=n,i=A(!0),a=A(null),o=A(0),s=()=>{r(`redirect`),i.value=!1,r(`close`)},c=j(()=>(e.environment?.variables??[]).map(e=>({key:e.name,value:typeof e.value==`string`?e.value:e.value.default}))),l=j(()=>e.contextFunctionItems.map(e=>({kind:`context`,key:e.key,secondary:e.description}))),u=j(()=>c.value.filter(({key:e,value:t})=>e!==``||t!==``).map(({key:e,value:t})=>({kind:`env`,key:e,secondary:t}))),d=j(()=>u.value.map(e=>({...e,fuseText:`${e.key} ${e.secondary}`}))),f=j(()=>l.value.map(e=>({...e,fuseText:`${e.key} ${e.secondary}`}))),p=j(()=>new RB(d.value,{keys:[`fuseText`],threshold:.35})),m=j(()=>new RB(f.value,{keys:[`fuseText`],threshold:.35})),h=j(()=>{let t=new Map(e.contextFunctionItems.map(e=>[e.key,e]));return fse.flatMap(e=>{let n=t.get(e);return n?[{kind:`context`,key:n.key,secondary:n.description}]:[]})}),g=j(()=>{if(!e.query.trim())return[...u.value.slice(-4),...h.value];let t=e.query.trim(),n=p.value.search(t,{limit:WB}).map(e=>{let{kind:t,key:n,secondary:r}=e.item;return{kind:t,key:n,secondary:r}}),r=WB-n.length,i=r>0?m.value.search(t,{limit:r}).map(e=>{let{kind:t,key:n,secondary:r}=e.item;return{kind:t,key:n,secondary:r}}):[];return[...n,...i]}),b=t=>e.listboxId?`${e.listboxId}-option-${t}`:void 0,ee=j(()=>g.value.length?b(o.value):void 0),x=e=>{r(`select`,e)};Xe(()=>g.value.length,e=>{o.value>e-1&&(o.value=Math.max(0,e-1))}),t({handleArrowKey:e=>{let t=e===`up`?-1:1,n=g.value.length;n!==0&&(o.value=(o.value+t+n)%n)},handleSelect:()=>{if(o.value>=0){let e=g.value[o.value];e&&x(e.key)}},activeOptionId:ee}),ue(()=>{o.value=0});let S=j(()=>({left:(e.dropdownPosition?.left??0)+`px`,top:(e.dropdownPosition?.top??0)+5+`px`}));return BR(a,()=>{i.value=!1,r(`close`)},{ignore:[a]}),(t,n)=>i.value?(y(),O(T(KF),{key:0,class:`scalar-client`},{default:E(()=>[N(`div`,{ref_key:`dropdownRef`,ref:a,class:`custom-scroll z-context fixed top-0 left-0 flex max-h-[60svh] w-56 flex-col rounded border p-0.75`,style:te(S.value),onMousedown:n[0]||=Ln(()=>{},[`prevent`])},[N(`ul`,{id:e.listboxId,"aria-label":`Variable suggestions`,class:`gap-1/2 flex flex-col`,role:`listbox`},[(y(!0),M(Ne,null,_(g.value,(t,n)=>(y(),M(`li`,{key:`${t.kind}-${t.key}`,id:b(n),"aria-selected":n===o.value,class:v([`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":n===o.value}]),role:`option`,onClick:e=>x(t.key)},[N(`div`,VB,[t.kind===`env`?(y(),M(`span`,{key:0,class:`h-2.25 w-2.25 min-w-2.25 rounded-full`,style:te({backgroundColor:e.environment?.color})},null,4)):(y(),M(`span`,HB,` fn `)),tt(` `+be(t.key),1)]),N(`span`,UB,be(t.secondary),1)],10,BB))),128))],8,zB),g.value.length?k(``,!0):(y(),O(T(OF),{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:E(()=>[D(T(fo),{class:`size-3`}),n[1]||=tt(` Add Variable `,-1)]),_:1})),n[2]||=N(`div`,{class:`bg-b-1 brightness-lifted absolute inset-0 -z-1 rounded shadow-lg`},null,-1)],36)]),_:1})):k(``,!0)}}),KB=`scalar-tooltip`,qB=`scalar-tooltip`,JB=A(),YB=A(),XB=A(),{floatingStyles:ZB,placement:QB}=rR(j(()=>T(XB.value?.targetRef)),YB,{placement:j(()=>T(XB.value?.placement)),whileElementsMounted:HL,middleware:j(()=>[GL(),WL()])});Xe(QB,e=>{!YB.value||!e||(YB.value.dataset.side=e.split(`-`)[0])}),Xe(ZB,()=>{YB.value&&(YB.value.style.position=ZB.value.position,YB.value.style.top=ZB.value.top,YB.value.style.left=ZB.value.left,YB.value.style.transform=ZB.value.transform??``,YB.value.style.willChange=ZB.value.willChange??``)}),Xe(XB,e=>{if(YB.value)if(e){let t=T(e?.contentTarget)??`textContent`;YB.value[t]=T(e?.content)??``;let n=T(e?.offset)??4;YB.value.style.setProperty(`--scalar-tooltip-offset`,`${n}px`),YB.value.dataset.side=(T(e?.placement)??`bottom`).split(`-`)[0],YB.value.style.setProperty(`display`,`block`)}else YB.value.innerHTML=``,YB.value.style.removeProperty(`--scalar-tooltip-offset`),YB.value.style.setProperty(`display`,`none`)},{deep:!0});function $B(){if(typeof document>`u`||typeof window>`u`||YB.value)return;let e=document.getElementById(KB);e?YB.value=e:(YB.value=document.createElement(`div`),YB.value.role=`tooltip`,YB.value.id=KB,YB.value.classList.add(qB),YB.value.classList.add(`scalar-app`),YB.value.style.setProperty(`display`,`none`),YB.value.addEventListener(`mouseleave`,eV),document.body.appendChild(YB.value))}function eV(e){iV(e)&&(nV(),XB.value=void 0)}function tV(e){e.key===`Escape`&&(e.stopPropagation(),eV(e))}function nV(){JB.value&&=(clearTimeout(JB.value),void 0)}function rV(e){let t=[],n=e.parentElement;for(;n;)t.push(n),n=n.parentElement;return t}function iV(e){let t=T(XB.value?.targetRef);if(e instanceof MouseEvent&&e.relatedTarget instanceof Element&&t){let n=rV(e.relatedTarget);return e.relatedTarget.id!==`scalar-tooltip`&&!n.some(e=>e.id===`scalar-tooltip`)&&e.relatedTarget!==t}return!0}function aV(e){$B();function t(t){let r=T(e.delay)??300;nV(),r>0?JB.value=setTimeout(()=>n(t),r):n(t)}function n(t){nV(),document.addEventListener(`keydown`,tV,{once:!0,capture:!0}),XB.value=e}Xe(()=>T(e.targetRef),(e,r)=>{r&&(r.removeEventListener(`mouseenter`,t),r.removeEventListener(`mouseleave`,eV),r.removeEventListener(`focus`,n),r.removeEventListener(`blur`,eV),r.removeAttribute(`aria-describedby`)),e&&(e.addEventListener(`mouseenter`,t),e.addEventListener(`mouseleave`,eV),e.addEventListener(`focus`,n),e.addEventListener(`blur`,eV),e.setAttribute(`aria-describedby`,KB))},{immediate:!0}),Ge(()=>{nV();let r=T(e.targetRef);r&&(r.removeEventListener(`mouseenter`,t),r.removeEventListener(`mouseleave`,eV),r.removeEventListener(`focus`,n),r.removeEventListener(`blur`,eV),r.removeAttribute(`aria-describedby`)),T(XB.value?.targetRef)===T(e.targetRef)&&(XB.value=void 0)})}var oV=e=>{let t=Reflect.get(e,`userAgentData`);if(!(!t||typeof t!=`object`)&&!(!(`platform`in t)||typeof t.platform!=`string`))return t.platform},sV=()=>{if(typeof navigator>`u`)return!1;let e=oV(navigator);return e?e.toLowerCase().includes(`mac`):/Mac/.test(navigator.userAgent)},cV=w({name:`PillTooltipHost`,__name:`PillTooltipHost`,props:{context:{},target:{}},setup(e){let t=e,n=t.context.type===`contextFunction`,r=j(()=>{if(!n||typeof document>`u`||t.context.type!==`contextFunction`)return``;let e=document.createElement(`div`);return pee(fe(`div`,{class:`flex flex-col gap-1.5 text-left`},[fe(`span`,{},t.context.details),fe(`div`,{class:`text-[color:var(--scalar-color-3)] text-[10px] font-normal`},`Computed at request execution`)]),e),e.innerHTML}),i=j(()=>t.context.type===`environment`?t.context.value:``),a=A(t.target);return aV({content:n?r:i,contentTarget:n?`innerHTML`:`textContent`,delay:0,placement:`bottom-start`,offset:6,targetRef:a}),(e,t)=>null}}),lV=`useandom-26T198340PX75pxJACKVERYMINDBUSHWOLF_GQZbfghjklqvwyzrict`,uV=(e=21)=>{let t=``,n=crypto.getRandomValues(new Uint8Array(e|=0));for(;e--;)t+=lV[n[e]&63];return t},dV=[`role`],fV={key:0,class:`sr-only`},pV=w({__name:`DataTable`,props:{columns:{},scroll:{type:Boolean},presentational:{type:Boolean}},setup(e){let{cx:t}=pc();return(n,r)=>(y(),M(`div`,qe($e(T(t)(e.scroll?`overflow-x-auto custom-scroll`:`overflow-visible`,`scalar-data-table`))),[N(`table`,{class:v([`mb-0 grid min-h-8 auto-rows-auto`,{"w-max min-w-full":e.scroll}]),role:e.presentational?`presentation`:`table`,style:te({gridTemplateColumns:e.columns.map(e=>e||`1fr`).join(` `)})},[n.$slots.caption?(y(),M(`caption`,fV,[S(n.$slots,`caption`)])):k(``,!0),S(n.$slots,`default`)],14,dV)],16))}}),mV=w({inheritAttrs:!1,__name:`DataTableCell`,props:{is:{default:`td`}},setup(e){let{cx:t}=pc();return(n,r)=>(y(),O(x(e.is),o(T(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:E(()=>[S(n.$slots,`default`)]),_:3},16))}}),hV={},gV={class:`group contents`};function _V(e,t){return y(),M(`tr`,gV,[S(e.$slots,`default`)])}var vV=Da(hV,[[`render`,_V]]),yV=(e,t)=>{let n=e?.variables?.find(e=>e.name===t);if(n)return typeof n.value==`string`?n.value:n.value?.default},bV=(e,t)=>{if(eT(e))return{type:`contextFunction`,identifier:e,details:Qw(e)};let n=yV(t,e);return{type:`environment`,name:e,value:n||`No value`,isDefined:!!n}},xV=(e,t)=>{if(!t||!e.includes(`{{`))return``;let n=new RegExp(go.VARIABLES.source,go.VARIABLES.flags),r=``,i;for(;(i=n.exec(e))!==null;)r+=`|${i[1]??``}`;return r},SV=e=>typeof e==`string`?e:e==null?``:JSON.stringify(e),CV={class:`whitespace-nowrap`},wV=[`id`],TV=[`aria-activedescendant`,`aria-autocomplete`,`aria-controls`,`aria-expanded`,`aria-invalid`,`aria-label`,`aria-readonly`,`aria-required`,`contenteditable`,`data-placeholder`,`role`],EV={key:5,class:`centered-y text-orange absolute right-7 text-xs`},DV={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`},OV={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`},kV=Da(w({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}){let r=n,i=ve(),a=A(null),s=j(()=>i.id??a.value??void 0),c=()=>{!i.id&&a.value===null&&(a.value=`id-${uV()}`)},l=Oe(`editorRef`),u=A(null),d=j(()=>s.value?`${s.value}-listbox`:void 0),f=j(()=>u.value?.activeOptionId),p=A(!1),m=A(!0),h=A(!1),g=e=>e.trim().length===0,_=j(()=>e.enum?.length?!1:e.type===`boolean`||Array.isArray(e.type)&&e.type.includes(`boolean`)),b=j(()=>e.nullable?[`true`,`false`,`null`]:[`true`,`false`]),ee=j(()=>Array.isArray(e.type)?e.type.find(e=>e!==`null`)??`string`:e.type),x=e=>r(`update:modelValue`,e),te=[],ne=!1,re=()=>{for(let e of te)e.unmount();te=[]},ie=()=>{if(!l.value||e.layout===`modal`)return;let t=l.value.querySelectorAll(`.scalar-pill`);for(let n of t){let t=Wn(cV,{context:bV(n.dataset.variable??``,e.environment),target:n});t.mount(document.createElement(`div`)),te.push(t)}},ae=(t,n,r)=>{let i=eT(t),a=document.createElement(`span`);a.className=i?`scalar-pill scalar-pill--context-fn`:`scalar-pill`,a.contentEditable=`false`,a.dataset.variable=t,a.dataset.pillStart=String(n),a.dataset.pillEnd=String(r);let o=i?`var(--scalar-color-3)`:e.environment?.color||`var(--scalar-color-1)`;return a.style.setProperty(`--tw-bg-base`,o),!i&&!yV(e.environment,t)&&(a.style.opacity=`0.5`),a.textContent=t,a},oe=t=>{let n=l.value;if(!n)return;if(re(),n.replaceChildren(),!e.withVariables||!t.includes(`{{`)){t&&n.appendChild(document.createTextNode(t)),m.value=g(t);return}let r=new RegExp(go.VARIABLES.source,go.VARIABLES.flags),i=0,a;for(;(a=r.exec(t))!==null;){let e=a.index,r=e+a[0].length;e>i&&n.appendChild(document.createTextNode(t.slice(i,e))),n.appendChild(ae(a[1]??``,e,r)),i=r}i<t.length&&n.appendChild(document.createTextNode(t.slice(i))),m.value=!1,ne&&ie()},C=e=>e.nodeType===Node.TEXT_NODE?(e.textContent??``).length:e instanceof HTMLElement&&e.classList.contains(`scalar-pill`)?`{{${e.dataset.variable??``}}}`.length:(e.textContent??``).length,ce=()=>{let e=l.value;if(!e)return``;let t=``;for(let n of Array.from(e.childNodes))n.nodeType===Node.TEXT_NODE?t+=n.textContent??``:n instanceof HTMLElement&&n.classList.contains(`scalar-pill`)?t+=`{{${n.dataset.variable??``}}}`:n instanceof HTMLElement&&(t+=n.textContent??``);return t},le=null,de=``,w=()=>{let t=e.environment?.color??``,n=e.withVariables?`1`:`0`,r=e.environment?.variables??[],i=``;for(let e of r){let t=typeof e.value==`string`?e.value:e.value?.default??``;i+=`\x1f${e.name}\x1e${t}`}return`${t}|${n}|${i}`},fe=()=>{ne||(ne=!0,ie())},pe=()=>{let e=l.value;if(!e)return null;let t=window.getSelection();if(!t||t.rangeCount===0)return null;let n=t.getRangeAt(0);if(n.startContainer!==e&&!e.contains(n.startContainer))return null;if(n.startContainer===e){let t=0;for(let r=0;r<n.startOffset&&r<e.childNodes.length;r++)t+=C(e.childNodes[r]);return t}let r=0;for(let t of Array.from(e.childNodes)){if(t===n.startContainer)return r+n.startOffset;if(t.contains(n.startContainer))return n.startOffset===0?r:r+C(t);r+=C(t)}return r},me=e=>{let t=l.value;if(!t)return;let n=document.createRange(),r=0,i=!1;for(let a of Array.from(t.childNodes)){let t=C(a);if(r+t>=e){if(a.nodeType===Node.TEXT_NODE){let t=Math.max(0,Math.min(e-r,(a.textContent??``).length));n.setStart(a,t)}else e-r<=0?n.setStartBefore(a):n.setStartAfter(a);i=!0;break}r+=t}i?n.collapse(!0):(n.selectNodeContents(t),n.collapse(!1));let a=window.getSelection();a&&(a.removeAllRanges(),a.addRange(n))},he=A(!1),ge=A(``),_e=A({left:0,top:0}),ye=j(()=>e.withFakeData?$w.map(e=>({key:e,description:Qw(e)})):[]),xe=j(()=>he.value&&e.withVariables&&e.layout!==`modal`&&(!!e.environment||e.withFakeData)),Se=()=>{if(!l.value)return;let e=pe();if(e===null){he.value=!1;return}let t=ce().slice(0,e),n=t.lastIndexOf(`{{`);if(n<=t.lastIndexOf(`}}`)){he.value=!1;return}ge.value=t.slice(n+2),c(),he.value=!0,Pe(()=>{let e=window.getSelection();if(!e||e.rangeCount===0||!l.value)return;let t=e.getRangeAt(0).cloneRange();t.collapse(!0);let n=t.getBoundingClientRect(),r=l.value.getBoundingClientRect();_e.value={left:n.left||r.left,top:n.bottom||r.bottom}})},Ce=t=>{if(e.readOnly)return;let n=pe()??0,r=ce(),i=Math.max(0,n-ge.value.length-2),a=n,o=`${r.slice(0,i)}{{${t}}}${r.slice(a)}`,s=i+`{{${t}}}`.length;le=xV(o,e.withVariables),oe(o),me(s),he.value=!1,we(o,{skipDropdownCheck:!0})},we=(t,n={})=>{let i=t===SV(e.modelValue);(e.alwaysEmitChange||!i)&&r(`update:modelValue`,t),n.skipDropdownCheck||Se()},Te=()=>{let t=ce();m.value=g(t);let n=xV(t,e.withVariables);if(!h.value&&n!==le){let e=pe();le=n,oe(t),e!==null&&me(e)}we(t)},E=()=>{h.value=!0},D=()=>{h.value=!1,Te()},Ee=()=>{p.value=!0,c(),fe()},De=t=>{p.value=!1,he.value=!1;let n=ce();e.emitOnBlur&&n&&r(`submit`,n,t),r(`blur`,n,t)},ke=e=>{e.preventDefault();let t=e.clipboardData?.getData(`text/plain`)??``;t&&(document.execCommand(`insertText`,!1,t.replace(/\r?\n/g,` `)),Te())},Ae=e=>{if(he.value){if(e.key===`ArrowDown`||e.key===`ArrowUp`){e.preventDefault(),e.stopPropagation(),u.value?.handleArrowKey(e.key===`ArrowDown`?`down`:`up`);return}if(e.key===`Enter`){e.preventDefault(),e.stopPropagation(),u.value?.handleSelect();return}if(e.key===`Escape`){e.preventDefault(),e.stopPropagation(),he.value=!1;return}}if(e.key===`Enter`){e.preventDefault(),r(`submit`,ce(),e);return}},je=e=>{let t=e.target?.closest(`.scalar-pill`);if(!t)return;let n=l.value;if(!n)return;n.focus();let r=document.createRange();r.selectNode(t);let i=window.getSelection();i?.removeAllRanges(),i?.addRange(r),Se()};return ue(()=>{let t=SV(e.modelValue);le=xV(t,e.withVariables),de=w(),oe(t),m.value=g(t),Object.hasOwn(i,`autofocus`)&&l.value?.focus()}),Xe(()=>e.modelValue,t=>{let n=SV(t);m.value=g(n),ce()!==n&&(le=xV(n,e.withVariables),oe(n))}),Xe([()=>e.environment,()=>e.withVariables],()=>{let t=w();if(t===de||(de=t,le===``))return;le=xV(ce(),e.withVariables);let n=pe();oe(ce()),n!==null&&me(n)},{deep:!0}),se(()=>{re()}),t({focus:e=>{let t=l.value;if(!t||(t.focus(),!mc(e)))return;let n=ce().length;me(e===`start`?0:e===`end`?n:e)},setContent:(t=``)=>{ce()!==t&&(le=xV(t,e.withVariables),oe(t),m.value=g(t))},getValue:()=>ce(),cursorPosition:()=>{let e=pe();return e===null?void 0:e},isFocused:p,editorRef:l}),(t,n)=>(y(),M(Ne,null,[e.disabled?(y(),M(`div`,{key:0,class:v([`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`},[N(`span`,CV,be(e.modelValue),1)],2)):e.enum?.length?(y(),O(bz,{key:1,default:e.default,modelValue:e.modelValue,type:ee.value,value:e.enum,"onUpdate:modelValue":x},null,8,[`default`,`modelValue`,`type`,`value`])):_.value?(y(),O(bz,{key:2,default:e.default,modelValue:e.modelValue,value:b.value,"onUpdate:modelValue":x},null,8,[`default`,`modelValue`,`value`])):e.examples?.length?(y(),O(bz,{key:3,default:e.default,modelValue:e.modelValue,value:e.examples,"onUpdate:modelValue":x},null,8,[`default`,`modelValue`,`value`])):(y(),M(`div`,o({key:4,id:s.value},t.$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":m.value,"line-through":e.linethrough}]}),[N(`div`,{ref_key:`editorRef`,ref:l,"aria-activedescendant":xe.value?f.value:void 0,"aria-autocomplete":e.withVariables?`list`:void 0,"aria-controls":xe.value?d.value:void 0,"aria-expanded":xe.value?`true`:void 0,"aria-invalid":e.error?`true`:void 0,"aria-label":T(i)[`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:De,onClick:je,onCompositionend:D,onCompositionstart:E,onFocus:Ee,onInput:Te,onKeydown:Ae,onPaste:ke,onPointerover:fe},null,40,TV)],16,wV)),t.$slots.warning?(y(),M(`div`,EV,[S(t.$slots,`warning`,{},void 0,!0)])):k(``,!0),t.$slots.icon?(y(),M(`div`,DV,[S(t.$slots,`icon`,{},void 0,!0)])):k(``,!0),e.required?(y(),M(`div`,OV,` Required `)):k(``,!0),xe.value?(y(),O(GB,{key:8,ref_key:`dropdownRef`,ref:u,contextFunctionItems:ye.value,dropdownPosition:_e.value,environment:e.environment,listboxId:d.value,query:ge.value,onClose:n[0]||=e=>he.value=!1,onRedirect:n[1]||=e=>r(`navigate`,{page:`document`,path:`environment`}),onSelect:Ce},null,8,[`contextFunctionItems`,`dropdownPosition`,`environment`,`listboxId`,`query`])):k(``,!0)],64))}}),[[`__scopeId`,`data-v-1974e80d`]]),AV=[`checked`,`disabled`],jV=w({__name:`DataTableCheckbox`,props:{modelValue:{type:Boolean},disabled:{type:Boolean},align:{default:`center`}},emits:[`update:modelValue`],setup(e){let t=dc({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)=>(y(),O(mV,{class:`group/cell relative flex min-w-8`},{default:E(()=>[N(`input`,{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]||=e=>n.$emit(`update:modelValue`,e.target.checked)},null,40,AV),N(`div`,{class:v(T(t)({align:e.align}))},[N(`div`,{class:v([`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),D(T(SF),{icon:`Checkmark`,size:`xs`,thickness:`2.5`})],2)]),_:1}))}}),MV=(function(e){if(e==null)return LV;if(typeof e==`function`)return IV(e);if(typeof e==`object`)return Array.isArray(e)?NV(e):PV(e);if(typeof e==`string`)return FV(e);throw Error(`Expected function, string, or object as test`)});function NV(e){let t=[],n=-1;for(;++n<e.length;)t[n]=MV(e[n]);return IV(r);function r(...e){let n=-1;for(;++n<t.length;)if(t[n].apply(this,e))return!0;return!1}}function PV(e){let t=e;return IV(n);function n(n){let r=n,i;for(i in e)if(r[i]!==t[i])return!1;return!0}}function FV(e){return IV(t);function t(t){return t&&t.type===e}}function IV(e){return t;function t(t,n,r){return!!(RV(t)&&e.call(this,t,typeof n==`number`?n:void 0,r||void 0))}}function LV(){return!0}function RV(e){return typeof e==`object`&&!!e&&`type`in e}function zV(e){return e}var BV=[],VV=`skip`;function HV(e,t,n,r){let i;typeof t==`function`&&typeof n!=`function`?(r=n,n=t):i=t;let a=MV(i),o=r?-1:1;s(e,void 0,[])();function s(e,i,c){let l=e&&typeof e==`object`?e:{};if(typeof l.type==`string`){let t=typeof l.tagName==`string`?l.tagName:typeof l.name==`string`?l.name:void 0;Object.defineProperty(u,`name`,{value:`node (`+zV(e.type+(t?`<`+t+`>`:``))+`)`})}return u;function u(){let l=BV,u,d,f;if((!t||a(e,i,c[c.length-1]||void 0))&&(l=UV(n(e,c)),l[0]===!1))return l;if(`children`in e&&e.children){let t=e;if(t.children&&l[0]!==`skip`)for(d=(r?t.children.length:-1)+o,f=c.concat(t);d>-1&&d<t.children.length;){let e=t.children[d];if(u=s(e,d,f)(),u[0]===!1)return u;d=typeof u[1]==`number`?u[1]:d+o}}return l}}}function UV(e){return Array.isArray(e)?e:typeof e==`number`?[!0,e]:e==null?BV:[e]}function WV(e,t,n,r){let i,a,o;typeof t==`function`&&typeof n!=`function`?(a=void 0,o=t,i=n):(a=t,o=n,i=r),HV(e,a,s,i);function s(e,t){let n=t[t.length-1],r=n?n.children.indexOf(e):void 0;return o(e,r,n)}}var GV=Object.create,KV=Object.defineProperty,qV=Object.getOwnPropertyDescriptor,JV=Object.getOwnPropertyNames,YV=Object.getPrototypeOf,XV=Object.prototype.hasOwnProperty,ZV=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports),QV=(e,t)=>{let n={};for(var r in e)KV(n,r,{get:e[r],enumerable:!0});return t||KV(n,Symbol.toStringTag,{value:`Module`}),n},$V=(e,t,n,r)=>{if(t&&typeof t==`object`||typeof t==`function`)for(var i=JV(t),a=0,o=i.length,s;a<o;a++)s=i[a],!XV.call(e,s)&&s!==n&&KV(e,s,{get:(e=>t[e]).bind(null,s),enumerable:!(r=qV(t,s))||r.enumerable});return e},eH=(e,t,n)=>(n=e==null?{}:GV(YV(e)),$V(t||!e||!e.__esModule?KV(n,`default`,{value:e,enumerable:!0}):n,e)),tH={ts:`typescript`,js:`javascript`,py:`python`,py3:`python`,"c#":`csharp`,"c++":`cpp`,node:`javascript`},nH=(function(e,t,n){let r=MV(n);if(!e||!e.type||!e.children)throw Error(`Expected parent node`);if(typeof t==`number`){if(t<0||t===1/0)throw Error(`Expected positive finite number as index`)}else if(t=e.children.indexOf(t),t<0)throw Error(`Expected child node or index`);for(;++t<e.children.length;)if(r(e.children[t],t,e))return e.children[t]}),rH=(function(e,t,n,r,i){let a=iH(t);if(n!=null&&(typeof n!=`number`||n<0||n===1/0))throw Error("Expected positive finite `index`");if(r!=null&&(!r.type||!r.children))throw Error("Expected valid `parent`");if(n==null!=(r==null))throw Error("Expected both `index` and `parent`");return lH(e)?a.call(i,e,n,r):!1}),iH=(function(e){if(e==null)return cH;if(typeof e==`string`)return oH(e);if(typeof e==`object`)return aH(e);if(typeof e==`function`)return sH(e);throw Error("Expected function, string, or array as `test`")});function aH(e){let t=[],n=-1;for(;++n<e.length;)t[n]=iH(e[n]);return sH(r);function r(...e){let n=-1;for(;++n<t.length;)if(t[n].apply(this,e))return!0;return!1}}function oH(e){return sH(t);function t(t){return t.tagName===e}}function sH(e){return t;function t(t,n,r){return!!(lH(t)&&e.call(this,t,typeof n==`number`?n:void 0,r||void 0))}}function cH(e){return!!(e&&typeof e==`object`&&`type`in e&&e.type===`element`&&`tagName`in e&&typeof e.tagName==`string`)}function lH(e){return typeof e==`object`&&!!e&&`type`in e&&`tagName`in e}var uH=/\n/g,dH=/[\t ]+/g,fH=iH(`br`),pH=iH(EH),mH=iH(`p`),hH=iH(`tr`),gH=iH([`datalist`,`head`,`noembed`,`noframes`,`noscript`,`rp`,`script`,`style`,`template`,`title`,TH,DH]),_H=iH(`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`.split(`.`));function vH(e,t){let n=t||{},r=`children`in e?e.children:[],i=_H(e),a=wH(e,{whitespace:n.whitespace||`normal`,breakBefore:!1,breakAfter:!1}),o=[];(e.type===`text`||e.type===`comment`)&&o.push(...xH(e,{whitespace:a,breakBefore:!0,breakAfter:!0}));let s=-1;for(;++s<r.length;)o.push(...yH(r[s],e,{whitespace:a,breakBefore:s?void 0:i,breakAfter:s<r.length-1?fH(r[s+1]):i}));let c=[],l;for(s=-1;++s<o.length;){let e=o[s];typeof e==`number`?l!==void 0&&e>l&&(l=e):e&&(l!==void 0&&l>-1&&c.push(`
14
+ `.repeat(l)||` `),l=-1,c.push(e))}return c.join(``)}function yH(e,t,n){return e.type===`element`?bH(e,t,n):e.type===`text`?n.whitespace===`normal`?xH(e,n):SH(e):[]}function bH(e,t,n){let r=wH(e,n),i=e.children||[],a=-1,o=[];if(gH(e))return o;let s,c;for(fH(e)||hH(e)&&nH(t,e,hH)?c=`
15
+ `:mH(e)?(s=2,c=2):_H(e)&&(s=1,c=1);++a<i.length;)o=o.concat(yH(i[a],e,{whitespace:r,breakBefore:a?void 0:s,breakAfter:a<i.length-1?fH(i[a+1]):c}));return pH(e)&&nH(t,e,pH)&&o.push(` `),s&&o.unshift(s),c&&o.push(c),o}function xH(e,t){let n=String(e.value),r=[],i=[],a=0;for(;a<=n.length;){uH.lastIndex=a;let e=uH.exec(n),i=e&&`index`in e?e.index:n.length;r.push(CH(n.slice(a,i).replace(/[\u061C\u200E\u200F\u202A-\u202E\u2066-\u2069]/g,``),a===0?t.breakBefore:!0,i===n.length?t.breakAfter:!0)),a=i+1}let o=-1,s;for(;++o<r.length;)r[o].charCodeAt(r[o].length-1)===8203||o<r.length-1&&r[o+1].charCodeAt(0)===8203?(i.push(r[o]),s=void 0):r[o]?(typeof s==`number`&&i.push(s),i.push(r[o]),s=0):(o===0||o===r.length-1)&&i.push(0);return i}function SH(e){return[String(e.value)]}function CH(e,t,n){let r=[],i=0,a;for(;i<e.length;){dH.lastIndex=i;let n=dH.exec(e);a=n?n.index:e.length,!i&&!a&&n&&!t&&r.push(``),i!==a&&r.push(e.slice(i,a)),i=n?a+n[0].length:a}return i!==a&&!n&&r.push(``),r.join(` `)}function wH(e,t){if(e.type===`element`){let 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`;default:}}return t.whitespace}function TH(e){return!!(e.properties||{}).hidden}function EH(e){return e.tagName===`td`||e.tagName===`th`}function DH(e){return e.tagName===`dialog`&&!(e.properties||{}).open}var OH=eH(ZV(((e,t)=>{function n(e){return e instanceof Map?e.clear=e.delete=e.set=function(){throw Error(`map is read-only`)}:e instanceof Set&&(e.add=e.clear=e.delete=function(){throw Error(`set is read-only`)}),Object.freeze(e),Object.getOwnPropertyNames(e).forEach(t=>{let r=e[t],i=typeof r;(i===`object`||i===`function`)&&!Object.isFrozen(r)&&n(r)}),e}var r=class{constructor(e){e.data===void 0&&(e.data={}),this.data=e.data,this.isMatchIgnored=!1}ignoreMatch(){this.isMatchIgnored=!0}};function i(e){return e.replace(/&/g,`&amp;`).replace(/</g,`&lt;`).replace(/>/g,`&gt;`).replace(/"/g,`&quot;`).replace(/'/g,`&#x27;`)}function a(e,...t){let n=Object.create(null);for(let t in e)n[t]=e[t];return t.forEach(function(e){for(let t in e)n[t]=e[t]}),n}var o=`</span>`,s=e=>!!e.scope,c=(e,{prefix:t})=>{if(e.startsWith(`language:`))return e.replace(`language:`,`language-`);if(e.includes(`.`)){let n=e.split(`.`);return[`${t}${n.shift()}`,...n.map((e,t)=>`${e}${`_`.repeat(t+1)}`)].join(` `)}return`${t}${e}`},l=class{constructor(e,t){this.buffer=``,this.classPrefix=t.classPrefix,e.walk(this)}addText(e){this.buffer+=i(e)}openNode(e){if(!s(e))return;let t=c(e.scope,{prefix:this.classPrefix});this.span(t)}closeNode(e){s(e)&&(this.buffer+=o)}value(){return this.buffer}span(e){this.buffer+=`<span class="${e}">`}},u=(e={})=>{let t={children:[]};return Object.assign(t,e),t},d=class e{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){let t=u({scope:e});this.add(t),this.stack.push(t)}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,t){return typeof t==`string`?e.addText(t):t.children&&(e.openNode(t),t.children.forEach(t=>this._walk(e,t)),e.closeNode(t)),e}static _collapse(t){typeof t!=`string`&&t.children&&(t.children.every(e=>typeof e==`string`)?t.children=[t.children.join(``)]:t.children.forEach(t=>{e._collapse(t)}))}},f=class extends d{constructor(e){super(),this.options=e}addText(e){e!==``&&this.add(e)}startScope(e){this.openNode(e)}endScope(){this.closeNode()}__addSublanguage(e,t){let n=e.root;t&&(n.scope=`language:${t}`),this.add(n)}toHTML(){return new l(this,this.options).value()}finalize(){return this.closeAllNodes(),!0}};function p(e){return e?typeof e==`string`?e:e.source:null}function m(e){return _(`(?=`,e,`)`)}function h(e){return _(`(?:`,e,`)*`)}function g(e){return _(`(?:`,e,`)?`)}function _(...e){return e.map(e=>p(e)).join(``)}function v(e){let t=e[e.length-1];return typeof t==`object`&&t.constructor===Object?(e.splice(e.length-1,1),t):{}}function y(...e){return`(`+(v(e).capture?``:`?:`)+e.map(e=>p(e)).join(`|`)+`)`}function b(e){return RegExp(e.toString()+`|`).exec(``).length-1}function ee(e,t){let n=e&&e.exec(t);return n&&n.index===0}var x=/\[(?:[^\\\]]|\\.)*\]|\(\??|\\([1-9][0-9]*)|\\./;function te(e,{joinWith:t}){let n=0;return e.map(e=>{n+=1;let t=n,r=p(e),i=``;for(;r.length>0;){let e=x.exec(r);if(!e){i+=r;break}i+=r.substring(0,e.index),r=r.substring(e.index+e[0].length),e[0][0]===`\\`&&e[1]?i+=`\\`+String(Number(e[1])+t):(i+=e[0],e[0]===`(`&&n++)}return i}).map(e=>`(${e})`).join(t)}var S=/\b\B/,ne=`[a-zA-Z]\\w*`,re=`[a-zA-Z_]\\w*`,ie=`\\b\\d+(\\.\\d+)?`,ae=`(-?)(\\b0[xX][a-fA-F0-9]+|(\\b\\d+(\\.\\d*)?|\\.\\d+)([eE][-+]?\\d+)?)`,oe=`\\b(0b[01]+)`,C=`!|!=|!==|%|%=|&|&&|&=|\\*|\\*=|\\+|\\+=|,|-|-=|/=|/|:|;|<<|<<=|<=|<|===|==|=|>>>=|>>=|>=|>>>|>>|>|\\?|\\[|\\{|\\(|\\^|\\^=|\\||\\|=|\\|\\||~`,se=(e={})=>{let t=/^#![ ]*\//;return e.binary&&(e.begin=_(t,/.*\b/,e.binary,/\b.*/)),a({scope:`meta`,begin:t,end:/$/,relevance:0,"on:begin":(e,t)=>{e.index!==0&&t.ignoreMatch()}},e)},ce={begin:`\\\\[\\s\\S]`,relevance:0},le={scope:`string`,begin:`'`,end:`'`,illegal:`\\n`,contains:[ce]},ue={scope:`string`,begin:`"`,end:`"`,illegal:`\\n`,contains:[ce]},de={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/},w=function(e,t,n={}){let r=a({scope:`comment`,begin:e,end:t,contains:[]},n);r.contains.push({scope:`doctag`,begin:`[ ]*(?=(TODO|FIXME|NOTE|BUG|OPTIMIZE|HACK|XXX):)`,end:/(TODO|FIXME|NOTE|BUG|OPTIMIZE|HACK|XXX):/,excludeBegin:!0,relevance:0});let i=y(`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 r.contains.push({begin:_(/[ ]+/,`(`,i,/[.]?[:]?([.][ ]|[ ])/,`){3}`)}),r},fe=w(`//`,`$`),T=w(`/\\*`,`\\*/`),pe=w(`#`,`$`),me={scope:`number`,begin:ie,relevance:0},he={scope:`number`,begin:ae,relevance:0},ge={scope:`number`,begin:oe,relevance:0},_e={scope:`regexp`,begin:/\/(?=[^/\n]*\/)/,end:/\/[gimuy]*/,contains:[ce,{begin:/\[/,end:/\]/,relevance:0,contains:[ce]}]},ve={scope:`title`,begin:ne,relevance:0},ye={scope:`title`,begin:re,relevance:0},be={begin:`\\.\\s*`+re,relevance:0},xe=Object.freeze({__proto__:null,APOS_STRING_MODE:le,BACKSLASH_ESCAPE:ce,BINARY_NUMBER_MODE:ge,BINARY_NUMBER_RE:oe,COMMENT:w,C_BLOCK_COMMENT_MODE:T,C_LINE_COMMENT_MODE:fe,C_NUMBER_MODE:he,C_NUMBER_RE:ae,END_SAME_AS_BEGIN:function(e){return Object.assign(e,{"on:begin":(e,t)=>{t.data._beginMatch=e[1]},"on:end":(e,t)=>{t.data._beginMatch!==e[1]&&t.ignoreMatch()}})},HASH_COMMENT_MODE:pe,IDENT_RE:ne,MATCH_NOTHING_RE:S,METHOD_GUARD:be,NUMBER_MODE:me,NUMBER_RE:ie,PHRASAL_WORDS_MODE:de,QUOTE_STRING_MODE:ue,REGEXP_MODE:_e,RE_STARTERS_RE:C,SHEBANG:se,TITLE_MODE:ve,UNDERSCORE_IDENT_RE:re,UNDERSCORE_TITLE_MODE:ye});function Se(e,t){e.input[e.index-1]===`.`&&t.ignoreMatch()}function Ce(e,t){e.className!==void 0&&(e.scope=e.className,delete e.className)}function we(e,t){t&&e.beginKeywords&&(e.begin=`\\b(`+e.beginKeywords.split(` `).join(`|`)+`)(?!\\.)(?=\\b|\\s)`,e.__beforeBegin=Se,e.keywords=e.keywords||e.beginKeywords,delete e.beginKeywords,e.relevance===void 0&&(e.relevance=0))}function Te(e,t){Array.isArray(e.illegal)&&(e.illegal=y(...e.illegal))}function E(e,t){if(e.match){if(e.begin||e.end)throw Error(`begin & end are not supported with match`);e.begin=e.match,delete e.match}}function D(e,t){e.relevance===void 0&&(e.relevance=1)}var Ee=(e,t)=>{if(!e.beforeMatch)return;if(e.starts)throw Error(`beforeMatch cannot be used with starts`);let n=Object.assign({},e);Object.keys(e).forEach(t=>{delete e[t]}),e.keywords=n.keywords,e.begin=_(n.beforeMatch,m(n.begin)),e.starts={relevance:0,contains:[Object.assign(n,{endsParent:!0})]},e.relevance=0,delete n.beforeMatch},De=[`of`,`and`,`for`,`in`,`not`,`or`,`if`,`then`,`parent`,`list`,`value`],O=`keyword`;function Oe(e,t,n=O){let r=Object.create(null);return typeof e==`string`?i(n,e.split(` `)):Array.isArray(e)?i(n,e):Object.keys(e).forEach(function(n){Object.assign(r,Oe(e[n],t,n))}),r;function i(e,n){t&&(n=n.map(e=>e.toLowerCase())),n.forEach(function(t){let n=t.split(`|`);r[n[0]]=[e,k(n[0],n[1])]})}}function k(e,t){return t?Number(t):ke(e)?0:1}function ke(e){return De.includes(e.toLowerCase())}var Ae={},A=e=>{console.error(e)},je=(e,...t)=>{console.log(`WARN: ${e}`,...t)},Me=(e,t)=>{Ae[`${e}/${t}`]||(console.log(`Deprecated as of ${e}. ${t}`),Ae[`${e}/${t}`]=!0)},Ne=Error();function Pe(e,t,{key:n}){let r=0,i=e[n],a={},o={};for(let e=1;e<=t.length;e++)o[e+r]=i[e],a[e+r]=!0,r+=b(t[e-1]);e[n]=o,e[n]._emit=a,e[n]._multi=!0}function Fe(e){if(Array.isArray(e.begin)){if(e.skip||e.excludeBegin||e.returnBegin)throw A(`skip, excludeBegin, returnBegin not compatible with beginScope: {}`),Ne;if(typeof e.beginScope!=`object`||e.beginScope===null)throw A(`beginScope must be object`),Ne;Pe(e,e.begin,{key:`beginScope`}),e.begin=te(e.begin,{joinWith:``})}}function Ie(e){if(Array.isArray(e.end)){if(e.skip||e.excludeEnd||e.returnEnd)throw A(`skip, excludeEnd, returnEnd not compatible with endScope: {}`),Ne;if(typeof e.endScope!=`object`||e.endScope===null)throw A(`endScope must be object`),Ne;Pe(e,e.end,{key:`endScope`}),e.end=te(e.end,{joinWith:``})}}function Le(e){e.scope&&typeof e.scope==`object`&&e.scope!==null&&(e.beginScope=e.scope,delete e.scope)}function j(e){Le(e),typeof e.beginScope==`string`&&(e.beginScope={_wrap:e.beginScope}),typeof e.endScope==`string`&&(e.endScope={_wrap:e.endScope}),Fe(e),Ie(e)}function Re(e){function t(t,n){return new RegExp(p(t),`m`+(e.case_insensitive?`i`:``)+(e.unicodeRegex?`u`:``)+(n?`g`:``))}class n{constructor(){this.matchIndexes={},this.regexes=[],this.matchAt=1,this.position=0}addRule(e,t){t.position=this.position++,this.matchIndexes[this.matchAt]=t,this.regexes.push([t,e]),this.matchAt+=b(e)+1}compile(){this.regexes.length===0&&(this.exec=()=>null),this.matcherRe=t(te(this.regexes.map(e=>e[1]),{joinWith:`|`}),!0),this.lastIndex=0}exec(e){this.matcherRe.lastIndex=this.lastIndex;let t=this.matcherRe.exec(e);if(!t)return null;let n=t.findIndex((e,t)=>t>0&&e!==void 0),r=this.matchIndexes[n];return t.splice(0,n),Object.assign(t,r)}}class r{constructor(){this.rules=[],this.multiRegexes=[],this.count=0,this.lastIndex=0,this.regexIndex=0}getMatcher(e){if(this.multiRegexes[e])return this.multiRegexes[e];let t=new n;return this.rules.slice(e).forEach(([e,n])=>t.addRule(e,n)),t.compile(),this.multiRegexes[e]=t,t}resumingScanAtSamePosition(){return this.regexIndex!==0}considerAll(){this.regexIndex=0}addRule(e,t){this.rules.push([e,t]),t.type===`begin`&&this.count++}exec(e){let t=this.getMatcher(this.regexIndex);t.lastIndex=this.lastIndex;let n=t.exec(e);if(this.resumingScanAtSamePosition()&&!(n&&n.index===this.lastIndex)){let t=this.getMatcher(0);t.lastIndex=this.lastIndex+1,n=t.exec(e)}return n&&(this.regexIndex+=n.position+1,this.regexIndex===this.count&&this.considerAll()),n}}function i(e){let t=new r;return e.contains.forEach(e=>t.addRule(e.begin,{rule:e,type:`begin`})),e.terminatorEnd&&t.addRule(e.terminatorEnd,{type:`end`}),e.illegal&&t.addRule(e.illegal,{type:`illegal`}),t}function o(n,r){let a=n;if(n.isCompiled)return a;[Ce,E,j,Ee].forEach(e=>e(n,r)),e.compilerExtensions.forEach(e=>e(n,r)),n.__beforeBegin=null,[we,Te,D].forEach(e=>e(n,r)),n.isCompiled=!0;let s=null;return typeof n.keywords==`object`&&n.keywords.$pattern&&(n.keywords=Object.assign({},n.keywords),s=n.keywords.$pattern,delete n.keywords.$pattern),s||=/\w+/,n.keywords&&=Oe(n.keywords,e.case_insensitive),a.keywordPatternRe=t(s,!0),r&&(n.begin||=/\B|\b/,a.beginRe=t(a.begin),!n.end&&!n.endsWithParent&&(n.end=/\B|\b/),n.end&&(a.endRe=t(a.end)),a.terminatorEnd=p(a.end)||``,n.endsWithParent&&r.terminatorEnd&&(a.terminatorEnd+=(n.end?`|`:``)+r.terminatorEnd)),n.illegal&&(a.illegalRe=t(n.illegal)),n.contains||=[],n.contains=[].concat(...n.contains.map(function(e){return Be(e===`self`?n:e)})),n.contains.forEach(function(e){o(e,a)}),n.starts&&o(n.starts,r),a.matcher=i(a),a}if(e.compilerExtensions||=[],e.contains&&e.contains.includes(`self`))throw Error("ERR: contains `self` is not supported at the top-level of a language. See documentation.");return e.classNameAliases=a(e.classNameAliases||{}),o(e)}function ze(e){return e?e.endsWithParent||ze(e.starts):!1}function Be(e){return e.variants&&!e.cachedVariants&&(e.cachedVariants=e.variants.map(function(t){return a(e,{variants:null},t)})),e.cachedVariants?e.cachedVariants:ze(e)?a(e,{starts:e.starts?a(e.starts):null}):Object.isFrozen(e)?a(e):e}var Ve=`11.11.1`,He=class extends Error{constructor(e,t){super(e),this.name=`HTMLInjectionError`,this.html=t}},Ue=i,We=a,M=Symbol(`nomatch`),Ge=7,Ke=function(e){let t=Object.create(null),i=Object.create(null),a=[],o=!0,s=`Could not find the language '{}', did you forget to load/include a language module?`,c={disableAutodetect:!0,name:`Plain text`,contains:[]},l={ignoreUnescapedHTML:!1,throwUnescapedHTML:!1,noHighlightRe:/^(no-?highlight)$/i,languageDetectRe:/\blang(?:uage)?-([\w-]+)\b/i,classPrefix:`hljs-`,cssSelector:`pre code`,languages:null,__emitter:f};function u(e){return l.noHighlightRe.test(e)}function d(e){let t=e.className+` `;t+=e.parentNode?e.parentNode.className:``;let n=l.languageDetectRe.exec(t);if(n){let t=le(n[1]);return t||(je(s.replace(`{}`,n[1])),je(`Falling back to no-highlight mode for this block.`,e)),t?n[1]:`no-highlight`}return t.split(/\s+/).find(e=>u(e)||le(e))}function p(e,t,n){let r=``,i=``;typeof t==`object`?(r=e,n=t.ignoreIllegals,i=t.language):(Me(`10.7.0`,`highlight(lang, code, ...args) has been deprecated.`),Me(`10.7.0`,`Please use highlight(code, options) instead.
16
+ https://github.com/highlightjs/highlight.js/issues/2277`),i=e,r=t),n===void 0&&(n=!0);let a={code:r,language:i};pe(`before:highlight`,a);let o=a.result?a.result:v(a.language,a.code,n);return o.code=a.code,pe(`after:highlight`,o),o}function v(e,n,i,a){let c=Object.create(null);function u(e,t){return e.keywords[t]}function d(){if(!C.keywords){ce.addText(ue);return}let e=0;C.keywordPatternRe.lastIndex=0;let t=C.keywordPatternRe.exec(ue),n=``;for(;t;){n+=ue.substring(e,t.index);let r=ie.case_insensitive?t[0].toLowerCase():t[0],i=u(C,r);if(i){let[e,a]=i;if(ce.addText(n),n=``,c[r]=(c[r]||0)+1,c[r]<=Ge&&(de+=a),e.startsWith(`_`))n+=t[0];else{let n=ie.classNameAliases[e]||e;m(t[0],n)}}else n+=t[0];e=C.keywordPatternRe.lastIndex,t=C.keywordPatternRe.exec(ue)}n+=ue.substring(e),ce.addText(n)}function f(){if(ue===``)return;let e=null;if(typeof C.subLanguage==`string`){if(!t[C.subLanguage]){ce.addText(ue);return}e=v(C.subLanguage,ue,!0,se[C.subLanguage]),se[C.subLanguage]=e._top}else e=x(ue,C.subLanguage.length?C.subLanguage:null);C.relevance>0&&(de+=e.relevance),ce.__addSublanguage(e._emitter,e.language)}function p(){C.subLanguage==null?d():f(),ue=``}function m(e,t){e!==``&&(ce.startScope(t),ce.addText(e),ce.endScope())}function h(e,t){let n=1,r=t.length-1;for(;n<=r;){if(!e._emit[n]){n++;continue}let r=ie.classNameAliases[e[n]]||e[n],i=t[n];r?m(i,r):(ue=i,d(),ue=``),n++}}function g(e,t){return e.scope&&typeof e.scope==`string`&&ce.openNode(ie.classNameAliases[e.scope]||e.scope),e.beginScope&&(e.beginScope._wrap?(m(ue,ie.classNameAliases[e.beginScope._wrap]||e.beginScope._wrap),ue=``):e.beginScope._multi&&(h(e.beginScope,t),ue=``)),C=Object.create(e,{parent:{value:C}}),C}function _(e,t,n){let i=ee(e.endRe,n);if(i){if(e[`on:end`]){let n=new r(e);e[`on:end`](t,n),n.isMatchIgnored&&(i=!1)}if(i){for(;e.endsParent&&e.parent;)e=e.parent;return e}}if(e.endsWithParent)return _(e.parent,t,n)}function y(e){return C.matcher.regexIndex===0?(ue+=e[0],1):(T=!0,0)}function b(e){let t=e[0],n=e.rule,i=new r(n),a=[n.__beforeBegin,n[`on:begin`]];for(let n of a)if(n&&(n(e,i),i.isMatchIgnored))return y(t);return n.skip?ue+=t:(n.excludeBegin&&(ue+=t),p(),!n.returnBegin&&!n.excludeBegin&&(ue=t)),g(n,e),n.returnBegin?0:t.length}function te(e){let t=e[0],r=n.substring(e.index),i=_(C,e,r);if(!i)return M;let a=C;C.endScope&&C.endScope._wrap?(p(),m(t,C.endScope._wrap)):C.endScope&&C.endScope._multi?(p(),h(C.endScope,e)):a.skip?ue+=t:(a.returnEnd||a.excludeEnd||(ue+=t),p(),a.excludeEnd&&(ue=t));do C.scope&&ce.closeNode(),!C.skip&&!C.subLanguage&&(de+=C.relevance),C=C.parent;while(C!==i.parent);return i.starts&&g(i.starts,e),a.returnEnd?0:t.length}function S(){let e=[];for(let t=C;t!==ie;t=t.parent)t.scope&&e.unshift(t.scope);e.forEach(e=>ce.openNode(e))}let ne={};function re(t,r){let a=r&&r[0];if(ue+=t,a==null)return p(),0;if(ne.type===`begin`&&r.type===`end`&&ne.index===r.index&&a===``){if(ue+=n.slice(r.index,r.index+1),!o){let t=Error(`0 width match regex (${e})`);throw t.languageName=e,t.badRule=ne.rule,t}return 1}if(ne=r,r.type===`begin`)return b(r);if(r.type===`illegal`&&!i){let e=Error(`Illegal lexeme "`+a+`" for mode "`+(C.scope||`<unnamed>`)+`"`);throw e.mode=C,e}else if(r.type===`end`){let e=te(r);if(e!==M)return e}if(r.type===`illegal`&&a===``)return ue+=`
17
+ `,1;if(fe>1e5&&fe>r.index*3)throw Error(`potential infinite loop, way more iterations than matches`);return ue+=a,a.length}let ie=le(e);if(!ie)throw A(s.replace(`{}`,e)),Error(`Unknown language: "`+e+`"`);let ae=Re(ie),oe=``,C=a||ae,se={},ce=new l.__emitter(l);S();let ue=``,de=0,w=0,fe=0,T=!1;try{if(ie.__emitTokens)ie.__emitTokens(n,ce);else{for(C.matcher.considerAll();;){fe++,T?T=!1:C.matcher.considerAll(),C.matcher.lastIndex=w;let e=C.matcher.exec(n);if(!e)break;let t=re(n.substring(w,e.index),e);w=e.index+t}re(n.substring(w))}return ce.finalize(),oe=ce.toHTML(),{language:e,value:oe,relevance:de,illegal:!1,_emitter:ce,_top:C}}catch(t){if(t.message&&t.message.includes(`Illegal`))return{language:e,value:Ue(n),illegal:!0,relevance:0,_illegalBy:{message:t.message,index:w,context:n.slice(w-100,w+100),mode:t.mode,resultSoFar:oe},_emitter:ce};if(o)return{language:e,value:Ue(n),illegal:!1,relevance:0,errorRaised:t,_emitter:ce,_top:C};throw t}}function b(e){let t={value:Ue(e),illegal:!1,relevance:0,_top:c,_emitter:new l.__emitter(l)};return t._emitter.addText(e),t}function x(e,n){n=n||l.languages||Object.keys(t);let r=b(e),i=n.filter(le).filter(de).map(t=>v(t,e,!1));i.unshift(r);let[a,o]=i.sort((e,t)=>{if(e.relevance!==t.relevance)return t.relevance-e.relevance;if(e.language&&t.language){if(le(e.language).supersetOf===t.language)return 1;if(le(t.language).supersetOf===e.language)return-1}return 0}),s=a;return s.secondBest=o,s}function te(e,t,n){let r=t&&i[t]||n;e.classList.add(`hljs`),e.classList.add(`language-${r}`)}function S(e){let t=null,n=d(e);if(u(n))return;if(pe(`before:highlightElement`,{el:e,language:n}),e.dataset.highlighted){console.log("Element previously highlighted. To highlight again, first unset `dataset.highlighted`.",e);return}if(e.children.length>0&&(l.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(e)),l.throwUnescapedHTML))throw new He(`One of your code blocks includes unescaped HTML.`,e.innerHTML);t=e;let r=t.textContent,i=n?p(r,{language:n,ignoreIllegals:!0}):x(r);e.innerHTML=i.value,e.dataset.highlighted=`yes`,te(e,n,i.language),e.result={language:i.language,re:i.relevance,relevance:i.relevance},i.secondBest&&(e.secondBest={language:i.secondBest.language,relevance:i.secondBest.relevance}),pe(`after:highlightElement`,{el:e,result:i,text:r})}function ne(e){l=We(l,e)}let re=()=>{oe(),Me(`10.6.0`,`initHighlighting() deprecated. Use highlightAll() now.`)};function ie(){oe(),Me(`10.6.0`,`initHighlightingOnLoad() deprecated. Use highlightAll() now.`)}let ae=!1;function oe(){function e(){oe()}if(document.readyState===`loading`){ae||window.addEventListener(`DOMContentLoaded`,e,!1),ae=!0;return}document.querySelectorAll(l.cssSelector).forEach(S)}function C(n,r){let i=null;try{i=r(e)}catch(e){if(A(`Language definition for '{}' could not be registered.`.replace(`{}`,n)),o)A(e);else throw e;i=c}i.name||=n,t[n]=i,i.rawDefinition=r.bind(null,e),i.aliases&&ue(i.aliases,{languageName:n})}function se(e){delete t[e];for(let t of Object.keys(i))i[t]===e&&delete i[t]}function ce(){return Object.keys(t)}function le(e){return e=(e||``).toLowerCase(),t[e]||t[i[e]]}function ue(e,{languageName:t}){typeof e==`string`&&(e=[e]),e.forEach(e=>{i[e.toLowerCase()]=t})}function de(e){let t=le(e);return t&&!t.disableAutodetect}function w(e){e[`before:highlightBlock`]&&!e[`before:highlightElement`]&&(e[`before:highlightElement`]=t=>{e[`before:highlightBlock`](Object.assign({block:t.el},t))}),e[`after:highlightBlock`]&&!e[`after:highlightElement`]&&(e[`after:highlightElement`]=t=>{e[`after:highlightBlock`](Object.assign({block:t.el},t))})}function fe(e){w(e),a.push(e)}function T(e){let t=a.indexOf(e);t!==-1&&a.splice(t,1)}function pe(e,t){let n=e;a.forEach(function(e){e[n]&&e[n](t)})}function me(e){return Me(`10.7.0`,`highlightBlock will be removed entirely in v12.0`),Me(`10.7.0`,`Please use highlightElement now.`),S(e)}Object.assign(e,{highlight:p,highlightAuto:x,highlightAll:oe,highlightElement:S,highlightBlock:me,configure:ne,initHighlighting:re,initHighlightingOnLoad:ie,registerLanguage:C,unregisterLanguage:se,listLanguages:ce,getLanguage:le,registerAliases:ue,autoDetection:de,inherit:We,addPlugin:fe,removePlugin:T}),e.debugMode=function(){o=!1},e.safeMode=function(){o=!0},e.versionString=Ve,e.regex={concat:_,lookahead:m,either:y,optional:g,anyNumberOfTimes:h};for(let e in xe)typeof xe[e]==`object`&&n(xe[e]);return Object.assign(e,xe),e},qe=Ke({});qe.newInstance=()=>Ke({}),t.exports=qe,qe.HighlightJS=qe,qe.default=qe}))()).default,kH={},AH=`hljs-`;function jH(e){let t=OH.newInstance();return e&&a(e),{highlight:n,highlightAuto:r,listLanguages:i,register:a,registerAlias:o,registered:s};function n(e,n,r){let i=r||kH,a=typeof i.prefix==`string`?i.prefix:AH;if(!t.getLanguage(e))throw Error("Unknown language: `"+e+"` is not registered");t.configure({__emitter:MH,classPrefix:a});let o=t.highlight(n,{ignoreIllegals:!0,language:e});if(o.errorRaised)throw Error("Could not highlight with `Highlight.js`",{cause:o.errorRaised});let s=o._emitter.root,c=s.data;return c.language=o.language,c.relevance=o.relevance,s}function r(e,r){let a=(r||kH).subset||i(),o=-1,s=0,c;for(;++o<a.length;){let i=a[o];if(!t.getLanguage(i))continue;let l=n(i,e,r);l.data&&l.data.relevance!==void 0&&l.data.relevance>s&&(s=l.data.relevance,c=l)}return c||{type:`root`,children:[],data:{language:void 0,relevance:s}}}function i(){return t.listLanguages()}function a(e,n){if(typeof e==`string`)t.registerLanguage(e,n);else{let n;for(n in e)Object.hasOwn(e,n)&&t.registerLanguage(n,e[n])}}function o(e,n){if(typeof e==`string`)t.registerAliases(typeof n==`string`?n:[...n],{languageName:e});else{let n;for(n in e)if(Object.hasOwn(e,n)){let r=e[n];t.registerAliases(typeof r==`string`?r:[...r],{languageName:n})}}}function s(e){return!!t.getLanguage(e)}}var MH=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;let 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){let 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){let t=this,n=e.split(`.`).map(function(e,n){return n?e+`_`.repeat(n):t.options.classPrefix+e}),r=this.stack[this.stack.length-1],i={type:`element`,tagName:`span`,properties:{className:n},children:[]};r.children.push(i),this.stack.push(i)}closeNode(){this.stack.pop()}finalize(){}toHTML(){return``}},NH={};function PH(e){let t=e||NH,n=t.aliases,r=e?.detect??!1,i=t.languages,a=t.plainText,o=t.prefix,s=t.subset,c=typeof t.className==`string`?[t.className]:t.className??[],l=`hljs`,u=e?.lowlight??jH(i);if(n&&u.registerAlias(n),o){let e=o.indexOf(`-`);l=e>-1?o.slice(0,e):o}return(e,t)=>{WV(e,`element`,(e,n,i)=>{if(e.tagName!==`code`||!i||i.type!==`element`||i.tagName!==`pre`)return;let d=FH(e);if(d===`no-highlight`||!d&&!r||d&&a?.includes(d))return;Array.isArray(e.properties.className)||(e.properties.className=[]),e.properties.className.includes(l)||e.properties.className.unshift(l);for(let t of c)e.properties.className.includes(t)||e.properties.className.push(t);let f;try{f=d?u.highlight(d,vH(i),{prefix:o}):u.highlightAuto(vH(i),{prefix:o,subset:s})}catch(n){let r=n;if(d&&/Unknown language/.test(r.message)){t.message(`Cannot highlight as \`${d}\`, it's not registered`,{ancestors:[i,e],cause:r,place:e.position,ruleId:`missing-language`,source:`rehype-highlight`});return}t.message(`Could not highlight code block`,{ancestors:[i,e],cause:r,place:e.position,ruleId:`highlight-error`,source:`rehype-highlight`});return}!d&&f.data?.language&&e.properties.className.push(`language-`+f.data.language),f.children.length>0&&(e.children=f.children)})}}function FH(e){let t=e.properties.className;if(!Array.isArray(t))return``;let n=t.reduce((e,t)=>{if(e)return e;let n=String(t);return n===`no-highlight`||n===`nohighlight`?`no-highlight`:n.slice(0,5)===`lang-`?n.slice(5):n.slice(0,9)===`language-`?n.slice(9):e},``);return tH[n||``]||n}var IH=class{constructor(e,t,n){this.normal=t,this.property=e,n&&(this.space=n)}};IH.prototype.normal={},IH.prototype.property={},IH.prototype.space=void 0;function LH(e,t){let n={},r={};for(let t of e)Object.assign(n,t.property),Object.assign(r,t.normal);return new IH(n,r,t)}function RH(e){return e.toLowerCase()}var zH=class{constructor(e,t){this.attribute=t,this.property=e}};zH.prototype.attribute=``,zH.prototype.booleanish=!1,zH.prototype.boolean=!1,zH.prototype.commaOrSpaceSeparated=!1,zH.prototype.commaSeparated=!1,zH.prototype.defined=!1,zH.prototype.mustUseProperty=!1,zH.prototype.number=!1,zH.prototype.overloadedBoolean=!1,zH.prototype.property=``,zH.prototype.spaceSeparated=!1,zH.prototype.space=void 0;var BH=QV({boolean:()=>HH,booleanish:()=>UH,commaOrSpaceSeparated:()=>qH,commaSeparated:()=>KH,number:()=>W,overloadedBoolean:()=>WH,spaceSeparated:()=>GH}),VH=0,HH=JH(),UH=JH(),WH=JH(),W=JH(),GH=JH(),KH=JH(),qH=JH();function JH(){return 2**++VH}var YH=Object.keys(BH),XH=class extends zH{constructor(e,t,n,r){let i=-1;if(super(e,t),ZH(this,`space`,r),typeof n==`number`)for(;++i<YH.length;){let e=YH[i];ZH(this,YH[i],(n&BH[e])===BH[e])}}};XH.prototype.defined=!0;function ZH(e,t,n){n&&(e[t]=n)}function QH(e){let t={},n={};for(let[r,i]of Object.entries(e.properties)){let a=new XH(r,e.transform(e.attributes||{},r),i,e.space);e.mustUseProperty&&e.mustUseProperty.includes(r)&&(a.mustUseProperty=!0),t[r]=a,n[RH(r)]=r,n[RH(a.attribute)]=r}return new IH(t,n,e.space)}var $H=QH({properties:{ariaActiveDescendant:null,ariaAtomic:UH,ariaAutoComplete:null,ariaBusy:UH,ariaChecked:UH,ariaColCount:W,ariaColIndex:W,ariaColSpan:W,ariaControls:GH,ariaCurrent:null,ariaDescribedBy:GH,ariaDetails:null,ariaDisabled:UH,ariaDropEffect:GH,ariaErrorMessage:null,ariaExpanded:UH,ariaFlowTo:GH,ariaGrabbed:UH,ariaHasPopup:null,ariaHidden:UH,ariaInvalid:null,ariaKeyShortcuts:null,ariaLabel:null,ariaLabelledBy:GH,ariaLevel:W,ariaLive:null,ariaModal:UH,ariaMultiLine:UH,ariaMultiSelectable:UH,ariaOrientation:null,ariaOwns:GH,ariaPlaceholder:null,ariaPosInSet:W,ariaPressed:UH,ariaReadOnly:UH,ariaRelevant:null,ariaRequired:UH,ariaRoleDescription:GH,ariaRowCount:W,ariaRowIndex:W,ariaRowSpan:W,ariaSelected:UH,ariaSetSize:W,ariaSort:null,ariaValueMax:W,ariaValueMin:W,ariaValueNow:W,ariaValueText:null,role:null},transform(e,t){return t===`role`?t:`aria-`+t.slice(4).toLowerCase()}});function eU(e,t){return t in e?e[t]:t}function tU(e,t){return eU(e,t.toLowerCase())}var nU=QH({attributes:{acceptcharset:`accept-charset`,classname:`class`,htmlfor:`for`,httpequiv:`http-equiv`},mustUseProperty:[`checked`,`multiple`,`muted`,`selected`],properties:{abbr:null,accept:KH,acceptCharset:GH,accessKey:GH,action:null,allow:null,allowFullScreen:HH,allowPaymentRequest:HH,allowUserMedia:HH,alt:null,as:null,async:HH,autoCapitalize:null,autoComplete:GH,autoFocus:HH,autoPlay:HH,blocking:GH,capture:null,charSet:null,checked:HH,cite:null,className:GH,cols:W,colSpan:null,content:null,contentEditable:UH,controls:HH,controlsList:GH,coords:W|KH,crossOrigin:null,data:null,dateTime:null,decoding:null,default:HH,defer:HH,dir:null,dirName:null,disabled:HH,download:WH,draggable:UH,encType:null,enterKeyHint:null,fetchPriority:null,form:null,formAction:null,formEncType:null,formMethod:null,formNoValidate:HH,formTarget:null,headers:GH,height:W,hidden:WH,high:W,href:null,hrefLang:null,htmlFor:GH,httpEquiv:GH,id:null,imageSizes:null,imageSrcSet:null,inert:HH,inputMode:null,integrity:null,is:null,isMap:HH,itemId:null,itemProp:GH,itemRef:GH,itemScope:HH,itemType:GH,kind:null,label:null,lang:null,language:null,list:null,loading:null,loop:HH,low:W,manifest:null,max:null,maxLength:W,media:null,method:null,min:null,minLength:W,multiple:HH,muted:HH,name:null,nonce:null,noModule:HH,noValidate:HH,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:HH,optimum:W,pattern:null,ping:GH,placeholder:null,playsInline:HH,popover:null,popoverTarget:null,popoverTargetAction:null,poster:null,preload:null,readOnly:HH,referrerPolicy:null,rel:GH,required:HH,reversed:HH,rows:W,rowSpan:W,sandbox:GH,scope:null,scoped:HH,seamless:HH,selected:HH,shadowRootClonable:HH,shadowRootDelegatesFocus:HH,shadowRootMode:null,shape:null,size:W,sizes:null,slot:null,span:W,spellCheck:UH,src:null,srcDoc:null,srcLang:null,srcSet:null,start:W,step:null,style:null,tabIndex:W,target:null,title:null,translate:null,type:null,typeMustMatch:HH,useMap:null,value:UH,width:W,wrap:null,writingSuggestions:null,align:null,aLink:null,archive:GH,axis:null,background:null,bgColor:null,border:W,borderColor:null,bottomMargin:W,cellPadding:null,cellSpacing:null,char:null,charOff:null,classId:null,clear:null,code:null,codeBase:null,codeType:null,color:null,compact:HH,declare:HH,event:null,face:null,frame:null,frameBorder:null,hSpace:W,leftMargin:W,link:null,longDesc:null,lowSrc:null,marginHeight:W,marginWidth:W,noResize:HH,noHref:HH,noShade:HH,noWrap:HH,object:null,profile:null,prompt:null,rev:null,rightMargin:W,rules:null,scheme:null,scrolling:UH,standby:null,summary:null,text:null,topMargin:W,valueType:null,version:null,vAlign:null,vLink:null,vSpace:W,allowTransparency:null,autoCorrect:null,autoSave:null,disablePictureInPicture:HH,disableRemotePlayback:HH,prefix:null,property:null,results:W,security:null,unselectable:null},space:`html`,transform:tU}),rU=QH({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-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:qH,accentHeight:W,accumulate:null,additive:null,alignmentBaseline:null,alphabetic:W,amplitude:W,arabicForm:null,ascent:W,attributeName:null,attributeType:null,azimuth:W,bandwidth:null,baselineShift:null,baseFrequency:null,baseProfile:null,bbox:null,begin:null,bias:W,by:null,calcMode:null,capHeight:W,className:GH,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:W,diffuseConstant:W,direction:null,display:null,dur:null,divisor:W,dominantBaseline:null,download:HH,dx:null,dy:null,edgeMode:null,editable:null,elevation:W,enableBackground:null,end:null,event:null,exponent:W,externalResourcesRequired:null,fill:null,fillOpacity:W,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:KH,g2:KH,glyphName:KH,glyphOrientationHorizontal:null,glyphOrientationVertical:null,glyphRef:null,gradientTransform:null,gradientUnits:null,handler:null,hanging:W,hatchContentUnits:null,hatchUnits:null,height:null,href:null,hrefLang:null,horizAdvX:W,horizOriginX:W,horizOriginY:W,id:null,ideographic:W,imageRendering:null,initialVisibility:null,in:null,in2:null,intercept:W,k:W,k1:W,k2:W,k3:W,k4:W,kernelMatrix:qH,kernelUnitLength:null,keyPoints:null,keySplines:null,keyTimes:null,kerning:null,lang:null,lengthAdjust:null,letterSpacing:null,lightingColor:null,limitingConeAngle:W,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:W,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:W,overlineThickness:W,paintOrder:null,panose1:null,path:null,pathLength:W,patternContentUnits:null,patternTransform:null,patternUnits:null,phase:null,ping:GH,pitch:null,playbackOrder:null,pointerEvents:null,points:null,pointsAtX:W,pointsAtY:W,pointsAtZ:W,preserveAlpha:null,preserveAspectRatio:null,primitiveUnits:null,propagate:null,property:qH,r:null,radius:null,referrerPolicy:null,refX:null,refY:null,rel:qH,rev:qH,renderingIntent:null,repeatCount:null,repeatDur:null,requiredExtensions:qH,requiredFeatures:qH,requiredFonts:qH,requiredFormats:qH,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:W,specularExponent:W,spreadMethod:null,spacing:null,startOffset:null,stdDeviation:null,stemh:null,stemv:null,stitchTiles:null,stopColor:null,stopOpacity:null,strikethroughPosition:W,strikethroughThickness:W,string:null,stroke:null,strokeDashArray:qH,strokeDashOffset:null,strokeLineCap:null,strokeLineJoin:null,strokeMiterLimit:W,strokeOpacity:W,strokeWidth:null,style:null,surfaceScale:W,syncBehavior:null,syncBehaviorDefault:null,syncMaster:null,syncTolerance:null,syncToleranceDefault:null,systemLanguage:qH,tabIndex:W,tableValues:null,target:null,targetX:W,targetY:W,textAnchor:null,textDecoration:null,textRendering:null,textLength:null,timelineBegin:null,title:null,transformBehavior:null,type:null,typeOf:qH,to:null,transform:null,transformOrigin:null,u1:null,u2:null,underlinePosition:W,underlineThickness:W,unicode:null,unicodeBidi:null,unicodeRange:null,unitsPerEm:W,values:null,vAlphabetic:W,vMathematical:W,vectorEffect:null,vHanging:W,vIdeographic:W,version:null,vertAdvY:W,vertOriginX:W,vertOriginY:W,viewBox:null,viewTarget:null,visibility:null,width:null,widths:null,wordSpacing:null,writingMode:null,x:null,x1:null,x2:null,xChannelSelector:null,xHeight:W,y:null,y1:null,y2:null,yChannelSelector:null,z:null,zoomAndPan:null},space:`svg`,transform:eU}),iU=QH({properties:{xLinkActuate:null,xLinkArcRole:null,xLinkHref:null,xLinkRole:null,xLinkShow:null,xLinkTitle:null,xLinkType:null},space:`xlink`,transform(e,t){return`xlink:`+t.slice(5).toLowerCase()}}),aU=QH({attributes:{xmlnsxlink:`xmlns:xlink`},properties:{xmlnsXLink:null,xmlns:null},space:`xmlns`,transform:tU}),oU=QH({properties:{xmlBase:null,xmlLang:null,xmlSpace:null},space:`xml`,transform(e,t){return`xml:`+t.slice(3).toLowerCase()}}),sU=/[A-Z]/g,cU=/-[a-z]/g,lU=/^data[-\w.:]+$/i;function uU(e,t){let n=RH(t),r=t,i=zH;if(n in e.normal)return e.property[e.normal[n]];if(n.length>4&&n.slice(0,4)===`data`&&lU.test(t)){if(t.charAt(4)===`-`){let e=t.slice(5).replace(cU,fU);r=`data`+e.charAt(0).toUpperCase()+e.slice(1)}else{let e=t.slice(4);if(!cU.test(e)){let n=e.replace(sU,dU);n.charAt(0)!==`-`&&(n=`-`+n),t=`data`+n}}i=XH}return new i(r,t)}function dU(e){return`-`+e.toLowerCase()}function fU(e){return e.charAt(1).toUpperCase()}var pU=LH([$H,nU,iU,aU,oU],`html`),mU=LH([$H,rU,iU,aU,oU],`svg`);function hU(e){let t=[],n=String(e||``),r=n.indexOf(`,`),i=0,a=!1;for(;!a;){r===-1&&(r=n.length,a=!0);let e=n.slice(i,r).trim();(e||!a)&&t.push(e),i=r+1,r=n.indexOf(`,`,i)}return t}function gU(e,t){let n=t||{};return(e[e.length-1]===``?[...e,``]:e).join((n.padRight?` `:``)+`,`+(n.padLeft===!1?``:` `)).trim()}var _U=/[#.]/g;function vU(e,t){let n=e||``,r={},i=0,a,o;for(;i<n.length;){_U.lastIndex=i;let e=_U.exec(n),t=n.slice(i,e?e.index:n.length);t&&(a?a===`#`?r.id=t:Array.isArray(r.className)?r.className.push(t):r.className=[t]:o=t,i+=t.length),e&&(a=e[0],i++)}return{type:`element`,tagName:o||t||`div`,properties:r,children:[]}}function yU(e){let t=String(e||``).trim();return t?t.split(/[ \t\n\r\f]+/g):[]}function bU(e){return e.join(` `).trim()}var xU=new Set([`button`,`menu`,`reset`,`submit`]),SU={}.hasOwnProperty;function CU(e,t,n){let r=n&&kU(n);function i(n,i,...a){let o=-1,s;if(n==null){s={type:`root`,children:[]};let e=i;a.unshift(e)}else if(s=vU(n,t),s.tagName=s.tagName.toLowerCase(),r&&SU.call(r,s.tagName)&&(s.tagName=r[s.tagName]),wU(i,s.tagName)){let t;for(t in i)SU.call(i,t)&&TU(e,s.properties,t,i[t])}else a.unshift(i);for(;++o<a.length;)EU(s.children,a[o]);return s.type===`element`&&s.tagName===`template`&&(s.content={type:`root`,children:s.children},s.children=[]),s}return i}function wU(e,t){return typeof e!=`object`||!e||Array.isArray(e)?!1:t===`input`||!e.type||typeof e.type!=`string`?!0:`children`in e&&Array.isArray(e.children)?!1:t===`button`?xU.has(e.type.toLowerCase()):!(`value`in e)}function TU(e,t,n,r){let i=uU(e,n),a=-1,o;if(r!=null){if(typeof r==`number`){if(Number.isNaN(r))return;o=r}else o=typeof r==`boolean`?r:typeof r==`string`?i.spaceSeparated?yU(r):i.commaSeparated?hU(r):i.commaOrSpaceSeparated?yU(hU(r).join(` `)):DU(i,i.property,r):Array.isArray(r)?r.concat():i.property===`style`?OU(r):String(r);if(Array.isArray(o)){let e=[];for(;++a<o.length;)e[a]=DU(i,i.property,o[a]);o=e}if(i.property===`className`&&Array.isArray(t.className)){let e=o;o=t.className.concat(e)}t[i.property]=o}}function EU(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;)EU(e,t[n]);else if(typeof t==`object`&&`type`in t)t.type===`root`?EU(e,t.children):e.push(t);else throw Error("Expected node, nodes, or string, got `"+t+"`")}function DU(e,t,n){if(typeof n==`string`){if(e.number&&n&&!Number.isNaN(Number(n)))return Number(n);if((e.boolean||e.overloadedBoolean)&&(n===``||RH(n)===RH(t)))return!0}return n}function OU(e){let t=[],n;for(n in e)SU.call(e,n)&&t.push([n,e[n]].join(`: `));return t.join(`; `)}function kU(e){let t={},n=-1;for(;++n<e.length;)t[e[n].toLowerCase()]=e[n];return t}var AU=`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`.split(`.`),jU=CU(pU,`div`),MU=CU(mU,`g`,AU),NU=/\r?\n|\r/g;function PU(e){let t=String(e),n=[];for(NU.lastIndex=0;NU.test(t);)n.push(NU.lastIndex);return n.push(t.length+1),{toPoint:r,toOffset:i};function r(e){let t=-1;if(typeof e==`number`&&e>-1&&e<n[n.length-1]){for(;++t<n.length;)if(n[t]>e)return{line:t+1,column:e-(t>0?n[t-1]:0)+1,offset:e}}}function i(e){let t=e&&e.line,r=e&&e.column;if(typeof t==`number`&&typeof r==`number`&&!Number.isNaN(t)&&!Number.isNaN(r)&&t-1 in n){let e=(n[t-2]||0)+r-1||0;if(e>-1&&e<n[n.length-1])return e}}}var FU={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/`},IU={}.hasOwnProperty,LU=Object.prototype;function RU(e,t){let n=t||{};return zU({file:n.file||void 0,location:!1,schema:n.space===`svg`?mU:pU,verbose:n.verbose||!1},e)}function zU(e,t){let n;switch(t.nodeName){case`#comment`:{let r=t;return n={type:`comment`,value:r.data},HU(e,r,n),n}case`#document`:case`#document-fragment`:{let r=t,i=`mode`in r?r.mode===`quirks`||r.mode===`limited-quirks`:!1;if(n={type:`root`,children:BU(e,t.childNodes),data:{quirksMode:i}},e.file&&e.location){let t=String(e.file),r=PU(t),i=r.toPoint(0),a=r.toPoint(t.length);n.position={start:i,end:a}}return n}case`#documentType`:{let r=t;return n={type:`doctype`},HU(e,r,n),n}case`#text`:{let r=t;return n={type:`text`,value:r.value},HU(e,r,n),n}default:return n=VU(e,t),n}}function BU(e,t){let n=-1,r=[];for(;++n<t.length;){let i=zU(e,t[n]);r.push(i)}return r}function VU(e,t){let n=e.schema;e.schema=t.namespaceURI===FU.svg?mU:pU;let r=-1,i={};for(;++r<t.attrs.length;){let e=t.attrs[r],n=(e.prefix?e.prefix+`:`:``)+e.name;IU.call(LU,n)||(i[n]=e.value)}let a=(e.schema.space===`svg`?MU:jU)(t.tagName,i,BU(e,t.childNodes));if(HU(e,t,a),a.tagName===`template`){let n=t,r=n.sourceCodeLocation,i=r&&r.startTag&&WU(r.startTag),o=r&&r.endTag&&WU(r.endTag),s=zU(e,n.content);i&&o&&e.file&&(s.position={start:i.end,end:o.start}),a.content=s}return e.schema=n,a}function HU(e,t,n){if(`sourceCodeLocation`in t&&t.sourceCodeLocation&&e.file){let r=UU(e,n,t.sourceCodeLocation);r&&(e.location=!0,n.position=r)}}function UU(e,t,n){let r=WU(n);if(t.type===`element`){let i=t.children[t.children.length-1];if(r&&!n.endTag&&i&&i.position&&i.position.end&&(r.end=Object.assign({},i.position.end)),e.verbose){let r={},i;if(n.attrs)for(i in n.attrs)IU.call(n.attrs,i)&&(r[uU(e.schema,i).property]=WU(n.attrs[i]));n.startTag;let a=WU(n.startTag),o=n.endTag?WU(n.endTag):void 0,s={opening:a};o&&(s.closing=o),s.properties=r,t.data={position:s}}}return r}function WU(e){let t=GU({line:e.startLine,column:e.startCol,offset:e.startOffset}),n=GU({line:e.endLine,column:e.endCol,offset:e.endOffset});return t||n?{start:t,end:n}:void 0}function GU(e){return e.line&&e.column?e:void 0}var KU=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]),G;(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`})(G||={});var qU={DASH_DASH:`--`,CDATA_START:`[CDATA[`,DOCTYPE:`doctype`,SCRIPT:`script`,PUBLIC:`public`,SYSTEM:`system`};function JU(e){return e>=55296&&e<=57343}function YU(e){return e>=56320&&e<=57343}function XU(e,t){return(e-55296)*1024+9216+t}function ZU(e){return e!==32&&e!==10&&e!==13&&e!==9&&e!==12&&e>=1&&e<=31||e>=127&&e<=159}function QU(e){return e>=64976&&e<=65007||KU.has(e)}var K;(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`})(K||={});var $U=65536,eW=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=$U,this.isEol=!1,this.lineStartPos=0,this.droppedBufferSize=0,this.line=1,this.lastErrOffset=-1}get col(){return this.pos-this.lineStartPos+Number(this.lastGapPos!==this.pos)}get offset(){return this.droppedBufferSize+this.pos}getError(e,t){let{line:n,col:r,offset:i}=this,a=r+t,o=i+t;return{code:e,startLine:n,endLine:n,startCol:a,endCol:a,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){let t=this.html.charCodeAt(this.pos+1);if(YU(t))return this.pos++,this._addGap(),XU(e,t)}else if(!this.lastChunkWritten)return this.endOfChunkHit=!0,G.EOF;return this._err(K.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 t=0;t<e.length;t++)if((this.html.charCodeAt(this.pos+t)|32)!==e.charCodeAt(t))return!1;return!0}peek(e){let t=this.pos+e;if(t>=this.html.length)return this.endOfChunkHit=!this.lastChunkWritten,G.EOF;let n=this.html.charCodeAt(t);return n===G.CARRIAGE_RETURN?G.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,G.EOF;let e=this.html.charCodeAt(this.pos);return e===G.CARRIAGE_RETURN?(this.isEol=!0,this.skipNextNewLine=!0,G.LINE_FEED):e===G.LINE_FEED&&(this.isEol=!0,this.skipNextNewLine)?(this.line--,this.skipNextNewLine=!1,this._addGap(),this.advance()):(this.skipNextNewLine=!1,JU(e)&&(e=this._processSurrogate(e)),this.handler.onParseError===null||e>31&&e<127||e===G.LINE_FEED||e===G.CARRIAGE_RETURN||e>159&&e<64976||this._checkForProblematicCharacters(e),e)}_checkForProblematicCharacters(e){ZU(e)?this._err(K.controlCharacterInInputStream):QU(e)&&this._err(K.noncharacterInInputStream)}retreat(e){for(this.pos-=e;this.pos<this.lastGapPos;)this.lastGapPos=this.gapStack.pop(),this.pos--;this.isEol=!1}},tW;(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`})(tW||={});function nW(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 rW=new Uint16Array(`ᵁ<Õıʊҝջאٵ۞ޢߖࠏ੊ઑඡ๭༉༦჊ረዡᐕᒝᓃᓟᔥ\0\0\0\0\0\0ᕫᛍᦍᰒᷝ὾⁠↰⊍⏀⏻⑂⠤⤒ⴈ⹈⿎〖㊺㘹㞬㣾㨨㩱㫠㬮ࠀEMabcfglmnoprstu\\bfms„‹•˜¦³¹ÈÏlig耻Æ䃆P耻&䀦cute耻Á䃁reve;䄂Āiyx}rc耻Â䃂;䐐r;쀀𝔄rave耻À䃀pha;䎑acr;䄀d;橓Āgp¡on;䄄f;쀀𝔸plyFunction;恡ing耻Å䃅Ācs¾Ãr;쀀𝒜ign;扔ilde耻Ã䃃ml耻Ä䃄ЀaceforsuåûþėĜĢħĪĀcrêòkslash;或Ŷöø;櫧ed;挆y;䐑ƀcrtąċĔause;戵noullis;愬a;䎒r;쀀𝔅pf;쀀𝔹eve;䋘còēmpeq;扎܀HOacdefhilorsuōőŖƀƞƢƵƷƺǜȕɳɸɾcy;䐧PY耻©䂩ƀcpyŝŢźute;䄆Ā;iŧŨ拒talDifferentialD;慅leys;愭ȀaeioƉƎƔƘron;䄌dil耻Ç䃇rc;䄈nint;戰ot;䄊ĀdnƧƭilla;䂸terDot;䂷òſi;䎧rcleȀDMPTLJNjǑǖot;抙inus;抖lus;投imes;抗oĀcsǢǸkwiseContourIntegral;戲eCurlyĀDQȃȏoubleQuote;思uote;怙ȀlnpuȞȨɇɕonĀ;eȥȦ户;橴ƀgitȯȶȺruent;扡nt;戯ourIntegral;戮ĀfrɌɎ;愂oduct;成nterClockwiseContourIntegral;戳oss;樯cr;쀀𝒞pĀ;Cʄʅ拓ap;才րDJSZacefiosʠʬʰʴʸˋ˗ˡ˦̳ҍĀ;oŹʥtrahd;椑cy;䐂cy;䐅cy;䐏ƀgrsʿ˄ˇger;怡r;憡hv;櫤Āayː˕ron;䄎;䐔lĀ;t˝˞戇a;䎔r;쀀𝔇Āaf˫̧Ācm˰̢riticalȀADGT̖̜̀̆cute;䂴oŴ̋̍;䋙bleAcute;䋝rave;䁠ilde;䋜ond;拄ferentialD;慆Ѱ̽\0\0\0͔͂\0Ѕf;쀀𝔻ƀ;DE͈͉͍䂨ot;惜qual;扐blèCDLRUVͣͲ΂ϏϢϸontourIntegraìȹoɴ͹\0\0ͻ»͉nArrow;懓Āeo·ΤftƀARTΐΖΡrrow;懐ightArrow;懔eåˊngĀLRΫτeftĀARγιrrow;柸ightArrow;柺ightArrow;柹ightĀATϘϞrrow;懒ee;抨pɁϩ\0\0ϯrrow;懑ownArrow;懕erticalBar;戥ǹABLRTaВЪаўѿͼrrowƀ;BUНОТ憓ar;椓pArrow;懵reve;䌑eft˒к\0ц\0ѐightVector;楐eeVector;楞ectorĀ;Bљњ憽ar;楖ightǔѧ\0ѱeeVector;楟ectorĀ;BѺѻ懁ar;楗eeĀ;A҆҇护rrow;憧ĀctҒҗr;쀀𝒟rok;䄐ࠀNTacdfglmopqstuxҽӀӄӋӞӢӧӮӵԡԯԶՒ՝ՠեG;䅊H耻Ð䃐cute耻É䃉ƀaiyӒӗӜron;䄚rc耻Ê䃊;䐭ot;䄖r;쀀𝔈rave耻È䃈ement;戈ĀapӺӾcr;䄒tyɓԆ\0\0ԒmallSquare;旻erySmallSquare;斫ĀgpԦԪon;䄘f;쀀𝔼silon;䎕uĀaiԼՉlĀ;TՂՃ橵ilde;扂librium;懌Āci՗՚r;愰m;橳a;䎗ml耻Ë䃋Āipժկsts;戃onentialE;慇ʀcfiosօֈ֍ֲ׌y;䐤r;쀀𝔉lledɓ֗\0\0֣mallSquare;旼erySmallSquare;斪Ͱֺ\0ֿ\0\0ׄf;쀀𝔽All;戀riertrf;愱cò׋؀JTabcdfgorstר׬ׯ׺؀ؒؖ؛؝أ٬ٲcy;䐃耻>䀾mmaĀ;d׷׸䎓;䏜reve;䄞ƀeiy؇،ؐdil;䄢rc;䄜;䐓ot;䄠r;쀀𝔊;拙pf;쀀𝔾eater̀EFGLSTصلَٖٛ٦qualĀ;Lؾؿ扥ess;招ullEqual;执reater;檢ess;扷lantEqual;橾ilde;扳cr;쀀𝒢;扫ЀAacfiosuڅڋږڛڞڪھۊRDcy;䐪Āctڐڔek;䋇;䁞irc;䄤r;愌lbertSpace;愋ǰگ\0ڲf;愍izontalLine;攀Āctۃۅòکrok;䄦mpńېۘownHumðįqual;扏܀EJOacdfgmnostuۺ۾܃܇܎ܚܞܡܨ݄ݸދޏޕcy;䐕lig;䄲cy;䐁cute耻Í䃍Āiyܓܘrc耻Î䃎;䐘ot;䄰r;愑rave耻Ì䃌ƀ;apܠܯܿĀcgܴܷr;䄪inaryI;慈lieóϝǴ݉\0ݢĀ;eݍݎ戬Āgrݓݘral;戫section;拂isibleĀCTݬݲomma;恣imes;恢ƀgptݿރވon;䄮f;쀀𝕀a;䎙cr;愐ilde;䄨ǫޚ\0ޞcy;䐆l耻Ï䃏ʀcfosuެ޷޼߂ߐĀiyޱ޵rc;䄴;䐙r;쀀𝔍pf;쀀𝕁ǣ߇\0ߌr;쀀𝒥rcy;䐈kcy;䐄΀HJacfosߤߨ߽߬߱ࠂࠈcy;䐥cy;䐌ppa;䎚Āey߶߻dil;䄶;䐚r;쀀𝔎pf;쀀𝕂cr;쀀𝒦րJTaceflmostࠥࠩࠬࡐࡣ঳সে্਷ੇcy;䐉耻<䀼ʀcmnpr࠷࠼ࡁࡄࡍute;䄹bda;䎛g;柪lacetrf;愒r;憞ƀaeyࡗ࡜ࡡron;䄽dil;䄻;䐛Āfsࡨ॰tԀACDFRTUVarࡾࢩࢱࣦ࣠ࣼयज़ΐ४Ānrࢃ࢏gleBracket;柨rowƀ;BR࢙࢚࢞憐ar;懤ightArrow;懆eiling;挈oǵࢷ\0ࣃbleBracket;柦nǔࣈ\0࣒eeVector;楡ectorĀ;Bࣛࣜ懃ar;楙loor;挊ightĀAV࣯ࣵrrow;憔ector;楎Āerँगeƀ;AVउऊऐ抣rrow;憤ector;楚iangleƀ;BEतथऩ抲ar;槏qual;抴pƀDTVषूौownVector;楑eeVector;楠ectorĀ;Bॖॗ憿ar;楘ectorĀ;B॥०憼ar;楒ightáΜs̀EFGLSTॾঋকঝঢভqualGreater;拚ullEqual;扦reater;扶ess;檡lantEqual;橽ilde;扲r;쀀𝔏Ā;eঽা拘ftarrow;懚idot;䄿ƀnpw৔ਖਛgȀLRlr৞৷ਂਐeftĀAR০৬rrow;柵ightArrow;柷ightArrow;柶eftĀarγਊightáοightáϊf;쀀𝕃erĀLRਢਬeftArrow;憙ightArrow;憘ƀchtਾੀੂòࡌ;憰rok;䅁;扪Ѐacefiosuਗ਼੝੠੷੼અઋ઎p;椅y;䐜Ādl੥੯iumSpace;恟lintrf;愳r;쀀𝔐nusPlus;戓pf;쀀𝕄cò੶;䎜ҀJacefostuણધભીଔଙඑ඗ඞcy;䐊cute;䅃ƀaey઴હાron;䅇dil;䅅;䐝ƀgswે૰଎ativeƀMTV૓૟૨ediumSpace;怋hiĀcn૦૘ë૙eryThiî૙tedĀGL૸ଆreaterGreateòٳessLesóੈLine;䀊r;쀀𝔑ȀBnptଢନଷ଺reak;恠BreakingSpace;䂠f;愕ڀ;CDEGHLNPRSTV୕ୖ୪୼஡௫ఄ౞಄ದ೘ൡඅ櫬Āou୛୤ngruent;扢pCap;扭oubleVerticalBar;戦ƀlqxஃஊ஛ement;戉ualĀ;Tஒஓ扠ilde;쀀≂̸ists;戄reater΀;EFGLSTஶஷ஽௉௓௘௥扯qual;扱ullEqual;쀀≧̸reater;쀀≫̸ess;批lantEqual;쀀⩾̸ilde;扵umpń௲௽ownHump;쀀≎̸qual;쀀≏̸eĀfsఊధtTriangleƀ;BEచఛడ拪ar;쀀⧏̸qual;括s̀;EGLSTవశ఼ౄోౘ扮qual;扰reater;扸ess;쀀≪̸lantEqual;쀀⩽̸ilde;扴estedĀGL౨౹reaterGreater;쀀⪢̸essLess;쀀⪡̸recedesƀ;ESಒಓಛ技qual;쀀⪯̸lantEqual;拠ĀeiಫಹverseElement;戌ghtTriangleƀ;BEೋೌ೒拫ar;쀀⧐̸qual;拭ĀquೝഌuareSuĀbp೨೹setĀ;E೰ೳ쀀⊏̸qual;拢ersetĀ;Eഃആ쀀⊐̸qual;拣ƀbcpഓതൎsetĀ;Eഛഞ쀀⊂⃒qual;抈ceedsȀ;ESTലള഻െ抁qual;쀀⪰̸lantEqual;拡ilde;쀀≿̸ersetĀ;E൘൛쀀⊃⃒qual;抉ildeȀ;EFT൮൯൵ൿ扁qual;扄ullEqual;扇ilde;扉erticalBar;戤cr;쀀𝒩ilde耻Ñ䃑;䎝܀Eacdfgmoprstuvලෂ෉෕ෛ෠෧෼ขภยา฿ไlig;䅒cute耻Ó䃓Āiy෎ීrc耻Ô䃔;䐞blac;䅐r;쀀𝔒rave耻Ò䃒ƀaei෮ෲ෶cr;䅌ga;䎩cron;䎟pf;쀀𝕆enCurlyĀDQฎบoubleQuote;怜uote;怘;橔Āclวฬr;쀀𝒪ash耻Ø䃘iŬื฼de耻Õ䃕es;樷ml耻Ö䃖erĀBP๋๠Āar๐๓r;怾acĀek๚๜;揞et;掴arenthesis;揜Ҁacfhilors๿ງຊຏຒດຝະ໼rtialD;戂y;䐟r;쀀𝔓i;䎦;䎠usMinus;䂱Āipຢອncareplanåڝf;愙Ȁ;eio຺ູ໠໤檻cedesȀ;EST່້໏໚扺qual;檯lantEqual;扼ilde;找me;怳Ādp໩໮uct;戏ortionĀ;aȥ໹l;戝Āci༁༆r;쀀𝒫;䎨ȀUfos༑༖༛༟OT耻"䀢r;쀀𝔔pf;愚cr;쀀𝒬؀BEacefhiorsu༾གྷཇའཱིྦྷྪྭ႖ႩႴႾarr;椐G耻®䂮ƀcnrཎནབute;䅔g;柫rĀ;tཛྷཝ憠l;椖ƀaeyཧཬཱron;䅘dil;䅖;䐠Ā;vླྀཹ愜erseĀEUྂྙĀlq྇ྎement;戋uilibrium;懋pEquilibrium;楯r»ཹo;䎡ghtЀACDFTUVa࿁࿫࿳ဢဨၛႇϘĀnr࿆࿒gleBracket;柩rowƀ;BL࿜࿝࿡憒ar;懥eftArrow;懄eiling;按oǵ࿹\0စbleBracket;柧nǔည\0နeeVector;楝ectorĀ;Bဝသ懂ar;楕loor;挋Āerိ၃eƀ;AVဵံြ抢rrow;憦ector;楛iangleƀ;BEၐၑၕ抳ar;槐qual;抵pƀDTVၣၮၸownVector;楏eeVector;楜ectorĀ;Bႂႃ憾ar;楔ectorĀ;B႑႒懀ar;楓Āpuႛ႞f;愝ndImplies;楰ightarrow;懛ĀchႹႼr;愛;憱leDelayed;槴ڀHOacfhimoqstuფჱჷჽᄙᄞᅑᅖᅡᅧᆵᆻᆿĀCcჩხHcy;䐩y;䐨FTcy;䐬cute;䅚ʀ;aeiyᄈᄉᄎᄓᄗ檼ron;䅠dil;䅞rc;䅜;䐡r;쀀𝔖ortȀDLRUᄪᄴᄾᅉownArrow»ОeftArrow»࢚ightArrow»࿝pArrow;憑gma;䎣allCircle;战pf;쀀𝕊ɲᅭ\0\0ᅰt;戚areȀ;ISUᅻᅼᆉᆯ斡ntersection;抓uĀbpᆏᆞsetĀ;Eᆗᆘ抏qual;抑ersetĀ;Eᆨᆩ抐qual;抒nion;抔cr;쀀𝒮ar;拆ȀbcmpᇈᇛሉላĀ;sᇍᇎ拐etĀ;Eᇍᇕqual;抆ĀchᇠህeedsȀ;ESTᇭᇮᇴᇿ扻qual;檰lantEqual;扽ilde;承Tháྌ;我ƀ;esሒሓሣ拑rsetĀ;Eሜም抃qual;抇et»ሓրHRSacfhiorsሾቄ቉ቕ቞ቱቶኟዂወዑORN耻Þ䃞ADE;愢ĀHc቎ቒcy;䐋y;䐦Ābuቚቜ;䀉;䎤ƀaeyብቪቯron;䅤dil;䅢;䐢r;쀀𝔗Āeiቻ኉Dzኀ\0ኇefore;戴a;䎘Ācn኎ኘkSpace;쀀  Space;怉ldeȀ;EFTካኬኲኼ戼qual;扃ullEqual;扅ilde;扈pf;쀀𝕋ipleDot;惛Āctዖዛr;쀀𝒯rok;䅦ૡዷጎጚጦ\0ጬጱ\0\0\0\0\0ጸጽ፷ᎅ\0᏿ᐄᐊᐐĀcrዻጁute耻Ú䃚rĀ;oጇገ憟cir;楉rǣጓ\0጖y;䐎ve;䅬Āiyጞጣrc耻Û䃛;䐣blac;䅰r;쀀𝔘rave耻Ù䃙acr;䅪Ādiፁ፩erĀBPፈ፝Āarፍፐr;䁟acĀekፗፙ;揟et;掵arenthesis;揝onĀ;P፰፱拃lus;抎Āgp፻፿on;䅲f;쀀𝕌ЀADETadps᎕ᎮᎸᏄϨᏒᏗᏳrrowƀ;BDᅐᎠᎤar;椒ownArrow;懅ownArrow;憕quilibrium;楮eeĀ;AᏋᏌ报rrow;憥ownáϳerĀLRᏞᏨeftArrow;憖ightArrow;憗iĀ;lᏹᏺ䏒on;䎥ing;䅮cr;쀀𝒰ilde;䅨ml耻Ü䃜ҀDbcdefosvᐧᐬᐰᐳᐾᒅᒊᒐᒖash;披ar;櫫y;䐒ashĀ;lᐻᐼ抩;櫦Āerᑃᑅ;拁ƀbtyᑌᑐᑺar;怖Ā;iᑏᑕcalȀBLSTᑡᑥᑪᑴar;戣ine;䁼eparator;杘ilde;所ThinSpace;怊r;쀀𝔙pf;쀀𝕍cr;쀀𝒱dash;抪ʀcefosᒧᒬᒱᒶᒼirc;䅴dge;拀r;쀀𝔚pf;쀀𝕎cr;쀀𝒲Ȁfiosᓋᓐᓒᓘr;쀀𝔛;䎞pf;쀀𝕏cr;쀀𝒳ҀAIUacfosuᓱᓵᓹᓽᔄᔏᔔᔚᔠcy;䐯cy;䐇cy;䐮cute耻Ý䃝Āiyᔉᔍrc;䅶;䐫r;쀀𝔜pf;쀀𝕐cr;쀀𝒴ml;䅸ЀHacdefosᔵᔹᔿᕋᕏᕝᕠᕤcy;䐖cute;䅹Āayᕄᕉron;䅽;䐗ot;䅻Dzᕔ\0ᕛoWidtè૙a;䎖r;愨pf;愤cr;쀀𝒵௡ᖃᖊᖐ\0ᖰᖶᖿ\0\0\0\0ᗆᗛᗫᙟ᙭\0ᚕ᚛ᚲᚹ\0ᚾcute耻á䃡reve;䄃̀;Ediuyᖜᖝᖡᖣᖨᖭ戾;쀀∾̳;房rc耻â䃢te肻´̆;䐰lig耻æ䃦Ā;r²ᖺ;쀀𝔞rave耻à䃠ĀepᗊᗖĀfpᗏᗔsym;愵èᗓha;䎱ĀapᗟcĀclᗤᗧr;䄁g;樿ɤᗰ\0\0ᘊʀ;adsvᗺᗻᗿᘁᘇ戧nd;橕;橜lope;橘;橚΀;elmrszᘘᘙᘛᘞᘿᙏᙙ戠;榤e»ᘙsdĀ;aᘥᘦ戡ѡᘰᘲᘴᘶᘸᘺᘼᘾ;榨;榩;榪;榫;榬;榭;榮;榯tĀ;vᙅᙆ戟bĀ;dᙌᙍ抾;榝Āptᙔᙗh;戢»¹arr;捼Āgpᙣᙧon;䄅f;쀀𝕒΀;Eaeiop዁ᙻᙽᚂᚄᚇᚊ;橰cir;橯;扊d;手s;䀧roxĀ;e዁ᚒñᚃing耻å䃥ƀctyᚡᚦᚨr;쀀𝒶;䀪mpĀ;e዁ᚯñʈilde耻ã䃣ml耻ä䃤Āciᛂᛈoninôɲnt;樑ࠀNabcdefiklnoprsu᛭ᛱᜰ᜼ᝃᝈ᝸᝽០៦ᠹᡐᜍ᤽᥈ᥰot;櫭Ācrᛶ᜞kȀcepsᜀᜅᜍᜓong;扌psilon;䏶rime;怵imĀ;e᜚᜛戽q;拍Ŷᜢᜦee;抽edĀ;gᜬᜭ挅e»ᜭrkĀ;t፜᜷brk;掶Āoyᜁᝁ;䐱quo;怞ʀcmprtᝓ᝛ᝡᝤᝨausĀ;eĊĉptyv;榰séᜌnoõēƀahwᝯ᝱ᝳ;䎲;愶een;扬r;쀀𝔟g΀costuvwឍឝឳេ៕៛៞ƀaiuបពរðݠrc;旯p»፱ƀdptឤឨឭot;樀lus;樁imes;樂ɱឹ\0\0ើcup;樆ar;昅riangleĀdu៍្own;施p;斳plus;樄eåᑄåᒭarow;植ƀako៭ᠦᠵĀcn៲ᠣkƀlst៺֫᠂ozenge;槫riangleȀ;dlr᠒᠓᠘᠝斴own;斾eft;旂ight;斸k;搣Ʊᠫ\0ᠳƲᠯ\0ᠱ;斒;斑4;斓ck;斈ĀeoᠾᡍĀ;qᡃᡆ쀀=⃥uiv;쀀≡⃥t;挐Ȁptwxᡙᡞᡧᡬf;쀀𝕓Ā;tᏋᡣom»Ꮜtie;拈؀DHUVbdhmptuvᢅᢖᢪᢻᣗᣛᣬ᣿ᤅᤊᤐᤡȀLRlrᢎᢐᢒᢔ;敗;敔;敖;敓ʀ;DUduᢡᢢᢤᢦᢨ敐;敦;敩;敤;敧ȀLRlrᢳᢵᢷᢹ;敝;敚;敜;教΀;HLRhlrᣊᣋᣍᣏᣑᣓᣕ救;敬;散;敠;敫;敢;敟ox;槉ȀLRlrᣤᣦᣨᣪ;敕;敒;攐;攌ʀ;DUduڽ᣷᣹᣻᣽;敥;敨;攬;攴inus;抟lus;択imes;抠ȀLRlrᤙᤛᤝ᤟;敛;敘;攘;攔΀;HLRhlrᤰᤱᤳᤵᤷ᤻᤹攂;敪;敡;敞;攼;攤;攜Āevģ᥂bar耻¦䂦Ȁceioᥑᥖᥚᥠr;쀀𝒷mi;恏mĀ;e᜚᜜lƀ;bhᥨᥩᥫ䁜;槅sub;柈Ŭᥴ᥾lĀ;e᥹᥺怢t»᥺pƀ;Eeįᦅᦇ;檮Ā;qۜۛೡᦧ\0᧨ᨑᨕᨲ\0ᨷᩐ\0\0᪴\0\0᫁\0\0ᬡᬮ᭍᭒\0᯽\0ᰌƀcpr᦭ᦲ᧝ute;䄇̀;abcdsᦿᧀᧄ᧊᧕᧙戩nd;橄rcup;橉Āau᧏᧒p;橋p;橇ot;橀;쀀∩︀Āeo᧢᧥t;恁îړȀaeiu᧰᧻ᨁᨅǰ᧵\0᧸s;橍on;䄍dil耻ç䃧rc;䄉psĀ;sᨌᨍ橌m;橐ot;䄋ƀdmnᨛᨠᨦil肻¸ƭptyv;榲t脀¢;eᨭᨮ䂢räƲr;쀀𝔠ƀceiᨽᩀᩍy;䑇ckĀ;mᩇᩈ朓ark»ᩈ;䏇r΀;Ecefms᩟᩠ᩢᩫ᪤᪪᪮旋;槃ƀ;elᩩᩪᩭ䋆q;扗eɡᩴ\0\0᪈rrowĀlr᩼᪁eft;憺ight;憻ʀRSacd᪒᪔᪖᪚᪟»ཇ;擈st;抛irc;抚ash;抝nint;樐id;櫯cir;槂ubsĀ;u᪻᪼晣it»᪼ˬ᫇᫔᫺\0ᬊonĀ;eᫍᫎ䀺Ā;qÇÆɭ᫙\0\0᫢aĀ;t᫞᫟䀬;䁀ƀ;fl᫨᫩᫫戁îᅠeĀmx᫱᫶ent»᫩eóɍǧ᫾\0ᬇĀ;dኻᬂot;橭nôɆƀfryᬐᬔᬗ;쀀𝕔oäɔ脀©;sŕᬝr;愗Āaoᬥᬩrr;憵ss;朗Ācuᬲᬷr;쀀𝒸Ābpᬼ᭄Ā;eᭁᭂ櫏;櫑Ā;eᭉᭊ櫐;櫒dot;拯΀delprvw᭠᭬᭷ᮂᮬᯔ᯹arrĀlr᭨᭪;椸;椵ɰ᭲\0\0᭵r;拞c;拟arrĀ;p᭿ᮀ憶;椽̀;bcdosᮏᮐᮖᮡᮥᮨ截rcap;橈Āauᮛᮞp;橆p;橊ot;抍r;橅;쀀∪︀Ȁalrv᮵ᮿᯞᯣrrĀ;mᮼᮽ憷;椼yƀevwᯇᯔᯘqɰᯎ\0\0ᯒreã᭳uã᭵ee;拎edge;拏en耻¤䂤earrowĀlrᯮ᯳eft»ᮀight»ᮽeäᯝĀciᰁᰇoninôǷnt;戱lcty;挭ঀAHabcdefhijlorstuwz᰸᰻᰿ᱝᱩᱵᲊᲞᲬᲷ᳻᳿ᴍᵻᶑᶫᶻ᷆᷍rò΁ar;楥Ȁglrs᱈ᱍ᱒᱔ger;怠eth;愸òᄳhĀ;vᱚᱛ怐»ऊūᱡᱧarow;椏aã̕Āayᱮᱳron;䄏;䐴ƀ;ao̲ᱼᲄĀgrʿᲁr;懊tseq;橷ƀglmᲑᲔᲘ耻°䂰ta;䎴ptyv;榱ĀirᲣᲨsht;楿;쀀𝔡arĀlrᲳᲵ»ࣜ»သʀaegsv᳂͸᳖᳜᳠mƀ;oș᳊᳔ndĀ;ș᳑uit;晦amma;䏝in;拲ƀ;io᳧᳨᳸䃷de脀÷;o᳧ᳰntimes;拇nø᳷cy;䑒cɯᴆ\0\0ᴊrn;挞op;挍ʀlptuwᴘᴝᴢᵉᵕlar;䀤f;쀀𝕕ʀ;emps̋ᴭᴷᴽᵂqĀ;d͒ᴳot;扑inus;戸lus;戔quare;抡blebarwedgåúnƀadhᄮᵝᵧownarrowóᲃarpoonĀlrᵲᵶefôᲴighôᲶŢᵿᶅkaro÷གɯᶊ\0\0ᶎrn;挟op;挌ƀcotᶘᶣᶦĀryᶝᶡ;쀀𝒹;䑕l;槶rok;䄑Ādrᶰᶴot;拱iĀ;fᶺ᠖斿Āah᷀᷃ròЩaòྦangle;榦Āci᷒ᷕy;䑟grarr;柿ऀDacdefglmnopqrstuxḁḉḙḸոḼṉṡṾấắẽỡἪἷὄ὎὚ĀDoḆᴴoôᲉĀcsḎḔute耻é䃩ter;橮ȀaioyḢḧḱḶron;䄛rĀ;cḭḮ扖耻ê䃪lon;払;䑍ot;䄗ĀDrṁṅot;扒;쀀𝔢ƀ;rsṐṑṗ檚ave耻è䃨Ā;dṜṝ檖ot;檘Ȁ;ilsṪṫṲṴ檙nters;揧;愓Ā;dṹṺ檕ot;檗ƀapsẅẉẗcr;䄓tyƀ;svẒẓẕ戅et»ẓpĀ1;ẝẤijạả;怄;怅怃ĀgsẪẬ;䅋p;怂ĀgpẴẸon;䄙f;쀀𝕖ƀalsỄỎỒrĀ;sỊị拕l;槣us;橱iƀ;lvỚớở䎵on»ớ;䏵ȀcsuvỪỳἋἣĀioữḱrc»Ḯɩỹ\0\0ỻíՈantĀglἂἆtr»ṝess»Ṻƀaeiἒ἖Ἒls;䀽st;扟vĀ;DȵἠD;橸parsl;槥ĀDaἯἳot;打rr;楱ƀcdiἾὁỸr;愯oô͒ĀahὉὋ;䎷耻ð䃰Āmrὓὗl耻ë䃫o;悬ƀcipὡὤὧl;䀡sôծĀeoὬὴctatioîՙnentialåչৡᾒ\0ᾞ\0ᾡᾧ\0\0ῆῌ\0ΐ\0ῦῪ \0 ⁚llingdotseñṄy;䑄male;晀ƀilrᾭᾳ῁lig;耀ffiɩᾹ\0\0᾽g;耀ffig;耀ffl;쀀𝔣lig;耀filig;쀀fjƀaltῙ῜ῡt;晭ig;耀flns;斱of;䆒ǰ΅\0ῳf;쀀𝕗ĀakֿῷĀ;vῼ´拔;櫙artint;樍Āao‌⁕Ācs‑⁒ႉ‸⁅⁈\0⁐β•‥‧‪‬\0‮耻½䂽;慓耻¼䂼;慕;慙;慛Ƴ‴\0‶;慔;慖ʴ‾⁁\0\0⁃耻¾䂾;慗;慜5;慘ƶ⁌\0⁎;慚;慝8;慞l;恄wn;挢cr;쀀𝒻ࢀEabcdefgijlnorstv₂₉₟₥₰₴⃰⃵⃺⃿℃ℒℸ̗ℾ⅒↞Ā;lٍ₇;檌ƀcmpₐₕ₝ute;䇵maĀ;dₜ᳚䎳;檆reve;䄟Āiy₪₮rc;䄝;䐳ot;䄡Ȁ;lqsؾق₽⃉ƀ;qsؾٌ⃄lanô٥Ȁ;cdl٥⃒⃥⃕c;檩otĀ;o⃜⃝檀Ā;l⃢⃣檂;檄Ā;e⃪⃭쀀⋛︀s;檔r;쀀𝔤Ā;gٳ؛mel;愷cy;䑓Ȁ;Eajٚℌℎℐ;檒;檥;檤ȀEaesℛℝ℩ℴ;扩pĀ;p℣ℤ檊rox»ℤĀ;q℮ℯ檈Ā;q℮ℛim;拧pf;쀀𝕘Āci⅃ⅆr;愊mƀ;el٫ⅎ⅐;檎;檐茀>;cdlqr׮ⅠⅪⅮⅳⅹĀciⅥⅧ;檧r;橺ot;拗Par;榕uest;橼ʀadelsↄⅪ←ٖ↛ǰ↉\0↎proø₞r;楸qĀlqؿ↖lesó₈ií٫Āen↣↭rtneqq;쀀≩︀Å↪ԀAabcefkosy⇄⇇⇱⇵⇺∘∝∯≨≽ròΠȀilmr⇐⇔⇗⇛rsðᒄf»․ilôکĀdr⇠⇤cy;䑊ƀ;cwࣴ⇫⇯ir;楈;憭ar;意irc;䄥ƀalr∁∎∓rtsĀ;u∉∊晥it»∊lip;怦con;抹r;쀀𝔥sĀew∣∩arow;椥arow;椦ʀamopr∺∾≃≞≣rr;懿tht;戻kĀlr≉≓eftarrow;憩ightarrow;憪f;쀀𝕙bar;怕ƀclt≯≴≸r;쀀𝒽asè⇴rok;䄧Ābp⊂⊇ull;恃hen»ᱛૡ⊣\0⊪\0⊸⋅⋎\0⋕⋳\0\0⋸⌢⍧⍢⍿\0⎆⎪⎴cute耻í䃭ƀ;iyݱ⊰⊵rc耻î䃮;䐸Ācx⊼⊿y;䐵cl耻¡䂡ĀfrΟ⋉;쀀𝔦rave耻ì䃬Ȁ;inoܾ⋝⋩⋮Āin⋢⋦nt;樌t;戭fin;槜ta;愩lig;䄳ƀaop⋾⌚⌝ƀcgt⌅⌈⌗r;䄫ƀelpܟ⌏⌓inåގarôܠh;䄱f;抷ed;䆵ʀ;cfotӴ⌬⌱⌽⍁are;愅inĀ;t⌸⌹戞ie;槝doô⌙ʀ;celpݗ⍌⍐⍛⍡al;抺Āgr⍕⍙eróᕣã⍍arhk;樗rod;樼Ȁcgpt⍯⍲⍶⍻y;䑑on;䄯f;쀀𝕚a;䎹uest耻¿䂿Āci⎊⎏r;쀀𝒾nʀ;EdsvӴ⎛⎝⎡ӳ;拹ot;拵Ā;v⎦⎧拴;拳Ā;iݷ⎮lde;䄩ǫ⎸\0⎼cy;䑖l耻ï䃯̀cfmosu⏌⏗⏜⏡⏧⏵Āiy⏑⏕rc;䄵;䐹r;쀀𝔧ath;䈷pf;쀀𝕛ǣ⏬\0⏱r;쀀𝒿rcy;䑘kcy;䑔Ѐacfghjos␋␖␢␧␭␱␵␻ppaĀ;v␓␔䎺;䏰Āey␛␠dil;䄷;䐺r;쀀𝔨reen;䄸cy;䑅cy;䑜pf;쀀𝕜cr;쀀𝓀஀ABEHabcdefghjlmnoprstuv⑰⒁⒆⒍⒑┎┽╚▀♎♞♥♹♽⚚⚲⛘❝❨➋⟀⠁⠒ƀart⑷⑺⑼rò৆òΕail;椛arr;椎Ā;gঔ⒋;檋ar;楢ॣ⒥\0⒪\0⒱\0\0\0\0\0⒵Ⓔ\0ⓆⓈⓍ\0⓹ute;䄺mptyv;榴raîࡌbda;䎻gƀ;dlࢎⓁⓃ;榑åࢎ;檅uo耻«䂫rЀ;bfhlpst࢙ⓞⓦⓩ⓫⓮⓱⓵Ā;f࢝ⓣs;椟s;椝ë≒p;憫l;椹im;楳l;憢ƀ;ae⓿─┄檫il;椙Ā;s┉┊檭;쀀⪭︀ƀabr┕┙┝rr;椌rk;杲Āak┢┬cĀek┨┪;䁻;䁛Āes┱┳;榋lĀdu┹┻;榏;榍Ȁaeuy╆╋╖╘ron;䄾Ādi═╔il;䄼ìࢰâ┩;䐻Ȁcqrs╣╦╭╽a;椶uoĀ;rนᝆĀdu╲╷har;楧shar;楋h;憲ʀ;fgqs▋▌উ◳◿扤tʀahlrt▘▤▷◂◨rrowĀ;t࢙□aé⓶arpoonĀdu▯▴own»њp»०eftarrows;懇ightƀahs◍◖◞rrowĀ;sࣴࢧarpoonó྘quigarro÷⇰hreetimes;拋ƀ;qs▋ও◺lanôবʀ;cdgsব☊☍☝☨c;檨otĀ;o☔☕橿Ā;r☚☛檁;檃Ā;e☢☥쀀⋚︀s;檓ʀadegs☳☹☽♉♋pproøⓆot;拖qĀgq♃♅ôউgtò⒌ôছiíলƀilr♕࣡♚sht;楼;쀀𝔩Ā;Eজ♣;檑š♩♶rĀdu▲♮Ā;l॥♳;楪lk;斄cy;䑙ʀ;achtੈ⚈⚋⚑⚖rò◁orneòᴈard;楫ri;旺Āio⚟⚤dot;䅀ustĀ;a⚬⚭掰che»⚭ȀEaes⚻⚽⛉⛔;扨pĀ;p⛃⛄檉rox»⛄Ā;q⛎⛏檇Ā;q⛎⚻im;拦Ѐabnoptwz⛩⛴⛷✚✯❁❇❐Ānr⛮⛱g;柬r;懽rëࣁgƀlmr⛿✍✔eftĀar০✇ightá৲apsto;柼ightá৽parrowĀlr✥✩efô⓭ight;憬ƀafl✶✹✽r;榅;쀀𝕝us;樭imes;樴š❋❏st;戗áፎƀ;ef❗❘᠀旊nge»❘arĀ;l❤❥䀨t;榓ʀachmt❳❶❼➅➇ròࢨorneòᶌarĀ;d྘➃;業;怎ri;抿̀achiqt➘➝ੀ➢➮➻quo;怹r;쀀𝓁mƀ;egল➪➬;檍;檏Ābu┪➳oĀ;rฟ➹;怚rok;䅂萀<;cdhilqrࠫ⟒☹⟜⟠⟥⟪⟰Āci⟗⟙;檦r;橹reå◲mes;拉arr;楶uest;橻ĀPi⟵⟹ar;榖ƀ;ef⠀भ᠛旃rĀdu⠇⠍shar;楊har;楦Āen⠗⠡rtneqq;쀀≨︀Å⠞܀Dacdefhilnopsu⡀⡅⢂⢎⢓⢠⢥⢨⣚⣢⣤ઃ⣳⤂Dot;戺Ȁclpr⡎⡒⡣⡽r耻¯䂯Āet⡗⡙;時Ā;e⡞⡟朠se»⡟Ā;sျ⡨toȀ;dluျ⡳⡷⡻owîҌefôएðᏑker;斮Āoy⢇⢌mma;権;䐼ash;怔asuredangle»ᘦr;쀀𝔪o;愧ƀcdn⢯⢴⣉ro耻µ䂵Ȁ;acdᑤ⢽⣀⣄sôᚧir;櫰ot肻·Ƶusƀ;bd⣒ᤃ⣓戒Ā;uᴼ⣘;横ţ⣞⣡p;櫛ò−ðઁĀdp⣩⣮els;抧f;쀀𝕞Āct⣸⣽r;쀀𝓂pos»ᖝƀ;lm⤉⤊⤍䎼timap;抸ఀGLRVabcdefghijlmoprstuvw⥂⥓⥾⦉⦘⧚⧩⨕⨚⩘⩝⪃⪕⪤⪨⬄⬇⭄⭿⮮ⰴⱧⱼ⳩Āgt⥇⥋;쀀⋙̸Ā;v⥐௏쀀≫⃒ƀelt⥚⥲⥶ftĀar⥡⥧rrow;懍ightarrow;懎;쀀⋘̸Ā;v⥻ే쀀≪⃒ightarrow;懏ĀDd⦎⦓ash;抯ash;抮ʀbcnpt⦣⦧⦬⦱⧌la»˞ute;䅄g;쀀∠⃒ʀ;Eiop඄⦼⧀⧅⧈;쀀⩰̸d;쀀≋̸s;䅉roø඄urĀ;a⧓⧔普lĀ;s⧓ସdz⧟\0⧣p肻\xA0ଷmpĀ;e௹ఀʀaeouy⧴⧾⨃⨐⨓ǰ⧹\0⧻;橃on;䅈dil;䅆ngĀ;dൾ⨊ot;쀀⩭̸p;橂;䐽ash;怓΀;Aadqsxஒ⨩⨭⨻⩁⩅⩐rr;懗rĀhr⨳⨶k;椤Ā;oᏲᏰot;쀀≐̸uiöୣĀei⩊⩎ar;椨í஘istĀ;s஠டr;쀀𝔫ȀEest௅⩦⩹⩼ƀ;qs஼⩭௡ƀ;qs஼௅⩴lanô௢ií௪Ā;rஶ⪁»ஷƀAap⪊⪍⪑rò⥱rr;憮ar;櫲ƀ;svྍ⪜ྌĀ;d⪡⪢拼;拺cy;䑚΀AEadest⪷⪺⪾⫂⫅⫶⫹rò⥦;쀀≦̸rr;憚r;急Ȁ;fqs఻⫎⫣⫯tĀar⫔⫙rro÷⫁ightarro÷⪐ƀ;qs఻⪺⫪lanôౕĀ;sౕ⫴»శiíౝĀ;rవ⫾iĀ;eచథiäඐĀpt⬌⬑f;쀀𝕟膀¬;in⬙⬚⬶䂬nȀ;Edvஉ⬤⬨⬮;쀀⋹̸ot;쀀⋵̸ǡஉ⬳⬵;拷;拶iĀ;vಸ⬼ǡಸ⭁⭃;拾;拽ƀaor⭋⭣⭩rȀ;ast୻⭕⭚⭟lleì୻l;쀀⫽⃥;쀀∂̸lint;樔ƀ;ceಒ⭰⭳uåಥĀ;cಘ⭸Ā;eಒ⭽ñಘȀAait⮈⮋⮝⮧rò⦈rrƀ;cw⮔⮕⮙憛;쀀⤳̸;쀀↝̸ghtarrow»⮕riĀ;eೋೖ΀chimpqu⮽⯍⯙⬄୸⯤⯯Ȁ;cerല⯆ഷ⯉uå൅;쀀𝓃ortɭ⬅\0\0⯖ará⭖mĀ;e൮⯟Ā;q൴൳suĀbp⯫⯭å೸åഋƀbcp⯶ⰑⰙȀ;Ees⯿ⰀഢⰄ抄;쀀⫅̸etĀ;eഛⰋqĀ;qണⰀcĀ;eലⰗñസȀ;EesⰢⰣൟⰧ抅;쀀⫆̸etĀ;e൘ⰮqĀ;qൠⰣȀgilrⰽⰿⱅⱇìௗlde耻ñ䃱çృiangleĀlrⱒⱜeftĀ;eచⱚñదightĀ;eೋⱥñ೗Ā;mⱬⱭ䎽ƀ;esⱴⱵⱹ䀣ro;愖p;怇ҀDHadgilrsⲏⲔⲙⲞⲣⲰⲶⳓⳣash;抭arr;椄p;쀀≍⃒ash;抬ĀetⲨⲬ;쀀≥⃒;쀀>⃒nfin;槞ƀAetⲽⳁⳅrr;椂;쀀≤⃒Ā;rⳊⳍ쀀<⃒ie;쀀⊴⃒ĀAtⳘⳜrr;椃rie;쀀⊵⃒im;쀀∼⃒ƀAan⳰⳴ⴂrr;懖rĀhr⳺⳽k;椣Ā;oᏧᏥear;椧ቓ᪕\0\0\0\0\0\0\0\0\0\0\0\0\0ⴭ\0ⴸⵈⵠⵥ⵲ⶄᬇ\0\0ⶍⶫ\0ⷈⷎ\0ⷜ⸙⸫⸾⹃Ācsⴱ᪗ute耻ó䃳ĀiyⴼⵅrĀ;c᪞ⵂ耻ô䃴;䐾ʀabios᪠ⵒⵗLjⵚlac;䅑v;樸old;榼lig;䅓Ācr⵩⵭ir;榿;쀀𝔬ͯ⵹\0\0⵼\0ⶂn;䋛ave耻ò䃲;槁Ābmⶈ෴ar;榵Ȁacitⶕ⶘ⶥⶨrò᪀Āir⶝ⶠr;榾oss;榻nå๒;槀ƀaeiⶱⶵⶹcr;䅍ga;䏉ƀcdnⷀⷅǍron;䎿;榶pf;쀀𝕠ƀaelⷔ⷗ǒr;榷rp;榹΀;adiosvⷪⷫⷮ⸈⸍⸐⸖戨rò᪆Ȁ;efmⷷⷸ⸂⸅橝rĀ;oⷾⷿ愴f»ⷿ耻ª䂪耻º䂺gof;抶r;橖lope;橗;橛ƀclo⸟⸡⸧ò⸁ash耻ø䃸l;折iŬⸯ⸴de耻õ䃵esĀ;aǛ⸺s;樶ml耻ö䃶bar;挽ૡ⹞\0⹽\0⺀⺝\0⺢⺹\0\0⻋ຜ\0⼓\0\0⼫⾼\0⿈rȀ;astЃ⹧⹲຅脀¶;l⹭⹮䂶leìЃɩ⹸\0\0⹻m;櫳;櫽y;䐿rʀcimpt⺋⺏⺓ᡥ⺗nt;䀥od;䀮il;怰enk;怱r;쀀𝔭ƀimo⺨⺰⺴Ā;v⺭⺮䏆;䏕maô੶ne;明ƀ;tv⺿⻀⻈䏀chfork»´;䏖Āau⻏⻟nĀck⻕⻝kĀ;h⇴⻛;愎ö⇴sҀ;abcdemst⻳⻴ᤈ⻹⻽⼄⼆⼊⼎䀫cir;樣ir;樢Āouᵀ⼂;樥;橲n肻±ຝim;樦wo;樧ƀipu⼙⼠⼥ntint;樕f;쀀𝕡nd耻£䂣Ԁ;Eaceinosu່⼿⽁⽄⽇⾁⾉⾒⽾⾶;檳p;檷uå໙Ā;c໎⽌̀;acens່⽙⽟⽦⽨⽾pproø⽃urlyeñ໙ñ໎ƀaes⽯⽶⽺pprox;檹qq;檵im;拨iíໟmeĀ;s⾈ຮ怲ƀEas⽸⾐⽺ð⽵ƀdfp໬⾙⾯ƀals⾠⾥⾪lar;挮ine;挒urf;挓Ā;t໻⾴ï໻rel;抰Āci⿀⿅r;쀀𝓅;䏈ncsp;怈̀fiopsu⿚⋢⿟⿥⿫⿱r;쀀𝔮pf;쀀𝕢rime;恗cr;쀀𝓆ƀaeo⿸〉〓tĀei⿾々rnionóڰnt;樖stĀ;e【】䀿ñἙô༔઀ABHabcdefhilmnoprstux぀けさすムㄎㄫㅇㅢㅲㆎ㈆㈕㈤㈩㉘㉮㉲㊐㊰㊷ƀartぇおがròႳòϝail;検aròᱥar;楤΀cdenqrtとふへみわゔヌĀeuねぱ;쀀∽̱te;䅕iãᅮmptyv;榳gȀ;del࿑らるろ;榒;榥å࿑uo耻»䂻rր;abcfhlpstw࿜ガクシスゼゾダッデナp;極Ā;f࿠ゴs;椠;椳s;椞ë≝ð✮l;楅im;楴l;憣;憝Āaiパフil;椚oĀ;nホボ戶aló༞ƀabrョリヮrò៥rk;杳ĀakンヽcĀekヹ・;䁽;䁝Āes㄂㄄;榌lĀduㄊㄌ;榎;榐Ȁaeuyㄗㄜㄧㄩron;䅙Ādiㄡㄥil;䅗ì࿲âヺ;䑀Ȁclqsㄴㄷㄽㅄa;椷dhar;楩uoĀ;rȎȍh;憳ƀacgㅎㅟངlȀ;ipsླྀㅘㅛႜnåႻarôྩt;断ƀilrㅩဣㅮsht;楽;쀀𝔯ĀaoㅷㆆrĀduㅽㅿ»ѻĀ;l႑ㆄ;楬Ā;vㆋㆌ䏁;䏱ƀgns㆕ㇹㇼht̀ahlrstㆤㆰ㇂㇘㇤㇮rrowĀ;t࿜ㆭaéトarpoonĀduㆻㆿowîㅾp»႒eftĀah㇊㇐rrowó࿪arpoonóՑightarrows;應quigarro÷ニhreetimes;拌g;䋚ingdotseñἲƀahm㈍㈐㈓rò࿪aòՑ;怏oustĀ;a㈞㈟掱che»㈟mid;櫮Ȁabpt㈲㈽㉀㉒Ānr㈷㈺g;柭r;懾rëဃƀafl㉇㉊㉎r;榆;쀀𝕣us;樮imes;樵Āap㉝㉧rĀ;g㉣㉤䀩t;榔olint;樒arò㇣Ȁachq㉻㊀Ⴜ㊅quo;怺r;쀀𝓇Ābu・㊊oĀ;rȔȓƀhir㊗㊛㊠reåㇸmes;拊iȀ;efl㊪ၙᠡ㊫方tri;槎luhar;楨;愞ൡ㋕㋛㋟㌬㌸㍱\0㍺㎤\0\0㏬㏰\0㐨㑈㑚㒭㒱㓊㓱\0㘖\0\0㘳cute;䅛quï➺Ԁ;Eaceinpsyᇭ㋳㋵㋿㌂㌋㌏㌟㌦㌩;檴ǰ㋺\0㋼;檸on;䅡uåᇾĀ;dᇳ㌇il;䅟rc;䅝ƀEas㌖㌘㌛;檶p;檺im;择olint;樓iíሄ;䑁otƀ;be㌴ᵇ㌵担;橦΀Aacmstx㍆㍊㍗㍛㍞㍣㍭rr;懘rĀhr㍐㍒ë∨Ā;oਸ਼਴t耻§䂧i;䀻war;椩mĀin㍩ðnuóñt;朶rĀ;o㍶⁕쀀𝔰Ȁacoy㎂㎆㎑㎠rp;景Āhy㎋㎏cy;䑉;䑈rtɭ㎙\0\0㎜iäᑤaraì⹯耻­䂭Āgm㎨㎴maƀ;fv㎱㎲㎲䏃;䏂Ѐ;deglnprካ㏅㏉㏎㏖㏞㏡㏦ot;橪Ā;q኱ኰĀ;E㏓㏔檞;檠Ā;E㏛㏜檝;檟e;扆lus;樤arr;楲aròᄽȀaeit㏸㐈㐏㐗Āls㏽㐄lsetmé㍪hp;樳parsl;槤Ādlᑣ㐔e;挣Ā;e㐜㐝檪Ā;s㐢㐣檬;쀀⪬︀ƀflp㐮㐳㑂tcy;䑌Ā;b㐸㐹䀯Ā;a㐾㐿槄r;挿f;쀀𝕤aĀdr㑍ЂesĀ;u㑔㑕晠it»㑕ƀcsu㑠㑹㒟Āau㑥㑯pĀ;sᆈ㑫;쀀⊓︀pĀ;sᆴ㑵;쀀⊔︀uĀbp㑿㒏ƀ;esᆗᆜ㒆etĀ;eᆗ㒍ñᆝƀ;esᆨᆭ㒖etĀ;eᆨ㒝ñᆮƀ;afᅻ㒦ְrť㒫ֱ»ᅼaròᅈȀcemt㒹㒾㓂㓅r;쀀𝓈tmîñiì㐕aræᆾĀar㓎㓕rĀ;f㓔ឿ昆Āan㓚㓭ightĀep㓣㓪psiloîỠhé⺯s»⡒ʀbcmnp㓻㕞ሉ㖋㖎Ҁ;Edemnprs㔎㔏㔑㔕㔞㔣㔬㔱㔶抂;櫅ot;檽Ā;dᇚ㔚ot;櫃ult;櫁ĀEe㔨㔪;櫋;把lus;檿arr;楹ƀeiu㔽㕒㕕tƀ;en㔎㕅㕋qĀ;qᇚ㔏eqĀ;q㔫㔨m;櫇Ābp㕚㕜;櫕;櫓c̀;acensᇭ㕬㕲㕹㕻㌦pproø㋺urlyeñᇾñᇳƀaes㖂㖈㌛pproø㌚qñ㌗g;晪ڀ123;Edehlmnps㖩㖬㖯ሜ㖲㖴㗀㗉㗕㗚㗟㗨㗭耻¹䂹耻²䂲耻³䂳;櫆Āos㖹㖼t;檾ub;櫘Ā;dሢ㗅ot;櫄sĀou㗏㗒l;柉b;櫗arr;楻ult;櫂ĀEe㗤㗦;櫌;抋lus;櫀ƀeiu㗴㘉㘌tƀ;enሜ㗼㘂qĀ;qሢ㖲eqĀ;q㗧㗤m;櫈Ābp㘑㘓;櫔;櫖ƀAan㘜㘠㘭rr;懙rĀhr㘦㘨ë∮Ā;oਫ਩war;椪lig耻ß䃟௡㙑㙝㙠ዎ㙳㙹\0㙾㛂\0\0\0\0\0㛛㜃\0㜉㝬\0\0\0㞇ɲ㙖\0\0㙛get;挖;䏄rë๟ƀaey㙦㙫㙰ron;䅥dil;䅣;䑂lrec;挕r;쀀𝔱Ȁeiko㚆㚝㚵㚼Dz㚋\0㚑eĀ4fኄኁaƀ;sv㚘㚙㚛䎸ym;䏑Ācn㚢㚲kĀas㚨㚮pproø዁im»ኬsðኞĀas㚺㚮ð዁rn耻þ䃾Ǭ̟㛆⋧es膀×;bd㛏㛐㛘䃗Ā;aᤏ㛕r;樱;樰ƀeps㛡㛣㜀á⩍Ȁ;bcf҆㛬㛰㛴ot;挶ir;櫱Ā;o㛹㛼쀀𝕥rk;櫚á㍢rime;怴ƀaip㜏㜒㝤dåቈ΀adempst㜡㝍㝀㝑㝗㝜㝟ngleʀ;dlqr㜰㜱㜶㝀㝂斵own»ᶻeftĀ;e⠀㜾ñम;扜ightĀ;e㊪㝋ñၚot;旬inus;樺lus;樹b;槍ime;樻ezium;揢ƀcht㝲㝽㞁Āry㝷㝻;쀀𝓉;䑆cy;䑛rok;䅧Āio㞋㞎xô᝷headĀlr㞗㞠eftarro÷ࡏightarrow»ཝऀAHabcdfghlmoprstuw㟐㟓㟗㟤㟰㟼㠎㠜㠣㠴㡑㡝㡫㢩㣌㣒㣪㣶ròϭar;楣Ācr㟜㟢ute耻ú䃺òᅐrǣ㟪\0㟭y;䑞ve;䅭Āiy㟵㟺rc耻û䃻;䑃ƀabh㠃㠆㠋ròᎭlac;䅱aòᏃĀir㠓㠘sht;楾;쀀𝔲rave耻ù䃹š㠧㠱rĀlr㠬㠮»ॗ»ႃlk;斀Āct㠹㡍ɯ㠿\0\0㡊rnĀ;e㡅㡆挜r»㡆op;挏ri;旸Āal㡖㡚cr;䅫肻¨͉Āgp㡢㡦on;䅳f;쀀𝕦̀adhlsuᅋ㡸㡽፲㢑㢠ownáᎳarpoonĀlr㢈㢌efô㠭ighô㠯iƀ;hl㢙㢚㢜䏅»ᏺon»㢚parrows;懈ƀcit㢰㣄㣈ɯ㢶\0\0㣁rnĀ;e㢼㢽挝r»㢽op;挎ng;䅯ri;旹cr;쀀𝓊ƀdir㣙㣝㣢ot;拰lde;䅩iĀ;f㜰㣨»᠓Āam㣯㣲rò㢨l耻ü䃼angle;榧ހABDacdeflnoprsz㤜㤟㤩㤭㦵㦸㦽㧟㧤㧨㧳㧹㧽㨁㨠ròϷarĀ;v㤦㤧櫨;櫩asèϡĀnr㤲㤷grt;榜΀eknprst㓣㥆㥋㥒㥝㥤㦖appá␕othinçẖƀhir㓫⻈㥙opô⾵Ā;hᎷ㥢ïㆍĀiu㥩㥭gmá㎳Ābp㥲㦄setneqĀ;q㥽㦀쀀⊊︀;쀀⫋︀setneqĀ;q㦏㦒쀀⊋︀;쀀⫌︀Āhr㦛㦟etá㚜iangleĀlr㦪㦯eft»थight»ၑy;䐲ash»ံƀelr㧄㧒㧗ƀ;beⷪ㧋㧏ar;抻q;扚lip;拮Ābt㧜ᑨaòᑩr;쀀𝔳tré㦮suĀbp㧯㧱»ജ»൙pf;쀀𝕧roð໻tré㦴Ācu㨆㨋r;쀀𝓋Ābp㨐㨘nĀEe㦀㨖»㥾nĀEe㦒㨞»㦐igzag;榚΀cefoprs㨶㨻㩖㩛㩔㩡㩪irc;䅵Ādi㩀㩑Ābg㩅㩉ar;機eĀ;qᗺ㩏;扙erp;愘r;쀀𝔴pf;쀀𝕨Ā;eᑹ㩦atèᑹcr;쀀𝓌ૣណ㪇\0㪋\0㪐㪛\0\0㪝㪨㪫㪯\0\0㫃㫎\0㫘ៜ៟tré៑r;쀀𝔵ĀAa㪔㪗ròσrò৶;䎾ĀAa㪡㪤ròθrò৫að✓is;拻ƀdptឤ㪵㪾Āfl㪺ឩ;쀀𝕩imåឲĀAa㫇㫊ròώròਁĀcq㫒ីr;쀀𝓍Āpt៖㫜ré។Ѐacefiosu㫰㫽㬈㬌㬑㬕㬛㬡cĀuy㫶㫻te耻ý䃽;䑏Āiy㬂㬆rc;䅷;䑋n耻¥䂥r;쀀𝔶cy;䑗pf;쀀𝕪cr;쀀𝓎Ācm㬦㬩y;䑎l耻ÿ䃿Ԁacdefhiosw㭂㭈㭔㭘㭤㭩㭭㭴㭺㮀cute;䅺Āay㭍㭒ron;䅾;䐷ot;䅼Āet㭝㭡træᕟa;䎶r;쀀𝔷cy;䐶grarr;懝pf;쀀𝕫cr;쀀𝓏Ājn㮅㮇;怍j;怌`.split(``).map(e=>e.charCodeAt(0))),iW=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]]);String.fromCodePoint;function aW(e){return e>=55296&&e<=57343||e>1114111?65533:iW.get(e)??e}var oW;(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`})(oW||={});var sW=32,cW;(function(e){e[e.VALUE_LENGTH=49152]=`VALUE_LENGTH`,e[e.BRANCH_LENGTH=16256]=`BRANCH_LENGTH`,e[e.JUMP_TABLE=127]=`JUMP_TABLE`})(cW||={});function lW(e){return e>=oW.ZERO&&e<=oW.NINE}function uW(e){return e>=oW.UPPER_A&&e<=oW.UPPER_F||e>=oW.LOWER_A&&e<=oW.LOWER_F}function dW(e){return e>=oW.UPPER_A&&e<=oW.UPPER_Z||e>=oW.LOWER_A&&e<=oW.LOWER_Z||lW(e)}function fW(e){return e===oW.EQUALS||dW(e)}var pW;(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`})(pW||={});var mW;(function(e){e[e.Legacy=0]=`Legacy`,e[e.Strict=1]=`Strict`,e[e.Attribute=2]=`Attribute`})(mW||={});var hW=class{constructor(e,t,n){this.decodeTree=e,this.emitCodePoint=t,this.errors=n,this.state=pW.EntityStart,this.consumed=1,this.result=0,this.treeIndex=0,this.excess=1,this.decodeMode=mW.Strict}startEntity(e){this.decodeMode=e,this.state=pW.EntityStart,this.result=0,this.treeIndex=0,this.excess=1,this.consumed=1}write(e,t){switch(this.state){case pW.EntityStart:return e.charCodeAt(t)===oW.NUM?(this.state=pW.NumericStart,this.consumed+=1,this.stateNumericStart(e,t+1)):(this.state=pW.NamedEntity,this.stateNamedEntity(e,t));case pW.NumericStart:return this.stateNumericStart(e,t);case pW.NumericDecimal:return this.stateNumericDecimal(e,t);case pW.NumericHex:return this.stateNumericHex(e,t);case pW.NamedEntity:return this.stateNamedEntity(e,t)}}stateNumericStart(e,t){return t>=e.length?-1:(e.charCodeAt(t)|sW)===oW.LOWER_X?(this.state=pW.NumericHex,this.consumed+=1,this.stateNumericHex(e,t+1)):(this.state=pW.NumericDecimal,this.stateNumericDecimal(e,t))}addToNumericResult(e,t,n,r){if(t!==n){let i=n-t;this.result=this.result*r**+i+Number.parseInt(e.substr(t,i),r),this.consumed+=i}}stateNumericHex(e,t){let n=t;for(;t<e.length;){let r=e.charCodeAt(t);if(lW(r)||uW(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){let n=t;for(;t<e.length;){let r=e.charCodeAt(t);if(lW(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.absenceOfDigitsInNumericCharacterReference(this.consumed),0;if(e===oW.SEMI)this.consumed+=1;else if(this.decodeMode===mW.Strict)return 0;return this.emitCodePoint(aW(this.result),this.consumed),this.errors&&(e!==oW.SEMI&&this.errors.missingSemicolonAfterCharacterReference(),this.errors.validateNumericCharacterReference(this.result)),this.consumed}stateNamedEntity(e,t){let{decodeTree:n}=this,r=n[this.treeIndex],i=(r&cW.VALUE_LENGTH)>>14;for(;t<e.length;t++,this.excess++){let a=e.charCodeAt(t);if(this.treeIndex=gW(n,r,this.treeIndex+Math.max(1,i),a),this.treeIndex<0)return this.result===0||this.decodeMode===mW.Attribute&&(i===0||fW(a))?0:this.emitNotTerminatedNamedEntity();if(r=n[this.treeIndex],i=(r&cW.VALUE_LENGTH)>>14,i!==0){if(a===oW.SEMI)return this.emitNamedEntityData(this.treeIndex,i,this.consumed+this.excess);this.decodeMode!==mW.Strict&&(this.result=this.treeIndex,this.consumed+=this.excess,this.excess=0)}}return-1}emitNotTerminatedNamedEntity(){var e;let{result:t,decodeTree:n}=this,r=(n[t]&cW.VALUE_LENGTH)>>14;return this.emitNamedEntityData(t,r,this.consumed),(e=this.errors)==null||e.missingSemicolonAfterCharacterReference(),this.consumed}emitNamedEntityData(e,t,n){let{decodeTree:r}=this;return this.emitCodePoint(t===1?r[e]&~cW.VALUE_LENGTH:r[e+1],n),t===3&&this.emitCodePoint(r[e+2],n),n}end(){var e;switch(this.state){case pW.NamedEntity:return this.result!==0&&(this.decodeMode!==mW.Attribute||this.result===this.treeIndex)?this.emitNotTerminatedNamedEntity():0;case pW.NumericDecimal:return this.emitNumericEntity(0,2);case pW.NumericHex:return this.emitNumericEntity(0,3);case pW.NumericStart:return(e=this.errors)==null||e.absenceOfDigitsInNumericCharacterReference(this.consumed),0;case pW.EntityStart:return 0}}};function gW(e,t,n,r){let i=(t&cW.BRANCH_LENGTH)>>7,a=t&cW.JUMP_TABLE;if(i===0)return a!==0&&r===a?n:-1;if(a){let t=r-a;return t<0||t>=i?-1:e[n+t]-1}let o=n,s=o+i-1;for(;o<=s;){let t=o+s>>>1,n=e[t];if(n<r)o=t+1;else if(n>r)s=t-1;else return e[t+i]}return-1}var q;(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/`})(q||={});var _W;(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`})(_W||={});var vW;(function(e){e.NO_QUIRKS=`no-quirks`,e.QUIRKS=`quirks`,e.LIMITED_QUIRKS=`limited-quirks`})(vW||={});var J;(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`})(J||={});var Y;(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`})(Y||={});var yW=new Map([[J.A,Y.A],[J.ADDRESS,Y.ADDRESS],[J.ANNOTATION_XML,Y.ANNOTATION_XML],[J.APPLET,Y.APPLET],[J.AREA,Y.AREA],[J.ARTICLE,Y.ARTICLE],[J.ASIDE,Y.ASIDE],[J.B,Y.B],[J.BASE,Y.BASE],[J.BASEFONT,Y.BASEFONT],[J.BGSOUND,Y.BGSOUND],[J.BIG,Y.BIG],[J.BLOCKQUOTE,Y.BLOCKQUOTE],[J.BODY,Y.BODY],[J.BR,Y.BR],[J.BUTTON,Y.BUTTON],[J.CAPTION,Y.CAPTION],[J.CENTER,Y.CENTER],[J.CODE,Y.CODE],[J.COL,Y.COL],[J.COLGROUP,Y.COLGROUP],[J.DD,Y.DD],[J.DESC,Y.DESC],[J.DETAILS,Y.DETAILS],[J.DIALOG,Y.DIALOG],[J.DIR,Y.DIR],[J.DIV,Y.DIV],[J.DL,Y.DL],[J.DT,Y.DT],[J.EM,Y.EM],[J.EMBED,Y.EMBED],[J.FIELDSET,Y.FIELDSET],[J.FIGCAPTION,Y.FIGCAPTION],[J.FIGURE,Y.FIGURE],[J.FONT,Y.FONT],[J.FOOTER,Y.FOOTER],[J.FOREIGN_OBJECT,Y.FOREIGN_OBJECT],[J.FORM,Y.FORM],[J.FRAME,Y.FRAME],[J.FRAMESET,Y.FRAMESET],[J.H1,Y.H1],[J.H2,Y.H2],[J.H3,Y.H3],[J.H4,Y.H4],[J.H5,Y.H5],[J.H6,Y.H6],[J.HEAD,Y.HEAD],[J.HEADER,Y.HEADER],[J.HGROUP,Y.HGROUP],[J.HR,Y.HR],[J.HTML,Y.HTML],[J.I,Y.I],[J.IMG,Y.IMG],[J.IMAGE,Y.IMAGE],[J.INPUT,Y.INPUT],[J.IFRAME,Y.IFRAME],[J.KEYGEN,Y.KEYGEN],[J.LABEL,Y.LABEL],[J.LI,Y.LI],[J.LINK,Y.LINK],[J.LISTING,Y.LISTING],[J.MAIN,Y.MAIN],[J.MALIGNMARK,Y.MALIGNMARK],[J.MARQUEE,Y.MARQUEE],[J.MATH,Y.MATH],[J.MENU,Y.MENU],[J.META,Y.META],[J.MGLYPH,Y.MGLYPH],[J.MI,Y.MI],[J.MO,Y.MO],[J.MN,Y.MN],[J.MS,Y.MS],[J.MTEXT,Y.MTEXT],[J.NAV,Y.NAV],[J.NOBR,Y.NOBR],[J.NOFRAMES,Y.NOFRAMES],[J.NOEMBED,Y.NOEMBED],[J.NOSCRIPT,Y.NOSCRIPT],[J.OBJECT,Y.OBJECT],[J.OL,Y.OL],[J.OPTGROUP,Y.OPTGROUP],[J.OPTION,Y.OPTION],[J.P,Y.P],[J.PARAM,Y.PARAM],[J.PLAINTEXT,Y.PLAINTEXT],[J.PRE,Y.PRE],[J.RB,Y.RB],[J.RP,Y.RP],[J.RT,Y.RT],[J.RTC,Y.RTC],[J.RUBY,Y.RUBY],[J.S,Y.S],[J.SCRIPT,Y.SCRIPT],[J.SEARCH,Y.SEARCH],[J.SECTION,Y.SECTION],[J.SELECT,Y.SELECT],[J.SOURCE,Y.SOURCE],[J.SMALL,Y.SMALL],[J.SPAN,Y.SPAN],[J.STRIKE,Y.STRIKE],[J.STRONG,Y.STRONG],[J.STYLE,Y.STYLE],[J.SUB,Y.SUB],[J.SUMMARY,Y.SUMMARY],[J.SUP,Y.SUP],[J.TABLE,Y.TABLE],[J.TBODY,Y.TBODY],[J.TEMPLATE,Y.TEMPLATE],[J.TEXTAREA,Y.TEXTAREA],[J.TFOOT,Y.TFOOT],[J.TD,Y.TD],[J.TH,Y.TH],[J.THEAD,Y.THEAD],[J.TITLE,Y.TITLE],[J.TR,Y.TR],[J.TRACK,Y.TRACK],[J.TT,Y.TT],[J.U,Y.U],[J.UL,Y.UL],[J.SVG,Y.SVG],[J.VAR,Y.VAR],[J.WBR,Y.WBR],[J.XMP,Y.XMP]]);function bW(e){return yW.get(e)??Y.UNKNOWN}var X=Y,xW={[q.HTML]:new Set([X.ADDRESS,X.APPLET,X.AREA,X.ARTICLE,X.ASIDE,X.BASE,X.BASEFONT,X.BGSOUND,X.BLOCKQUOTE,X.BODY,X.BR,X.BUTTON,X.CAPTION,X.CENTER,X.COL,X.COLGROUP,X.DD,X.DETAILS,X.DIR,X.DIV,X.DL,X.DT,X.EMBED,X.FIELDSET,X.FIGCAPTION,X.FIGURE,X.FOOTER,X.FORM,X.FRAME,X.FRAMESET,X.H1,X.H2,X.H3,X.H4,X.H5,X.H6,X.HEAD,X.HEADER,X.HGROUP,X.HR,X.HTML,X.IFRAME,X.IMG,X.INPUT,X.LI,X.LINK,X.LISTING,X.MAIN,X.MARQUEE,X.MENU,X.META,X.NAV,X.NOEMBED,X.NOFRAMES,X.NOSCRIPT,X.OBJECT,X.OL,X.P,X.PARAM,X.PLAINTEXT,X.PRE,X.SCRIPT,X.SECTION,X.SELECT,X.SOURCE,X.STYLE,X.SUMMARY,X.TABLE,X.TBODY,X.TD,X.TEMPLATE,X.TEXTAREA,X.TFOOT,X.TH,X.THEAD,X.TITLE,X.TR,X.TRACK,X.UL,X.WBR,X.XMP]),[q.MATHML]:new Set([X.MI,X.MO,X.MN,X.MS,X.MTEXT,X.ANNOTATION_XML]),[q.SVG]:new Set([X.TITLE,X.FOREIGN_OBJECT,X.DESC]),[q.XLINK]:new Set,[q.XML]:new Set,[q.XMLNS]:new Set},SW=new Set([X.H1,X.H2,X.H3,X.H4,X.H5,X.H6]);new Set([J.STYLE,J.SCRIPT,J.XMP,J.IFRAME,J.NOEMBED,J.NOFRAMES,J.PLAINTEXT]);var Z;(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`})(Z||={});var CW={DATA:Z.DATA,RCDATA:Z.RCDATA,RAWTEXT:Z.RAWTEXT,SCRIPT_DATA:Z.SCRIPT_DATA,PLAINTEXT:Z.PLAINTEXT,CDATA_SECTION:Z.CDATA_SECTION};function wW(e){return e>=G.DIGIT_0&&e<=G.DIGIT_9}function TW(e){return e>=G.LATIN_CAPITAL_A&&e<=G.LATIN_CAPITAL_Z}function EW(e){return e>=G.LATIN_SMALL_A&&e<=G.LATIN_SMALL_Z}function DW(e){return EW(e)||TW(e)}function OW(e){return DW(e)||wW(e)}function kW(e){return e+32}function AW(e){return e===G.SPACE||e===G.LINE_FEED||e===G.TABULATION||e===G.FORM_FEED}function jW(e){return AW(e)||e===G.SOLIDUS||e===G.GREATER_THAN_SIGN}function MW(e){return e===G.NULL?K.nullCharacterReference:e>1114111?K.characterReferenceOutsideUnicodeRange:JU(e)?K.surrogateCharacterReference:QU(e)?K.noncharacterCharacterReference:ZU(e)||e===G.CARRIAGE_RETURN?K.controlCharacterReference:null}var NW=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=Z.DATA,this.returnState=Z.DATA,this.entityStartPos=0,this.consumedAfterSnapshot=-1,this.currentCharacterToken=null,this.currentToken=null,this.currentAttr={name:``,value:``},this.preprocessor=new eW(t),this.currentLocation=this.getCurrentLocation(-1),this.entityDecoder=new hW(rW,(e,t)=>{this.preprocessor.pos=this.entityStartPos+t-1,this._flushCodePointConsumedAsCharacterReference(e)},t.onParseError?{missingSemicolonAfterCharacterReference:()=>{this._err(K.missingSemicolonAfterCharacterReference,1)},absenceOfDigitsInNumericCharacterReference:e=>{this._err(K.absenceOfDigitsInNumericCharacterReference,this.entityStartPos-this.preprocessor.pos+e)},validateNumericCharacterReference:e=>{let t=MW(e);t&&this._err(t,1)}}:void 0)}_err(e,t=0){var n,r;(r=(n=this.handler).onParseError)==null||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;let e=this._consume();this._ensureHibernation()||this._callState(e)}this.inLoop=!1}}pause(){this.paused=!0}resume(e){if(!this.paused)throw 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:tW.START_TAG,tagName:``,tagID:Y.UNKNOWN,selfClosing:!1,ackSelfClosing:!1,attrs:[],location:this.getCurrentLocation(1)}}_createEndTagToken(){this.currentToken={type:tW.END_TAG,tagName:``,tagID:Y.UNKNOWN,selfClosing:!1,ackSelfClosing:!1,attrs:[],location:this.getCurrentLocation(2)}}_createCommentToken(e){this.currentToken={type:tW.COMMENT,data:``,location:this.getCurrentLocation(e)}}_createDoctypeToken(e){this.currentToken={type:tW.DOCTYPE,name:e,forceQuirks:!1,publicId:null,systemId: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;let t=this.currentToken;if(nW(t,this.currentAttr.name)===null){if(t.attrs.push(this.currentAttr),t.location&&this.currentLocation){let n=(e=t.location).attrs??(e.attrs=Object.create(null));n[this.currentAttr.name]=this.currentLocation,this._leaveAttrValue()}}else this._err(K.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(){let e=this.currentToken;this.prepareToken(e),e.tagID=bW(e.tagName),e.type===tW.START_TAG?(this.lastStartTagName=e.tagName,this.handler.onStartTag(e)):(e.attrs.length>0&&this._err(K.endTagWithAttributes),e.selfClosing&&this._err(K.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 tW.CHARACTER:this.handler.onCharacter(this.currentCharacterToken);break;case tW.NULL_CHARACTER:this.handler.onNullCharacter(this.currentCharacterToken);break;case tW.WHITESPACE_CHARACTER:this.handler.onWhitespaceCharacter(this.currentCharacterToken);break}this.currentCharacterToken=null}}_emitEOFToken(){let e=this.getCurrentLocation(0);e&&(e.endLine=e.startLine,e.endCol=e.startCol,e.endOffset=e.startOffset),this._emitCurrentCharacterToken(e),this.handler.onEof({type:tW.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){let t=AW(e)?tW.WHITESPACE_CHARACTER:e===G.NULL?tW.NULL_CHARACTER:tW.CHARACTER;this._appendCharToCurrentCharacterToken(t,String.fromCodePoint(e))}_emitChars(e){this._appendCharToCurrentCharacterToken(tW.CHARACTER,e)}_startCharacterReference(){this.returnState=this.state,this.state=Z.CHARACTER_REFERENCE,this.entityStartPos=this.preprocessor.pos,this.entityDecoder.startEntity(this._isCharacterReferenceInAttribute()?mW.Attribute:mW.Legacy)}_isCharacterReferenceInAttribute(){return this.returnState===Z.ATTRIBUTE_VALUE_DOUBLE_QUOTED||this.returnState===Z.ATTRIBUTE_VALUE_SINGLE_QUOTED||this.returnState===Z.ATTRIBUTE_VALUE_UNQUOTED}_flushCodePointConsumedAsCharacterReference(e){this._isCharacterReferenceInAttribute()?this.currentAttr.value+=String.fromCodePoint(e):this._emitCodePoint(e)}_callState(e){switch(this.state){case Z.DATA:this._stateData(e);break;case Z.RCDATA:this._stateRcdata(e);break;case Z.RAWTEXT:this._stateRawtext(e);break;case Z.SCRIPT_DATA:this._stateScriptData(e);break;case Z.PLAINTEXT:this._statePlaintext(e);break;case Z.TAG_OPEN:this._stateTagOpen(e);break;case Z.END_TAG_OPEN:this._stateEndTagOpen(e);break;case Z.TAG_NAME:this._stateTagName(e);break;case Z.RCDATA_LESS_THAN_SIGN:this._stateRcdataLessThanSign(e);break;case Z.RCDATA_END_TAG_OPEN:this._stateRcdataEndTagOpen(e);break;case Z.RCDATA_END_TAG_NAME:this._stateRcdataEndTagName(e);break;case Z.RAWTEXT_LESS_THAN_SIGN:this._stateRawtextLessThanSign(e);break;case Z.RAWTEXT_END_TAG_OPEN:this._stateRawtextEndTagOpen(e);break;case Z.RAWTEXT_END_TAG_NAME:this._stateRawtextEndTagName(e);break;case Z.SCRIPT_DATA_LESS_THAN_SIGN:this._stateScriptDataLessThanSign(e);break;case Z.SCRIPT_DATA_END_TAG_OPEN:this._stateScriptDataEndTagOpen(e);break;case Z.SCRIPT_DATA_END_TAG_NAME:this._stateScriptDataEndTagName(e);break;case Z.SCRIPT_DATA_ESCAPE_START:this._stateScriptDataEscapeStart(e);break;case Z.SCRIPT_DATA_ESCAPE_START_DASH:this._stateScriptDataEscapeStartDash(e);break;case Z.SCRIPT_DATA_ESCAPED:this._stateScriptDataEscaped(e);break;case Z.SCRIPT_DATA_ESCAPED_DASH:this._stateScriptDataEscapedDash(e);break;case Z.SCRIPT_DATA_ESCAPED_DASH_DASH:this._stateScriptDataEscapedDashDash(e);break;case Z.SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN:this._stateScriptDataEscapedLessThanSign(e);break;case Z.SCRIPT_DATA_ESCAPED_END_TAG_OPEN:this._stateScriptDataEscapedEndTagOpen(e);break;case Z.SCRIPT_DATA_ESCAPED_END_TAG_NAME:this._stateScriptDataEscapedEndTagName(e);break;case Z.SCRIPT_DATA_DOUBLE_ESCAPE_START:this._stateScriptDataDoubleEscapeStart(e);break;case Z.SCRIPT_DATA_DOUBLE_ESCAPED:this._stateScriptDataDoubleEscaped(e);break;case Z.SCRIPT_DATA_DOUBLE_ESCAPED_DASH:this._stateScriptDataDoubleEscapedDash(e);break;case Z.SCRIPT_DATA_DOUBLE_ESCAPED_DASH_DASH:this._stateScriptDataDoubleEscapedDashDash(e);break;case Z.SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN:this._stateScriptDataDoubleEscapedLessThanSign(e);break;case Z.SCRIPT_DATA_DOUBLE_ESCAPE_END:this._stateScriptDataDoubleEscapeEnd(e);break;case Z.BEFORE_ATTRIBUTE_NAME:this._stateBeforeAttributeName(e);break;case Z.ATTRIBUTE_NAME:this._stateAttributeName(e);break;case Z.AFTER_ATTRIBUTE_NAME:this._stateAfterAttributeName(e);break;case Z.BEFORE_ATTRIBUTE_VALUE:this._stateBeforeAttributeValue(e);break;case Z.ATTRIBUTE_VALUE_DOUBLE_QUOTED:this._stateAttributeValueDoubleQuoted(e);break;case Z.ATTRIBUTE_VALUE_SINGLE_QUOTED:this._stateAttributeValueSingleQuoted(e);break;case Z.ATTRIBUTE_VALUE_UNQUOTED:this._stateAttributeValueUnquoted(e);break;case Z.AFTER_ATTRIBUTE_VALUE_QUOTED:this._stateAfterAttributeValueQuoted(e);break;case Z.SELF_CLOSING_START_TAG:this._stateSelfClosingStartTag(e);break;case Z.BOGUS_COMMENT:this._stateBogusComment(e);break;case Z.MARKUP_DECLARATION_OPEN:this._stateMarkupDeclarationOpen(e);break;case Z.COMMENT_START:this._stateCommentStart(e);break;case Z.COMMENT_START_DASH:this._stateCommentStartDash(e);break;case Z.COMMENT:this._stateComment(e);break;case Z.COMMENT_LESS_THAN_SIGN:this._stateCommentLessThanSign(e);break;case Z.COMMENT_LESS_THAN_SIGN_BANG:this._stateCommentLessThanSignBang(e);break;case Z.COMMENT_LESS_THAN_SIGN_BANG_DASH:this._stateCommentLessThanSignBangDash(e);break;case Z.COMMENT_LESS_THAN_SIGN_BANG_DASH_DASH:this._stateCommentLessThanSignBangDashDash(e);break;case Z.COMMENT_END_DASH:this._stateCommentEndDash(e);break;case Z.COMMENT_END:this._stateCommentEnd(e);break;case Z.COMMENT_END_BANG:this._stateCommentEndBang(e);break;case Z.DOCTYPE:this._stateDoctype(e);break;case Z.BEFORE_DOCTYPE_NAME:this._stateBeforeDoctypeName(e);break;case Z.DOCTYPE_NAME:this._stateDoctypeName(e);break;case Z.AFTER_DOCTYPE_NAME:this._stateAfterDoctypeName(e);break;case Z.AFTER_DOCTYPE_PUBLIC_KEYWORD:this._stateAfterDoctypePublicKeyword(e);break;case Z.BEFORE_DOCTYPE_PUBLIC_IDENTIFIER:this._stateBeforeDoctypePublicIdentifier(e);break;case Z.DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED:this._stateDoctypePublicIdentifierDoubleQuoted(e);break;case Z.DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED:this._stateDoctypePublicIdentifierSingleQuoted(e);break;case Z.AFTER_DOCTYPE_PUBLIC_IDENTIFIER:this._stateAfterDoctypePublicIdentifier(e);break;case Z.BETWEEN_DOCTYPE_PUBLIC_AND_SYSTEM_IDENTIFIERS:this._stateBetweenDoctypePublicAndSystemIdentifiers(e);break;case Z.AFTER_DOCTYPE_SYSTEM_KEYWORD:this._stateAfterDoctypeSystemKeyword(e);break;case Z.BEFORE_DOCTYPE_SYSTEM_IDENTIFIER:this._stateBeforeDoctypeSystemIdentifier(e);break;case Z.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED:this._stateDoctypeSystemIdentifierDoubleQuoted(e);break;case Z.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED:this._stateDoctypeSystemIdentifierSingleQuoted(e);break;case Z.AFTER_DOCTYPE_SYSTEM_IDENTIFIER:this._stateAfterDoctypeSystemIdentifier(e);break;case Z.BOGUS_DOCTYPE:this._stateBogusDoctype(e);break;case Z.CDATA_SECTION:this._stateCdataSection(e);break;case Z.CDATA_SECTION_BRACKET:this._stateCdataSectionBracket(e);break;case Z.CDATA_SECTION_END:this._stateCdataSectionEnd(e);break;case Z.CHARACTER_REFERENCE:this._stateCharacterReference();break;case Z.AMBIGUOUS_AMPERSAND:this._stateAmbiguousAmpersand(e);break;default:throw Error(`Unknown state`)}}_stateData(e){switch(e){case G.LESS_THAN_SIGN:this.state=Z.TAG_OPEN;break;case G.AMPERSAND:this._startCharacterReference();break;case G.NULL:this._err(K.unexpectedNullCharacter),this._emitCodePoint(e);break;case G.EOF:this._emitEOFToken();break;default:this._emitCodePoint(e)}}_stateRcdata(e){switch(e){case G.AMPERSAND:this._startCharacterReference();break;case G.LESS_THAN_SIGN:this.state=Z.RCDATA_LESS_THAN_SIGN;break;case G.NULL:this._err(K.unexpectedNullCharacter),this._emitChars(`�`);break;case G.EOF:this._emitEOFToken();break;default:this._emitCodePoint(e)}}_stateRawtext(e){switch(e){case G.LESS_THAN_SIGN:this.state=Z.RAWTEXT_LESS_THAN_SIGN;break;case G.NULL:this._err(K.unexpectedNullCharacter),this._emitChars(`�`);break;case G.EOF:this._emitEOFToken();break;default:this._emitCodePoint(e)}}_stateScriptData(e){switch(e){case G.LESS_THAN_SIGN:this.state=Z.SCRIPT_DATA_LESS_THAN_SIGN;break;case G.NULL:this._err(K.unexpectedNullCharacter),this._emitChars(`�`);break;case G.EOF:this._emitEOFToken();break;default:this._emitCodePoint(e)}}_statePlaintext(e){switch(e){case G.NULL:this._err(K.unexpectedNullCharacter),this._emitChars(`�`);break;case G.EOF:this._emitEOFToken();break;default:this._emitCodePoint(e)}}_stateTagOpen(e){if(DW(e))this._createStartTagToken(),this.state=Z.TAG_NAME,this._stateTagName(e);else switch(e){case G.EXCLAMATION_MARK:this.state=Z.MARKUP_DECLARATION_OPEN;break;case G.SOLIDUS:this.state=Z.END_TAG_OPEN;break;case G.QUESTION_MARK:this._err(K.unexpectedQuestionMarkInsteadOfTagName),this._createCommentToken(1),this.state=Z.BOGUS_COMMENT,this._stateBogusComment(e);break;case G.EOF:this._err(K.eofBeforeTagName),this._emitChars(`<`),this._emitEOFToken();break;default:this._err(K.invalidFirstCharacterOfTagName),this._emitChars(`<`),this.state=Z.DATA,this._stateData(e)}}_stateEndTagOpen(e){if(DW(e))this._createEndTagToken(),this.state=Z.TAG_NAME,this._stateTagName(e);else switch(e){case G.GREATER_THAN_SIGN:this._err(K.missingEndTagName),this.state=Z.DATA;break;case G.EOF:this._err(K.eofBeforeTagName),this._emitChars(`</`),this._emitEOFToken();break;default:this._err(K.invalidFirstCharacterOfTagName),this._createCommentToken(2),this.state=Z.BOGUS_COMMENT,this._stateBogusComment(e)}}_stateTagName(e){let t=this.currentToken;switch(e){case G.SPACE:case G.LINE_FEED:case G.TABULATION:case G.FORM_FEED:this.state=Z.BEFORE_ATTRIBUTE_NAME;break;case G.SOLIDUS:this.state=Z.SELF_CLOSING_START_TAG;break;case G.GREATER_THAN_SIGN:this.state=Z.DATA,this.emitCurrentTagToken();break;case G.NULL:this._err(K.unexpectedNullCharacter),t.tagName+=`�`;break;case G.EOF:this._err(K.eofInTag),this._emitEOFToken();break;default:t.tagName+=String.fromCodePoint(TW(e)?kW(e):e)}}_stateRcdataLessThanSign(e){e===G.SOLIDUS?this.state=Z.RCDATA_END_TAG_OPEN:(this._emitChars(`<`),this.state=Z.RCDATA,this._stateRcdata(e))}_stateRcdataEndTagOpen(e){DW(e)?(this.state=Z.RCDATA_END_TAG_NAME,this._stateRcdataEndTagName(e)):(this._emitChars(`</`),this.state=Z.RCDATA,this._stateRcdata(e))}handleSpecialEndTag(e){if(!this.preprocessor.startsWith(this.lastStartTagName,!1))return!this._ensureHibernation();this._createEndTagToken();let t=this.currentToken;switch(t.tagName=this.lastStartTagName,this.preprocessor.peek(this.lastStartTagName.length)){case G.SPACE:case G.LINE_FEED:case G.TABULATION:case G.FORM_FEED:return this._advanceBy(this.lastStartTagName.length),this.state=Z.BEFORE_ATTRIBUTE_NAME,!1;case G.SOLIDUS:return this._advanceBy(this.lastStartTagName.length),this.state=Z.SELF_CLOSING_START_TAG,!1;case G.GREATER_THAN_SIGN:return this._advanceBy(this.lastStartTagName.length),this.emitCurrentTagToken(),this.state=Z.DATA,!1;default:return!this._ensureHibernation()}}_stateRcdataEndTagName(e){this.handleSpecialEndTag(e)&&(this._emitChars(`</`),this.state=Z.RCDATA,this._stateRcdata(e))}_stateRawtextLessThanSign(e){e===G.SOLIDUS?this.state=Z.RAWTEXT_END_TAG_OPEN:(this._emitChars(`<`),this.state=Z.RAWTEXT,this._stateRawtext(e))}_stateRawtextEndTagOpen(e){DW(e)?(this.state=Z.RAWTEXT_END_TAG_NAME,this._stateRawtextEndTagName(e)):(this._emitChars(`</`),this.state=Z.RAWTEXT,this._stateRawtext(e))}_stateRawtextEndTagName(e){this.handleSpecialEndTag(e)&&(this._emitChars(`</`),this.state=Z.RAWTEXT,this._stateRawtext(e))}_stateScriptDataLessThanSign(e){switch(e){case G.SOLIDUS:this.state=Z.SCRIPT_DATA_END_TAG_OPEN;break;case G.EXCLAMATION_MARK:this.state=Z.SCRIPT_DATA_ESCAPE_START,this._emitChars(`<!`);break;default:this._emitChars(`<`),this.state=Z.SCRIPT_DATA,this._stateScriptData(e)}}_stateScriptDataEndTagOpen(e){DW(e)?(this.state=Z.SCRIPT_DATA_END_TAG_NAME,this._stateScriptDataEndTagName(e)):(this._emitChars(`</`),this.state=Z.SCRIPT_DATA,this._stateScriptData(e))}_stateScriptDataEndTagName(e){this.handleSpecialEndTag(e)&&(this._emitChars(`</`),this.state=Z.SCRIPT_DATA,this._stateScriptData(e))}_stateScriptDataEscapeStart(e){e===G.HYPHEN_MINUS?(this.state=Z.SCRIPT_DATA_ESCAPE_START_DASH,this._emitChars(`-`)):(this.state=Z.SCRIPT_DATA,this._stateScriptData(e))}_stateScriptDataEscapeStartDash(e){e===G.HYPHEN_MINUS?(this.state=Z.SCRIPT_DATA_ESCAPED_DASH_DASH,this._emitChars(`-`)):(this.state=Z.SCRIPT_DATA,this._stateScriptData(e))}_stateScriptDataEscaped(e){switch(e){case G.HYPHEN_MINUS:this.state=Z.SCRIPT_DATA_ESCAPED_DASH,this._emitChars(`-`);break;case G.LESS_THAN_SIGN:this.state=Z.SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN;break;case G.NULL:this._err(K.unexpectedNullCharacter),this._emitChars(`�`);break;case G.EOF:this._err(K.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break;default:this._emitCodePoint(e)}}_stateScriptDataEscapedDash(e){switch(e){case G.HYPHEN_MINUS:this.state=Z.SCRIPT_DATA_ESCAPED_DASH_DASH,this._emitChars(`-`);break;case G.LESS_THAN_SIGN:this.state=Z.SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN;break;case G.NULL:this._err(K.unexpectedNullCharacter),this.state=Z.SCRIPT_DATA_ESCAPED,this._emitChars(`�`);break;case G.EOF:this._err(K.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break;default:this.state=Z.SCRIPT_DATA_ESCAPED,this._emitCodePoint(e)}}_stateScriptDataEscapedDashDash(e){switch(e){case G.HYPHEN_MINUS:this._emitChars(`-`);break;case G.LESS_THAN_SIGN:this.state=Z.SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN;break;case G.GREATER_THAN_SIGN:this.state=Z.SCRIPT_DATA,this._emitChars(`>`);break;case G.NULL:this._err(K.unexpectedNullCharacter),this.state=Z.SCRIPT_DATA_ESCAPED,this._emitChars(`�`);break;case G.EOF:this._err(K.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break;default:this.state=Z.SCRIPT_DATA_ESCAPED,this._emitCodePoint(e)}}_stateScriptDataEscapedLessThanSign(e){e===G.SOLIDUS?this.state=Z.SCRIPT_DATA_ESCAPED_END_TAG_OPEN:DW(e)?(this._emitChars(`<`),this.state=Z.SCRIPT_DATA_DOUBLE_ESCAPE_START,this._stateScriptDataDoubleEscapeStart(e)):(this._emitChars(`<`),this.state=Z.SCRIPT_DATA_ESCAPED,this._stateScriptDataEscaped(e))}_stateScriptDataEscapedEndTagOpen(e){DW(e)?(this.state=Z.SCRIPT_DATA_ESCAPED_END_TAG_NAME,this._stateScriptDataEscapedEndTagName(e)):(this._emitChars(`</`),this.state=Z.SCRIPT_DATA_ESCAPED,this._stateScriptDataEscaped(e))}_stateScriptDataEscapedEndTagName(e){this.handleSpecialEndTag(e)&&(this._emitChars(`</`),this.state=Z.SCRIPT_DATA_ESCAPED,this._stateScriptDataEscaped(e))}_stateScriptDataDoubleEscapeStart(e){if(this.preprocessor.startsWith(qU.SCRIPT,!1)&&jW(this.preprocessor.peek(qU.SCRIPT.length))){this._emitCodePoint(e);for(let e=0;e<qU.SCRIPT.length;e++)this._emitCodePoint(this._consume());this.state=Z.SCRIPT_DATA_DOUBLE_ESCAPED}else this._ensureHibernation()||(this.state=Z.SCRIPT_DATA_ESCAPED,this._stateScriptDataEscaped(e))}_stateScriptDataDoubleEscaped(e){switch(e){case G.HYPHEN_MINUS:this.state=Z.SCRIPT_DATA_DOUBLE_ESCAPED_DASH,this._emitChars(`-`);break;case G.LESS_THAN_SIGN:this.state=Z.SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN,this._emitChars(`<`);break;case G.NULL:this._err(K.unexpectedNullCharacter),this._emitChars(`�`);break;case G.EOF:this._err(K.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break;default:this._emitCodePoint(e)}}_stateScriptDataDoubleEscapedDash(e){switch(e){case G.HYPHEN_MINUS:this.state=Z.SCRIPT_DATA_DOUBLE_ESCAPED_DASH_DASH,this._emitChars(`-`);break;case G.LESS_THAN_SIGN:this.state=Z.SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN,this._emitChars(`<`);break;case G.NULL:this._err(K.unexpectedNullCharacter),this.state=Z.SCRIPT_DATA_DOUBLE_ESCAPED,this._emitChars(`�`);break;case G.EOF:this._err(K.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break;default:this.state=Z.SCRIPT_DATA_DOUBLE_ESCAPED,this._emitCodePoint(e)}}_stateScriptDataDoubleEscapedDashDash(e){switch(e){case G.HYPHEN_MINUS:this._emitChars(`-`);break;case G.LESS_THAN_SIGN:this.state=Z.SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN,this._emitChars(`<`);break;case G.GREATER_THAN_SIGN:this.state=Z.SCRIPT_DATA,this._emitChars(`>`);break;case G.NULL:this._err(K.unexpectedNullCharacter),this.state=Z.SCRIPT_DATA_DOUBLE_ESCAPED,this._emitChars(`�`);break;case G.EOF:this._err(K.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break;default:this.state=Z.SCRIPT_DATA_DOUBLE_ESCAPED,this._emitCodePoint(e)}}_stateScriptDataDoubleEscapedLessThanSign(e){e===G.SOLIDUS?(this.state=Z.SCRIPT_DATA_DOUBLE_ESCAPE_END,this._emitChars(`/`)):(this.state=Z.SCRIPT_DATA_DOUBLE_ESCAPED,this._stateScriptDataDoubleEscaped(e))}_stateScriptDataDoubleEscapeEnd(e){if(this.preprocessor.startsWith(qU.SCRIPT,!1)&&jW(this.preprocessor.peek(qU.SCRIPT.length))){this._emitCodePoint(e);for(let e=0;e<qU.SCRIPT.length;e++)this._emitCodePoint(this._consume());this.state=Z.SCRIPT_DATA_ESCAPED}else this._ensureHibernation()||(this.state=Z.SCRIPT_DATA_DOUBLE_ESCAPED,this._stateScriptDataDoubleEscaped(e))}_stateBeforeAttributeName(e){switch(e){case G.SPACE:case G.LINE_FEED:case G.TABULATION:case G.FORM_FEED:break;case G.SOLIDUS:case G.GREATER_THAN_SIGN:case G.EOF:this.state=Z.AFTER_ATTRIBUTE_NAME,this._stateAfterAttributeName(e);break;case G.EQUALS_SIGN:this._err(K.unexpectedEqualsSignBeforeAttributeName),this._createAttr(`=`),this.state=Z.ATTRIBUTE_NAME;break;default:this._createAttr(``),this.state=Z.ATTRIBUTE_NAME,this._stateAttributeName(e)}}_stateAttributeName(e){switch(e){case G.SPACE:case G.LINE_FEED:case G.TABULATION:case G.FORM_FEED:case G.SOLIDUS:case G.GREATER_THAN_SIGN:case G.EOF:this._leaveAttrName(),this.state=Z.AFTER_ATTRIBUTE_NAME,this._stateAfterAttributeName(e);break;case G.EQUALS_SIGN:this._leaveAttrName(),this.state=Z.BEFORE_ATTRIBUTE_VALUE;break;case G.QUOTATION_MARK:case G.APOSTROPHE:case G.LESS_THAN_SIGN:this._err(K.unexpectedCharacterInAttributeName),this.currentAttr.name+=String.fromCodePoint(e);break;case G.NULL:this._err(K.unexpectedNullCharacter),this.currentAttr.name+=`�`;break;default:this.currentAttr.name+=String.fromCodePoint(TW(e)?kW(e):e)}}_stateAfterAttributeName(e){switch(e){case G.SPACE:case G.LINE_FEED:case G.TABULATION:case G.FORM_FEED:break;case G.SOLIDUS:this.state=Z.SELF_CLOSING_START_TAG;break;case G.EQUALS_SIGN:this.state=Z.BEFORE_ATTRIBUTE_VALUE;break;case G.GREATER_THAN_SIGN:this.state=Z.DATA,this.emitCurrentTagToken();break;case G.EOF:this._err(K.eofInTag),this._emitEOFToken();break;default:this._createAttr(``),this.state=Z.ATTRIBUTE_NAME,this._stateAttributeName(e)}}_stateBeforeAttributeValue(e){switch(e){case G.SPACE:case G.LINE_FEED:case G.TABULATION:case G.FORM_FEED:break;case G.QUOTATION_MARK:this.state=Z.ATTRIBUTE_VALUE_DOUBLE_QUOTED;break;case G.APOSTROPHE:this.state=Z.ATTRIBUTE_VALUE_SINGLE_QUOTED;break;case G.GREATER_THAN_SIGN:this._err(K.missingAttributeValue),this.state=Z.DATA,this.emitCurrentTagToken();break;default:this.state=Z.ATTRIBUTE_VALUE_UNQUOTED,this._stateAttributeValueUnquoted(e)}}_stateAttributeValueDoubleQuoted(e){switch(e){case G.QUOTATION_MARK:this.state=Z.AFTER_ATTRIBUTE_VALUE_QUOTED;break;case G.AMPERSAND:this._startCharacterReference();break;case G.NULL:this._err(K.unexpectedNullCharacter),this.currentAttr.value+=`�`;break;case G.EOF:this._err(K.eofInTag),this._emitEOFToken();break;default:this.currentAttr.value+=String.fromCodePoint(e)}}_stateAttributeValueSingleQuoted(e){switch(e){case G.APOSTROPHE:this.state=Z.AFTER_ATTRIBUTE_VALUE_QUOTED;break;case G.AMPERSAND:this._startCharacterReference();break;case G.NULL:this._err(K.unexpectedNullCharacter),this.currentAttr.value+=`�`;break;case G.EOF:this._err(K.eofInTag),this._emitEOFToken();break;default:this.currentAttr.value+=String.fromCodePoint(e)}}_stateAttributeValueUnquoted(e){switch(e){case G.SPACE:case G.LINE_FEED:case G.TABULATION:case G.FORM_FEED:this._leaveAttrValue(),this.state=Z.BEFORE_ATTRIBUTE_NAME;break;case G.AMPERSAND:this._startCharacterReference();break;case G.GREATER_THAN_SIGN:this._leaveAttrValue(),this.state=Z.DATA,this.emitCurrentTagToken();break;case G.NULL:this._err(K.unexpectedNullCharacter),this.currentAttr.value+=`�`;break;case G.QUOTATION_MARK:case G.APOSTROPHE:case G.LESS_THAN_SIGN:case G.EQUALS_SIGN:case G.GRAVE_ACCENT:this._err(K.unexpectedCharacterInUnquotedAttributeValue),this.currentAttr.value+=String.fromCodePoint(e);break;case G.EOF:this._err(K.eofInTag),this._emitEOFToken();break;default:this.currentAttr.value+=String.fromCodePoint(e)}}_stateAfterAttributeValueQuoted(e){switch(e){case G.SPACE:case G.LINE_FEED:case G.TABULATION:case G.FORM_FEED:this._leaveAttrValue(),this.state=Z.BEFORE_ATTRIBUTE_NAME;break;case G.SOLIDUS:this._leaveAttrValue(),this.state=Z.SELF_CLOSING_START_TAG;break;case G.GREATER_THAN_SIGN:this._leaveAttrValue(),this.state=Z.DATA,this.emitCurrentTagToken();break;case G.EOF:this._err(K.eofInTag),this._emitEOFToken();break;default:this._err(K.missingWhitespaceBetweenAttributes),this.state=Z.BEFORE_ATTRIBUTE_NAME,this._stateBeforeAttributeName(e)}}_stateSelfClosingStartTag(e){switch(e){case G.GREATER_THAN_SIGN:{let e=this.currentToken;e.selfClosing=!0,this.state=Z.DATA,this.emitCurrentTagToken();break}case G.EOF:this._err(K.eofInTag),this._emitEOFToken();break;default:this._err(K.unexpectedSolidusInTag),this.state=Z.BEFORE_ATTRIBUTE_NAME,this._stateBeforeAttributeName(e)}}_stateBogusComment(e){let t=this.currentToken;switch(e){case G.GREATER_THAN_SIGN:this.state=Z.DATA,this.emitCurrentComment(t);break;case G.EOF:this.emitCurrentComment(t),this._emitEOFToken();break;case G.NULL:this._err(K.unexpectedNullCharacter),t.data+=`�`;break;default:t.data+=String.fromCodePoint(e)}}_stateMarkupDeclarationOpen(e){this._consumeSequenceIfMatch(qU.DASH_DASH,!0)?(this._createCommentToken(qU.DASH_DASH.length+1),this.state=Z.COMMENT_START):this._consumeSequenceIfMatch(qU.DOCTYPE,!1)?(this.currentLocation=this.getCurrentLocation(qU.DOCTYPE.length+1),this.state=Z.DOCTYPE):this._consumeSequenceIfMatch(qU.CDATA_START,!0)?this.inForeignNode?this.state=Z.CDATA_SECTION:(this._err(K.cdataInHtmlContent),this._createCommentToken(qU.CDATA_START.length+1),this.currentToken.data=`[CDATA[`,this.state=Z.BOGUS_COMMENT):this._ensureHibernation()||(this._err(K.incorrectlyOpenedComment),this._createCommentToken(2),this.state=Z.BOGUS_COMMENT,this._stateBogusComment(e))}_stateCommentStart(e){switch(e){case G.HYPHEN_MINUS:this.state=Z.COMMENT_START_DASH;break;case G.GREATER_THAN_SIGN:{this._err(K.abruptClosingOfEmptyComment),this.state=Z.DATA;let e=this.currentToken;this.emitCurrentComment(e);break}default:this.state=Z.COMMENT,this._stateComment(e)}}_stateCommentStartDash(e){let t=this.currentToken;switch(e){case G.HYPHEN_MINUS:this.state=Z.COMMENT_END;break;case G.GREATER_THAN_SIGN:this._err(K.abruptClosingOfEmptyComment),this.state=Z.DATA,this.emitCurrentComment(t);break;case G.EOF:this._err(K.eofInComment),this.emitCurrentComment(t),this._emitEOFToken();break;default:t.data+=`-`,this.state=Z.COMMENT,this._stateComment(e)}}_stateComment(e){let t=this.currentToken;switch(e){case G.HYPHEN_MINUS:this.state=Z.COMMENT_END_DASH;break;case G.LESS_THAN_SIGN:t.data+=`<`,this.state=Z.COMMENT_LESS_THAN_SIGN;break;case G.NULL:this._err(K.unexpectedNullCharacter),t.data+=`�`;break;case G.EOF:this._err(K.eofInComment),this.emitCurrentComment(t),this._emitEOFToken();break;default:t.data+=String.fromCodePoint(e)}}_stateCommentLessThanSign(e){let t=this.currentToken;switch(e){case G.EXCLAMATION_MARK:t.data+=`!`,this.state=Z.COMMENT_LESS_THAN_SIGN_BANG;break;case G.LESS_THAN_SIGN:t.data+=`<`;break;default:this.state=Z.COMMENT,this._stateComment(e)}}_stateCommentLessThanSignBang(e){e===G.HYPHEN_MINUS?this.state=Z.COMMENT_LESS_THAN_SIGN_BANG_DASH:(this.state=Z.COMMENT,this._stateComment(e))}_stateCommentLessThanSignBangDash(e){e===G.HYPHEN_MINUS?this.state=Z.COMMENT_LESS_THAN_SIGN_BANG_DASH_DASH:(this.state=Z.COMMENT_END_DASH,this._stateCommentEndDash(e))}_stateCommentLessThanSignBangDashDash(e){e!==G.GREATER_THAN_SIGN&&e!==G.EOF&&this._err(K.nestedComment),this.state=Z.COMMENT_END,this._stateCommentEnd(e)}_stateCommentEndDash(e){let t=this.currentToken;switch(e){case G.HYPHEN_MINUS:this.state=Z.COMMENT_END;break;case G.EOF:this._err(K.eofInComment),this.emitCurrentComment(t),this._emitEOFToken();break;default:t.data+=`-`,this.state=Z.COMMENT,this._stateComment(e)}}_stateCommentEnd(e){let t=this.currentToken;switch(e){case G.GREATER_THAN_SIGN:this.state=Z.DATA,this.emitCurrentComment(t);break;case G.EXCLAMATION_MARK:this.state=Z.COMMENT_END_BANG;break;case G.HYPHEN_MINUS:t.data+=`-`;break;case G.EOF:this._err(K.eofInComment),this.emitCurrentComment(t),this._emitEOFToken();break;default:t.data+=`--`,this.state=Z.COMMENT,this._stateComment(e)}}_stateCommentEndBang(e){let t=this.currentToken;switch(e){case G.HYPHEN_MINUS:t.data+=`--!`,this.state=Z.COMMENT_END_DASH;break;case G.GREATER_THAN_SIGN:this._err(K.incorrectlyClosedComment),this.state=Z.DATA,this.emitCurrentComment(t);break;case G.EOF:this._err(K.eofInComment),this.emitCurrentComment(t),this._emitEOFToken();break;default:t.data+=`--!`,this.state=Z.COMMENT,this._stateComment(e)}}_stateDoctype(e){switch(e){case G.SPACE:case G.LINE_FEED:case G.TABULATION:case G.FORM_FEED:this.state=Z.BEFORE_DOCTYPE_NAME;break;case G.GREATER_THAN_SIGN:this.state=Z.BEFORE_DOCTYPE_NAME,this._stateBeforeDoctypeName(e);break;case G.EOF:{this._err(K.eofInDoctype),this._createDoctypeToken(null);let e=this.currentToken;e.forceQuirks=!0,this.emitCurrentDoctype(e),this._emitEOFToken();break}default:this._err(K.missingWhitespaceBeforeDoctypeName),this.state=Z.BEFORE_DOCTYPE_NAME,this._stateBeforeDoctypeName(e)}}_stateBeforeDoctypeName(e){if(TW(e))this._createDoctypeToken(String.fromCharCode(kW(e))),this.state=Z.DOCTYPE_NAME;else switch(e){case G.SPACE:case G.LINE_FEED:case G.TABULATION:case G.FORM_FEED:break;case G.NULL:this._err(K.unexpectedNullCharacter),this._createDoctypeToken(`�`),this.state=Z.DOCTYPE_NAME;break;case G.GREATER_THAN_SIGN:{this._err(K.missingDoctypeName),this._createDoctypeToken(null);let e=this.currentToken;e.forceQuirks=!0,this.emitCurrentDoctype(e),this.state=Z.DATA;break}case G.EOF:{this._err(K.eofInDoctype),this._createDoctypeToken(null);let e=this.currentToken;e.forceQuirks=!0,this.emitCurrentDoctype(e),this._emitEOFToken();break}default:this._createDoctypeToken(String.fromCodePoint(e)),this.state=Z.DOCTYPE_NAME}}_stateDoctypeName(e){let t=this.currentToken;switch(e){case G.SPACE:case G.LINE_FEED:case G.TABULATION:case G.FORM_FEED:this.state=Z.AFTER_DOCTYPE_NAME;break;case G.GREATER_THAN_SIGN:this.state=Z.DATA,this.emitCurrentDoctype(t);break;case G.NULL:this._err(K.unexpectedNullCharacter),t.name+=`�`;break;case G.EOF:this._err(K.eofInDoctype),t.forceQuirks=!0,this.emitCurrentDoctype(t),this._emitEOFToken();break;default:t.name+=String.fromCodePoint(TW(e)?kW(e):e)}}_stateAfterDoctypeName(e){let t=this.currentToken;switch(e){case G.SPACE:case G.LINE_FEED:case G.TABULATION:case G.FORM_FEED:break;case G.GREATER_THAN_SIGN:this.state=Z.DATA,this.emitCurrentDoctype(t);break;case G.EOF:this._err(K.eofInDoctype),t.forceQuirks=!0,this.emitCurrentDoctype(t),this._emitEOFToken();break;default:this._consumeSequenceIfMatch(qU.PUBLIC,!1)?this.state=Z.AFTER_DOCTYPE_PUBLIC_KEYWORD:this._consumeSequenceIfMatch(qU.SYSTEM,!1)?this.state=Z.AFTER_DOCTYPE_SYSTEM_KEYWORD:this._ensureHibernation()||(this._err(K.invalidCharacterSequenceAfterDoctypeName),t.forceQuirks=!0,this.state=Z.BOGUS_DOCTYPE,this._stateBogusDoctype(e))}}_stateAfterDoctypePublicKeyword(e){let t=this.currentToken;switch(e){case G.SPACE:case G.LINE_FEED:case G.TABULATION:case G.FORM_FEED:this.state=Z.BEFORE_DOCTYPE_PUBLIC_IDENTIFIER;break;case G.QUOTATION_MARK:this._err(K.missingWhitespaceAfterDoctypePublicKeyword),t.publicId=``,this.state=Z.DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED;break;case G.APOSTROPHE:this._err(K.missingWhitespaceAfterDoctypePublicKeyword),t.publicId=``,this.state=Z.DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED;break;case G.GREATER_THAN_SIGN:this._err(K.missingDoctypePublicIdentifier),t.forceQuirks=!0,this.state=Z.DATA,this.emitCurrentDoctype(t);break;case G.EOF:this._err(K.eofInDoctype),t.forceQuirks=!0,this.emitCurrentDoctype(t),this._emitEOFToken();break;default:this._err(K.missingQuoteBeforeDoctypePublicIdentifier),t.forceQuirks=!0,this.state=Z.BOGUS_DOCTYPE,this._stateBogusDoctype(e)}}_stateBeforeDoctypePublicIdentifier(e){let t=this.currentToken;switch(e){case G.SPACE:case G.LINE_FEED:case G.TABULATION:case G.FORM_FEED:break;case G.QUOTATION_MARK:t.publicId=``,this.state=Z.DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED;break;case G.APOSTROPHE:t.publicId=``,this.state=Z.DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED;break;case G.GREATER_THAN_SIGN:this._err(K.missingDoctypePublicIdentifier),t.forceQuirks=!0,this.state=Z.DATA,this.emitCurrentDoctype(t);break;case G.EOF:this._err(K.eofInDoctype),t.forceQuirks=!0,this.emitCurrentDoctype(t),this._emitEOFToken();break;default:this._err(K.missingQuoteBeforeDoctypePublicIdentifier),t.forceQuirks=!0,this.state=Z.BOGUS_DOCTYPE,this._stateBogusDoctype(e)}}_stateDoctypePublicIdentifierDoubleQuoted(e){let t=this.currentToken;switch(e){case G.QUOTATION_MARK:this.state=Z.AFTER_DOCTYPE_PUBLIC_IDENTIFIER;break;case G.NULL:this._err(K.unexpectedNullCharacter),t.publicId+=`�`;break;case G.GREATER_THAN_SIGN:this._err(K.abruptDoctypePublicIdentifier),t.forceQuirks=!0,this.emitCurrentDoctype(t),this.state=Z.DATA;break;case G.EOF:this._err(K.eofInDoctype),t.forceQuirks=!0,this.emitCurrentDoctype(t),this._emitEOFToken();break;default:t.publicId+=String.fromCodePoint(e)}}_stateDoctypePublicIdentifierSingleQuoted(e){let t=this.currentToken;switch(e){case G.APOSTROPHE:this.state=Z.AFTER_DOCTYPE_PUBLIC_IDENTIFIER;break;case G.NULL:this._err(K.unexpectedNullCharacter),t.publicId+=`�`;break;case G.GREATER_THAN_SIGN:this._err(K.abruptDoctypePublicIdentifier),t.forceQuirks=!0,this.emitCurrentDoctype(t),this.state=Z.DATA;break;case G.EOF:this._err(K.eofInDoctype),t.forceQuirks=!0,this.emitCurrentDoctype(t),this._emitEOFToken();break;default:t.publicId+=String.fromCodePoint(e)}}_stateAfterDoctypePublicIdentifier(e){let t=this.currentToken;switch(e){case G.SPACE:case G.LINE_FEED:case G.TABULATION:case G.FORM_FEED:this.state=Z.BETWEEN_DOCTYPE_PUBLIC_AND_SYSTEM_IDENTIFIERS;break;case G.GREATER_THAN_SIGN:this.state=Z.DATA,this.emitCurrentDoctype(t);break;case G.QUOTATION_MARK:this._err(K.missingWhitespaceBetweenDoctypePublicAndSystemIdentifiers),t.systemId=``,this.state=Z.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED;break;case G.APOSTROPHE:this._err(K.missingWhitespaceBetweenDoctypePublicAndSystemIdentifiers),t.systemId=``,this.state=Z.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED;break;case G.EOF:this._err(K.eofInDoctype),t.forceQuirks=!0,this.emitCurrentDoctype(t),this._emitEOFToken();break;default:this._err(K.missingQuoteBeforeDoctypeSystemIdentifier),t.forceQuirks=!0,this.state=Z.BOGUS_DOCTYPE,this._stateBogusDoctype(e)}}_stateBetweenDoctypePublicAndSystemIdentifiers(e){let t=this.currentToken;switch(e){case G.SPACE:case G.LINE_FEED:case G.TABULATION:case G.FORM_FEED:break;case G.GREATER_THAN_SIGN:this.emitCurrentDoctype(t),this.state=Z.DATA;break;case G.QUOTATION_MARK:t.systemId=``,this.state=Z.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED;break;case G.APOSTROPHE:t.systemId=``,this.state=Z.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED;break;case G.EOF:this._err(K.eofInDoctype),t.forceQuirks=!0,this.emitCurrentDoctype(t),this._emitEOFToken();break;default:this._err(K.missingQuoteBeforeDoctypeSystemIdentifier),t.forceQuirks=!0,this.state=Z.BOGUS_DOCTYPE,this._stateBogusDoctype(e)}}_stateAfterDoctypeSystemKeyword(e){let t=this.currentToken;switch(e){case G.SPACE:case G.LINE_FEED:case G.TABULATION:case G.FORM_FEED:this.state=Z.BEFORE_DOCTYPE_SYSTEM_IDENTIFIER;break;case G.QUOTATION_MARK:this._err(K.missingWhitespaceAfterDoctypeSystemKeyword),t.systemId=``,this.state=Z.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED;break;case G.APOSTROPHE:this._err(K.missingWhitespaceAfterDoctypeSystemKeyword),t.systemId=``,this.state=Z.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED;break;case G.GREATER_THAN_SIGN:this._err(K.missingDoctypeSystemIdentifier),t.forceQuirks=!0,this.state=Z.DATA,this.emitCurrentDoctype(t);break;case G.EOF:this._err(K.eofInDoctype),t.forceQuirks=!0,this.emitCurrentDoctype(t),this._emitEOFToken();break;default:this._err(K.missingQuoteBeforeDoctypeSystemIdentifier),t.forceQuirks=!0,this.state=Z.BOGUS_DOCTYPE,this._stateBogusDoctype(e)}}_stateBeforeDoctypeSystemIdentifier(e){let t=this.currentToken;switch(e){case G.SPACE:case G.LINE_FEED:case G.TABULATION:case G.FORM_FEED:break;case G.QUOTATION_MARK:t.systemId=``,this.state=Z.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED;break;case G.APOSTROPHE:t.systemId=``,this.state=Z.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED;break;case G.GREATER_THAN_SIGN:this._err(K.missingDoctypeSystemIdentifier),t.forceQuirks=!0,this.state=Z.DATA,this.emitCurrentDoctype(t);break;case G.EOF:this._err(K.eofInDoctype),t.forceQuirks=!0,this.emitCurrentDoctype(t),this._emitEOFToken();break;default:this._err(K.missingQuoteBeforeDoctypeSystemIdentifier),t.forceQuirks=!0,this.state=Z.BOGUS_DOCTYPE,this._stateBogusDoctype(e)}}_stateDoctypeSystemIdentifierDoubleQuoted(e){let t=this.currentToken;switch(e){case G.QUOTATION_MARK:this.state=Z.AFTER_DOCTYPE_SYSTEM_IDENTIFIER;break;case G.NULL:this._err(K.unexpectedNullCharacter),t.systemId+=`�`;break;case G.GREATER_THAN_SIGN:this._err(K.abruptDoctypeSystemIdentifier),t.forceQuirks=!0,this.emitCurrentDoctype(t),this.state=Z.DATA;break;case G.EOF:this._err(K.eofInDoctype),t.forceQuirks=!0,this.emitCurrentDoctype(t),this._emitEOFToken();break;default:t.systemId+=String.fromCodePoint(e)}}_stateDoctypeSystemIdentifierSingleQuoted(e){let t=this.currentToken;switch(e){case G.APOSTROPHE:this.state=Z.AFTER_DOCTYPE_SYSTEM_IDENTIFIER;break;case G.NULL:this._err(K.unexpectedNullCharacter),t.systemId+=`�`;break;case G.GREATER_THAN_SIGN:this._err(K.abruptDoctypeSystemIdentifier),t.forceQuirks=!0,this.emitCurrentDoctype(t),this.state=Z.DATA;break;case G.EOF:this._err(K.eofInDoctype),t.forceQuirks=!0,this.emitCurrentDoctype(t),this._emitEOFToken();break;default:t.systemId+=String.fromCodePoint(e)}}_stateAfterDoctypeSystemIdentifier(e){let t=this.currentToken;switch(e){case G.SPACE:case G.LINE_FEED:case G.TABULATION:case G.FORM_FEED:break;case G.GREATER_THAN_SIGN:this.emitCurrentDoctype(t),this.state=Z.DATA;break;case G.EOF:this._err(K.eofInDoctype),t.forceQuirks=!0,this.emitCurrentDoctype(t),this._emitEOFToken();break;default:this._err(K.unexpectedCharacterAfterDoctypeSystemIdentifier),this.state=Z.BOGUS_DOCTYPE,this._stateBogusDoctype(e)}}_stateBogusDoctype(e){let t=this.currentToken;switch(e){case G.GREATER_THAN_SIGN:this.emitCurrentDoctype(t),this.state=Z.DATA;break;case G.NULL:this._err(K.unexpectedNullCharacter);break;case G.EOF:this.emitCurrentDoctype(t),this._emitEOFToken();break;default:}}_stateCdataSection(e){switch(e){case G.RIGHT_SQUARE_BRACKET:this.state=Z.CDATA_SECTION_BRACKET;break;case G.EOF:this._err(K.eofInCdata),this._emitEOFToken();break;default:this._emitCodePoint(e)}}_stateCdataSectionBracket(e){e===G.RIGHT_SQUARE_BRACKET?this.state=Z.CDATA_SECTION_END:(this._emitChars(`]`),this.state=Z.CDATA_SECTION,this._stateCdataSection(e))}_stateCdataSectionEnd(e){switch(e){case G.GREATER_THAN_SIGN:this.state=Z.DATA;break;case G.RIGHT_SQUARE_BRACKET:this._emitChars(`]`);break;default:this._emitChars(`]]`),this.state=Z.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(G.AMPERSAND),this.state=!this._isCharacterReferenceInAttribute()&&OW(this.preprocessor.peek(1))?Z.AMBIGUOUS_AMPERSAND:this.returnState):this.state=this.returnState}_stateAmbiguousAmpersand(e){OW(e)?this._flushCodePointConsumedAsCharacterReference(e):(e===G.SEMICOLON&&this._err(K.unknownNamedCharacterReference),this.state=this.returnState,this._callState(e))}},PW=new Set([Y.DD,Y.DT,Y.LI,Y.OPTGROUP,Y.OPTION,Y.P,Y.RB,Y.RP,Y.RT,Y.RTC]),FW=new Set([...PW,Y.CAPTION,Y.COLGROUP,Y.TBODY,Y.TD,Y.TFOOT,Y.TH,Y.THEAD,Y.TR]),IW=new Set([Y.APPLET,Y.CAPTION,Y.HTML,Y.MARQUEE,Y.OBJECT,Y.TABLE,Y.TD,Y.TEMPLATE,Y.TH]),LW=new Set([...IW,Y.OL,Y.UL]),RW=new Set([...IW,Y.BUTTON]),zW=new Set([Y.ANNOTATION_XML,Y.MI,Y.MN,Y.MO,Y.MS,Y.MTEXT]),BW=new Set([Y.DESC,Y.FOREIGN_OBJECT,Y.TITLE]),VW=new Set([Y.TR,Y.TEMPLATE,Y.HTML]),HW=new Set([Y.TBODY,Y.TFOOT,Y.THEAD,Y.TEMPLATE,Y.HTML]),UW=new Set([Y.TABLE,Y.TEMPLATE,Y.HTML]),WW=new Set([Y.TD,Y.TH]),GW=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=Y.UNKNOWN,this.current=e}_indexOf(e){return this.items.lastIndexOf(e,this.stackTop)}_isInTemplate(){return this.currentTagId===Y.TEMPLATE&&this.treeAdapter.getNamespaceURI(this.current)===q.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(){let e=this.current;this.tmplCount>0&&this._isInTemplate()&&this.tmplCount--,this.stackTop--,this._updateCurrentElement(),this.handler.onItemPop(e,!0)}replace(e,t){let n=this._indexOf(e);this.items[n]=t,n===this.stackTop&&(this.current=t)}insertAfter(e,t,n){let 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])!==q.HTML);this.shortenToLength(Math.max(t,0))}shortenToLength(e){for(;this.stackTop>=e;){let t=this.current;this.tmplCount>0&&this._isInTemplate()&&--this.tmplCount,this.stackTop--,this._updateCurrentElement(),this.handler.onItemPop(t,this.stackTop<e)}}popUntilElementPopped(e){let t=this._indexOf(e);this.shortenToLength(Math.max(t,0))}popUntilPopped(e,t){let n=this._indexOfTagNames(e,t);this.shortenToLength(Math.max(n,0))}popUntilNumberedHeaderPopped(){this.popUntilPopped(SW,q.HTML)}popUntilTableCellPopped(){this.popUntilPopped(WW,q.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){let n=this._indexOfTagNames(e,t);this.shortenToLength(n+1)}clearBackToTableContext(){this.clearBackTo(UW,q.HTML)}clearBackToTableBodyContext(){this.clearBackTo(HW,q.HTML)}clearBackToTableRowContext(){this.clearBackTo(VW,q.HTML)}remove(e){let 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]===Y.BODY?this.items[1]:null}contains(e){return this._indexOf(e)>-1}getCommonAncestor(e){let t=this._indexOf(e)-1;return t>=0?this.items[t]:null}isRootHtmlElementCurrent(){return this.stackTop===0&&this.tagIDs[0]===Y.HTML}hasInDynamicScope(e,t){for(let n=this.stackTop;n>=0;n--){let r=this.tagIDs[n];switch(this.treeAdapter.getNamespaceURI(this.items[n])){case q.HTML:if(r===e)return!0;if(t.has(r))return!1;break;case q.SVG:if(BW.has(r))return!1;break;case q.MATHML:if(zW.has(r))return!1;break}}return!0}hasInScope(e){return this.hasInDynamicScope(e,IW)}hasInListItemScope(e){return this.hasInDynamicScope(e,LW)}hasInButtonScope(e){return this.hasInDynamicScope(e,RW)}hasNumberedHeaderInScope(){for(let e=this.stackTop;e>=0;e--){let t=this.tagIDs[e];switch(this.treeAdapter.getNamespaceURI(this.items[e])){case q.HTML:if(SW.has(t))return!0;if(IW.has(t))return!1;break;case q.SVG:if(BW.has(t))return!1;break;case q.MATHML:if(zW.has(t))return!1;break}}return!0}hasInTableScope(e){for(let t=this.stackTop;t>=0;t--)if(this.treeAdapter.getNamespaceURI(this.items[t])===q.HTML)switch(this.tagIDs[t]){case e:return!0;case Y.TABLE:case Y.HTML:return!1}return!0}hasTableBodyContextInTableScope(){for(let e=this.stackTop;e>=0;e--)if(this.treeAdapter.getNamespaceURI(this.items[e])===q.HTML)switch(this.tagIDs[e]){case Y.TBODY:case Y.THEAD:case Y.TFOOT:return!0;case Y.TABLE:case Y.HTML:return!1}return!0}hasInSelectScope(e){for(let t=this.stackTop;t>=0;t--)if(this.treeAdapter.getNamespaceURI(this.items[t])===q.HTML)switch(this.tagIDs[t]){case e:return!0;case Y.OPTION:case Y.OPTGROUP:break;default:return!1}return!0}generateImpliedEndTags(){for(;this.currentTagId!==void 0&&PW.has(this.currentTagId);)this.pop()}generateImpliedEndTagsThoroughly(){for(;this.currentTagId!==void 0&&FW.has(this.currentTagId);)this.pop()}generateImpliedEndTagsWithExclusion(e){for(;this.currentTagId!==void 0&&this.currentTagId!==e&&FW.has(this.currentTagId);)this.pop()}},KW=3,qW;(function(e){e[e.Marker=0]=`Marker`,e[e.Element=1]=`Element`})(qW||={});var JW={type:qW.Marker},YW=class{constructor(e){this.treeAdapter=e,this.entries=[],this.bookmark=null}_getNoahArkConditionCandidates(e,t){let n=[],r=t.length,i=this.treeAdapter.getTagName(e),a=this.treeAdapter.getNamespaceURI(e);for(let e=0;e<this.entries.length;e++){let t=this.entries[e];if(t.type===qW.Marker)break;let{element:o}=t;if(this.treeAdapter.getTagName(o)===i&&this.treeAdapter.getNamespaceURI(o)===a){let t=this.treeAdapter.getAttrList(o);t.length===r&&n.push({idx:e,attrs:t})}}return n}_ensureNoahArkCondition(e){if(this.entries.length<KW)return;let t=this.treeAdapter.getAttrList(e),n=this._getNoahArkConditionCandidates(e,t);if(n.length<KW)return;let r=new Map(t.map(e=>[e.name,e.value])),i=0;for(let e=0;e<n.length;e++){let t=n[e];t.attrs.every(e=>r.get(e.name)===e.value)&&(i+=1,i>=KW&&this.entries.splice(t.idx,1))}}insertMarker(){this.entries.unshift(JW)}pushElement(e,t){this._ensureNoahArkCondition(e),this.entries.unshift({type:qW.Element,element:e,token:t})}insertElementAfterBookmark(e,t){let n=this.entries.indexOf(this.bookmark);this.entries.splice(n,0,{type:qW.Element,element:e,token:t})}removeEntry(e){let t=this.entries.indexOf(e);t!==-1&&this.entries.splice(t,1)}clearToLastMarker(){let e=this.entries.indexOf(JW);e===-1?this.entries.length=0:this.entries.splice(0,e+1)}getElementEntryInScopeWithTagName(e){let t=this.entries.find(t=>t.type===qW.Marker||this.treeAdapter.getTagName(t.element)===e);return t&&t.type===qW.Element?t:null}getElementEntry(e){return this.entries.find(t=>t.type===qW.Element&&t.element===e)}},XW={createDocument(){return{nodeName:`#document`,mode:vW.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){let 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){let i=e.childNodes.find(e=>e.nodeName===`#documentType`);if(i)i.name=t,i.publicId=n,i.systemId=r;else{let i={nodeName:`#documentType`,name:t,publicId:n,systemId:r,parentNode:null};XW.appendChild(e,i)}},setDocumentMode(e,t){e.mode=t},getDocumentMode(e){return e.mode},detachNode(e){if(e.parentNode){let t=e.parentNode.childNodes.indexOf(e);e.parentNode.childNodes.splice(t,1),e.parentNode=null}},insertText(e,t){if(e.childNodes.length>0){let n=e.childNodes[e.childNodes.length-1];if(XW.isTextNode(n)){n.value+=t;return}}XW.appendChild(e,XW.createTextNode(t))},insertTextBefore(e,t,n){let r=e.childNodes[e.childNodes.indexOf(n)-1];r&&XW.isTextNode(r)?r.value+=t:XW.insertBefore(e,XW.createTextNode(t),n)},adoptAttributes(e,t){let n=new Set(e.attrs.map(e=>e.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}}},ZW=`html`,QW=`about:legacy-compat`,$W=`http://www.ibm.com/data/dtd/v11/ibmxhtml1-transitional.dtd`,eG=`+//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//`.split(`,`),tG=[...eG,`-//w3c//dtd html 4.01 frameset//`,`-//w3c//dtd html 4.01 transitional//`],nG=new Set([`-//w3o//dtd w3 html strict 3.0//en//`,`-/w3c/dtd html 4.0 transitional/en`,`html`]),rG=[`-//w3c//dtd xhtml 1.0 frameset//`,`-//w3c//dtd xhtml 1.0 transitional//`],iG=[...rG,`-//w3c//dtd html 4.01 frameset//`,`-//w3c//dtd html 4.01 transitional//`];function aG(e,t){return t.some(t=>e.startsWith(t))}function oG(e){return e.name===ZW&&e.publicId===null&&(e.systemId===null||e.systemId===QW)}function sG(e){if(e.name!==ZW)return vW.QUIRKS;let{systemId:t}=e;if(t&&t.toLowerCase()===$W)return vW.QUIRKS;let{publicId:n}=e;if(n!==null){if(n=n.toLowerCase(),nG.has(n))return vW.QUIRKS;let e=t===null?tG:eG;if(aG(n,e))return vW.QUIRKS;if(e=t===null?rG:iG,aG(n,e))return vW.LIMITED_QUIRKS}return vW.NO_QUIRKS}var cG={TEXT_HTML:`text/html`,APPLICATION_XML:`application/xhtml+xml`},lG=`definitionurl`,uG=`definitionURL`,dG=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`.split(`.`).map(e=>[e.toLowerCase(),e])),fG=new Map([[`xlink:actuate`,{prefix:`xlink`,name:`actuate`,namespace:q.XLINK}],[`xlink:arcrole`,{prefix:`xlink`,name:`arcrole`,namespace:q.XLINK}],[`xlink:href`,{prefix:`xlink`,name:`href`,namespace:q.XLINK}],[`xlink:role`,{prefix:`xlink`,name:`role`,namespace:q.XLINK}],[`xlink:show`,{prefix:`xlink`,name:`show`,namespace:q.XLINK}],[`xlink:title`,{prefix:`xlink`,name:`title`,namespace:q.XLINK}],[`xlink:type`,{prefix:`xlink`,name:`type`,namespace:q.XLINK}],[`xml:lang`,{prefix:`xml`,name:`lang`,namespace:q.XML}],[`xml:space`,{prefix:`xml`,name:`space`,namespace:q.XML}],[`xmlns`,{prefix:``,name:`xmlns`,namespace:q.XMLNS}],[`xmlns:xlink`,{prefix:`xmlns`,name:`xlink`,namespace:q.XMLNS}]]),pG=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`.split(`.`).map(e=>[e.toLowerCase(),e])),mG=new Set([Y.B,Y.BIG,Y.BLOCKQUOTE,Y.BODY,Y.BR,Y.CENTER,Y.CODE,Y.DD,Y.DIV,Y.DL,Y.DT,Y.EM,Y.EMBED,Y.H1,Y.H2,Y.H3,Y.H4,Y.H5,Y.H6,Y.HEAD,Y.HR,Y.I,Y.IMG,Y.LI,Y.LISTING,Y.MENU,Y.META,Y.NOBR,Y.OL,Y.P,Y.PRE,Y.RUBY,Y.S,Y.SMALL,Y.SPAN,Y.STRONG,Y.STRIKE,Y.SUB,Y.SUP,Y.TABLE,Y.TT,Y.U,Y.UL,Y.VAR]);function hG(e){let t=e.tagID;return t===Y.FONT&&e.attrs.some(({name:e})=>e===_W.COLOR||e===_W.SIZE||e===_W.FACE)||mG.has(t)}function gG(e){for(let t=0;t<e.attrs.length;t++)if(e.attrs[t].name===lG){e.attrs[t].name=uG;break}}function _G(e){for(let t=0;t<e.attrs.length;t++){let n=dG.get(e.attrs[t].name);n!=null&&(e.attrs[t].name=n)}}function vG(e){for(let t=0;t<e.attrs.length;t++){let n=fG.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 yG(e){let t=pG.get(e.tagName);t!=null&&(e.tagName=t,e.tagID=bW(e.tagName))}function bG(e,t){return t===q.MATHML&&(e===Y.MI||e===Y.MO||e===Y.MN||e===Y.MS||e===Y.MTEXT)}function xG(e,t,n){if(t===q.MATHML&&e===Y.ANNOTATION_XML){for(let e=0;e<n.length;e++)if(n[e].name===_W.ENCODING){let t=n[e].value.toLowerCase();return t===cG.TEXT_HTML||t===cG.APPLICATION_XML}}return t===q.SVG&&(e===Y.FOREIGN_OBJECT||e===Y.DESC||e===Y.TITLE)}function SG(e,t,n,r){return(!r||r===q.HTML)&&xG(e,t,n)||(!r||r===q.MATHML)&&bG(e,t)}var CG=`hidden`,wG=8,TG=3,Q;(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`})(Q||={});var EG={startLine:-1,startCol:-1,startOffset:-1,endLine:-1,endCol:-1,endOffset:-1},DG=new Set([Y.TABLE,Y.TBODY,Y.TFOOT,Y.THEAD,Y.TR]),OG={scriptingEnabled:!0,sourceCodeLocationInfo:!1,treeAdapter:XW,onParseError:null},kG=class{constructor(e,t,n=null,r=null){this.fragmentContext=n,this.scriptHandler=r,this.currentToken=null,this.stopped=!1,this.insertionMode=Q.INITIAL,this.originalInsertionMode=Q.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={...OG,...e},this.treeAdapter=this.options.treeAdapter,this.onParseError=this.options.onParseError,this.onParseError&&(this.options.sourceCodeLocationInfo=!0),this.document=t??this.treeAdapter.createDocument(),this.tokenizer=new NW(this.options,this),this.activeFormattingElements=new YW(this.treeAdapter),this.fragmentContextID=n?bW(this.treeAdapter.getTagName(n)):Y.UNKNOWN,this._setContextModes(n??this.document,this.fragmentContextID),this.openElements=new GW(this.document,this.treeAdapter,this)}static parse(e,t){let n=new this(t);return n.tokenizer.write(e,!0),n.document}static getFragmentParser(e,t){let n={...OG,...t};e??=n.treeAdapter.createElement(J.TEMPLATE,q.HTML,[]);let r=n.treeAdapter.createElement(`documentmock`,q.HTML,[]),i=new this(n,r,e);return i.fragmentContextID===Y.TEMPLATE&&i.tmplInsertionModeStack.unshift(Q.IN_TEMPLATE),i._initTokenizerForFragmentParsing(),i._insertFakeRootElement(),i._resetInsertionMode(),i._findFormInFragmentContext(),i}getFragment(){let e=this.treeAdapter.getFirstChild(this.document),t=this.treeAdapter.createDocumentFragment();return this._adoptNodes(e,t),t}_err(e,t,n){if(!this.onParseError)return;let r=e.location??EG,i={code:t,startLine:r.startLine,startCol:r.startCol,startOffset:r.startOffset,endLine:n?r.startLine:r.endLine,endCol:n?r.startCol:r.endCol,endOffset:n?r.startOffset:r.endOffset};this.onParseError(i)}onItemPush(e,t,n){var r,i;(i=(r=this.treeAdapter).onItemPush)==null||i.call(r,e),n&&this.openElements.stackTop>0&&this._setContextModes(e,t)}onItemPop(e,t){var n,r;if(this.options.sourceCodeLocationInfo&&this._setEndLocation(e,this.currentToken),(r=(n=this.treeAdapter).onItemPop)==null||r.call(n,e,this.openElements.current),t){let e,t;this.openElements.stackTop===0&&this.fragmentContext?(e=this.fragmentContext,t=this.fragmentContextID):{current:e,currentTagId:t}=this.openElements,this._setContextModes(e,t)}}_setContextModes(e,t){let n=e===this.document||e&&this.treeAdapter.getNamespaceURI(e)===q.HTML;this.currentNotInHTML=!n,this.tokenizer.inForeignNode=!n&&e!==void 0&&t!==void 0&&!this._isIntegrationPoint(t,e)}_switchToTextParsing(e,t){this._insertElement(e,q.HTML),this.tokenizer.state=t,this.originalInsertionMode=this.insertionMode,this.insertionMode=Q.TEXT}switchToPlaintextParsing(){this.insertionMode=Q.TEXT,this.originalInsertionMode=Q.IN_BODY,this.tokenizer.state=CW.PLAINTEXT}_getAdjustedCurrentElement(){return this.openElements.stackTop===0&&this.fragmentContext?this.fragmentContext:this.openElements.current}_findFormInFragmentContext(){let e=this.fragmentContext;for(;e;){if(this.treeAdapter.getTagName(e)===J.FORM){this.formElement=e;break}e=this.treeAdapter.getParentNode(e)}}_initTokenizerForFragmentParsing(){if(!(!this.fragmentContext||this.treeAdapter.getNamespaceURI(this.fragmentContext)!==q.HTML))switch(this.fragmentContextID){case Y.TITLE:case Y.TEXTAREA:this.tokenizer.state=CW.RCDATA;break;case Y.STYLE:case Y.XMP:case Y.IFRAME:case Y.NOEMBED:case Y.NOFRAMES:case Y.NOSCRIPT:this.tokenizer.state=CW.RAWTEXT;break;case Y.SCRIPT:this.tokenizer.state=CW.SCRIPT_DATA;break;case Y.PLAINTEXT:this.tokenizer.state=CW.PLAINTEXT;break;default:}}_setDocumentType(e){let t=e.name||``,n=e.publicId||``,r=e.systemId||``;if(this.treeAdapter.setDocumentType(this.document,t,n,r),e.location){let t=this.treeAdapter.getChildNodes(this.document).find(e=>this.treeAdapter.isDocumentTypeNode(e));t&&this.treeAdapter.setNodeSourceCodeLocation(t,e.location)}}_attachElementToTree(e,t){if(this.options.sourceCodeLocationInfo){let n=t&&{...t,startTag:t};this.treeAdapter.setNodeSourceCodeLocation(e,n)}if(this._shouldFosterParentOnInsertion())this._fosterParentElement(e);else{let t=this.openElements.currentTmplContentOrNode;this.treeAdapter.appendChild(t??this.document,e)}}_appendElement(e,t){let n=this.treeAdapter.createElement(e.tagName,t,e.attrs);this._attachElementToTree(n,e.location)}_insertElement(e,t){let n=this.treeAdapter.createElement(e.tagName,t,e.attrs);this._attachElementToTree(n,e.location),this.openElements.push(n,e.tagID)}_insertFakeElement(e,t){let n=this.treeAdapter.createElement(e,q.HTML,[]);this._attachElementToTree(n,null),this.openElements.push(n,t)}_insertTemplate(e){let t=this.treeAdapter.createElement(e.tagName,q.HTML,e.attrs),n=this.treeAdapter.createDocumentFragment();this.treeAdapter.setTemplateContent(t,n),this._attachElementToTree(t,e.location),this.openElements.push(t,e.tagID),this.options.sourceCodeLocationInfo&&this.treeAdapter.setNodeSourceCodeLocation(n,null)}_insertFakeRootElement(){let e=this.treeAdapter.createElement(J.HTML,q.HTML,[]);this.options.sourceCodeLocationInfo&&this.treeAdapter.setNodeSourceCodeLocation(e,null),this.treeAdapter.appendChild(this.openElements.current,e),this.openElements.push(e,Y.HTML)}_appendCommentNode(e,t){let n=this.treeAdapter.createCommentNode(e.data);this.treeAdapter.appendChild(t,n),this.options.sourceCodeLocationInfo&&this.treeAdapter.setNodeSourceCodeLocation(n,e.location)}_insertCharacters(e){let t,n;if(this._shouldFosterParentOnInsertion()?({parent:t,beforeElement:n}=this._findFosterParentingLocation(),n?this.treeAdapter.insertTextBefore(t,e.chars,n):this.treeAdapter.insertText(t,e.chars)):(t=this.openElements.currentTmplContentOrNode,this.treeAdapter.insertText(t,e.chars)),!e.location)return;let r=this.treeAdapter.getChildNodes(t),i=r[(n?r.lastIndexOf(n):r.length)-1];if(this.treeAdapter.getNodeSourceCodeLocation(i)){let{endLine:t,endCol:n,endOffset:r}=e.location;this.treeAdapter.updateNodeSourceCodeLocation(i,{endLine:t,endCol:n,endOffset:r})}else this.options.sourceCodeLocationInfo&&this.treeAdapter.setNodeSourceCodeLocation(i,e.location)}_adoptNodes(e,t){for(let n=this.treeAdapter.getFirstChild(e);n;n=this.treeAdapter.getFirstChild(e))this.treeAdapter.detachNode(n),this.treeAdapter.appendChild(t,n)}_setEndLocation(e,t){if(this.treeAdapter.getNodeSourceCodeLocation(e)&&t.location){let n=t.location,r=this.treeAdapter.getTagName(e),i=t.type===tW.END_TAG&&r===t.tagName?{endTag:{...n},endLine:n.endLine,endCol:n.endCol,endOffset:n.endOffset}:{endLine:n.startLine,endCol:n.startCol,endOffset:n.startOffset};this.treeAdapter.updateNodeSourceCodeLocation(e,i)}}shouldProcessStartTagTokenInForeignContent(e){if(!this.currentNotInHTML)return!1;let t,n;return this.openElements.stackTop===0&&this.fragmentContext?(t=this.fragmentContext,n=this.fragmentContextID):{current:t,currentTagId:n}=this.openElements,e.tagID===Y.SVG&&this.treeAdapter.getTagName(t)===J.ANNOTATION_XML&&this.treeAdapter.getNamespaceURI(t)===q.MATHML?!1:this.tokenizer.inForeignNode||(e.tagID===Y.MGLYPH||e.tagID===Y.MALIGNMARK)&&n!==void 0&&!this._isIntegrationPoint(n,t,q.HTML)}_processToken(e){switch(e.type){case tW.CHARACTER:this.onCharacter(e);break;case tW.NULL_CHARACTER:this.onNullCharacter(e);break;case tW.COMMENT:this.onComment(e);break;case tW.DOCTYPE:this.onDoctype(e);break;case tW.START_TAG:this._processStartTag(e);break;case tW.END_TAG:this.onEndTag(e);break;case tW.EOF:this.onEof(e);break;case tW.WHITESPACE_CHARACTER:this.onWhitespaceCharacter(e);break}}_isIntegrationPoint(e,t,n){return SG(e,this.treeAdapter.getNamespaceURI(t),this.treeAdapter.getAttrList(t),n)}_reconstructActiveFormattingElements(){let e=this.activeFormattingElements.entries.length;if(e){let t=this.activeFormattingElements.entries.findIndex(e=>e.type===qW.Marker||this.openElements.contains(e.element)),n=t===-1?e-1:t-1;for(let e=n;e>=0;e--){let t=this.activeFormattingElements.entries[e];this._insertElement(t.token,this.treeAdapter.getNamespaceURI(t.element)),t.element=this.openElements.current}}}_closeTableCell(){this.openElements.generateImpliedEndTags(),this.openElements.popUntilTableCellPopped(),this.activeFormattingElements.clearToLastMarker(),this.insertionMode=Q.IN_ROW}_closePElement(){this.openElements.generateImpliedEndTagsWithExclusion(Y.P),this.openElements.popUntilTagNamePopped(Y.P)}_resetInsertionMode(){for(let e=this.openElements.stackTop;e>=0;e--)switch(e===0&&this.fragmentContext?this.fragmentContextID:this.openElements.tagIDs[e]){case Y.TR:this.insertionMode=Q.IN_ROW;return;case Y.TBODY:case Y.THEAD:case Y.TFOOT:this.insertionMode=Q.IN_TABLE_BODY;return;case Y.CAPTION:this.insertionMode=Q.IN_CAPTION;return;case Y.COLGROUP:this.insertionMode=Q.IN_COLUMN_GROUP;return;case Y.TABLE:this.insertionMode=Q.IN_TABLE;return;case Y.BODY:this.insertionMode=Q.IN_BODY;return;case Y.FRAMESET:this.insertionMode=Q.IN_FRAMESET;return;case Y.SELECT:this._resetInsertionModeForSelect(e);return;case Y.TEMPLATE:this.insertionMode=this.tmplInsertionModeStack[0];return;case Y.HTML:this.insertionMode=this.headElement?Q.AFTER_HEAD:Q.BEFORE_HEAD;return;case Y.TD:case Y.TH:if(e>0){this.insertionMode=Q.IN_CELL;return}break;case Y.HEAD:if(e>0){this.insertionMode=Q.IN_HEAD;return}break}this.insertionMode=Q.IN_BODY}_resetInsertionModeForSelect(e){if(e>0)for(let t=e-1;t>0;t--){let e=this.openElements.tagIDs[t];if(e===Y.TEMPLATE)break;if(e===Y.TABLE){this.insertionMode=Q.IN_SELECT_IN_TABLE;return}}this.insertionMode=Q.IN_SELECT}_isElementCausesFosterParenting(e){return DG.has(e)}_shouldFosterParentOnInsertion(){return this.fosterParentingEnabled&&this.openElements.currentTagId!==void 0&&this._isElementCausesFosterParenting(this.openElements.currentTagId)}_findFosterParentingLocation(){for(let e=this.openElements.stackTop;e>=0;e--){let t=this.openElements.items[e];switch(this.openElements.tagIDs[e]){case Y.TEMPLATE:if(this.treeAdapter.getNamespaceURI(t)===q.HTML)return{parent:this.treeAdapter.getTemplateContent(t),beforeElement:null};break;case Y.TABLE:{let n=this.treeAdapter.getParentNode(t);return n?{parent:n,beforeElement:t}:{parent:this.openElements.items[e-1],beforeElement:null}}default:}}return{parent:this.openElements.items[0],beforeElement:null}}_fosterParentElement(e){let t=this._findFosterParentingLocation();t.beforeElement?this.treeAdapter.insertBefore(t.parent,e,t.beforeElement):this.treeAdapter.appendChild(t.parent,e)}_isSpecialElement(e,t){return xW[this.treeAdapter.getNamespaceURI(e)].has(t)}onCharacter(e){if(this.skipNextNewLine=!1,this.tokenizer.inForeignNode){qq(this,e);return}switch(this.insertionMode){case Q.INITIAL:HG(this,e);break;case Q.BEFORE_HTML:GG(this,e);break;case Q.BEFORE_HEAD:JG(this,e);break;case Q.IN_HEAD:QG(this,e);break;case Q.IN_HEAD_NO_SCRIPT:tK(this,e);break;case Q.AFTER_HEAD:iK(this,e);break;case Q.IN_BODY:case Q.IN_CAPTION:case Q.IN_CELL:case Q.IN_TEMPLATE:sK(this,e);break;case Q.TEXT:case Q.IN_SELECT:case Q.IN_SELECT_IN_TABLE:this._insertCharacters(e);break;case Q.IN_TABLE:case Q.IN_TABLE_BODY:case Q.IN_ROW:nq(this,e);break;case Q.IN_TABLE_TEXT:hq(this,e);break;case Q.IN_COLUMN_GROUP:Sq(this,e);break;case Q.AFTER_BODY:Rq(this,e);break;case Q.AFTER_AFTER_BODY:Wq(this,e);break;default:}}onNullCharacter(e){if(this.skipNextNewLine=!1,this.tokenizer.inForeignNode){Kq(this,e);return}switch(this.insertionMode){case Q.INITIAL:HG(this,e);break;case Q.BEFORE_HTML:GG(this,e);break;case Q.BEFORE_HEAD:JG(this,e);break;case Q.IN_HEAD:QG(this,e);break;case Q.IN_HEAD_NO_SCRIPT:tK(this,e);break;case Q.AFTER_HEAD:iK(this,e);break;case Q.TEXT:this._insertCharacters(e);break;case Q.IN_TABLE:case Q.IN_TABLE_BODY:case Q.IN_ROW:nq(this,e);break;case Q.IN_COLUMN_GROUP:Sq(this,e);break;case Q.AFTER_BODY:Rq(this,e);break;case Q.AFTER_AFTER_BODY:Wq(this,e);break;default:}}onComment(e){if(this.skipNextNewLine=!1,this.currentNotInHTML){LG(this,e);return}switch(this.insertionMode){case Q.INITIAL:case Q.BEFORE_HTML:case Q.BEFORE_HEAD:case Q.IN_HEAD:case Q.IN_HEAD_NO_SCRIPT:case Q.AFTER_HEAD:case Q.IN_BODY:case Q.IN_TABLE:case Q.IN_CAPTION:case Q.IN_COLUMN_GROUP:case Q.IN_TABLE_BODY:case Q.IN_ROW:case Q.IN_CELL:case Q.IN_SELECT:case Q.IN_SELECT_IN_TABLE:case Q.IN_TEMPLATE:case Q.IN_FRAMESET:case Q.AFTER_FRAMESET:LG(this,e);break;case Q.IN_TABLE_TEXT:gq(this,e);break;case Q.AFTER_BODY:RG(this,e);break;case Q.AFTER_AFTER_BODY:case Q.AFTER_AFTER_FRAMESET:zG(this,e);break;default:}}onDoctype(e){switch(this.skipNextNewLine=!1,this.insertionMode){case Q.INITIAL:VG(this,e);break;case Q.BEFORE_HEAD:case Q.IN_HEAD:case Q.IN_HEAD_NO_SCRIPT:case Q.AFTER_HEAD:this._err(e,K.misplacedDoctype);break;case Q.IN_TABLE_TEXT:gq(this,e);break;default:}}onStartTag(e){this.skipNextNewLine=!1,this.currentToken=e,this._processStartTag(e),e.selfClosing&&!e.ackSelfClosing&&this._err(e,K.nonVoidHtmlElementStartTagWithTrailingSolidus)}_processStartTag(e){this.shouldProcessStartTagTokenInForeignContent(e)?Yq(this,e):this._startTagOutsideForeignContent(e)}_startTagOutsideForeignContent(e){switch(this.insertionMode){case Q.INITIAL:HG(this,e);break;case Q.BEFORE_HTML:UG(this,e);break;case Q.BEFORE_HEAD:KG(this,e);break;case Q.IN_HEAD:YG(this,e);break;case Q.IN_HEAD_NO_SCRIPT:$G(this,e);break;case Q.AFTER_HEAD:nK(this,e);break;case Q.IN_BODY:BK(this,e);break;case Q.IN_TABLE:dq(this,e);break;case Q.IN_TABLE_TEXT:gq(this,e);break;case Q.IN_CAPTION:vq(this,e);break;case Q.IN_COLUMN_GROUP:bq(this,e);break;case Q.IN_TABLE_BODY:Cq(this,e);break;case Q.IN_ROW:Tq(this,e);break;case Q.IN_CELL:Dq(this,e);break;case Q.IN_SELECT:kq(this,e);break;case Q.IN_SELECT_IN_TABLE:jq(this,e);break;case Q.IN_TEMPLATE:Nq(this,e);break;case Q.AFTER_BODY:Iq(this,e);break;case Q.IN_FRAMESET:zq(this,e);break;case Q.AFTER_FRAMESET:Vq(this,e);break;case Q.AFTER_AFTER_BODY:Uq(this,e);break;case Q.AFTER_AFTER_FRAMESET:Gq(this,e);break;default:}}onEndTag(e){this.skipNextNewLine=!1,this.currentToken=e,this.currentNotInHTML?Xq(this,e):this._endTagOutsideForeignContent(e)}_endTagOutsideForeignContent(e){switch(this.insertionMode){case Q.INITIAL:HG(this,e);break;case Q.BEFORE_HTML:WG(this,e);break;case Q.BEFORE_HEAD:qG(this,e);break;case Q.IN_HEAD:XG(this,e);break;case Q.IN_HEAD_NO_SCRIPT:eK(this,e);break;case Q.AFTER_HEAD:rK(this,e);break;case Q.IN_BODY:QK(this,e);break;case Q.TEXT:eq(this,e);break;case Q.IN_TABLE:fq(this,e);break;case Q.IN_TABLE_TEXT:gq(this,e);break;case Q.IN_CAPTION:yq(this,e);break;case Q.IN_COLUMN_GROUP:xq(this,e);break;case Q.IN_TABLE_BODY:wq(this,e);break;case Q.IN_ROW:Eq(this,e);break;case Q.IN_CELL:Oq(this,e);break;case Q.IN_SELECT:Aq(this,e);break;case Q.IN_SELECT_IN_TABLE:Mq(this,e);break;case Q.IN_TEMPLATE:Pq(this,e);break;case Q.AFTER_BODY:Lq(this,e);break;case Q.IN_FRAMESET:Bq(this,e);break;case Q.AFTER_FRAMESET:Hq(this,e);break;case Q.AFTER_AFTER_BODY:Wq(this,e);break;default:}}onEof(e){switch(this.insertionMode){case Q.INITIAL:HG(this,e);break;case Q.BEFORE_HTML:GG(this,e);break;case Q.BEFORE_HEAD:JG(this,e);break;case Q.IN_HEAD:QG(this,e);break;case Q.IN_HEAD_NO_SCRIPT:tK(this,e);break;case Q.AFTER_HEAD:iK(this,e);break;case Q.IN_BODY:case Q.IN_TABLE:case Q.IN_CAPTION:case Q.IN_COLUMN_GROUP:case Q.IN_TABLE_BODY:case Q.IN_ROW:case Q.IN_CELL:case Q.IN_SELECT:case Q.IN_SELECT_IN_TABLE:$K(this,e);break;case Q.TEXT:tq(this,e);break;case Q.IN_TABLE_TEXT:gq(this,e);break;case Q.IN_TEMPLATE:Fq(this,e);break;case Q.AFTER_BODY:case Q.IN_FRAMESET:case Q.AFTER_FRAMESET:case Q.AFTER_AFTER_BODY:case Q.AFTER_AFTER_FRAMESET:BG(this,e);break;default:}}onWhitespaceCharacter(e){if(this.skipNextNewLine&&(this.skipNextNewLine=!1,e.chars.charCodeAt(0)===G.LINE_FEED)){if(e.chars.length===1)return;e.chars=e.chars.substr(1)}if(this.tokenizer.inForeignNode){this._insertCharacters(e);return}switch(this.insertionMode){case Q.IN_HEAD:case Q.IN_HEAD_NO_SCRIPT:case Q.AFTER_HEAD:case Q.TEXT:case Q.IN_COLUMN_GROUP:case Q.IN_SELECT:case Q.IN_SELECT_IN_TABLE:case Q.IN_FRAMESET:case Q.AFTER_FRAMESET:this._insertCharacters(e);break;case Q.IN_BODY:case Q.IN_CAPTION:case Q.IN_CELL:case Q.IN_TEMPLATE:case Q.AFTER_BODY:case Q.AFTER_AFTER_BODY:case Q.AFTER_AFTER_FRAMESET:oK(this,e);break;case Q.IN_TABLE:case Q.IN_TABLE_BODY:case Q.IN_ROW:nq(this,e);break;case Q.IN_TABLE_TEXT:mq(this,e);break;default:}}};function AG(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):ZK(e,t),n}function jG(e,t){let n=null,r=e.openElements.stackTop;for(;r>=0;r--){let i=e.openElements.items[r];if(i===t.element)break;e._isSpecialElement(i,e.openElements.tagIDs[r])&&(n=i)}return n||(e.openElements.shortenToLength(Math.max(r,0)),e.activeFormattingElements.removeEntry(t)),n}function MG(e,t,n){let r=t,i=e.openElements.getCommonAncestor(t);for(let a=0,o=i;o!==n;a++,o=i){i=e.openElements.getCommonAncestor(o);let n=e.activeFormattingElements.getElementEntry(o),s=n&&a>=TG;!n||s?(s&&e.activeFormattingElements.removeEntry(n),e.openElements.remove(o)):(o=NG(e,n),r===t&&(e.activeFormattingElements.bookmark=n),e.treeAdapter.detachNode(r),e.treeAdapter.appendChild(o,r),r=o)}return r}function NG(e,t){let 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 PG(e,t,n){let r=bW(e.treeAdapter.getTagName(t));if(e._isElementCausesFosterParenting(r))e._fosterParentElement(n);else{let i=e.treeAdapter.getNamespaceURI(t);r===Y.TEMPLATE&&i===q.HTML&&(t=e.treeAdapter.getTemplateContent(t)),e.treeAdapter.appendChild(t,n)}}function FG(e,t,n){let r=e.treeAdapter.getNamespaceURI(n.element),{token:i}=n,a=e.treeAdapter.createElement(i.tagName,r,i.attrs);e._adoptNodes(t,a),e.treeAdapter.appendChild(t,a),e.activeFormattingElements.insertElementAfterBookmark(a,i),e.activeFormattingElements.removeEntry(n),e.openElements.remove(n.element),e.openElements.insertAfter(t,a,i.tagID)}function IG(e,t){for(let n=0;n<wG;n++){let n=AG(e,t);if(!n)break;let r=jG(e,n);if(!r)break;e.activeFormattingElements.bookmark=n;let i=MG(e,r,n.element),a=e.openElements.getCommonAncestor(n.element);e.treeAdapter.detachNode(i),a&&PG(e,a,i),FG(e,r,n)}}function LG(e,t){e._appendCommentNode(t,e.openElements.currentTmplContentOrNode)}function RG(e,t){e._appendCommentNode(t,e.openElements.items[0])}function zG(e,t){e._appendCommentNode(t,e.document)}function BG(e,t){if(e.stopped=!0,t.location){let 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){let n=e.openElements.items[0],r=e.treeAdapter.getNodeSourceCodeLocation(n);if(r&&!r.endTag&&(e._setEndLocation(n,t),e.openElements.stackTop>=1)){let n=e.openElements.items[1],r=e.treeAdapter.getNodeSourceCodeLocation(n);r&&!r.endTag&&e._setEndLocation(n,t)}}}}function VG(e,t){e._setDocumentType(t);let n=t.forceQuirks?vW.QUIRKS:sG(t);oG(t)||e._err(t,K.nonConformingDoctype),e.treeAdapter.setDocumentMode(e.document,n),e.insertionMode=Q.BEFORE_HTML}function HG(e,t){e._err(t,K.missingDoctype,!0),e.treeAdapter.setDocumentMode(e.document,vW.QUIRKS),e.insertionMode=Q.BEFORE_HTML,e._processToken(t)}function UG(e,t){t.tagID===Y.HTML?(e._insertElement(t,q.HTML),e.insertionMode=Q.BEFORE_HEAD):GG(e,t)}function WG(e,t){let n=t.tagID;(n===Y.HTML||n===Y.HEAD||n===Y.BODY||n===Y.BR)&&GG(e,t)}function GG(e,t){e._insertFakeRootElement(),e.insertionMode=Q.BEFORE_HEAD,e._processToken(t)}function KG(e,t){switch(t.tagID){case Y.HTML:BK(e,t);break;case Y.HEAD:e._insertElement(t,q.HTML),e.headElement=e.openElements.current,e.insertionMode=Q.IN_HEAD;break;default:JG(e,t)}}function qG(e,t){let n=t.tagID;n===Y.HEAD||n===Y.BODY||n===Y.HTML||n===Y.BR?JG(e,t):e._err(t,K.endTagWithoutMatchingOpenElement)}function JG(e,t){e._insertFakeElement(J.HEAD,Y.HEAD),e.headElement=e.openElements.current,e.insertionMode=Q.IN_HEAD,e._processToken(t)}function YG(e,t){switch(t.tagID){case Y.HTML:BK(e,t);break;case Y.BASE:case Y.BASEFONT:case Y.BGSOUND:case Y.LINK:case Y.META:e._appendElement(t,q.HTML),t.ackSelfClosing=!0;break;case Y.TITLE:e._switchToTextParsing(t,CW.RCDATA);break;case Y.NOSCRIPT:e.options.scriptingEnabled?e._switchToTextParsing(t,CW.RAWTEXT):(e._insertElement(t,q.HTML),e.insertionMode=Q.IN_HEAD_NO_SCRIPT);break;case Y.NOFRAMES:case Y.STYLE:e._switchToTextParsing(t,CW.RAWTEXT);break;case Y.SCRIPT:e._switchToTextParsing(t,CW.SCRIPT_DATA);break;case Y.TEMPLATE:e._insertTemplate(t),e.activeFormattingElements.insertMarker(),e.framesetOk=!1,e.insertionMode=Q.IN_TEMPLATE,e.tmplInsertionModeStack.unshift(Q.IN_TEMPLATE);break;case Y.HEAD:e._err(t,K.misplacedStartTagForHeadElement);break;default:QG(e,t)}}function XG(e,t){switch(t.tagID){case Y.HEAD:e.openElements.pop(),e.insertionMode=Q.AFTER_HEAD;break;case Y.BODY:case Y.BR:case Y.HTML:QG(e,t);break;case Y.TEMPLATE:ZG(e,t);break;default:e._err(t,K.endTagWithoutMatchingOpenElement)}}function ZG(e,t){e.openElements.tmplCount>0?(e.openElements.generateImpliedEndTagsThoroughly(),e.openElements.currentTagId!==Y.TEMPLATE&&e._err(t,K.closingOfElementWithOpenChildElements),e.openElements.popUntilTagNamePopped(Y.TEMPLATE),e.activeFormattingElements.clearToLastMarker(),e.tmplInsertionModeStack.shift(),e._resetInsertionMode()):e._err(t,K.endTagWithoutMatchingOpenElement)}function QG(e,t){e.openElements.pop(),e.insertionMode=Q.AFTER_HEAD,e._processToken(t)}function $G(e,t){switch(t.tagID){case Y.HTML:BK(e,t);break;case Y.BASEFONT:case Y.BGSOUND:case Y.HEAD:case Y.LINK:case Y.META:case Y.NOFRAMES:case Y.STYLE:YG(e,t);break;case Y.NOSCRIPT:e._err(t,K.nestedNoscriptInHead);break;default:tK(e,t)}}function eK(e,t){switch(t.tagID){case Y.NOSCRIPT:e.openElements.pop(),e.insertionMode=Q.IN_HEAD;break;case Y.BR:tK(e,t);break;default:e._err(t,K.endTagWithoutMatchingOpenElement)}}function tK(e,t){let n=t.type===tW.EOF?K.openElementsLeftAfterEof:K.disallowedContentInNoscriptInHead;e._err(t,n),e.openElements.pop(),e.insertionMode=Q.IN_HEAD,e._processToken(t)}function nK(e,t){switch(t.tagID){case Y.HTML:BK(e,t);break;case Y.BODY:e._insertElement(t,q.HTML),e.framesetOk=!1,e.insertionMode=Q.IN_BODY;break;case Y.FRAMESET:e._insertElement(t,q.HTML),e.insertionMode=Q.IN_FRAMESET;break;case Y.BASE:case Y.BASEFONT:case Y.BGSOUND:case Y.LINK:case Y.META:case Y.NOFRAMES:case Y.SCRIPT:case Y.STYLE:case Y.TEMPLATE:case Y.TITLE:e._err(t,K.abandonedHeadElementChild),e.openElements.push(e.headElement,Y.HEAD),YG(e,t),e.openElements.remove(e.headElement);break;case Y.HEAD:e._err(t,K.misplacedStartTagForHeadElement);break;default:iK(e,t)}}function rK(e,t){switch(t.tagID){case Y.BODY:case Y.HTML:case Y.BR:iK(e,t);break;case Y.TEMPLATE:ZG(e,t);break;default:e._err(t,K.endTagWithoutMatchingOpenElement)}}function iK(e,t){e._insertFakeElement(J.BODY,Y.BODY),e.insertionMode=Q.IN_BODY,aK(e,t)}function aK(e,t){switch(t.type){case tW.CHARACTER:sK(e,t);break;case tW.WHITESPACE_CHARACTER:oK(e,t);break;case tW.COMMENT:LG(e,t);break;case tW.START_TAG:BK(e,t);break;case tW.END_TAG:QK(e,t);break;case tW.EOF:$K(e,t);break;default:}}function oK(e,t){e._reconstructActiveFormattingElements(),e._insertCharacters(t)}function sK(e,t){e._reconstructActiveFormattingElements(),e._insertCharacters(t),e.framesetOk=!1}function cK(e,t){e.openElements.tmplCount===0&&e.treeAdapter.adoptAttributes(e.openElements.items[0],t.attrs)}function lK(e,t){let n=e.openElements.tryPeekProperlyNestedBodyElement();n&&e.openElements.tmplCount===0&&(e.framesetOk=!1,e.treeAdapter.adoptAttributes(n,t.attrs))}function uK(e,t){let n=e.openElements.tryPeekProperlyNestedBodyElement();e.framesetOk&&n&&(e.treeAdapter.detachNode(n),e.openElements.popAllUpToHtmlElement(),e._insertElement(t,q.HTML),e.insertionMode=Q.IN_FRAMESET)}function dK(e,t){e.openElements.hasInButtonScope(Y.P)&&e._closePElement(),e._insertElement(t,q.HTML)}function fK(e,t){e.openElements.hasInButtonScope(Y.P)&&e._closePElement(),e.openElements.currentTagId!==void 0&&SW.has(e.openElements.currentTagId)&&e.openElements.pop(),e._insertElement(t,q.HTML)}function pK(e,t){e.openElements.hasInButtonScope(Y.P)&&e._closePElement(),e._insertElement(t,q.HTML),e.skipNextNewLine=!0,e.framesetOk=!1}function mK(e,t){let n=e.openElements.tmplCount>0;(!e.formElement||n)&&(e.openElements.hasInButtonScope(Y.P)&&e._closePElement(),e._insertElement(t,q.HTML),n||(e.formElement=e.openElements.current))}function hK(e,t){e.framesetOk=!1;let n=t.tagID;for(let t=e.openElements.stackTop;t>=0;t--){let r=e.openElements.tagIDs[t];if(n===Y.LI&&r===Y.LI||(n===Y.DD||n===Y.DT)&&(r===Y.DD||r===Y.DT)){e.openElements.generateImpliedEndTagsWithExclusion(r),e.openElements.popUntilTagNamePopped(r);break}if(r!==Y.ADDRESS&&r!==Y.DIV&&r!==Y.P&&e._isSpecialElement(e.openElements.items[t],r))break}e.openElements.hasInButtonScope(Y.P)&&e._closePElement(),e._insertElement(t,q.HTML)}function gK(e,t){e.openElements.hasInButtonScope(Y.P)&&e._closePElement(),e._insertElement(t,q.HTML),e.tokenizer.state=CW.PLAINTEXT}function _K(e,t){e.openElements.hasInScope(Y.BUTTON)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(Y.BUTTON)),e._reconstructActiveFormattingElements(),e._insertElement(t,q.HTML),e.framesetOk=!1}function vK(e,t){let n=e.activeFormattingElements.getElementEntryInScopeWithTagName(J.A);n&&(IG(e,t),e.openElements.remove(n.element),e.activeFormattingElements.removeEntry(n)),e._reconstructActiveFormattingElements(),e._insertElement(t,q.HTML),e.activeFormattingElements.pushElement(e.openElements.current,t)}function yK(e,t){e._reconstructActiveFormattingElements(),e._insertElement(t,q.HTML),e.activeFormattingElements.pushElement(e.openElements.current,t)}function bK(e,t){e._reconstructActiveFormattingElements(),e.openElements.hasInScope(Y.NOBR)&&(IG(e,t),e._reconstructActiveFormattingElements()),e._insertElement(t,q.HTML),e.activeFormattingElements.pushElement(e.openElements.current,t)}function xK(e,t){e._reconstructActiveFormattingElements(),e._insertElement(t,q.HTML),e.activeFormattingElements.insertMarker(),e.framesetOk=!1}function SK(e,t){e.treeAdapter.getDocumentMode(e.document)!==vW.QUIRKS&&e.openElements.hasInButtonScope(Y.P)&&e._closePElement(),e._insertElement(t,q.HTML),e.framesetOk=!1,e.insertionMode=Q.IN_TABLE}function CK(e,t){e._reconstructActiveFormattingElements(),e._appendElement(t,q.HTML),e.framesetOk=!1,t.ackSelfClosing=!0}function wK(e){let t=nW(e,_W.TYPE);return t!=null&&t.toLowerCase()===CG}function TK(e,t){e._reconstructActiveFormattingElements(),e._appendElement(t,q.HTML),wK(t)||(e.framesetOk=!1),t.ackSelfClosing=!0}function EK(e,t){e._appendElement(t,q.HTML),t.ackSelfClosing=!0}function DK(e,t){e.openElements.hasInButtonScope(Y.P)&&e._closePElement(),e._appendElement(t,q.HTML),e.framesetOk=!1,t.ackSelfClosing=!0}function OK(e,t){t.tagName=J.IMG,t.tagID=Y.IMG,CK(e,t)}function kK(e,t){e._insertElement(t,q.HTML),e.skipNextNewLine=!0,e.tokenizer.state=CW.RCDATA,e.originalInsertionMode=e.insertionMode,e.framesetOk=!1,e.insertionMode=Q.TEXT}function AK(e,t){e.openElements.hasInButtonScope(Y.P)&&e._closePElement(),e._reconstructActiveFormattingElements(),e.framesetOk=!1,e._switchToTextParsing(t,CW.RAWTEXT)}function jK(e,t){e.framesetOk=!1,e._switchToTextParsing(t,CW.RAWTEXT)}function MK(e,t){e._switchToTextParsing(t,CW.RAWTEXT)}function NK(e,t){e._reconstructActiveFormattingElements(),e._insertElement(t,q.HTML),e.framesetOk=!1,e.insertionMode=e.insertionMode===Q.IN_TABLE||e.insertionMode===Q.IN_CAPTION||e.insertionMode===Q.IN_TABLE_BODY||e.insertionMode===Q.IN_ROW||e.insertionMode===Q.IN_CELL?Q.IN_SELECT_IN_TABLE:Q.IN_SELECT}function PK(e,t){e.openElements.currentTagId===Y.OPTION&&e.openElements.pop(),e._reconstructActiveFormattingElements(),e._insertElement(t,q.HTML)}function FK(e,t){e.openElements.hasInScope(Y.RUBY)&&e.openElements.generateImpliedEndTags(),e._insertElement(t,q.HTML)}function IK(e,t){e.openElements.hasInScope(Y.RUBY)&&e.openElements.generateImpliedEndTagsWithExclusion(Y.RTC),e._insertElement(t,q.HTML)}function LK(e,t){e._reconstructActiveFormattingElements(),gG(t),vG(t),t.selfClosing?e._appendElement(t,q.MATHML):e._insertElement(t,q.MATHML),t.ackSelfClosing=!0}function RK(e,t){e._reconstructActiveFormattingElements(),_G(t),vG(t),t.selfClosing?e._appendElement(t,q.SVG):e._insertElement(t,q.SVG),t.ackSelfClosing=!0}function zK(e,t){e._reconstructActiveFormattingElements(),e._insertElement(t,q.HTML)}function BK(e,t){switch(t.tagID){case Y.I:case Y.S:case Y.B:case Y.U:case Y.EM:case Y.TT:case Y.BIG:case Y.CODE:case Y.FONT:case Y.SMALL:case Y.STRIKE:case Y.STRONG:yK(e,t);break;case Y.A:vK(e,t);break;case Y.H1:case Y.H2:case Y.H3:case Y.H4:case Y.H5:case Y.H6:fK(e,t);break;case Y.P:case Y.DL:case Y.OL:case Y.UL:case Y.DIV:case Y.DIR:case Y.NAV:case Y.MAIN:case Y.MENU:case Y.ASIDE:case Y.CENTER:case Y.FIGURE:case Y.FOOTER:case Y.HEADER:case Y.HGROUP:case Y.DIALOG:case Y.DETAILS:case Y.ADDRESS:case Y.ARTICLE:case Y.SEARCH:case Y.SECTION:case Y.SUMMARY:case Y.FIELDSET:case Y.BLOCKQUOTE:case Y.FIGCAPTION:dK(e,t);break;case Y.LI:case Y.DD:case Y.DT:hK(e,t);break;case Y.BR:case Y.IMG:case Y.WBR:case Y.AREA:case Y.EMBED:case Y.KEYGEN:CK(e,t);break;case Y.HR:DK(e,t);break;case Y.RB:case Y.RTC:FK(e,t);break;case Y.RT:case Y.RP:IK(e,t);break;case Y.PRE:case Y.LISTING:pK(e,t);break;case Y.XMP:AK(e,t);break;case Y.SVG:RK(e,t);break;case Y.HTML:cK(e,t);break;case Y.BASE:case Y.LINK:case Y.META:case Y.STYLE:case Y.TITLE:case Y.SCRIPT:case Y.BGSOUND:case Y.BASEFONT:case Y.TEMPLATE:YG(e,t);break;case Y.BODY:lK(e,t);break;case Y.FORM:mK(e,t);break;case Y.NOBR:bK(e,t);break;case Y.MATH:LK(e,t);break;case Y.TABLE:SK(e,t);break;case Y.INPUT:TK(e,t);break;case Y.PARAM:case Y.TRACK:case Y.SOURCE:EK(e,t);break;case Y.IMAGE:OK(e,t);break;case Y.BUTTON:_K(e,t);break;case Y.APPLET:case Y.OBJECT:case Y.MARQUEE:xK(e,t);break;case Y.IFRAME:jK(e,t);break;case Y.SELECT:NK(e,t);break;case Y.OPTION:case Y.OPTGROUP:PK(e,t);break;case Y.NOEMBED:case Y.NOFRAMES:MK(e,t);break;case Y.FRAMESET:uK(e,t);break;case Y.TEXTAREA:kK(e,t);break;case Y.NOSCRIPT:e.options.scriptingEnabled?MK(e,t):zK(e,t);break;case Y.PLAINTEXT:gK(e,t);break;case Y.COL:case Y.TH:case Y.TD:case Y.TR:case Y.HEAD:case Y.FRAME:case Y.TBODY:case Y.TFOOT:case Y.THEAD:case Y.CAPTION:case Y.COLGROUP:break;default:zK(e,t)}}function VK(e,t){if(e.openElements.hasInScope(Y.BODY)&&(e.insertionMode=Q.AFTER_BODY,e.options.sourceCodeLocationInfo)){let n=e.openElements.tryPeekProperlyNestedBodyElement();n&&e._setEndLocation(n,t)}}function HK(e,t){e.openElements.hasInScope(Y.BODY)&&(e.insertionMode=Q.AFTER_BODY,Lq(e,t))}function UK(e,t){let n=t.tagID;e.openElements.hasInScope(n)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(n))}function WK(e){let t=e.openElements.tmplCount>0,{formElement:n}=e;t||(e.formElement=null),(n||t)&&e.openElements.hasInScope(Y.FORM)&&(e.openElements.generateImpliedEndTags(),t?e.openElements.popUntilTagNamePopped(Y.FORM):n&&e.openElements.remove(n))}function GK(e){e.openElements.hasInButtonScope(Y.P)||e._insertFakeElement(J.P,Y.P),e._closePElement()}function KK(e){e.openElements.hasInListItemScope(Y.LI)&&(e.openElements.generateImpliedEndTagsWithExclusion(Y.LI),e.openElements.popUntilTagNamePopped(Y.LI))}function qK(e,t){let n=t.tagID;e.openElements.hasInScope(n)&&(e.openElements.generateImpliedEndTagsWithExclusion(n),e.openElements.popUntilTagNamePopped(n))}function JK(e){e.openElements.hasNumberedHeaderInScope()&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilNumberedHeaderPopped())}function YK(e,t){let n=t.tagID;e.openElements.hasInScope(n)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(n),e.activeFormattingElements.clearToLastMarker())}function XK(e){e._reconstructActiveFormattingElements(),e._insertFakeElement(J.BR,Y.BR),e.openElements.pop(),e.framesetOk=!1}function ZK(e,t){let n=t.tagName,r=t.tagID;for(let t=e.openElements.stackTop;t>0;t--){let i=e.openElements.items[t],a=e.openElements.tagIDs[t];if(r===a&&(r!==Y.UNKNOWN||e.treeAdapter.getTagName(i)===n)){e.openElements.generateImpliedEndTagsWithExclusion(r),e.openElements.stackTop>=t&&e.openElements.shortenToLength(t);break}if(e._isSpecialElement(i,a))break}}function QK(e,t){switch(t.tagID){case Y.A:case Y.B:case Y.I:case Y.S:case Y.U:case Y.EM:case Y.TT:case Y.BIG:case Y.CODE:case Y.FONT:case Y.NOBR:case Y.SMALL:case Y.STRIKE:case Y.STRONG:IG(e,t);break;case Y.P:GK(e);break;case Y.DL:case Y.UL:case Y.OL:case Y.DIR:case Y.DIV:case Y.NAV:case Y.PRE:case Y.MAIN:case Y.MENU:case Y.ASIDE:case Y.BUTTON:case Y.CENTER:case Y.FIGURE:case Y.FOOTER:case Y.HEADER:case Y.HGROUP:case Y.DIALOG:case Y.ADDRESS:case Y.ARTICLE:case Y.DETAILS:case Y.SEARCH:case Y.SECTION:case Y.SUMMARY:case Y.LISTING:case Y.FIELDSET:case Y.BLOCKQUOTE:case Y.FIGCAPTION:UK(e,t);break;case Y.LI:KK(e);break;case Y.DD:case Y.DT:qK(e,t);break;case Y.H1:case Y.H2:case Y.H3:case Y.H4:case Y.H5:case Y.H6:JK(e);break;case Y.BR:XK(e);break;case Y.BODY:VK(e,t);break;case Y.HTML:HK(e,t);break;case Y.FORM:WK(e);break;case Y.APPLET:case Y.OBJECT:case Y.MARQUEE:YK(e,t);break;case Y.TEMPLATE:ZG(e,t);break;default:ZK(e,t)}}function $K(e,t){e.tmplInsertionModeStack.length>0?Fq(e,t):BG(e,t)}function eq(e,t){var n;t.tagID===Y.SCRIPT&&((n=e.scriptHandler)==null||n.call(e,e.openElements.current)),e.openElements.pop(),e.insertionMode=e.originalInsertionMode}function tq(e,t){e._err(t,K.eofInElementThatCanContainOnlyText),e.openElements.pop(),e.insertionMode=e.originalInsertionMode,e.onEof(t)}function nq(e,t){if(e.openElements.currentTagId!==void 0&&DG.has(e.openElements.currentTagId))switch(e.pendingCharacterTokens.length=0,e.hasNonWhitespacePendingCharacterToken=!1,e.originalInsertionMode=e.insertionMode,e.insertionMode=Q.IN_TABLE_TEXT,t.type){case tW.CHARACTER:hq(e,t);break;case tW.WHITESPACE_CHARACTER:mq(e,t);break}else pq(e,t)}function rq(e,t){e.openElements.clearBackToTableContext(),e.activeFormattingElements.insertMarker(),e._insertElement(t,q.HTML),e.insertionMode=Q.IN_CAPTION}function iq(e,t){e.openElements.clearBackToTableContext(),e._insertElement(t,q.HTML),e.insertionMode=Q.IN_COLUMN_GROUP}function aq(e,t){e.openElements.clearBackToTableContext(),e._insertFakeElement(J.COLGROUP,Y.COLGROUP),e.insertionMode=Q.IN_COLUMN_GROUP,bq(e,t)}function oq(e,t){e.openElements.clearBackToTableContext(),e._insertElement(t,q.HTML),e.insertionMode=Q.IN_TABLE_BODY}function sq(e,t){e.openElements.clearBackToTableContext(),e._insertFakeElement(J.TBODY,Y.TBODY),e.insertionMode=Q.IN_TABLE_BODY,Cq(e,t)}function cq(e,t){e.openElements.hasInTableScope(Y.TABLE)&&(e.openElements.popUntilTagNamePopped(Y.TABLE),e._resetInsertionMode(),e._processStartTag(t))}function lq(e,t){wK(t)?e._appendElement(t,q.HTML):pq(e,t),t.ackSelfClosing=!0}function uq(e,t){!e.formElement&&e.openElements.tmplCount===0&&(e._insertElement(t,q.HTML),e.formElement=e.openElements.current,e.openElements.pop())}function dq(e,t){switch(t.tagID){case Y.TD:case Y.TH:case Y.TR:sq(e,t);break;case Y.STYLE:case Y.SCRIPT:case Y.TEMPLATE:YG(e,t);break;case Y.COL:aq(e,t);break;case Y.FORM:uq(e,t);break;case Y.TABLE:cq(e,t);break;case Y.TBODY:case Y.TFOOT:case Y.THEAD:oq(e,t);break;case Y.INPUT:lq(e,t);break;case Y.CAPTION:rq(e,t);break;case Y.COLGROUP:iq(e,t);break;default:pq(e,t)}}function fq(e,t){switch(t.tagID){case Y.TABLE:e.openElements.hasInTableScope(Y.TABLE)&&(e.openElements.popUntilTagNamePopped(Y.TABLE),e._resetInsertionMode());break;case Y.TEMPLATE:ZG(e,t);break;case Y.BODY:case Y.CAPTION:case Y.COL:case Y.COLGROUP:case Y.HTML:case Y.TBODY:case Y.TD:case Y.TFOOT:case Y.TH:case Y.THEAD:case Y.TR:break;default:pq(e,t)}}function pq(e,t){let n=e.fosterParentingEnabled;e.fosterParentingEnabled=!0,aK(e,t),e.fosterParentingEnabled=n}function mq(e,t){e.pendingCharacterTokens.push(t)}function hq(e,t){e.pendingCharacterTokens.push(t),e.hasNonWhitespacePendingCharacterToken=!0}function gq(e,t){let n=0;if(e.hasNonWhitespacePendingCharacterToken)for(;n<e.pendingCharacterTokens.length;n++)pq(e,e.pendingCharacterTokens[n]);else for(;n<e.pendingCharacterTokens.length;n++)e._insertCharacters(e.pendingCharacterTokens[n]);e.insertionMode=e.originalInsertionMode,e._processToken(t)}var _q=new Set([Y.CAPTION,Y.COL,Y.COLGROUP,Y.TBODY,Y.TD,Y.TFOOT,Y.TH,Y.THEAD,Y.TR]);function vq(e,t){let n=t.tagID;_q.has(n)?e.openElements.hasInTableScope(Y.CAPTION)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(Y.CAPTION),e.activeFormattingElements.clearToLastMarker(),e.insertionMode=Q.IN_TABLE,dq(e,t)):BK(e,t)}function yq(e,t){let n=t.tagID;switch(n){case Y.CAPTION:case Y.TABLE:e.openElements.hasInTableScope(Y.CAPTION)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(Y.CAPTION),e.activeFormattingElements.clearToLastMarker(),e.insertionMode=Q.IN_TABLE,n===Y.TABLE&&fq(e,t));break;case Y.BODY:case Y.COL:case Y.COLGROUP:case Y.HTML:case Y.TBODY:case Y.TD:case Y.TFOOT:case Y.TH:case Y.THEAD:case Y.TR:break;default:QK(e,t)}}function bq(e,t){switch(t.tagID){case Y.HTML:BK(e,t);break;case Y.COL:e._appendElement(t,q.HTML),t.ackSelfClosing=!0;break;case Y.TEMPLATE:YG(e,t);break;default:Sq(e,t)}}function xq(e,t){switch(t.tagID){case Y.COLGROUP:e.openElements.currentTagId===Y.COLGROUP&&(e.openElements.pop(),e.insertionMode=Q.IN_TABLE);break;case Y.TEMPLATE:ZG(e,t);break;case Y.COL:break;default:Sq(e,t)}}function Sq(e,t){e.openElements.currentTagId===Y.COLGROUP&&(e.openElements.pop(),e.insertionMode=Q.IN_TABLE,e._processToken(t))}function Cq(e,t){switch(t.tagID){case Y.TR:e.openElements.clearBackToTableBodyContext(),e._insertElement(t,q.HTML),e.insertionMode=Q.IN_ROW;break;case Y.TH:case Y.TD:e.openElements.clearBackToTableBodyContext(),e._insertFakeElement(J.TR,Y.TR),e.insertionMode=Q.IN_ROW,Tq(e,t);break;case Y.CAPTION:case Y.COL:case Y.COLGROUP:case Y.TBODY:case Y.TFOOT:case Y.THEAD:e.openElements.hasTableBodyContextInTableScope()&&(e.openElements.clearBackToTableBodyContext(),e.openElements.pop(),e.insertionMode=Q.IN_TABLE,dq(e,t));break;default:dq(e,t)}}function wq(e,t){let n=t.tagID;switch(t.tagID){case Y.TBODY:case Y.TFOOT:case Y.THEAD:e.openElements.hasInTableScope(n)&&(e.openElements.clearBackToTableBodyContext(),e.openElements.pop(),e.insertionMode=Q.IN_TABLE);break;case Y.TABLE:e.openElements.hasTableBodyContextInTableScope()&&(e.openElements.clearBackToTableBodyContext(),e.openElements.pop(),e.insertionMode=Q.IN_TABLE,fq(e,t));break;case Y.BODY:case Y.CAPTION:case Y.COL:case Y.COLGROUP:case Y.HTML:case Y.TD:case Y.TH:case Y.TR:break;default:fq(e,t)}}function Tq(e,t){switch(t.tagID){case Y.TH:case Y.TD:e.openElements.clearBackToTableRowContext(),e._insertElement(t,q.HTML),e.insertionMode=Q.IN_CELL,e.activeFormattingElements.insertMarker();break;case Y.CAPTION:case Y.COL:case Y.COLGROUP:case Y.TBODY:case Y.TFOOT:case Y.THEAD:case Y.TR:e.openElements.hasInTableScope(Y.TR)&&(e.openElements.clearBackToTableRowContext(),e.openElements.pop(),e.insertionMode=Q.IN_TABLE_BODY,Cq(e,t));break;default:dq(e,t)}}function Eq(e,t){switch(t.tagID){case Y.TR:e.openElements.hasInTableScope(Y.TR)&&(e.openElements.clearBackToTableRowContext(),e.openElements.pop(),e.insertionMode=Q.IN_TABLE_BODY);break;case Y.TABLE:e.openElements.hasInTableScope(Y.TR)&&(e.openElements.clearBackToTableRowContext(),e.openElements.pop(),e.insertionMode=Q.IN_TABLE_BODY,wq(e,t));break;case Y.TBODY:case Y.TFOOT:case Y.THEAD:(e.openElements.hasInTableScope(t.tagID)||e.openElements.hasInTableScope(Y.TR))&&(e.openElements.clearBackToTableRowContext(),e.openElements.pop(),e.insertionMode=Q.IN_TABLE_BODY,wq(e,t));break;case Y.BODY:case Y.CAPTION:case Y.COL:case Y.COLGROUP:case Y.HTML:case Y.TD:case Y.TH:break;default:fq(e,t)}}function Dq(e,t){let n=t.tagID;_q.has(n)?(e.openElements.hasInTableScope(Y.TD)||e.openElements.hasInTableScope(Y.TH))&&(e._closeTableCell(),Tq(e,t)):BK(e,t)}function Oq(e,t){let n=t.tagID;switch(n){case Y.TD:case Y.TH:e.openElements.hasInTableScope(n)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(n),e.activeFormattingElements.clearToLastMarker(),e.insertionMode=Q.IN_ROW);break;case Y.TABLE:case Y.TBODY:case Y.TFOOT:case Y.THEAD:case Y.TR:e.openElements.hasInTableScope(n)&&(e._closeTableCell(),Eq(e,t));break;case Y.BODY:case Y.CAPTION:case Y.COL:case Y.COLGROUP:case Y.HTML:break;default:QK(e,t)}}function kq(e,t){switch(t.tagID){case Y.HTML:BK(e,t);break;case Y.OPTION:e.openElements.currentTagId===Y.OPTION&&e.openElements.pop(),e._insertElement(t,q.HTML);break;case Y.OPTGROUP:e.openElements.currentTagId===Y.OPTION&&e.openElements.pop(),e.openElements.currentTagId===Y.OPTGROUP&&e.openElements.pop(),e._insertElement(t,q.HTML);break;case Y.HR:e.openElements.currentTagId===Y.OPTION&&e.openElements.pop(),e.openElements.currentTagId===Y.OPTGROUP&&e.openElements.pop(),e._appendElement(t,q.HTML),t.ackSelfClosing=!0;break;case Y.INPUT:case Y.KEYGEN:case Y.TEXTAREA:case Y.SELECT:e.openElements.hasInSelectScope(Y.SELECT)&&(e.openElements.popUntilTagNamePopped(Y.SELECT),e._resetInsertionMode(),t.tagID!==Y.SELECT&&e._processStartTag(t));break;case Y.SCRIPT:case Y.TEMPLATE:YG(e,t);break;default:}}function Aq(e,t){switch(t.tagID){case Y.OPTGROUP:e.openElements.stackTop>0&&e.openElements.currentTagId===Y.OPTION&&e.openElements.tagIDs[e.openElements.stackTop-1]===Y.OPTGROUP&&e.openElements.pop(),e.openElements.currentTagId===Y.OPTGROUP&&e.openElements.pop();break;case Y.OPTION:e.openElements.currentTagId===Y.OPTION&&e.openElements.pop();break;case Y.SELECT:e.openElements.hasInSelectScope(Y.SELECT)&&(e.openElements.popUntilTagNamePopped(Y.SELECT),e._resetInsertionMode());break;case Y.TEMPLATE:ZG(e,t);break;default:}}function jq(e,t){let n=t.tagID;n===Y.CAPTION||n===Y.TABLE||n===Y.TBODY||n===Y.TFOOT||n===Y.THEAD||n===Y.TR||n===Y.TD||n===Y.TH?(e.openElements.popUntilTagNamePopped(Y.SELECT),e._resetInsertionMode(),e._processStartTag(t)):kq(e,t)}function Mq(e,t){let n=t.tagID;n===Y.CAPTION||n===Y.TABLE||n===Y.TBODY||n===Y.TFOOT||n===Y.THEAD||n===Y.TR||n===Y.TD||n===Y.TH?e.openElements.hasInTableScope(n)&&(e.openElements.popUntilTagNamePopped(Y.SELECT),e._resetInsertionMode(),e.onEndTag(t)):Aq(e,t)}function Nq(e,t){switch(t.tagID){case Y.BASE:case Y.BASEFONT:case Y.BGSOUND:case Y.LINK:case Y.META:case Y.NOFRAMES:case Y.SCRIPT:case Y.STYLE:case Y.TEMPLATE:case Y.TITLE:YG(e,t);break;case Y.CAPTION:case Y.COLGROUP:case Y.TBODY:case Y.TFOOT:case Y.THEAD:e.tmplInsertionModeStack[0]=Q.IN_TABLE,e.insertionMode=Q.IN_TABLE,dq(e,t);break;case Y.COL:e.tmplInsertionModeStack[0]=Q.IN_COLUMN_GROUP,e.insertionMode=Q.IN_COLUMN_GROUP,bq(e,t);break;case Y.TR:e.tmplInsertionModeStack[0]=Q.IN_TABLE_BODY,e.insertionMode=Q.IN_TABLE_BODY,Cq(e,t);break;case Y.TD:case Y.TH:e.tmplInsertionModeStack[0]=Q.IN_ROW,e.insertionMode=Q.IN_ROW,Tq(e,t);break;default:e.tmplInsertionModeStack[0]=Q.IN_BODY,e.insertionMode=Q.IN_BODY,BK(e,t)}}function Pq(e,t){t.tagID===Y.TEMPLATE&&ZG(e,t)}function Fq(e,t){e.openElements.tmplCount>0?(e.openElements.popUntilTagNamePopped(Y.TEMPLATE),e.activeFormattingElements.clearToLastMarker(),e.tmplInsertionModeStack.shift(),e._resetInsertionMode(),e.onEof(t)):BG(e,t)}function Iq(e,t){t.tagID===Y.HTML?BK(e,t):Rq(e,t)}function Lq(e,t){if(t.tagID===Y.HTML){if(e.fragmentContext||(e.insertionMode=Q.AFTER_AFTER_BODY),e.options.sourceCodeLocationInfo&&e.openElements.tagIDs[0]===Y.HTML){e._setEndLocation(e.openElements.items[0],t);let n=e.openElements.items[1];n&&!e.treeAdapter.getNodeSourceCodeLocation(n)?.endTag&&e._setEndLocation(n,t)}}else Rq(e,t)}function Rq(e,t){e.insertionMode=Q.IN_BODY,aK(e,t)}function zq(e,t){switch(t.tagID){case Y.HTML:BK(e,t);break;case Y.FRAMESET:e._insertElement(t,q.HTML);break;case Y.FRAME:e._appendElement(t,q.HTML),t.ackSelfClosing=!0;break;case Y.NOFRAMES:YG(e,t);break;default:}}function Bq(e,t){t.tagID===Y.FRAMESET&&!e.openElements.isRootHtmlElementCurrent()&&(e.openElements.pop(),!e.fragmentContext&&e.openElements.currentTagId!==Y.FRAMESET&&(e.insertionMode=Q.AFTER_FRAMESET))}function Vq(e,t){switch(t.tagID){case Y.HTML:BK(e,t);break;case Y.NOFRAMES:YG(e,t);break;default:}}function Hq(e,t){t.tagID===Y.HTML&&(e.insertionMode=Q.AFTER_AFTER_FRAMESET)}function Uq(e,t){t.tagID===Y.HTML?BK(e,t):Wq(e,t)}function Wq(e,t){e.insertionMode=Q.IN_BODY,aK(e,t)}function Gq(e,t){switch(t.tagID){case Y.HTML:BK(e,t);break;case Y.NOFRAMES:YG(e,t);break;default:}}function Kq(e,t){t.chars=`�`,e._insertCharacters(t)}function qq(e,t){e._insertCharacters(t),e.framesetOk=!1}function Jq(e){for(;e.treeAdapter.getNamespaceURI(e.openElements.current)!==q.HTML&&e.openElements.currentTagId!==void 0&&!e._isIntegrationPoint(e.openElements.currentTagId,e.openElements.current);)e.openElements.pop()}function Yq(e,t){if(hG(t))Jq(e),e._startTagOutsideForeignContent(t);else{let n=e._getAdjustedCurrentElement(),r=e.treeAdapter.getNamespaceURI(n);r===q.MATHML?gG(t):r===q.SVG&&(yG(t),_G(t)),vG(t),t.selfClosing?e._appendElement(t,r):e._insertElement(t,r),t.ackSelfClosing=!0}}function Xq(e,t){if(t.tagID===Y.P||t.tagID===Y.BR){Jq(e),e._endTagOutsideForeignContent(t);return}for(let n=e.openElements.stackTop;n>0;n--){let r=e.openElements.items[n];if(e.treeAdapter.getNamespaceURI(r)===q.HTML){e._endTagOutsideForeignContent(t);break}let i=e.treeAdapter.getTagName(r);if(i.toLowerCase()===t.tagName){t.tagName=i,e.openElements.shortenToLength(n);break}}}new Set([J.AREA,J.BASE,J.BASEFONT,J.BGSOUND,J.BR,J.COL,J.EMBED,J.FRAME,J.HR,J.IMG,J.INPUT,J.KEYGEN,J.LINK,J.META,J.PARAM,J.SOURCE,J.TRACK,J.WBR]);function Zq(e,t){return kG.parse(e,t)}function Qq(e,t,n){typeof e==`string`&&(n=t,t=e,e=null);let r=kG.getFragmentParser(e,n);return r.tokenizer.write(t,!0),r.getFragment()}function $q(e){return!e||typeof e!=`object`?``:`position`in e||`type`in e?tJ(e.position):`start`in e||`end`in e?tJ(e):`line`in e||`column`in e?eJ(e):``}function eJ(e){return nJ(e&&e.line)+`:`+nJ(e&&e.column)}function tJ(e){return eJ(e&&e.start)+`-`+eJ(e&&e.end)}function nJ(e){return e&&typeof e==`number`?e:1}var rJ=class extends Error{constructor(e,t,n){super(),typeof t==`string`&&(n=t,t=void 0);let r=``,i={},a=!1;if(t&&(i=`line`in t&&`column`in t||`start`in t&&`end`in t?{place:t}:`type`in t?{ancestors:[t],place:t.position}:{...t}),typeof e==`string`?r=e:!i.cause&&e&&(a=!0,r=e.message,i.cause=e),!i.ruleId&&!i.source&&typeof n==`string`){let e=n.indexOf(`:`);e===-1?i.ruleId=n:(i.source=n.slice(0,e),i.ruleId=n.slice(e+1))}if(!i.place&&i.ancestors&&i.ancestors){let e=i.ancestors[i.ancestors.length-1];e&&(i.place=e.position)}let o=i.place&&`start`in i.place?i.place.start:i.place;this.ancestors=i.ancestors||void 0,this.cause=i.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=$q(i.place)||`1:1`,this.place=i.place||void 0,this.reason=this.message,this.ruleId=i.ruleId||void 0,this.source=i.source||void 0,this.stack=a&&i.cause&&typeof i.cause.stack==`string`?i.cause.stack:``,this.actual,this.expected,this.note,this.url}};rJ.prototype.file=``,rJ.prototype.name=``,rJ.prototype.reason=``,rJ.prototype.message=``,rJ.prototype.stack=``,rJ.prototype.column=void 0,rJ.prototype.line=void 0,rJ.prototype.ancestors=void 0,rJ.prototype.cause=void 0,rJ.prototype.fatal=void 0,rJ.prototype.place=void 0,rJ.prototype.ruleId=void 0,rJ.prototype.source=void 0;var iJ={basename:aJ,dirname:oJ,extname:sJ,join:cJ,sep:`/`};function aJ(e,t){if(t!==void 0&&typeof t!=`string`)throw TypeError(`"ext" argument must be a string`);dJ(e);let n=0,r=-1,i=e.length,a;if(t===void 0||t.length===0||t.length>e.length){for(;i--;)if(e.codePointAt(i)===47){if(a){n=i+1;break}}else r<0&&(a=!0,r=i+1);return r<0?``:e.slice(n,r)}if(t===e)return``;let o=-1,s=t.length-1;for(;i--;)if(e.codePointAt(i)===47){if(a){n=i+1;break}}else o<0&&(a=!0,o=i+1),s>-1&&(e.codePointAt(i)===t.codePointAt(s--)?s<0&&(r=i):(s=-1,r=o));return n===r?r=o:r<0&&(r=e.length),e.slice(n,r)}function oJ(e){if(dJ(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||=!0;return t<0?e.codePointAt(0)===47?`/`:`.`:t===1&&e.codePointAt(0)===47?`//`:e.slice(0,t)}function sJ(e){dJ(e);let t=e.length,n=-1,r=0,i=-1,a=0,o;for(;t--;){let s=e.codePointAt(t);if(s===47){if(o){r=t+1;break}continue}n<0&&(o=!0,n=t+1),s===46?i<0?i=t:a!==1&&(a=1):i>-1&&(a=-1)}return i<0||n<0||a===0||a===1&&i===n-1&&i===r+1?``:e.slice(i,n)}function cJ(...e){let t=-1,n;for(;++t<e.length;)dJ(e[t]),e[t]&&(n=n===void 0?e[t]:n+`/`+e[t]);return n===void 0?`.`:lJ(n)}function lJ(e){dJ(e);let t=e.codePointAt(0)===47,n=uJ(e,!t);return n.length===0&&!t&&(n=`.`),n.length>0&&e.codePointAt(e.length-1)===47&&(n+=`/`),t?`/`+n:n}function uJ(e,t){let n=``,r=0,i=-1,a=0,o=-1,s,c;for(;++o<=e.length;){if(o<e.length)s=e.codePointAt(o);else if(s===47)break;else s=47;if(s===47){if(!(i===o-1||a===1))if(i!==o-1&&a===2){if(n.length<2||r!==2||n.codePointAt(n.length-1)!==46||n.codePointAt(n.length-2)!==46){if(n.length>2){if(c=n.lastIndexOf(`/`),c!==n.length-1){c<0?(n=``,r=0):(n=n.slice(0,c),r=n.length-1-n.lastIndexOf(`/`)),i=o,a=0;continue}}else if(n.length>0){n=``,r=0,i=o,a=0;continue}}t&&(n=n.length>0?n+`/..`:`..`,r=2)}else n.length>0?n+=`/`+e.slice(i+1,o):n=e.slice(i+1,o),r=o-i-1;i=o,a=0}else s===46&&a>-1?a++:a=-1}return n}function dJ(e){if(typeof e!=`string`)throw TypeError(`Path must be a string. Received `+JSON.stringify(e))}var fJ={cwd:pJ};function pJ(){return`/`}function mJ(e){return!!(typeof e==`object`&&e&&`href`in e&&e.href&&`protocol`in e&&e.protocol&&e.auth===void 0)}function hJ(e){if(typeof e==`string`)e=new URL(e);else if(!mJ(e)){let t=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:`){let e=TypeError(`The URL must be of scheme file`);throw e.code=`ERR_INVALID_URL_SCHEME`,e}return gJ(e)}function gJ(e){if(e.hostname!==``){let e=TypeError(`File URL host must be "localhost" or empty on darwin`);throw e.code=`ERR_INVALID_FILE_URL_HOST`,e}let t=e.pathname,n=-1;for(;++n<t.length;)if(t.codePointAt(n)===37&&t.codePointAt(n+1)===50){let e=t.codePointAt(n+2);if(e===70||e===102){let e=TypeError(`File URL path must not include encoded / characters`);throw e.code=`ERR_INVALID_FILE_URL_PATH`,e}}return decodeURIComponent(t)}var _J=[`history`,`path`,`basename`,`stem`,`extname`,`dirname`],vJ=class{constructor(e){let t;t=e?mJ(e)?{path:e}:typeof e==`string`||SJ(e)?{value:e}:e:{},this.cwd=`cwd`in t?``:fJ.cwd(),this.data={},this.history=[],this.messages=[],this.value,this.map,this.result,this.stored;let n=-1;for(;++n<_J.length;){let e=_J[n];e in t&&t[e]!==void 0&&t[e]!==null&&(this[e]=e===`history`?[...t[e]]:t[e])}let r;for(r in t)_J.includes(r)||(this[r]=t[r])}get basename(){return typeof this.path==`string`?iJ.basename(this.path):void 0}set basename(e){bJ(e,`basename`),yJ(e,`basename`),this.path=iJ.join(this.dirname||``,e)}get dirname(){return typeof this.path==`string`?iJ.dirname(this.path):void 0}set dirname(e){xJ(this.basename,`dirname`),this.path=iJ.join(e||``,this.basename)}get extname(){return typeof this.path==`string`?iJ.extname(this.path):void 0}set extname(e){if(yJ(e,`extname`),xJ(this.dirname,`extname`),e){if(e.codePointAt(0)!==46)throw Error("`extname` must start with `.`");if(e.includes(`.`,1))throw Error("`extname` cannot contain multiple dots")}this.path=iJ.join(this.dirname,this.stem+(e||``))}get path(){return this.history[this.history.length-1]}set path(e){mJ(e)&&(e=hJ(e)),bJ(e,`path`),this.path!==e&&this.history.push(e)}get stem(){return typeof this.path==`string`?iJ.basename(this.path,this.extname):void 0}set stem(e){bJ(e,`stem`),yJ(e,`stem`),this.path=iJ.join(this.dirname||``,e+(this.extname||``))}fail(e,t,n){let r=this.message(e,t,n);throw r.fatal=!0,r}info(e,t,n){let r=this.message(e,t,n);return r.fatal=void 0,r}message(e,t,n){let r=new rJ(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 yJ(e,t){if(e&&e.includes(iJ.sep))throw Error("`"+t+"` cannot be a path: did not expect `"+iJ.sep+"`")}function bJ(e,t){if(!e)throw Error("`"+t+"` cannot be empty")}function xJ(e,t){if(!e)throw Error("Setting `"+t+"` requires `path` to be set too")}function SJ(e){return!!(e&&typeof e==`object`&&`byteLength`in e&&`byteOffset`in e)}var CJ={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"},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`}},wJ=`https://html.spec.whatwg.org/multipage/parsing.html#parse-error-`,TJ=/-[a-z]/g,EJ=/%c(?:([-+])(\d+))?/g,DJ=/%x/g,OJ={2:!0,1:!1,0:null},kJ={};function AJ(e,t){let n=t||kJ,r=n.onerror,i=e instanceof vJ?e:new vJ(e),a=n.fragment?Qq:Zq,o=String(i);return RU(a(o,{sourceCodeLocationInfo:!0,onParseError:n.onerror?s:null,scriptingEnabled:!1}),{file:i,space:n.space,verbose:n.verbose});function s(e){let t=e.code,a=jJ(t),s=n[a]??!0,c=typeof s==`number`?s:s?1:0;if(c){let n=CJ[a],o=new rJ(l(n.reason),{place:{start:{line:e.startLine,column:e.startCol,offset:e.startOffset},end:{line:e.endLine,column:e.endCol,offset:e.endOffset}},ruleId:t,source:`hast-util-from-html`});i.path&&(o.file=i.path,o.name=i.path+`:`+o.name),o.fatal=OJ[c],o.note=l(n.description),o.url=n.url===!1?void 0:wJ+t,r(o)}function l(t){return t.replace(EJ,n).replace(DJ,r);function n(t,n,r){let i=(r?Number.parseInt(r,10):0)*(n===`-`?-1:1);return NJ(o.charAt(e.startOffset+i))}function r(){return PJ(o.charCodeAt(e.startOffset))}}}}function jJ(e){return e.replace(TJ,MJ)}function MJ(e){return e.charAt(1).toUpperCase()}function NJ(e){return e==="`"?"` ` `":e}function PJ(e){return`0x`+e.toString(16).toUpperCase()}function FJ(e){let t=this,{emitParseErrors:n,...r}={...t.data(`settings`),...e};t.parser=i;function i(e,t){return AJ(e,{...r,onerror:n?function(e){t.path&&(e.name=t.path+`:`+e.name,e.file=t.path),t.messages.push(e)}:void 0})}}var IJ=[`area`,`base`,`basefont`,`bgsound`,`br`,`col`,`command`,`embed`,`frame`,`hr`,`image`,`img`,`input`,`keygen`,`link`,`meta`,`param`,`source`,`track`,`wbr`],LJ={}.hasOwnProperty;function RJ(e,t){let n=t||{};function r(t,...n){let i=r.invalid,a=r.handlers;if(t&&LJ.call(t,e)){let n=String(t[e]);i=LJ.call(a,n)?a[n]:r.unknown}if(i)return i.call(this,t,...n)}return r.handlers=n.handlers||{},r.invalid=n.invalid,r.unknown=n.unknown,r}var zJ=/["&'<>`]/g,BJ=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,VJ=/[\x01-\t\v\f\x0E-\x1F\x7F\x81\x8D\x8F\x90\x9D\xA0-\uFFFF]/g,HJ=/[|\\{}()[\]^$+*?.]/g,UJ=new WeakMap;function WJ(e,t){if(e=e.replace(t.subset?GJ(t.subset):zJ,r),t.subset||t.escapeOnly)return e;return e.replace(BJ,n).replace(VJ,r);function n(e,n,r){return t.format((e.charCodeAt(0)-55296)*1024+e.charCodeAt(1)-56320+65536,r.charCodeAt(n+2),t)}function r(e,n,r){return t.format(e.charCodeAt(0),r.charCodeAt(n+1),t)}}function GJ(e){let t=UJ.get(e);return t||(t=KJ(e),UJ.set(e,t)),t}function KJ(e){let t=[],n=-1;for(;++n<e.length;)t.push(e[n].replace(HJ,`\\$&`));return RegExp(`(?:`+t.join(`|`)+`)`,`g`)}var qJ=/[\dA-Fa-f]/;function JJ(e,t,n){let r=`&#x`+e.toString(16).toUpperCase();return n&&t&&!qJ.test(String.fromCharCode(t))?r:r+`;`}var YJ=/\d/;function XJ(e,t,n){let r=`&#`+String(e);return n&&t&&!YJ.test(String.fromCharCode(t))?r:r+`;`}var ZJ=`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.sup2.sup3.szlig.thorn.times.uacute.ucirc.ugrave.uml.uuml.yacute.yen.yuml`.split(`.`),QJ={nbsp:`\xA0`,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:`⊄`,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:`€`},$J=[`cent`,`copy`,`divide`,`gt`,`lt`,`not`,`para`,`times`],eY={}.hasOwnProperty,tY={},nY;for(nY in QJ)eY.call(QJ,nY)&&(tY[QJ[nY]]=nY);var rY=/[^\dA-Za-z]/;function iY(e,t,n,r){let i=String.fromCharCode(e);if(eY.call(tY,i)){let e=tY[i],a=`&`+e;return n&&ZJ.includes(e)&&!$J.includes(e)&&(!r||t&&t!==61&&rY.test(String.fromCharCode(t)))?a:a+`;`}return``}function aY(e,t,n){let r=JJ(e,t,n.omitOptionalSemicolons),i;if((n.useNamedReferences||n.useShortestReferences)&&(i=iY(e,t,n.omitOptionalSemicolons,n.attribute)),(n.useShortestReferences||!i)&&n.useShortestReferences){let i=XJ(e,t,n.omitOptionalSemicolons);i.length<r.length&&(r=i)}return i&&(!n.useShortestReferences||i.length<r.length)?i:r}function oY(e,t){return WJ(e,Object.assign({format:aY},t))}var sY=/^>|^->|<!--|-->|--!>|<!-$/g,cY=[`>`],lY=[`<`,`>`];function uY(e,t,n,r){return r.settings.bogusComments?`<?`+oY(e.value,Object.assign({},r.settings.characterReferences,{subset:cY}))+`>`:`<!--`+e.value.replace(sY,i)+`-->`;function i(e){return oY(e,Object.assign({},r.settings.characterReferences,{subset:lY}))}}function dY(e,t,n,r){return`<!`+(r.settings.upperDoctype?`DOCTYPE`:`doctype`)+(r.settings.tightDoctype?``:` `)+`html>`}function fY(e,t){let n=String(e);if(typeof t!=`string`)throw TypeError(`Expected character`);let r=0,i=n.indexOf(t);for(;i!==-1;)r++,i=n.indexOf(t,i+t.length);return r}var pY=/[ \t\n\f\r]/g;function mY(e){return typeof e==`object`?e.type===`text`?hY(e.value):!1:hY(e)}function hY(e){return e.replace(pY,``)===``}var gY=yY(1),_Y=yY(-1),vY=[];function yY(e){return t;function t(t,n,r){let i=t?t.children:vY,a=(n||0)+e,o=i[a];if(!r)for(;o&&mY(o);)a+=e,o=i[a];return o}}var bY={}.hasOwnProperty;function xY(e){return t;function t(t,n,r){return bY.call(e,t.tagName)&&e[t.tagName](t,n,r)}}var SY=xY({body:TY,caption:CY,colgroup:CY,dd:kY,dt:OY,head:CY,html:wY,li:DY,optgroup:jY,option:MY,p:EY,rp:AY,rt:AY,tbody:PY,td:LY,tfoot:FY,th:LY,thead:NY,tr:IY});function CY(e,t,n){let r=gY(n,t,!0);return!r||r.type!==`comment`&&!(r.type===`text`&&mY(r.value.charAt(0)))}function wY(e,t,n){let r=gY(n,t);return!r||r.type!==`comment`}function TY(e,t,n){let r=gY(n,t);return!r||r.type!==`comment`}function EY(e,t,n){let r=gY(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 DY(e,t,n){let r=gY(n,t);return!r||r.type===`element`&&r.tagName===`li`}function OY(e,t,n){let r=gY(n,t);return!!(r&&r.type===`element`&&(r.tagName===`dt`||r.tagName===`dd`))}function kY(e,t,n){let r=gY(n,t);return!r||r.type===`element`&&(r.tagName===`dt`||r.tagName===`dd`)}function AY(e,t,n){let r=gY(n,t);return!r||r.type===`element`&&(r.tagName===`rp`||r.tagName===`rt`)}function jY(e,t,n){let r=gY(n,t);return!r||r.type===`element`&&r.tagName===`optgroup`}function MY(e,t,n){let r=gY(n,t);return!r||r.type===`element`&&(r.tagName===`option`||r.tagName===`optgroup`)}function NY(e,t,n){let r=gY(n,t);return!!(r&&r.type===`element`&&(r.tagName===`tbody`||r.tagName===`tfoot`))}function PY(e,t,n){let r=gY(n,t);return!r||r.type===`element`&&(r.tagName===`tbody`||r.tagName===`tfoot`)}function FY(e,t,n){return!gY(n,t)}function IY(e,t,n){let r=gY(n,t);return!r||r.type===`element`&&r.tagName===`tr`}function LY(e,t,n){let r=gY(n,t);return!r||r.type===`element`&&(r.tagName===`td`||r.tagName===`th`)}var RY=xY({body:VY,colgroup:HY,head:BY,html:zY,tbody:UY});function zY(e){let t=gY(e,-1);return!t||t.type!==`comment`}function BY(e){let t=new Set;for(let n of e.children)if(n.type===`element`&&(n.tagName===`base`||n.tagName===`title`)){if(t.has(n.tagName))return!1;t.add(n.tagName)}let n=e.children[0];return!n||n.type===`element`}function VY(e){let t=gY(e,-1,!0);return!t||t.type!==`comment`&&!(t.type===`text`&&mY(t.value.charAt(0)))&&!(t.type===`element`&&(t.tagName===`meta`||t.tagName===`link`||t.tagName===`script`||t.tagName===`style`||t.tagName===`template`))}function HY(e,t,n){let r=_Y(n,t),i=gY(e,-1,!0);return n&&r&&r.type===`element`&&r.tagName===`colgroup`&&SY(r,n.children.indexOf(r),n)?!1:!!(i&&i.type===`element`&&i.tagName===`col`)}function UY(e,t,n){let r=_Y(n,t),i=gY(e,-1);return n&&r&&r.type===`element`&&(r.tagName===`thead`||r.tagName===`tbody`)&&SY(r,n.children.indexOf(r),n)?!1:!!(i&&i.type===`element`&&i.tagName===`tr`)}var WY={name:[[`
18
+ \f\r &/=>`.split(``),`
19
+ \f\r "&'/=>\``.split(``)],[`\0
20
+ \f\r "&'/<=>`.split(``),`\0
21
+ \f\r "&'/<=>\``.split(``)]],unquoted:[[`
22
+ \f\r &>`.split(``),`\0
23
+ \f\r "&'<=>\``.split(``)],[`\0
24
+ \f\r "&'<=>\``.split(``),`\0
25
+ \f\r "&'<=>\``.split(``)]],single:[[`&'`.split(``),`"&'\``.split(``)],[`\0&'`.split(``),`\0"&'\``.split(``)]],double:[[`"&`.split(``),`"&'\``.split(``)],[`\0"&`.split(``),`\0"&'\``.split(``)]]};function GY(e,t,n,r){let i=r.schema,a=i.space===`svg`?!1:r.settings.omitOptionalTags,o=i.space===`svg`?r.settings.closeEmptyElements:r.settings.voids.includes(e.tagName.toLowerCase()),s=[],c;i.space===`html`&&e.tagName===`svg`&&(r.schema=mU);let l=KY(r,e.properties),u=r.all(i.space===`html`&&e.tagName===`template`?e.content:e);return r.schema=i,u&&(o=!1),(l||!a||!RY(e,t,n))&&(s.push(`<`,e.tagName,l?` `+l:``),o&&(i.space===`svg`||r.settings.closeSelfClosing)&&(c=l.charAt(l.length-1),(!r.settings.tightSelfClosing||c===`/`||c&&c!==`"`&&c!==`'`)&&s.push(` `),s.push(`/`)),s.push(`>`)),s.push(u),!o&&(!a||!SY(e,t,n))&&s.push(`</`+e.tagName+`>`),s.join(``)}function KY(e,t){let n=[],r=-1,i;if(t){for(i in t)if(t[i]!==null&&t[i]!==void 0){let r=qY(e,i,t[i]);r&&n.push(r)}}for(;++r<n.length;){let t=e.settings.tightAttributes?n[r].charAt(n[r].length-1):void 0;r!==n.length-1&&t!==`"`&&t!==`'`&&(n[r]+=` `)}return n.join(``)}function qY(e,t,n){let r=uU(e.schema,t),i=e.settings.allowParseErrors&&e.schema.space===`html`?0:1,a=e.settings.allowDangerousCharacters?0:1,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``;let c=oY(r.attribute,Object.assign({},e.settings.characterReferences,{subset:WY.name[i][a]}));return n===!0||(n=Array.isArray(n)?(r.commaSeparated?gU:bU)(n,{padLeft:!e.settings.tightCommaSeparatedLists}):String(n),e.settings.collapseEmptyAttributes&&!n)?c:(e.settings.preferUnquoted&&(s=oY(n,Object.assign({},e.settings.characterReferences,{attribute:!0,subset:WY.unquoted[i][a]}))),s!==n&&(e.settings.quoteSmart&&fY(n,o)>fY(n,e.alternative)&&(o=e.alternative),s=o+oY(n,Object.assign({},e.settings.characterReferences,{subset:(o===`'`?WY.single:WY.double)[i][a],attribute:!0}))+o),c+(s&&`=`+s))}var JY=[`<`,`&`];function YY(e,t,n,r){return n&&n.type===`element`&&(n.tagName===`script`||n.tagName===`style`)?e.value:oY(e.value,Object.assign({},r.settings.characterReferences,{subset:JY}))}function XY(e,t,n,r){return r.settings.allowDangerousHtml?e.value:YY(e,t,n,r)}function ZY(e,t,n,r){return r.all(e)}var QY=RJ(`type`,{invalid:$Y,unknown:eX,handlers:{comment:uY,doctype:dY,element:GY,raw:XY,root:ZY,text:YY}});function $Y(e){throw Error("Expected node, not `"+e+"`")}function eX(e){let t=e;throw Error("Cannot compile unknown node `"+t.type+"`")}var tX={},nX={},rX=[];function iX(e,t){let n=t||tX,r=n.quote||`"`,i=r===`"`?`'`:`"`;if(r!==`"`&&r!==`'`)throw Error("Invalid quote `"+r+"`, expected `'` or `\"`");return{one:aX,all:oX,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||IJ,characterReferences:n.characterReferences||nX,closeSelfClosing:n.closeSelfClosing||!1,closeEmptyElements:n.closeEmptyElements||!1},schema:n.space===`svg`?mU:pU,quote:r,alternative:i}.one(Array.isArray(e)?{type:`root`,children:e}:e,void 0,void 0)}function aX(e,t,n){return QY(e,t,n,this)}function oX(e){let t=[],n=e&&e.children||rX,r=-1;for(;++r<n.length;)t[r]=this.one(n[r],r,e);return t.join(``)}function sX(e){let t=this,n={...t.data(`settings`),...e};t.compiler=r;function r(e){return iX(e,n)}}function cX(e){if(e)throw e}var lX=ZV(((e,t)=>{var n=Object.prototype.hasOwnProperty,r=Object.prototype.toString,i=Object.defineProperty,a=Object.getOwnPropertyDescriptor,o=function(e){return typeof Array.isArray==`function`?Array.isArray(e):r.call(e)===`[object Array]`},s=function(e){if(!e||r.call(e)!==`[object Object]`)return!1;var t=n.call(e,`constructor`),i=e.constructor&&e.constructor.prototype&&n.call(e.constructor.prototype,`isPrototypeOf`);if(e.constructor&&!t&&!i)return!1;for(var a in e);return a===void 0||n.call(e,a)},c=function(e,t){i&&t.name===`__proto__`?i(e,t.name,{enumerable:!0,configurable:!0,value:t.newValue,writable:!0}):e[t.name]=t.newValue},l=function(e,t){if(t===`__proto__`){if(!n.call(e,t))return;if(a)return a(e,t).value}return e[t]};t.exports=function e(){var t,n,r,i,a,u,d=arguments[0],f=1,p=arguments.length,m=!1;for(typeof d==`boolean`&&(m=d,d=arguments[1]||{},f=2),(d==null||typeof d!=`object`&&typeof d!=`function`)&&(d={});f<p;++f)if(t=arguments[f],t!=null)for(n in t)r=l(d,n),i=l(t,n),d!==i&&(m&&i&&(s(i)||(a=o(i)))?(a?(a=!1,u=r&&o(r)?r:[]):u=r&&s(r)?r:{},c(d,{name:n,newValue:e(m,u,i)})):i!==void 0&&c(d,{name:n,newValue:i}));return d}}));function uX(e){if(typeof e!=`object`||!e)return!1;let t=Object.getPrototypeOf(e);return(t===null||t===Object.prototype||Object.getPrototypeOf(t)===null)&&!(Symbol.toStringTag in e)&&!(Symbol.iterator in e)}function dX(){let e=[],t={run:n,use:r};return t;function n(...t){let n=-1,r=t.pop();if(typeof r!=`function`)throw TypeError(`Expected function as last argument, not `+r);i(null,...t);function i(a,...o){let s=e[++n],c=-1;if(a){r(a);return}for(;++c<t.length;)(o[c]===null||o[c]===void 0)&&(o[c]=t[c]);t=o,s?fX(s,i)(...o):r(null,...o)}}function r(n){if(typeof n!=`function`)throw TypeError("Expected `middelware` to be a function, not "+n);return e.push(n),t}}function fX(e,t){let n;return r;function r(...t){let r=e.length>t.length,o;r&&t.push(i);try{o=e.apply(this,t)}catch(e){let t=e;if(r&&n)throw t;return i(t)}r||(o&&o.then&&typeof o.then==`function`?o.then(a,i):o instanceof Error?i(o):a(o))}function i(e,...r){n||(n=!0,t(e,...r))}function a(e){i(null,e)}}var pX=(function(e){let t=this.constructor.prototype,n=t[e],r=function(){return n.apply(r,arguments)};return Object.setPrototypeOf(r,t),r}),mX=eH(lX(),1),hX={}.hasOwnProperty,gX=new class e extends pX{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=dX()}copy(){let t=new e,n=-1;for(;++n<this.attachers.length;){let e=this.attachers[n];t.use(...e)}return t.data((0,mX.default)(!0,{},this.namespace)),t}data(e,t){return typeof e==`string`?arguments.length===2?(yX(`data`,this.frozen),this.namespace[e]=t,this):hX.call(this.namespace,e)&&this.namespace[e]||void 0:e?(yX(`data`,this.frozen),this.namespace=e,this):this.namespace}freeze(){if(this.frozen)return this;let e=this;for(;++this.freezeIndex<this.attachers.length;){let[t,...n]=this.attachers[this.freezeIndex];if(n[0]===!1)continue;n[0]===!0&&(n[0]=void 0);let r=t.call(e,...n);typeof r==`function`&&this.transformers.use(r)}return this.frozen=!0,this.freezeIndex=1/0,this}parse(e){this.freeze();let t=SX(e),n=this.parser||this.Parser;return _X(`parse`,n),n(String(t),t)}process(e,t){let n=this;return this.freeze(),_X(`process`,this.parser||this.Parser),vX(`process`,this.compiler||this.Compiler),t?r(void 0,t):new Promise(r);function r(r,i){let a=SX(e),o=n.parse(a);n.run(o,a,function(e,t,r){if(e||!t||!r)return s(e);let i=t,a=n.stringify(i,r);wX(a)?r.value=a:r.result=a,s(e,r)});function s(e,n){e||!n?i(e):r?r(n):t(void 0,n)}}}processSync(e){let t=!1,n;return this.freeze(),_X(`processSync`,this.parser||this.Parser),vX(`processSync`,this.compiler||this.Compiler),this.process(e,r),xX(`processSync`,`process`,t),n;function r(e,r){t=!0,cX(e),n=r}}run(e,t,n){bX(e),this.freeze();let r=this.transformers;return!n&&typeof t==`function`&&(n=t,t=void 0),n?i(void 0,n):new Promise(i);function i(i,a){let o=SX(t);r.run(e,o,s);function s(t,r,o){let s=r||e;t?a(t):i?i(s):n(void 0,s,o)}}}runSync(e,t){let n=!1,r;return this.run(e,t,i),xX(`runSync`,`run`,n),r;function i(e,t){cX(e),r=t,n=!0}}stringify(e,t){this.freeze();let n=SX(t),r=this.compiler||this.Compiler;return vX(`stringify`,r),bX(e),r(e,n)}use(e,...t){let n=this.attachers,r=this.namespace;if(yX(`use`,this.frozen),e!=null)if(typeof e==`function`)s(e,t);else if(typeof e==`object`)Array.isArray(e)?o(e):a(e);else throw TypeError("Expected usable value, not `"+e+"`");return this;function i(e){if(typeof e==`function`)s(e,[]);else if(typeof e==`object`)if(Array.isArray(e)){let[t,...n]=e;s(t,n)}else a(e);else throw TypeError("Expected usable value, not `"+e+"`")}function a(e){if(!(`plugins`in e)&&!(`settings`in e))throw Error("Expected usable value but received an empty preset, which is probably a mistake: presets typically come with `plugins` and sometimes with `settings`, but this has neither");o(e.plugins),e.settings&&(r.settings=(0,mX.default)(!0,r.settings,e.settings))}function o(e){let t=-1;if(e!=null)if(Array.isArray(e))for(;++t<e.length;){let n=e[t];i(n)}else throw TypeError("Expected a list of plugins, not `"+e+"`")}function s(e,t){let r=-1,i=-1;for(;++r<n.length;)if(n[r][0]===e){i=r;break}if(i===-1)n.push([e,...t]);else if(t.length>0){let[r,...a]=t,o=n[i][1];uX(o)&&uX(r)&&(r=(0,mX.default)(!0,o,r)),n[i]=[e,r,...a]}}}}().freeze();function _X(e,t){if(typeof t!=`function`)throw TypeError("Cannot `"+e+"` without `parser`")}function vX(e,t){if(typeof t!=`function`)throw TypeError("Cannot `"+e+"` without `compiler`")}function yX(e,t){if(t)throw Error("Cannot call `"+e+"` on a frozen processor.\nCreate a new processor first, by calling it: use `processor()` instead of `processor`.")}function bX(e){if(!uX(e)||typeof e.type!=`string`)throw TypeError("Expected node, got `"+e+"`")}function xX(e,t,n){if(!n)throw Error("`"+e+"` finished async. Use `"+t+"` instead")}function SX(e){return CX(e)?e:new vJ(e)}function CX(e){return!!(e&&typeof e==`object`&&`message`in e&&`messages`in e)}function wX(e){return typeof e==`string`||TX(e)}function TX(e){return!!(e&&typeof e==`object`&&`byteLength`in e&&`byteOffset`in e)}function EX(e){let 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:n+` 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`},i={begin:t,relevance:0},a={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]},c=e.inherit(e.QUOTE_STRING_MODE,{illegal:null}),l={scope:`punctuation`,match:/,/,relevance:0},u=e.COMMENT(`;`,`$`,{relevance:0}),d={className:`literal`,begin:/\b(true|false|nil)\b/},f={begin:`\\[|(#::?`+t+`)?\\{`,end:`[\\]\\}]`,relevance:0},p={className:`symbol`,begin:`[:]{1,2}`+t},m={begin:`\\(`,end:`\\)`},h={endsWithParent:!0,relevance:0},g={keywords:r,className:`name`,begin:t,relevance:0,starts:h},_=[l,m,o,s,c,u,p,f,a,d,i];return m.contains=[{beginKeywords:n,keywords:{$pattern:t,keyword:n},end:`(\\[|#|\\d|"|:|\\{|\\)|\\(|$)`,contains:[{className:`title`,begin:t,relevance:0,excludeEnd:!0,endsParent:!0}].concat(_)},g,h],h.contains=_,f.contains=_,{name:`Clojure`,aliases:[`clj`,`edn`],illegal:/\S/,contains:[l,m,o,s,c,u,p,f,a,d]}}function DX(e){let 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/}]},i={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,i];let a=`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`.split(`.`),o=a.map(e=>`${e}?`);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`.split(`.`),built_in:a.concat(o).concat([`Never`,`Null`,`dynamic`,`print`,`document`,`querySelector`,`querySelectorAll`,`window`]),$pattern:/[A-Za-z][A-Za-z0-9_]*\??/},contains:[i,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 OX(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 kX(e){let t=e.regex,n=`[a-zA-Z_][a-zA-Z0-9_.]*(!|\\?)?`,r={$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`.split(`.`),literal:[`false`,`nil`,`true`]},i={className:`subst`,begin:/#\{/,end:/\}/,keywords:r},a={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},o={match:/\\[\s\S]/,scope:`char.escape`,relevance:0},s=`[/|([{<"']`,c=[{begin:/"/,end:/"/},{begin:/'/,end:/'/},{begin:/\//,end:/\//},{begin:/\|/,end:/\|/},{begin:/\(/,end:/\)/},{begin:/\[/,end:/\]/},{begin:/\{/,end:/\}/},{begin:/</,end:/>/}],l=e=>({scope:`char.escape`,begin:t.concat(/\\/,e),relevance:0}),u={className:`string`,begin:`~[a-z](?=`+s+`)`,contains:c.map(t=>e.inherit(t,{contains:[l(t.end),o,i]}))},d={className:`string`,begin:`~[A-Z](?=`+s+`)`,contains:c.map(t=>e.inherit(t,{contains:[l(t.end)]}))},f={className:`regex`,variants:[{begin:`~r(?=`+s+`)`,contains:c.map(n=>e.inherit(n,{end:t.concat(n.end,/[uismxfU]{0,7}/),contains:[l(n.end),o,i]}))},{begin:`~R(?=`+s+`)`,contains:c.map(n=>e.inherit(n,{end:t.concat(n.end,/[uismxfU]{0,7}/),contains:[l(n.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:/"/}]},m={className:`function`,beginKeywords:`def defp defmacro defmacrop`,end:/\B\b/,contains:[e.inherit(e.TITLE_MODE,{begin:n,endsParent:!0})]},h=e.inherit(m,{className:`class`,beginKeywords:`defimpl defmodule defprotocol defrecord`,end:/\bdo\b|$|;/}),g=[p,f,d,u,e.HASH_COMMENT_MODE,h,m,{begin:`::`},{className:`symbol`,begin:`:(?![\\s:])`,contains:[p,{begin:"[a-zA-Z_]\\w*[!?=]?|[-+~]@|<<|>>|=~|===?|<=>|[<>]=?|\\*\\*|[-/+%^&*~`|]|\\[\\]=?"}],relevance:0},{className:`symbol`,begin:n+`:(?!:)`,relevance:0},{className:`title.class`,begin:/(\b[A-Z][a-zA-Z0-9_]+)/,relevance:0},a,{className:`variable`,begin:`(\\$\\W)|((\\$|@@?)(\\w+))`}];return i.contains=g,{name:`Elixir`,aliases:[`ex`,`exs`],keywords:r,contains:g}}function AX(e){return new RegExp(e.replace(/[-/\\^$*+?.()|[\]{}]/g,`\\$&`),`m`)}function jX(e){return e?typeof e==`string`?e:e.source:null}function MX(e){return NX(`(?=`,e,`)`)}function NX(...e){return e.map(e=>jX(e)).join(``)}function PX(e){let t=e[e.length-1];return typeof t==`object`&&t.constructor===Object?(e.splice(e.length-1,1),t):{}}function FX(...e){return`(`+(PX(e).capture?``:`?:`)+e.map(e=>jX(e)).join(`|`)+`)`}function IX(e){let 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`.split(`.`),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`],i=[`true`,`false`,`null`,`Some`,`None`,`Ok`,`Error`,`infinity`,`infinityf`,`nan`,`nanf`],a=[`__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`.split(`.`),s={keyword:t,literal:i,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`.split(`.`),"variable.constant":a},c={variants:[e.COMMENT(/\(\*(?!\))/,/\*\)/,{contains:[`self`]}),e.C_LINE_COMMENT_MODE]},l=/[a-zA-Z_](\w|')*/,u={scope:`variable`,begin:/``/,end:/``/},d=/\B('|\^)/,f={scope:`symbol`,variants:[{match:NX(d,/``.*?``/)},{match:NX(d,e.UNDERSCORE_IDENT_RE)}],relevance:0},p=function({includeEqual:e}){let t;t=e?`!%&*+-/<=>@^|~?`:`!%&*+-/<>@^|~?`;let n=NX(`[`,...Array.from(t).map(AX),`]`),r=FX(n,/\./);return{scope:`operator`,match:FX(FX(NX(NX(r,MX(r)),r,`*`),NX(n,`+`)),/:\?>/,/:\?/,/:>/,/:=/,/::?/,/\$/),relevance:0}},m=p({includeEqual:!0}),h=p({includeEqual:!1}),g=function(t,n){return{begin:NX(t,MX(NX(/\s*/,FX(/\w/,/'/,/\^/,/#/,/``/,/\(/,/{\|/)))),beginScope:n,end:MX(FX(/\n/,/=/)),relevance:0,keywords:e.inherit(s,{type:o}),contains:[c,f,e.inherit(u,{scope:null}),h]}},_=g(/:/,`operator`),v=g(/\bof\b/,`keyword`),y={begin:[/(^|\s+)/,/type/,/\s+/,l],beginScope:{2:`keyword`,4:`title.class`},end:MX(/\(|=|$/),keywords:s,contains:[c,e.inherit(u,{scope:null}),f,{scope:`operator`,match:/<|>/},_]},b={scope:`computation-expression`,match:/\b[_a-z]\w*(?=\s*\{)/},ee={begin:[/^\s*/,NX(/#/,FX(...r)),/\b/],beginScope:{2:`meta`},end:MX(/\s|$/)},x={variants:[e.BINARY_NUMBER_MODE,e.C_NUMBER_MODE]},te={scope:`string`,begin:/"/,end:/"/,contains:[e.BACKSLASH_ESCAPE]},S={scope:`string`,begin:/@"/,end:/"/,contains:[{match:/""/},e.BACKSLASH_ESCAPE]},ne={scope:`string`,begin:/"""/,end:/"""/,relevance:2},re={scope:`subst`,begin:/\{/,end:/\}/,keywords:s},ie={scope:`string`,begin:/\$"/,end:/"/,contains:[{match:/\{\{/},{match:/\}\}/},e.BACKSLASH_ESCAPE,re]},ae={scope:`string`,begin:/(\$@|@\$)"/,end:/"/,contains:[{match:/\{\{/},{match:/\}\}/},{match:/""/},e.BACKSLASH_ESCAPE,re]},oe={scope:`string`,begin:/\$"""/,end:/"""/,contains:[{match:/\{\{/},{match:/\}\}/},re],relevance:2},C={scope:`string`,match:NX(/'/,FX(/[^\\']/,/\\(?:.|\d{3}|x[a-fA-F\d]{2}|u[a-fA-F\d]{4}|U[a-fA-F\d]{8})/),/'/)};re.contains=[ae,ie,S,te,C,n,c,u,_,b,ee,x,f,m];let se={variants:[oe,ae,ie,ne,S,te,C]};return{name:`F#`,aliases:[`fs`,`f#`],keywords:s,illegal:/\/\*/,classNameAliases:{"computation-expression":`keyword`},contains:[n,se,c,u,y,{scope:`meta`,begin:/\[</,end:/>\]/,relevance:2,contains:[u,ne,S,te,C,x]},v,_,b,ee,x,f,m]}}function LX(e){let t=`([0-9]_*)+`,n=`([0-9a-fA-F]_*)+`,r=`([!#$%&*+.\\/<=>?@\\\\^~-]|(?!([(),;\\[\\]\`|{}]|[_:"']))(\\p{S}|\\p{P}))`,i={variants:[e.COMMENT(`--+`,`$`),e.COMMENT(/\{-/,/-\}/,{contains:[`self`]})]},a={className:`meta`,begin:/\{-#/,end:/#-\}/},o={className:`meta`,begin:`^#`,end:`$`},s={className:`type`,begin:`\\b[A-Z][\\w']*`,relevance:0},c={begin:`\\(`,end:`\\)`,illegal:`"`,contains:[a,o,{className:`type`,begin:`\\b[A-Z][\\w]*(\\((\\.\\.|,|\\w+)\\))?`},e.inherit(e.TITLE_MODE,{begin:`[_a-z][\\w']*`}),i]},l={begin:/\{/,end:/\}/,contains:c.contains},u={className:`number`,relevance:0,variants:[{match:`\\b(${t})(\\.(${t}))?([eE][+-]?(${t}))?\\b`},{match:`\\b0[xX]_*(${n})(\\.(${n}))?([pP][+-]?(${t}))?\\b`},{match:`\\b0[oO](([0-7]_*)+)\\b`},{match:`\\b0[bB](([01]_*)+)\\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 infixr 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:[c,i],illegal:`\\W\\.|;`},{begin:`\\bimport\\b`,end:`$`,keywords:`import qualified as hiding`,contains:[c,i],illegal:`\\W\\.|;`},{className:`class`,begin:`^(\\s*)?(class|instance)\\b`,end:`where`,keywords:`class family instance where`,contains:[s,c,i]},{className:`class`,begin:`\\b(data|(new)?type)\\b`,end:`$`,keywords:`data family type newtype deriving`,contains:[a,s,c,l,i]},{beginKeywords:`default`,end:`$`,contains:[s,c,i]},{beginKeywords:`infix infixl infixr`,end:`$`,contains:[e.C_NUMBER_MODE,i]},{begin:`\\bforeign\\b`,end:`$`,keywords:`foreign import export ccall stdcall cplusplus jvm dotnet safe unsafe`,contains:[s,e.QUOTE_STRING_MODE,i]},{className:`meta`,begin:`#!\\/usr\\/bin\\/env runhaskell`,end:`$`},a,o,{scope:`string`,begin:/'(?=\\?.')/,end:/'/,contains:[{scope:`char.escape`,match:/\\./}]},e.QUOTE_STRING_MODE,u,s,e.inherit(e.TITLE_MODE,{begin:`^[_a-z][\\w']*`}),{begin:`(?!-)${r}--+|--+(?!-)${r}`},i,{begin:`->|<-`}]}}function RX(e){let 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}}]}},i=[r,{begin:`\\n\\n`,starts:{subLanguage:[],endsWithParent:!0}}];return{name:`HTTP`,aliases:[`https`],illegal:/\S/,contains:[{begin:`^(?=`+n+` \\d{3})`,end:/$/,contains:[{className:`meta`,begin:n},{className:`number`,begin:`\\b\\d{3}\\b`}],starts:{end:/\b\B/,illegal:/\S/,contains:i}},{begin:`(?=^[A-Z]+ (.*?) `+n+`$)`,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:i}},e.inherit(r,{relevance:0})]}}function zX(e){let t=`('|\\.')+`,n={relevance:0,contains:[{begin:t}]};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 nchoosek 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:n},{begin:`[a-zA-Z][a-zA-Z_0-9]*`+t,relevance:0},{className:`number`,begin:e.C_NUMBER_RE,relevance:0,starts:n},{className:`string`,begin:`'`,end:`'`,contains:[{begin:`''`}]},{begin:/\]|\}|\)/,relevance:0,starts:n},{className:`string`,begin:`"`,end:`"`,contains:[{begin:`""`}],starts:n},e.COMMENT(`^\\s*%\\{\\s*$`,`^\\s*%\\}\\s*$`),e.COMMENT(`%`,`$`)]}}function BX(e){let 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 VX(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 HX(e){let t=[`string`,`char`,`byte`,`int`,`long`,`bool`,`decimal`,`single`,`double`,`DateTime`,`xml`,`array`,`hashtable`,`void`],n={$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`},r=/\w[\w\d]*((-)[\w\d]+)*/,i={begin:"`[\\s\\S]",relevance:0},a={className:`variable`,variants:[{begin:/\$\B/},{className:`keyword`,begin:/\$this/},{begin:/\$[\w\d][\w\d_:]*/}]},o={className:`literal`,begin:/\$(null|true|false)\b/},s={className:`string`,variants:[{begin:/"/,end:/"/},{begin:/@"/,end:/^"@/}],contains:[i,a,{className:`variable`,begin:/\$[A-z]/,end:/[^A-z]/}]},c={className:`string`,variants:[{begin:/'/,end:/'/},{begin:/@'/,end:/^'@/}]},l=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+/}]}]}),u={className:`built_in`,variants:[{begin:`(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|Update|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)+(-)[\\w\\d]+`}]},d={className:`class`,beginKeywords:`class enum`,end:/\s*[{]/,excludeEnd:!0,relevance:0,contains:[e.TITLE_MODE]},f={className:`function`,begin:/function\s+/,end:/\s*\{|$/,excludeEnd:!0,returnBegin:!0,relevance:0,contains:[{begin:`function`,relevance:0,className:`keyword`},{className:`title`,begin:r,relevance:0},{begin:/\(/,end:/\)/,className:`params`,relevance:0,contains:[a]}]},p={begin:/using\s/,end:/$/,returnBegin:!0,contains:[s,c,{className:`keyword`,begin:/(using|assembly|command|module|namespace|type)/}]},m={variants:[{className:`operator`,begin:`(-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)\\b`},{className:`literal`,begin:/(-){1,2}[\w\d-]+/,relevance:0}]},h={className:`selector-tag`,begin:/@\B/,relevance:0},g={className:`function`,begin:/\[.*\]\s*[\w]+[ ]??\(/,end:/$/,returnBegin:!0,relevance:0,contains:[{className:`keyword`,begin:`(${n.keyword.toString().replace(/\s/g,`|`)})\\b`,endsParent:!0,relevance:0},e.inherit(e.TITLE_MODE,{endsParent:!0})]},_=[g,l,i,e.NUMBER_MODE,s,c,u,a,o,h],v={begin:/\[/,end:/\]/,excludeBegin:!0,excludeEnd:!0,relevance:0,contains:[`self`].concat(_,{begin:`(`+t.join(`|`)+`)`,className:`built_in`,relevance:0},{className:`type`,begin:/[\.\w\d]+/,relevance:0})};return g.contains.unshift(v),{name:`PowerShell`,aliases:[`pwsh`,`ps`,`ps1`],case_insensitive:!0,keywords:n,contains:_.concat(d,f,p,m,v)}}function UX(e){let t=`[ \\t\\f]*`,n=t+`[:=][ \\t\\f]*`;``+n;let r=`([^\\\\:= \\t\\f\\n]|\\\\.)+`;return{name:`.properties`,disableAutodetect:!0,case_insensitive:!0,illegal:/\S/,contains:[e.COMMENT(`^\\s*[!#]`,`$`),{returnBegin:!0,variants:[{begin:r+n},{begin:r+`[ \\t\\f]+`}],contains:[{className:`attr`,begin:r,endsParent:!0}],starts:{end:`([ \\t\\f]*[:=][ \\t\\f]*|[ \\t\\f]+)`,relevance:0,starts:{className:`string`,end:/$/,relevance:0,contains:[{begin:`\\\\\\\\`},{begin:`\\\\\\n`}]}}},{className:`attr`,begin:r+t+`$`}]}}function WX(e){let t=e.regex,n={className:`meta`,begin:`@[A-Za-z]+`},r={className:`subst`,variants:[{begin:`\\$[A-Za-z0-9_]+`},{begin:/\$\{/,end:/\}/}]},i={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}]},a={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:[a,e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE]},{className:`params`,begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,relevance:0,contains:[a,e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE]},o]},c={className:`function`,beginKeywords:`def`,end:t.lookahead(/[:={\[(\n;]/),contains:[o]},l={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`}},p={className:`string`,begin:/\S+/};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:[p]},e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,i,a,c,s,e.C_NUMBER_MODE,l,u,...d,f,n]}}function GX(e){let 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]});let i={className:`subst`,begin:/\$\(/,end:/\)/,contains:[e.BACKSLASH_ESCAPE]},a=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,i]};i.contains.push(s);let c={match:/\\"/},l={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},m=[`if`,`then`,`else`,`elif`,`fi`,`time`,`for`,`while`,`until`,`in`,`do`,`done`,`case`,`esac`,`coproc`,`function`,`select`],h=[`true`,`false`],g={match:/(\/[a-z._-]+)+/},_=[`break`,`cd`,`continue`,`eval`,`exec`,`exit`,`export`,`getopts`,`hash`,`pwd`,`readonly`,`return`,`shift`,`test`,`times`,`trap`,`umask`,`unset`],v=[`alias`,`bind`,`builtin`,`caller`,`command`,`declare`,`echo`,`enable`,`help`,`let`,`local`,`logout`,`mapfile`,`printf`,`read`,`readarray`,`source`,`sudo`,`type`,`typeset`,`ulimit`,`unalias`],y=`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`.split(`.`),b=`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`.split(`.`);return{name:`Bash`,aliases:[`sh`,`zsh`],keywords:{$pattern:/\b[a-z][a-z0-9._-]+\b/,keyword:m,literal:h,built_in:[..._,...v,`set`,`shopt`,...y,...b]},contains:[f,e.SHEBANG(),p,d,a,o,g,s,c,l,u,n]}}function KX(e){let t=e.regex,n=e.COMMENT(`//`,`$`,{contains:[{begin:/\\\n/}]}),r=`decltype\\(auto\\)`,i=`[a-zA-Z_]\\w*::`,a=`(`+r+`|`+t.optional(i)+`[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})"/})]},c={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},l={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(i)+e.IDENT_RE,relevance:0},d=t.optional(i)+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`.split(`.`),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`.split(`.`),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=[l,o,n,e.C_BLOCK_COMMENT_MODE,c,s],m={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},h={begin:`(`+a+`[\\*&\\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,c,o,{begin:/\(/,end:/\)/,keywords:f,relevance:0,contains:[`self`,n,e.C_BLOCK_COMMENT_MODE,s,c,o]}]},o,n,e.C_BLOCK_COMMENT_MODE,l]};return{name:`C`,aliases:[`h`],keywords:f,disableAutodetect:!0,illegal:`</`,contains:[].concat(m,h,p,[l,{begin:e.IDENT_RE+`::`,keywords:f},{className:`class`,beginKeywords:`enum class struct union`,end:/[{;:<>=]/,contains:[{beginKeywords:`final class struct`},e.TITLE_MODE]}]),exports:{preprocessor:l,strings:s,keywords:f}}}function qX(e){let t=e.regex,n=e.COMMENT(`//`,`$`,{contains:[{begin:/\\\n/}]}),r=`decltype\\(auto\\)`,i=`[a-zA-Z_]\\w*::`,a=`(?!struct)(`+r+`|`+t.optional(i)+`[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})"/})]},c={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},l={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(i)+e.IDENT_RE,relevance:0},d=t.optional(i)+e.IDENT_RE+`\\s*\\(`,f=`alignas.alignof.and.and_eq.asm.atomic_cancel.atomic_commit.atomic_noexcept.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`.split(`.`),p=[`bool`,`char`,`char16_t`,`char32_t`,`char8_t`,`double`,`float`,`int`,`long`,`short`,`void`,`wchar_t`,`unsigned`,`signed`,`const`,`static`],m=`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`.split(`.`),h=`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`.split(`.`),g={type:p,keyword:f,literal:[`NULL`,`false`,`nullopt`,`nullptr`,`true`],built_in:[`_Pragma`],_type_hints:m},_={className:`function.dispatch`,relevance:0,keywords:{_hint:h},begin:t.concat(/\b/,/(?!decltype)/,/(?!if)/,/(?!for)/,/(?!switch)/,/(?!while)/,e.IDENT_RE,t.lookahead(/(<[^<>]+>|)\s*\(/))},v=[_,l,o,n,e.C_BLOCK_COMMENT_MODE,c,s],y={variants:[{begin:/=/,end:/;/},{begin:/\(/,end:/\)/},{beginKeywords:`new throw return else`,end:/;/}],keywords:g,contains:v.concat([{begin:/\(/,end:/\)/,keywords:g,contains:v.concat([`self`]),relevance:0}]),relevance:0},b={className:`function`,begin:`(`+a+`[\\*&\\s]+)+`+d,returnBegin:!0,end:/[{;=]/,excludeEnd:!0,keywords:g,illegal:/[^\w\s\*&:<>.]/,contains:[{begin:r,keywords:g,relevance:0},{begin:d,returnBegin:!0,contains:[u],relevance:0},{begin:/::/,relevance:0},{begin:/:/,endsWithParent:!0,contains:[s,c]},{relevance:0,match:/,/},{className:`params`,begin:/\(/,end:/\)/,keywords:g,relevance:0,contains:[n,e.C_BLOCK_COMMENT_MODE,s,c,o,{begin:/\(/,end:/\)/,keywords:g,relevance:0,contains:[`self`,n,e.C_BLOCK_COMMENT_MODE,s,c,o]}]},o,n,e.C_BLOCK_COMMENT_MODE,l]};return{name:`C++`,aliases:[`cc`,`c++`,`h++`,`hpp`,`hh`,`hxx`,`cxx`],keywords:g,illegal:`</`,classNameAliases:{"function.dispatch":`built_in`},contains:[].concat(y,b,_,v,[l,{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:g,contains:[`self`,o]},{begin:e.IDENT_RE+`::`,keywords:g},{match:[/\b(?:enum(?:\s+(?:class|struct))?|class|struct|union)/,/\s+/,/\w+/],className:{1:`keyword`,3:`title.class`}}])}}function JX(e){let 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.sizeof.stackalloc.static.struct.switch.this.throw.try.typeof.unchecked.unsafe.using.virtual.void.volatile.while`.split(`.`).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`.split(`.`)),built_in:t,literal:[`default`,`false`,`null`,`true`]},i=e.inherit(e.TITLE_MODE,{begin:`[a-zA-Z](\\.?\\w)*`}),a={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:`""`}]},c=e.inherit(s,{illegal:/\n/}),l={className:`subst`,begin:/\{/,end:/\}/,keywords:r},u=e.inherit(l,{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:`""`},l]},p=e.inherit(f,{illegal:/\n/,contains:[{begin:/\{\{/},{begin:/\}\}/},{begin:`""`},u]});l.contains=[f,d,s,e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,a,e.C_BLOCK_COMMENT_MODE],u.contains=[p,d,c,e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,a,e.inherit(e.C_BLOCK_COMMENT_MODE,{illegal:/\n/})];let m={variants:[o,f,d,s,e.APOS_STRING_MODE,e.QUOTE_STRING_MODE]},h={begin:`<`,end:`>`,contains:[{beginKeywords:`in out`},i]},g=e.IDENT_RE+`(<`+e.IDENT_RE+`(\\s*,\\s*`+e.IDENT_RE+`)*>)?(\\[\\])?`,_={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`}},m,a,{beginKeywords:`class interface`,relevance:0,end:/[{;=]/,illegal:/[^\s:,]/,contains:[{beginKeywords:`where class`},i,h,e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE]},{beginKeywords:`namespace`,relevance:0,end:/[{;=]/,illegal:/[^\s:]/,contains:[i,e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE]},{beginKeywords:`record`,relevance:0,end:/[{;=]/,illegal:/[^\s:]/,contains:[i,h,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:`(`+g+`\\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,h],relevance:0},{match:/\(\)/},{className:`params`,begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:r,relevance:0,contains:[m,a,e.C_BLOCK_COMMENT_MODE]},e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE]},_]}}var YX=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_-]*/}}),XX=`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`.split(`.`),ZX=`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`.split(`.`),QX=[...XX,...ZX],$X=`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`.split(`.`).sort().reverse(),eZ=`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.invalid.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`.split(`.`).sort().reverse(),tZ=[`after`,`backdrop`,`before`,`cue`,`cue-region`,`first-letter`,`first-line`,`grammar-error`,`marker`,`part`,`placeholder`,`selection`,`slotted`,`spelling-error`].sort().reverse(),nZ=`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-area.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`.split(`.`).sort().reverse();function rZ(e){let t=e.regex,n=YX(e),r={begin:/-(webkit|moz|ms|o)-(?=[a-z])/},i=/@-?\w[\w]*(-\w+)*/,a=[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},{className:`selector-class`,begin:`\\.[a-zA-Z-][a-zA-Z0-9_-]*`,relevance:0},n.ATTRIBUTE_SELECTOR_MODE,{className:`selector-pseudo`,variants:[{begin:`:(`+eZ.join(`|`)+`)`},{begin:`:(:)?(`+tZ.join(`|`)+`)`}]},n.CSS_VARIABLE,{className:`attribute`,begin:`\\b(`+nZ.join(`|`)+`)\\b`},{begin:/:/,end:/[;}{]/,contains:[n.BLOCK_COMMENT,n.HEXCOLOR,n.IMPORTANT,n.CSS_NUMBER_MODE,...a,{begin:/(url|data-uri)\(/,end:/\)/,relevance:0,keywords:{built_in:`url data-uri`},contains:[...a,{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:`and or not only`,attribute:$X.join(` `)},contains:[{begin:/[a-z-]+(?=:)/,className:`attribute`},...a,n.CSS_NUMBER_MODE]}]},{className:`selector-tag`,begin:`\\b(`+QX.join(`|`)+`)\\b`}]}}function iZ(e){let 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 aZ(e){let 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 oZ(e){let 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 sZ(e){let 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:/$/}];let i={className:`variable`,variants:[{begin:/\$[\w\d"][\w\d_]*/},{begin:/\$\{(.*?)\}/}]},a={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,a,i,o,n,`self`],relevance:0},c=t.either(/[A-Za-z0-9_-]+/,/"(\\"|[^"])*"/,/'[^']*'/);return{name:`TOML, also INI`,aliases:[`toml`],case_insensitive:!0,illegal:/\S/,contains:[r,{className:`section`,begin:/\[+/,end:/\]+/},{begin:t.concat(c,`(\\s*\\.\\s*`,c,`)*`,t.lookahead(/\s*=\s*[^#\s]/)),className:`attr`,starts:{end:/$/,contains:[r,s,a,i,o,n]}}]}}var cZ=`[0-9](_*[0-9])*`,lZ=`\\.(${cZ})`,uZ=`[0-9a-fA-F](_*[0-9a-fA-F])*`,dZ={className:`number`,variants:[{begin:`(\\b(${cZ})((${lZ})|\\.)?|(${lZ}))[eE][+-]?(${cZ})[fFdD]?\\b`},{begin:`\\b(${cZ})((${lZ})[fFdD]?\\b|\\.([fFdD]\\b)?)`},{begin:`(${lZ})[fFdD]?\\b`},{begin:`\\b(${cZ})[fFdD]\\b`},{begin:`\\b0[xX]((${uZ})\\.?|(${uZ})?\\.(${uZ}))[pP][+-]?(${cZ})[fFdD]?\\b`},{begin:`\\b(0|[1-9](_*[0-9])*)[lL]?\\b`},{begin:`\\b0[xX](${uZ})[lL]?\\b`},{begin:`\\b0(_*[0-7])*[lL]?\\b`},{begin:`\\b0[bB][01](_*[01])*[lL]?\\b`}],relevance:0};function fZ(e,t,n){return n===-1?``:e.replace(t,r=>fZ(e,t,n-1))}function pZ(e){let t=e.regex,n=`[À-ʸa-zA-Z_$][À-ʸa-zA-Z_$0-9]*`,r=n+fZ(`(?:<`+n+`~~~(?:\\s*,\\s*[À-ʸa-zA-Z_$][À-ʸa-zA-Z_$0-9]*~~~)*>)?`,/~~~/g,2),i={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`.split(`.`),literal:[`false`,`true`,`null`],type:[`char`,`boolean`,`long`,`float`,`int`,`byte`,`short`,`double`],built_in:[`super`,`this`]},a={className:`meta`,begin:`@`+n,contains:[{begin:/\(/,end:/\)/,contains:[`self`]}]},o={className:`params`,begin:/\(/,end:/\)/,keywords:i,relevance:0,contains:[e.C_BLOCK_COMMENT_MODE],endsParent:!0};return{name:`Java`,aliases:[`jsp`],keywords:i,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:i,contains:[{className:`params`,begin:/\(/,end:/\)/,keywords:i,relevance:0,contains:[a,e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,dZ,e.C_BLOCK_COMMENT_MODE]},e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE]},dZ,a]}}var mZ=`[A-Za-z$_][0-9A-Za-z$_]*`,hZ=`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`.split(`.`),gZ=[`true`,`false`,`null`,`undefined`,`NaN`,`Infinity`],_Z=`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`.split(`.`),vZ=[`Error`,`EvalError`,`InternalError`,`RangeError`,`ReferenceError`,`SyntaxError`,`TypeError`,`URIError`],yZ=[`setInterval`,`setTimeout`,`clearInterval`,`clearTimeout`,`require`,`exports`,`eval`,`isFinite`,`isNaN`,`parseFloat`,`parseInt`,`decodeURI`,`decodeURIComponent`,`encodeURI`,`encodeURIComponent`,`escape`,`unescape`],bZ=[`arguments`,`this`,`super`,`console`,`window`,`document`,`localStorage`,`sessionStorage`,`module`,`global`],xZ=[].concat(yZ,_Z,vZ);function SZ(e){let t=e.regex,n=(e,{after:t})=>{let n=`</`+e[0].slice(1);return e.input.indexOf(n,t)!==-1},r=mZ,i={begin:`<>`,end:`</>`},a=/<[A-Za-z0-9\\._:-]+\s*\/>/,o={begin:/<[A-Za-z0-9\\._:-]+/,end:/\/[A-Za-z0-9\\._:-]+>|\/>/,isTrulyOpeningTag:(e,t)=>{let r=e[0].length+e.index,i=e.input[r];if(i===`<`||i===`,`){t.ignoreMatch();return}i===`>`&&(n(e,{after:r})||t.ignoreMatch());let a,o=e.input.substring(r);if(a=o.match(/^\s*=/)){t.ignoreMatch();return}if((a=o.match(/^\s+extends\s+/))&&a.index===0){t.ignoreMatch();return}}},s={$pattern:mZ,keyword:hZ,literal:gZ,built_in:xZ,"variable.language":bZ},c=`[0-9](_?[0-9])*`,l=`\\.(${c})`,u=`0|[1-9](_?[0-9])*|0[0-7]*[89][0-9]*`,d={className:`number`,variants:[{begin:`(\\b(${u})((${l})|\\.)?|(${l}))[eE][+-]?(${c})\\b`},{begin:`\\b(${u})\\b((${l})\\b|\\.)?|(${l})\\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`}},m={begin:".?css`",end:``,starts:{end:"`",returnEnd:!1,contains:[e.BACKSLASH_ESCAPE,f],subLanguage:`css`}},h={begin:".?gql`",end:``,starts:{end:"`",returnEnd:!1,contains:[e.BACKSLASH_ESCAPE,f],subLanguage:`graphql`}},g={className:`string`,begin:"`",end:"`",contains:[e.BACKSLASH_ESCAPE,f]},_={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:r+`(?=\\s*(-)|$)`,endsParent:!0,relevance:0},{begin:/(?=[^\n])\s/,relevance:0}]}]}),e.C_BLOCK_COMMENT_MODE,e.C_LINE_COMMENT_MODE]},v=[e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,p,m,h,g,{match:/\$\d+/},d];f.contains=v.concat({begin:/\{/,end:/\}/,keywords:s,contains:[`self`].concat(v)});let y=[].concat(_,f.contains),b=y.concat([{begin:/(\s*)\(/,end:/\)/,keywords:s,contains:[`self`].concat(y)}]),ee={className:`params`,begin:/(\s*)\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:s,contains:b},x={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`}}]},te={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:{_:[..._Z,...vZ]}},S={label:`use_strict`,className:`meta`,relevance:10,begin:/^\s*['"]use (strict|asm)['"]/},ne={variants:[{match:[/function/,/\s+/,r,/(?=\s*\()/]},{match:[/function/,/\s*(?=\()/]}],className:{1:`keyword`,3:`title.function`},label:`func.def`,contains:[ee],illegal:/%/},re={relevance:0,match:/\b[A-Z][A-Z_0-9]+\b/,className:`variable.constant`};function ie(e){return t.concat(`(?!`,e.join(`|`),`)`)}let ae={match:t.concat(/\b/,ie([...yZ,`super`,`import`].map(e=>`${e}\\s*\\(`)),r,t.lookahead(/\s*\(/)),className:`title.function`,relevance:0},oe={begin:t.concat(/\./,t.lookahead(t.concat(r,/(?![0-9A-Za-z$_(])/))),end:r,excludeBegin:!0,keywords:`prototype`,className:`property`,relevance:0},C={match:[/get|set/,/\s+/,r,/(?=\()/],className:{1:`keyword`,3:`title.function`},contains:[{begin:/\(\)/},ee]},se=`(\\([^()]*(\\([^()]*(\\([^()]*\\)[^()]*)*\\)[^()]*)*\\)|`+e.UNDERSCORE_IDENT_RE+`)\\s*=>`,ce={match:[/const|var|let/,/\s+/,r,/\s*/,/=\s*/,/(async\s*)?/,t.lookahead(se)],keywords:`async`,className:{1:`keyword`,3:`title.function`},contains:[ee]};return{name:`JavaScript`,aliases:[`js`,`jsx`,`mjs`,`cjs`],keywords:s,exports:{PARAMS_CONTAINS:b,CLASS_REFERENCE:te},illegal:/#(?![$_A-z])/,contains:[e.SHEBANG({label:`shebang`,binary:`node`,relevance:5}),S,e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,p,m,h,g,_,{match:/\$\d+/},d,te,{scope:`attr`,match:r+t.lookahead(`:`),relevance:0},ce,{begin:`(`+e.RE_STARTERS_RE+`|\\b(case|return|throw)\\b)\\s*`,keywords:`return throw case`,relevance:0,contains:[_,e.REGEXP_MODE,{className:`function`,begin:se,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:b}]}]},{begin:/,/,relevance:0},{match:/\s+/,relevance:0},{variants:[{begin:i.begin,end:i.end},{match:a},{begin:o.begin,"on:begin":o.isTrulyOpeningTag,end:o.end}],subLanguage:`xml`,contains:[{begin:o.begin,end:o.end,skip:!0,contains:[`self`]}]}]},ne,{beginKeywords:`while if switch catch for`},{begin:`\\b(?!function)`+e.UNDERSCORE_IDENT_RE+`\\([^()]*(\\([^()]*(\\([^()]*\\)[^()]*)*\\)[^()]*)*\\)\\s*\\{`,returnBegin:!0,label:`func.def`,contains:[ee,e.inherit(e.TITLE_MODE,{begin:r,className:`title.function`})]},{match:/\.\.\./,relevance:0},oe,{match:`\\$`+r,relevance:0},{match:[/\bconstructor(?=\s*\()/],className:{1:`title.function`},contains:[ee]},ae,re,x,C,{match:/\$[(.]/}]}}function CZ(e){let t={className:`attr`,begin:/"(\\.|[^\\"\r\n])*"(?=\s*:)/,relevance:1.01},n={match:/[{}[\],:]/,className:`punctuation`,relevance:0},r=[`true`,`false`,`null`],i={scope:`literal`,beginKeywords:r.join(` `)};return{name:`JSON`,aliases:[`jsonc`],keywords:{literal:r},contains:[t,n,e.QUOTE_STRING_MODE,i,e.C_NUMBER_MODE,e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE],illegal:`\\S`}}var wZ=`[0-9](_*[0-9])*`,TZ=`\\.(${wZ})`,EZ=`[0-9a-fA-F](_*[0-9a-fA-F])*`,DZ={className:`number`,variants:[{begin:`(\\b(${wZ})((${TZ})|\\.)?|(${TZ}))[eE][+-]?(${wZ})[fFdD]?\\b`},{begin:`\\b(${wZ})((${TZ})[fFdD]?\\b|\\.([fFdD]\\b)?)`},{begin:`(${TZ})[fFdD]?\\b`},{begin:`\\b(${wZ})[fFdD]\\b`},{begin:`\\b0[xX]((${EZ})\\.?|(${EZ})?\\.(${EZ}))[pP][+-]?(${wZ})[fFdD]?\\b`},{begin:`\\b(0|[1-9](_*[0-9])*)[lL]?\\b`},{begin:`\\b0[xX](${EZ})[lL]?\\b`},{begin:`\\b0(_*[0-7])*[lL]?\\b`},{begin:`\\b0[bB][01](_*[01])*[lL]?\\b`}],relevance:0};function OZ(e){let 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+`@`},i={className:`subst`,begin:/\$\{/,end:/\}/,contains:[e.C_NUMBER_MODE]},a={className:`variable`,begin:`\\$`+e.UNDERSCORE_IDENT_RE},o={className:`string`,variants:[{begin:`"""`,end:`"""(?=[^"])`,contains:[a,i]},{begin:`'`,end:`'`,illegal:/\n/,contains:[e.BACKSLASH_ESCAPE]},{begin:`"`,end:`"`,illegal:/\n/,contains:[e.BACKSLASH_ESCAPE,a,i]}]};i.contains.push(o);let s={className:`meta`,begin:`@(?:file|property|field|get|set|receiver|param|setparam|delegate)\\s*:(?:\\s*`+e.UNDERSCORE_IDENT_RE+`)?`},c={className:`meta`,begin:`@`+e.UNDERSCORE_IDENT_RE,contains:[{begin:/\(/,end:/\)/,contains:[e.inherit(o,{className:`string`}),`self`]}]},l=DZ,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,c,{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,c,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,c]},o,{className:`meta`,begin:`^#!/usr/bin/env`,end:`$`,illegal:`
26
+ `},l]}}var kZ=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_-]*/}}),AZ=`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`.split(`.`),jZ=`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`.split(`.`),MZ=[...AZ,...jZ],NZ=`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`.split(`.`).sort().reverse(),PZ=`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.invalid.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`.split(`.`).sort().reverse(),FZ=[`after`,`backdrop`,`before`,`cue`,`cue-region`,`first-letter`,`first-line`,`grammar-error`,`marker`,`part`,`placeholder`,`selection`,`slotted`,`spelling-error`].sort().reverse(),IZ=`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-area.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`.split(`.`).sort().reverse(),LZ=PZ.concat(FZ).sort().reverse();function RZ(e){let t=kZ(e),n=LZ,r=`[\\w-]+`,i=`(`+r+`|@\\{[\\w-]+\\})`,a=[],o=[],s=function(e){return{className:`string`,begin:`~?`+e+`.*?`+e}},c=function(e,t,n){return{className:e,begin:t,relevance:n}},l={$pattern:/[a-z-]+/,keyword:`and or not only`,attribute:NZ.join(` `)},u={begin:`\\(`,end:`\\)`,contains:o,keywords:l,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,c(`variable`,`@@?`+r,10),c(`variable`,`@\\{`+r+`\\}`),c(`built_in`,"~?`[^`]*?`"),{className:`attribute`,begin:r+`\\s*:`,end:`:`,returnBegin:!0,excludeEnd:!0},t.IMPORTANT,{beginKeywords:`and not`},t.FUNCTION_DISPATCH);let d=o.concat({begin:/\{/,end:/\}/,contains:a}),f={beginKeywords:`when`,endsWithParent:!0,contains:[{beginKeywords:`and not`}].concat(o)},p={begin:i+`\\s*:`,returnBegin:!0,end:/[;}]/,relevance:0,contains:[{begin:/-(webkit|moz|ms|o)-/},t.CSS_VARIABLE,{className:`attribute`,begin:`\\b(`+IZ.join(`|`)+`)\\b`,end:/(?=:)/,starts:{endsWithParent:!0,illegal:`[<=$]`,relevance:0,contains:o}}]},m={className:`keyword`,begin:`@(import|media|charset|font-face|(-[a-z]+-)?keyframes|supports|document|namespace|page|viewport|host)\\b`,starts:{end:`[;{}]`,keywords:l,returnEnd:!0,contains:o,relevance:0}},h={className:`variable`,variants:[{begin:`@`+r+`\\s*:`,relevance:15},{begin:`@`+r}],starts:{end:`[;}]`,returnEnd:!0,contains:d}},g={variants:[{begin:`[\\.#:&\\[>]`,end:`[;{}]`},{begin:i,end:/\{/}],returnBegin:!0,returnEnd:!0,illegal:`[<='$"]`,relevance:0,contains:[e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,f,c(`keyword`,`all\\b`),c(`variable`,`@\\{`+r+`\\}`),{begin:`\\b(`+MZ.join(`|`)+`)\\b`,className:`selector-tag`},t.CSS_NUMBER_MODE,c(`selector-tag`,i,0),c(`selector-id`,`#`+i),c(`selector-class`,`\\.`+i,0),c(`selector-tag`,`&`,0),t.ATTRIBUTE_SELECTOR_MODE,{className:`selector-pseudo`,begin:`:(`+PZ.join(`|`)+`)`},{className:`selector-pseudo`,begin:`:(:)?(`+FZ.join(`|`)+`)`},{begin:/\(/,end:/\)/,relevance:0,contains:d},{begin:`!important`},t.FUNCTION_DISPATCH]},_={begin:`[\\w-]+:(:)?(${n.join(`|`)})`,returnBegin:!0,contains:[g]};return a.push(e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,m,h,_,p,g,f,t.FUNCTION_DISPATCH),{name:`Less`,case_insensitive:!0,illegal:`[=>'/<($"]`,contains:a}}function zZ(e){let t=`\\[=*\\[`,n=`\\]=*\\]`,r={begin:t,end:n,contains:[`self`]},i=[e.COMMENT(`--(?!`+t+`)`,`$`),e.COMMENT(`--`+t,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:i.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:i}].concat(i)},e.C_NUMBER_MODE,e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,{className:`string`,begin:t,end:n,contains:[r],relevance:5}])}}function BZ(e){let 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]},i={begin:`^`+e.UNDERSCORE_IDENT_RE+`\\s*(?=[:+?]?=)`},a={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,i,a,o]}}function VZ(e){let t=e.regex,n={begin:/<\/?[A-Za-z_]/,end:`>`,subLanguage:`xml`,relevance:0},r={begin:`^[-\\*]{3,}`,end:`$`},i={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}]},a={className:`bullet`,begin:`^[ ]*([*+-]|(\\d+\\.))(?=\\s+)`,end:`\\s+`,excludeEnd:!0},o={begin:/^\[[^\n]+\]:/,returnBegin:!0,contains:[{className:`symbol`,begin:/\[/,end:/\]/,excludeBegin:!0,excludeEnd:!0},{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}]},c={className:`strong`,contains:[],variants:[{begin:/_{2}(?!\s)/,end:/_{2}/},{begin:/\*{2}(?!\s)/,end:/\*{2}/}]},l={className:`emphasis`,contains:[],variants:[{begin:/\*(?![*\s])/,end:/\*/},{begin:/_(?![_\s])/,end:/_/,relevance:0}]},u=e.inherit(c,{contains:[]}),d=e.inherit(l,{contains:[]});c.contains.push(d),l.contains.push(u);let f=[n,s];return[c,l,u,d].forEach(e=>{e.contains=e.contains.concat(f)}),f=f.concat(c,l),{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,a,c,l,{className:`quote`,begin:`^>\\s+`,contains:f,end:`$`},i,r,s,o,{scope:`literal`,match:/&([a-zA-Z0-9]+|#[0-9]{1,7}|#[Xx][0-9a-fA-F]{1,6});/}]}}function HZ(e){let 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=[`int`,`float`,`char`,`unsigned`,`signed`,`short`,`long`,`double`,`wchar_t`,`unichar`,`void`,`bool`,`BOOL`,`id|0`,`_Bool`],i=`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`.split(`.`),a=[`false`,`true`,`FALSE`,`TRUE`,`nil`,`YES`,`NO`,`NULL`],o=[`dispatch_once_t`,`dispatch_queue_t`,`dispatch_sync`,`dispatch_async`,`dispatch_once`],s={"variable.language":[`this`,`super`],$pattern:n,keyword:i,literal:a,built_in:o,type:r},c={$pattern:n,keyword:[`@interface`,`@class`,`@protocol`,`@implementation`]};return{name:`Objective-C`,aliases:[`mm`,`objc`,`obj-c`,`obj-c++`,`objective-c++`],keywords:s,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:`(`+c.keyword.join(`|`)+`)\\b`,end:/(\{|$)/,excludeEnd:!0,keywords:c,contains:[e.UNDERSCORE_TITLE_MODE]},{begin:`\\.`+e.UNDERSCORE_IDENT_RE,relevance:0}]}}function UZ(e){let 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`.split(`.`),r=/[dualxmsipngr]{0,12}/,i={$pattern:/[\w.]+/,keyword:n.join(` `)},a={className:`subst`,begin:`[$@]\\{`,end:`\\}`,keywords:i},o={begin:/->\{/,end:/\}/},s={scope:`attr`,match:/\s+:\s*\w+(\s*\(.*?\))?/},c={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]},l={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,a,c],d=[/!/,/\//,/\|/,/\?/,/'/,/"/,/#/],f=(e,n,i=`\\1`)=>{let a=i===`\\1`?i:t.concat(i,n);return t.concat(t.concat(`(?:`,e,`)`),n,/(?:\\.|[^\\\/])*?/,a,/(?:\\.|[^\\\/])*?/,i,r)},p=(e,n,i)=>t.concat(t.concat(`(?:`,e,`)`),n,/(?:\\.|[^\\\/])*?/,i,r),m=[c,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}]},l,{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,l]},{begin:`-\\w\\b`,relevance:0},{begin:`^__DATA__$`,end:`^__END__$`,subLanguage:`mojolicious`,contains:[{begin:`^@@.*`,end:`$`,className:`comment`}]}];return a.contains=m,o.contains=m,{name:`Perl`,aliases:[`pl`,`pm`],keywords:i,contains:m}}function WZ(e){let t=e.regex,n=/(?![A-Za-z0-9])(?![$])/,r=t.concat(/[a-zA-Z_\x7f-\xff][a-zA-Z0-9_\x7f-\xff]*/,n),i=t.concat(/(\\?[A-Z][a-z0-9_\x7f-\xff]+|\\?[A-Z]+(?=[A-Z][a-z0-9_\x7f-\xff])){1,}/,n),a=t.concat(/[A-Z]+/,n),o={scope:`variable`,match:`\\$+`+r},s={scope:`meta`,variants:[{begin:/<\?php/,relevance:10},{begin:/<\?=/},{begin:/<\?/,relevance:.1},{begin:/\?>/}]},c={scope:`subst`,variants:[{begin:/\$\w+/},{begin:/\{\$/,end:/\}/}]},l=e.inherit(e.APOS_STRING_MODE,{illegal:null}),u=e.inherit(e.QUOTE_STRING_MODE,{illegal:null,contains:e.QUOTE_STRING_MODE.contains.concat(c)}),d={begin:/<<<[ \t]*(?:(\w+)|"(\w+)")\n/,end:/[ \t]*(\w+)\b/,contains:e.QUOTE_STRING_MODE.contains.concat(c),"on:begin":(e,t)=>{t.data._beginMatch=e[1]||e[2]},"on:end":(e,t)=>{t.data._beginMatch!==e[1]&&t.ignoreMatch()}},f=e.END_SAME_AS_BEGIN({begin:/<<<[ \t]*'(\w+)'\n/,end:/[ \t]*(\w+)\b/}),p=`[
27
+ ]`,m={scope:`string`,variants:[u,l,d,f]},h={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},g=[`false`,`null`,`true`],_=`__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`.split(`.`),v=`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`.split(`.`),y={keyword:_,literal:(e=>{let t=[];return e.forEach(e=>{t.push(e),e.toLowerCase()===e?t.push(e.toUpperCase()):t.push(e.toLowerCase())}),t})(g),built_in:v},b=e=>e.map(e=>e.replace(/\|\d+$/,``)),ee={variants:[{match:[/new/,t.concat(p,`+`),t.concat(`(?!`,b(v).join(`\\b|`),`\\b)`),i],scope:{1:`keyword`,4:`title.class`}}]},x=t.concat(r,`\\b(?!\\()`),te={variants:[{match:[t.concat(/::/,t.lookahead(/(?!class\b)/)),x],scope:{2:`variable.constant`}},{match:[/::/,/class/],scope:{2:`variable.language`}},{match:[i,t.concat(/::/,t.lookahead(/(?!class\b)/)),x],scope:{1:`title.class`,3:`variable.constant`}},{match:[i,t.concat(`::`,t.lookahead(/(?!class\b)/))],scope:{1:`title.class`}},{match:[i,/::/,/class/],scope:{1:`title.class`,3:`variable.language`}}]},S={scope:`attr`,match:t.concat(r,t.lookahead(`:`),t.lookahead(/(?!::)/))},ne={relevance:0,begin:/\(/,end:/\)/,keywords:y,contains:[S,o,te,e.C_BLOCK_COMMENT_MODE,m,h,ee]},re={relevance:0,match:[/\b/,t.concat(`(?!fn\\b|function\\b|`,b(_).join(`\\b|`),`|`,b(v).join(`\\b|`),`\\b)`),r,t.concat(p,`*`),t.lookahead(/(?=\()/)],scope:{3:`title.function.invoke`},contains:[ne]};ne.contains.push(re);let ie=[S,te,e.C_BLOCK_COMMENT_MODE,m,h,ee],ae={begin:t.concat(/#\[\s*\\?/,t.either(i,a)),beginScope:`meta`,end:/]/,endScope:`meta`,keywords:{literal:g,keyword:[`new`,`array`]},contains:[{begin:/\[/,end:/]/,keywords:{literal:g,keyword:[`new`,`array`]},contains:[`self`,...ie]},...ie,{scope:`meta`,variants:[{match:i},{match:a}]}]};return{case_insensitive:!1,keywords:y,contains:[ae,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,re,te,{match:[/const/,/\s/,r],scope:{1:`keyword`,3:`variable.constant`}},ee,{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:y,contains:[`self`,ae,o,te,e.C_BLOCK_COMMENT_MODE,m,h]}]},{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]},m,h]}}function GZ(e){return{name:`Plain text`,aliases:[`text`,`txt`],disableAutodetect:!0}}function KZ(e){let t=e.regex,n=/[\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`.split(`.`),i={$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`.split(`.`),literal:[`__debug__`,`Ellipsis`,`False`,`None`,`NotImplemented`,`True`],type:[`Any`,`Callable`,`Coroutine`,`Dict`,`List`,`Literal`,`Generic`,`Optional`,`Sequence`,`Set`,`Tuple`,`Type`,`Union`]},a={className:`meta`,begin:/^(>>>|\.\.\.) /},o={className:`subst`,begin:/\{/,end:/\}/,keywords:i,illegal:/#/},s={begin:/\{\{/,relevance:0},c={className:`string`,contains:[e.BACKSLASH_ESCAPE],variants:[{begin:/([uU]|[bB]|[rR]|[bB][rR]|[rR][bB])?'''/,end:/'''/,contains:[e.BACKSLASH_ESCAPE,a],relevance:10},{begin:/([uU]|[bB]|[rR]|[bB][rR]|[rR][bB])?"""/,end:/"""/,contains:[e.BACKSLASH_ESCAPE,a],relevance:10},{begin:/([fF][rR]|[rR][fF]|[fF])'''/,end:/'''/,contains:[e.BACKSLASH_ESCAPE,a,s,o]},{begin:/([fF][rR]|[rR][fF]|[fF])"""/,end:/"""/,contains:[e.BACKSLASH_ESCAPE,a,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]},l=`[0-9](_?[0-9])*`,u=`(\\b(${l}))?\\.(${l})|\\b(${l})\\.`,d=`\\b|${r.join(`|`)}`,f={className:`number`,relevance:0,variants:[{begin:`(\\b(${l})|(${u}))[eE][+-]?(${l})[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(${l})[jJ](?=${d})`}]},p={className:`comment`,begin:t.lookahead(/# type:/),end:/$/,keywords:i,contains:[{begin:/# type:/},{begin:/#/,end:/\b\B/,endsWithParent:!0}]},m={className:`params`,variants:[{className:``,begin:/\(\s*\)/,skip:!0},{begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:i,contains:[`self`,a,f,c,e.HASH_COMMENT_MODE]}]};return o.contains=[c,f,a],{name:`Python`,aliases:[`py`,`gyp`,`ipython`],unicodeRegex:!0,keywords:i,illegal:/(<\/|\?)|=>/,contains:[a,f,{scope:`variable.language`,match:/\bself\b/},{beginKeywords:`if`,relevance:0},{match:/\bor\b/,scope:`keyword`},c,p,e.HASH_COMMENT_MODE,{match:[/\bdef/,/\s+/,n],scope:{1:`keyword`,3:`title.function`},contains:[m]},{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,m,c]}]}}function qZ(e){let 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]?/),i=/[=!<>:]=|\|\||&&|:::?|<-|<<-|->>|->|\|>|[-+*\/?!$&|:<=>@^~]|\*\*/,a=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:[i,r]},{scope:{1:`operator`,2:`number`},match:[/%[^%]*%/,r]},{scope:{1:`punctuation`,2:`number`},match:[a,r]},{scope:{2:`number`},match:[/[^a-zA-Z0-9._]|^/,r]}]},{scope:{3:`operator`},match:[n,/\s+/,/<-/,/\s+/]},{scope:`operator`,relevance:0,variants:[{match:i},{match:/%[^%]*%/}]},{scope:`punctuation`,relevance:0,match:a},{begin:"`",end:"`",contains:[{begin:/\\./}]}]}}function JZ(e){let 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]+/),i=t.concat(r,/(::\w+)*/),a=[`include`,`extend`,`prepend`,`public`,`private`,`protected`,`raise`,`throw`],o={"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`,...a],built_in:[`proc`,`lambda`,`attr_accessor`,`attr_reader`,`attr_writer`,`define_method`,`private_constant`,`module_function`],literal:[`true`,`false`,`nil`]},s={className:`doctag`,begin:`@[A-Za-z]+`},c={begin:`#<`,end:`>`},l=[e.COMMENT(`#`,`$`,{contains:[s]}),e.COMMENT(`^=begin`,`^=end`,{contains:[s],relevance:10}),e.COMMENT(`^__END__`,e.MATCH_NOTHING_RE)],u={className:`subst`,begin:/#\{/,end:/\}/,keywords:o},d={className:`string`,contains:[e.BACKSLASH_ESCAPE,u],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,u]})]}]},f=`[0-9](_?[0-9])*`,p={className:`number`,relevance:0,variants:[{begin:`\\b([1-9](_?[0-9])*|0)(\\.(${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`}]},m={variants:[{match:/\(\)/},{className:`params`,begin:/\(/,end:/(?=\))/,excludeBegin:!0,endsParent:!0,keywords:o}]},h={match:[/(include|extend)\s+/,i],scope:{2:`title.class`},keywords:o},g={variants:[{match:[/class\s+/,i,/\s+<\s+/,i]},{match:[/\b(class|module)\s+/,i]}],scope:{2:`title.class`,4:`title.class.inherited`},keywords:o},_={relevance:0,match:/\b[A-Z][A-Z_0-9]+\b/,className:`variable.constant`},v={match:[/def/,/\s+/,n],scope:{1:`keyword`,3:`title.function`},contains:[m]},y=[d,g,h,{relevance:0,match:[i,/\.new[. (]/],scope:{1:`title.class`}},_,{relevance:0,match:r,scope:`title.class`},v,{begin:e.IDENT_RE+`::`},{className:`symbol`,begin:e.UNDERSCORE_IDENT_RE+`(!|\\?)?:`,relevance:0},{className:`symbol`,begin:`:(?!\\s)`,contains:[d,{begin:n}],relevance:0},p,{className:`variable`,begin:`(\\$\\W)|((\\$|@@?)(\\w+))(?=[^@$?])(?![A-Za-z])(?![@$?'])`},{className:`params`,begin:/\|(?!=)/,end:/\|/,excludeBegin:!0,excludeEnd:!0,relevance:0,keywords:o},{begin:`(`+e.RE_STARTERS_RE+`|unless)\\s*`,keywords:`unless`,contains:[{className:`regexp`,contains:[e.BACKSLASH_ESCAPE,u],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(c,l),relevance:0}].concat(c,l);u.contains=y,m.contains=y;let b=[{begin:/^\s*=>/,starts:{end:`$`,contains:y}},{className:`meta.prompt`,begin:`^([>?]>|[\\w#]+\\(\\w+\\):\\d+:\\d+[>*]|(\\w+-)?\\d+\\.\\d+\\.\\d+(p\\d+)?[^\\d][^>]+>)(?=[ ])`,starts:{end:`$`,keywords:o,contains:y}}];return l.unshift(c),{name:`Ruby`,aliases:[`rb`,`gemspec`,`podspec`,`thor`,`irb`],keywords:o,illegal:/\/\*/,contains:[e.SHEBANG({binary:`ruby`})].concat(b,l,y)}}function YZ(e){let t=e.regex,n=/(r#)?/,r=t.concat(n,e.UNDERSCORE_IDENT_RE),i=t.concat(n,e.IDENT_RE),a={className:`title.function.invoke`,relevance:0,begin:t.concat(/\b/,/(?!let|for|while|if|else|match\b)/,i,t.lookahead(/\s*\(/))},o=`([ui](8|16|32|64|128|size)|f(32|64))?`,s=`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`.split(`.`),c=[`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!`.split(`.`),u=[`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:u,keyword:s,literal:c,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_]+)`+o},{begin:`\\b0o([0-7_]+)`+o},{begin:`\\b0x([A-Fa-f0-9_]+)`+o},{begin:`\\b(\\d[\\d_]*(\\.[0-9_]+)?([eE][+-]?[0-9_]+)?)`+o}],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:u}},{className:`punctuation`,begin:`->`},a]}}var XZ=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_-]*/}}),ZZ=`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`.split(`.`),QZ=`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`.split(`.`),$Z=[...ZZ,...QZ],eQ=`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`.split(`.`).sort().reverse(),tQ=`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.invalid.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`.split(`.`).sort().reverse(),nQ=[`after`,`backdrop`,`before`,`cue`,`cue-region`,`first-letter`,`first-line`,`grammar-error`,`marker`,`part`,`placeholder`,`selection`,`slotted`,`spelling-error`].sort().reverse(),rQ=`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-area.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`.split(`.`).sort().reverse();function iQ(e){let t=XZ(e),n=nQ,r=tQ,i=`@[a-z-]+`,a={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},{className:`selector-class`,begin:`\\.[A-Za-z0-9_-]+`,relevance:0},t.ATTRIBUTE_SELECTOR_MODE,{className:`selector-tag`,begin:`\\b(`+$Z.join(`|`)+`)\\b`,relevance:0},{className:`selector-pseudo`,begin:`:(`+r.join(`|`)+`)`},{className:`selector-pseudo`,begin:`:(:)?(`+n.join(`|`)+`)`},a,{begin:/\(/,end:/\)/,contains:[t.CSS_NUMBER_MODE]},t.CSS_VARIABLE,{className:`attribute`,begin:`\\b(`+rQ.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|inline-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,a,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:i,keyword:`@page @font-face`}},{begin:`@`,end:`[{;]`,returnBegin:!0,keywords:{$pattern:/[a-z-]+/,keyword:`and or not only`,attribute:eQ.join(` `)},contains:[{begin:i,className:`keyword`},{begin:/[a-z-]+(?=:)/,className:`attribute`},a,e.QUOTE_STRING_MODE,e.APOS_STRING_MODE,t.HEXCOLOR,t.CSS_NUMBER_MODE]},t.FUNCTION_DISPATCH]}}function aQ(e){return{name:`Shell Session`,aliases:[`console`,`shellsession`],contains:[{className:`meta.prompt`,begin:/^\s{0,3}[/~\w\d[\]()@-]*[>%$#][ ]?/,starts:{end:/[^\\](?=\s*$)/,subLanguage:`bash`}}]}}function oQ(e){let t=e.regex,n=e.COMMENT(`--`,`$`),r={scope:`string`,variants:[{begin:/'/,end:/'/,contains:[{match:/''/}]}]},i={begin:/"/,end:/"/,contains:[{match:/""/}]},a=[`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`.split(`.`),c=[`add`,`asc`,`collation`,`desc`,`final`,`first`,`last`,`view`],l=`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.versioning.when.whenever.where.width_bucket.window.with.within.without.year`.split(`.`),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`.split(`.`),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,m=[...l,...c].filter(e=>!u.includes(e)),h={scope:`variable`,match:/@[a-z0-9][a-z0-9_]*/},g={scope:`operator`,match:/[-+*/=%^~]|&&?|\|\|?|!=?|<(?:=>?|<|>)?|>[>=]?/,relevance:0},_={match:t.concat(/\b/,t.either(...p),/\s*\(/),relevance:0,keywords:{built_in:p}};function v(e){return t.concat(/\b/,t.either(...e.map(e=>e.replace(/\s+/,`\\s+`))),/\b/)}let y={scope:`keyword`,match:v(f),relevance:0};function b(e,{exceptions:t,when:n}={}){let r=n;return t||=[],e.map(e=>e.match(/\|\d+$/)||t.includes(e)?e:r(e)?`${e}|0`:e)}return{name:`SQL`,case_insensitive:!0,illegal:/[{}]|<\//,keywords:{$pattern:/\b[\w\.]+/,keyword:b(m,{when:e=>e.length<3}),literal:a,type:s,built_in:d},contains:[{scope:`type`,match:v(o)},y,_,h,r,i,e.C_NUMBER_MODE,e.C_BLOCK_COMMENT_MODE,n,g]}}function sQ(e){return e?typeof e==`string`?e:e.source:null}function cQ(e){return lQ(`(?=`,e,`)`)}function lQ(...e){return e.map(e=>sQ(e)).join(``)}function uQ(e){let t=e[e.length-1];return typeof t==`object`&&t.constructor===Object?(e.splice(e.length-1,1),t):{}}function dQ(...e){return`(`+(uQ(e).capture?``:`?:`)+e.map(e=>sQ(e)).join(`|`)+`)`}var fQ=e=>lQ(/\b/,e,/\w$/.test(e)?/\b/:/\B/),pQ=[`Protocol`,`Type`].map(fQ),mQ=[`init`,`self`].map(fQ),hQ=[`Any`,`Self`],gQ=[`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`],_Q=[`false`,`nil`,`true`],vQ=[`assignment`,`associativity`,`higherThan`,`left`,`lowerThan`,`none`,`right`],yQ=[`#colorLiteral`,`#column`,`#dsohandle`,`#else`,`#elseif`,`#endif`,`#error`,`#file`,`#fileID`,`#fileLiteral`,`#filePath`,`#function`,`#if`,`#imageLiteral`,`#keyPath`,`#line`,`#selector`,`#sourceLocation`,`#warning`],bQ=`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.withoutActuallyEscaping.zip`.split(`.`),xQ=dQ(/[/=\-+!*%<>&|^~?]/,/[\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]/),SQ=dQ(xQ,/[\u0300-\u036F]/,/[\u1DC0-\u1DFF]/,/[\u20D0-\u20FF]/,/[\uFE00-\uFE0F]/,/[\uFE20-\uFE2F]/),CQ=lQ(xQ,SQ,`*`),wQ=dQ(/[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]/),TQ=dQ(wQ,/\d/,/[\u0300-\u036F\u1DC0-\u1DFF\u20D0-\u20FF\uFE20-\uFE2F]/),EQ=lQ(wQ,TQ,`*`),DQ=lQ(/[A-Z]/,TQ,`*`),OQ=[`attached`,`autoclosure`,lQ(/convention\(/,dQ(`swift`,`block`,`c`),/\)/),`discardableResult`,`dynamicCallable`,`dynamicMemberLookup`,`escaping`,`freestanding`,`frozen`,`GKInspectable`,`IBAction`,`IBDesignable`,`IBInspectable`,`IBOutlet`,`IBSegueAction`,`inlinable`,`main`,`nonobjc`,`NSApplicationMain`,`NSCopying`,`NSManaged`,lQ(/objc\(/,EQ,/\)/),`objc`,`objcMembers`,`propertyWrapper`,`requires_stored_property_inits`,`resultBuilder`,`Sendable`,`testable`,`UIApplicationMain`,`unchecked`,`unknown`,`usableFromInline`,`warn_unqualified_access`],kQ=[`iOS`,`iOSApplicationExtension`,`macOS`,`macOSApplicationExtension`,`macCatalyst`,`macCatalystApplicationExtension`,`watchOS`,`watchOSApplicationExtension`,`tvOS`,`tvOSApplicationExtension`,`swift`];function AQ(e){let t={match:/\s+/,relevance:0},n=e.COMMENT(`/\\*`,`\\*/`,{contains:[`self`]}),r=[e.C_LINE_COMMENT_MODE,n],i={match:[/\./,dQ(...pQ,...mQ)],className:{2:`keyword`}},a={match:lQ(/\./,dQ(...gQ)),relevance:0},o=gQ.filter(e=>typeof e==`string`).concat([`_|0`]),s={variants:[{className:`keyword`,match:dQ(...gQ.filter(e=>typeof e!=`string`).concat(hQ).map(fQ),...mQ)}]},c={$pattern:dQ(/\b\w+/,/#\w+/),keyword:o.concat(yQ),literal:_Q},l=[i,a,s],u=[{match:lQ(/\./,dQ(...bQ)),relevance:0},{className:`built_in`,match:lQ(/\b/,dQ(...bQ),/(?=\()/)}],d={match:/->/,relevance:0},f=[d,{className:`operator`,relevance:0,variants:[{match:CQ},{match:`\\.(\\.|${SQ})+`}]}],p=`([0-9]_*)+`,m=`([0-9a-fA-F]_*)+`,h={className:`number`,relevance:0,variants:[{match:`\\b(${p})(\\.(${p}))?([eE][+-]?(${p}))?\\b`},{match:`\\b0x(${m})(\\.(${m}))?([pP][+-]?(${p}))?\\b`},{match:/\b0o([0-7]_*)+\b/},{match:/\b0b([01]_*)+\b/}]},g=(e=``)=>({className:`subst`,variants:[{match:lQ(/\\/,e,/[0\\tnr"']/)},{match:lQ(/\\/,e,/u\{[0-9a-fA-F]{1,8}\}/)}]}),_=(e=``)=>({className:`subst`,match:lQ(/\\/,e,/[\t ]*(?:[\r\n]|\r\n)/)}),v=(e=``)=>({className:`subst`,label:`interpol`,begin:lQ(/\\/,e,/\(/),end:/\)/}),y=(e=``)=>({begin:lQ(e,/"""/),end:lQ(/"""/,e),contains:[g(e),_(e),v(e)]}),b=(e=``)=>({begin:lQ(e,/"/),end:lQ(/"/,e),contains:[g(e),v(e)]}),ee={className:`string`,variants:[y(),y(`#`),y(`##`),y(`###`),b(),b(`#`),b(`##`),b(`###`)]},x=[e.BACKSLASH_ESCAPE,{begin:/\[/,end:/\]/,relevance:0,contains:[e.BACKSLASH_ESCAPE]}],te={begin:/\/[^\s](?=[^/\n]*\/)/,end:/\//,contains:x},S=e=>{let t=lQ(e,/\//),n=lQ(/\//,e);return{begin:t,end:n,contains:[...x,{scope:`comment`,begin:`#(?!.*${n})`,end:/$/}]}},ne={scope:`regexp`,variants:[S(`###`),S(`##`),S(`#`),te]},re={match:lQ(/`/,EQ,/`/)},ie=[re,{className:`variable`,match:/\$\d+/},{className:`variable`,match:`\\$${TQ}+`}],ae=[{match:/(@|#(un)?)available/,scope:`keyword`,starts:{contains:[{begin:/\(/,end:/\)/,keywords:kQ,contains:[...f,h,ee]}]}},{scope:`keyword`,match:lQ(/@/,dQ(...OQ),cQ(dQ(/\(/,/\s+/)))},{scope:`meta`,match:lQ(/@/,EQ)}],oe={match:cQ(/\b[A-Z]/),relevance:0,contains:[{className:`type`,match:lQ(/(AV|CA|CF|CG|CI|CL|CM|CN|CT|MK|MP|MTK|MTL|NS|SCN|SK|UI|WK|XC)/,TQ,`+`)},{className:`type`,match:DQ,relevance:0},{match:/[?!]+/,relevance:0},{match:/\.\.\./,relevance:0},{match:lQ(/\s+&\s+/,cQ(DQ)),relevance:0}]},C={begin:/</,end:/>/,keywords:c,contains:[...r,...l,...ae,d,oe]};oe.contains.push(C);let se={begin:/\(/,end:/\)/,relevance:0,keywords:c,contains:[`self`,{match:lQ(EQ,/\s*:/),keywords:`_|0`,relevance:0},...r,ne,...l,...u,...f,h,ee,...ie,...ae,oe]},ce={begin:/</,end:/>/,keywords:`repeat each`,contains:[...r,oe]},le={begin:/\(/,end:/\)/,keywords:c,contains:[{begin:dQ(cQ(lQ(EQ,/\s*:/)),cQ(lQ(EQ,/\s+/,EQ,/\s*:/))),end:/:/,relevance:0,contains:[{className:`keyword`,match:/\b_\b/},{className:`params`,match:EQ}]},...r,...l,...f,h,ee,...ae,oe,se],endsParent:!0,illegal:/["']/},ue={match:[/(func|macro)/,/\s+/,dQ(re.match,EQ,CQ)],className:{1:`keyword`,3:`title.function`},contains:[ce,le,t],illegal:[/\[/,/%/]},de={match:[/\b(?:subscript|init[?!]?)/,/\s*(?=[<(])/],className:{1:`keyword`},contains:[ce,le,t],illegal:/\[|%/},w={match:[/operator/,/\s+/,CQ],className:{1:`keyword`,3:`title`}},fe={begin:[/precedencegroup/,/\s+/,DQ],className:{1:`keyword`,3:`title`},contains:[oe],keywords:[...vQ,..._Q],end:/}/},T={match:[/class\b/,/\s+/,/func\b/,/\s+/,/\b[A-Za-z_][A-Za-z0-9_]*\b/],scope:{1:`keyword`,3:`keyword`,5:`title.function`}},pe={match:[/class\b/,/\s+/,/var\b/],scope:{1:`keyword`,3:`keyword`}},me={begin:[/(struct|protocol|class|extension|enum|actor)/,/\s+/,EQ,/\s*/],beginScope:{1:`keyword`,3:`title.class`},keywords:c,contains:[ce,...l,{begin:/:/,end:/\{/,keywords:c,contains:[{scope:`title.class.inherited`,match:DQ},...l],relevance:0}]};for(let e of ee.variants){let t=e.contains.find(e=>e.label===`interpol`);t.keywords=c;let n=[...l,...u,...f,h,ee,...ie];t.contains=[...n,{begin:/\(/,end:/\)/,contains:[`self`,...n]}]}return{name:`Swift`,keywords:c,contains:[...r,ue,de,T,pe,me,w,fe,{beginKeywords:`import`,end:/$/,contains:[...r],relevance:0},ne,...l,...u,...f,h,ee,...ie,...ae,oe,se]}}var jQ=`[A-Za-z$_][0-9A-Za-z$_]*`,MQ=`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`.split(`.`),NQ=[`true`,`false`,`null`,`undefined`,`NaN`,`Infinity`],PQ=`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`.split(`.`),FQ=[`Error`,`EvalError`,`InternalError`,`RangeError`,`ReferenceError`,`SyntaxError`,`TypeError`,`URIError`],IQ=[`setInterval`,`setTimeout`,`clearInterval`,`clearTimeout`,`require`,`exports`,`eval`,`isFinite`,`isNaN`,`parseFloat`,`parseInt`,`decodeURI`,`decodeURIComponent`,`encodeURI`,`encodeURIComponent`,`escape`,`unescape`],LQ=[`arguments`,`this`,`super`,`console`,`window`,`document`,`localStorage`,`sessionStorage`,`module`,`global`],RQ=[].concat(IQ,PQ,FQ);function zQ(e){let t=e.regex,n=(e,{after:t})=>{let n=`</`+e[0].slice(1);return e.input.indexOf(n,t)!==-1},r=jQ,i={begin:`<>`,end:`</>`},a=/<[A-Za-z0-9\\._:-]+\s*\/>/,o={begin:/<[A-Za-z0-9\\._:-]+/,end:/\/[A-Za-z0-9\\._:-]+>|\/>/,isTrulyOpeningTag:(e,t)=>{let r=e[0].length+e.index,i=e.input[r];if(i===`<`||i===`,`){t.ignoreMatch();return}i===`>`&&(n(e,{after:r})||t.ignoreMatch());let a,o=e.input.substring(r);if(a=o.match(/^\s*=/)){t.ignoreMatch();return}if((a=o.match(/^\s+extends\s+/))&&a.index===0){t.ignoreMatch();return}}},s={$pattern:jQ,keyword:MQ,literal:NQ,built_in:RQ,"variable.language":LQ},c=`[0-9](_?[0-9])*`,l=`\\.(${c})`,u=`0|[1-9](_?[0-9])*|0[0-7]*[89][0-9]*`,d={className:`number`,variants:[{begin:`(\\b(${u})((${l})|\\.)?|(${l}))[eE][+-]?(${c})\\b`},{begin:`\\b(${u})\\b((${l})\\b|\\.)?|(${l})\\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`}},m={begin:".?css`",end:``,starts:{end:"`",returnEnd:!1,contains:[e.BACKSLASH_ESCAPE,f],subLanguage:`css`}},h={begin:".?gql`",end:``,starts:{end:"`",returnEnd:!1,contains:[e.BACKSLASH_ESCAPE,f],subLanguage:`graphql`}},g={className:`string`,begin:"`",end:"`",contains:[e.BACKSLASH_ESCAPE,f]},_={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:r+`(?=\\s*(-)|$)`,endsParent:!0,relevance:0},{begin:/(?=[^\n])\s/,relevance:0}]}]}),e.C_BLOCK_COMMENT_MODE,e.C_LINE_COMMENT_MODE]},v=[e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,p,m,h,g,{match:/\$\d+/},d];f.contains=v.concat({begin:/\{/,end:/\}/,keywords:s,contains:[`self`].concat(v)});let y=[].concat(_,f.contains),b=y.concat([{begin:/(\s*)\(/,end:/\)/,keywords:s,contains:[`self`].concat(y)}]),ee={className:`params`,begin:/(\s*)\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:s,contains:b},x={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`}}]},te={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:{_:[...PQ,...FQ]}},S={label:`use_strict`,className:`meta`,relevance:10,begin:/^\s*['"]use (strict|asm)['"]/},ne={variants:[{match:[/function/,/\s+/,r,/(?=\s*\()/]},{match:[/function/,/\s*(?=\()/]}],className:{1:`keyword`,3:`title.function`},label:`func.def`,contains:[ee],illegal:/%/},re={relevance:0,match:/\b[A-Z][A-Z_0-9]+\b/,className:`variable.constant`};function ie(e){return t.concat(`(?!`,e.join(`|`),`)`)}let ae={match:t.concat(/\b/,ie([...IQ,`super`,`import`].map(e=>`${e}\\s*\\(`)),r,t.lookahead(/\s*\(/)),className:`title.function`,relevance:0},oe={begin:t.concat(/\./,t.lookahead(t.concat(r,/(?![0-9A-Za-z$_(])/))),end:r,excludeBegin:!0,keywords:`prototype`,className:`property`,relevance:0},C={match:[/get|set/,/\s+/,r,/(?=\()/],className:{1:`keyword`,3:`title.function`},contains:[{begin:/\(\)/},ee]},se=`(\\([^()]*(\\([^()]*(\\([^()]*\\)[^()]*)*\\)[^()]*)*\\)|`+e.UNDERSCORE_IDENT_RE+`)\\s*=>`,ce={match:[/const|var|let/,/\s+/,r,/\s*/,/=\s*/,/(async\s*)?/,t.lookahead(se)],keywords:`async`,className:{1:`keyword`,3:`title.function`},contains:[ee]};return{name:`JavaScript`,aliases:[`js`,`jsx`,`mjs`,`cjs`],keywords:s,exports:{PARAMS_CONTAINS:b,CLASS_REFERENCE:te},illegal:/#(?![$_A-z])/,contains:[e.SHEBANG({label:`shebang`,binary:`node`,relevance:5}),S,e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,p,m,h,g,_,{match:/\$\d+/},d,te,{scope:`attr`,match:r+t.lookahead(`:`),relevance:0},ce,{begin:`(`+e.RE_STARTERS_RE+`|\\b(case|return|throw)\\b)\\s*`,keywords:`return throw case`,relevance:0,contains:[_,e.REGEXP_MODE,{className:`function`,begin:se,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:b}]}]},{begin:/,/,relevance:0},{match:/\s+/,relevance:0},{variants:[{begin:i.begin,end:i.end},{match:a},{begin:o.begin,"on:begin":o.isTrulyOpeningTag,end:o.end}],subLanguage:`xml`,contains:[{begin:o.begin,end:o.end,skip:!0,contains:[`self`]}]}]},ne,{beginKeywords:`while if switch catch for`},{begin:`\\b(?!function)`+e.UNDERSCORE_IDENT_RE+`\\([^()]*(\\([^()]*(\\([^()]*\\)[^()]*)*\\)[^()]*)*\\)\\s*\\{`,returnBegin:!0,label:`func.def`,contains:[ee,e.inherit(e.TITLE_MODE,{begin:r,className:`title.function`})]},{match:/\.\.\./,relevance:0},oe,{match:`\\$`+r,relevance:0},{match:[/\bconstructor(?=\s*\()/],className:{1:`title.function`},contains:[ee]},ae,re,x,C,{match:/\$[(.]/}]}}function BQ(e){let t=e.regex,n=zQ(e),r=jQ,i=[`any`,`void`,`number`,`boolean`,`string`,`object`,`never`,`symbol`,`bigint`,`unknown`],a={begin:[/namespace/,/\s+/,e.IDENT_RE],beginScope:{1:`keyword`,3:`title.class`}},o={beginKeywords:`interface`,end:/\{/,excludeEnd:!0,keywords:{keyword:`interface extends`,built_in:i},contains:[n.exports.CLASS_REFERENCE]},s={className:`meta`,relevance:10,begin:/^\s*['"]use strict['"]/},c={$pattern:jQ,keyword:MQ.concat([`type`,`interface`,`public`,`private`,`protected`,`implements`,`declare`,`abstract`,`readonly`,`enum`,`override`,`satisfies`]),literal:NQ,built_in:RQ.concat(i),"variable.language":LQ},l={className:`meta`,begin:`@`+r},u=(e,t,n)=>{let r=e.contains.findIndex(e=>e.label===t);if(r===-1)throw Error(`can not find mode to replace`);e.contains.splice(r,1,n)};Object.assign(n.keywords,c),n.exports.PARAMS_CONTAINS.push(l);let d=n.contains.find(e=>e.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([l,a,o,f]),u(n,`shebang`,e.SHEBANG()),u(n,`use_strict`,s);let p=n.contains.find(e=>e.label===`func.def`);return p.relevance=0,Object.assign(n,{name:`TypeScript`,aliases:[`ts`,`tsx`,`mts`,`cts`]}),n}function VQ(e){let 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,i={className:`symbol`,begin:/&[a-z]+;|&#[0-9]+;|&#x[a-f0-9]+;/},a={begin:/\s/,contains:[{className:`keyword`,begin:/#?[a-z_][a-z1-9_-]+/,illegal:/\n/}]},o=e.inherit(a,{begin:/\(/,end:/\)/}),s=e.inherit(e.APOS_STRING_MODE,{className:`string`}),c=e.inherit(e.QUOTE_STRING_MODE,{className:`string`}),l={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:[i]},{begin:/'/,end:/'/,contains:[i]},{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:[a,c,s,o,{begin:/\[/,end:/\]/,contains:[{className:`meta`,begin:/<![a-z]/,end:/>/,contains:[a,o,c,s]}]}]},e.COMMENT(/<!--/,/-->/,{relevance:10}),{begin:/<!\[CDATA\[/,end:/\]\]>/,relevance:10},i,{className:`meta`,end:/\?>/,variants:[{begin:/<\?xml/,relevance:10,contains:[c]},{begin:/<\?[a-z][a-z0-9]+/}]},{className:`tag`,begin:/<style(?=\s|>)/,end:/>/,keywords:{name:`style`},contains:[l],starts:{end:/<\/style>/,returnEnd:!0,subLanguage:[`css`,`xml`]}},{className:`tag`,begin:/<script(?=\s|>)/,end:/>/,keywords:{name:`script`},contains:[l],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:l}]},{className:`tag`,begin:t.concat(/<\//,t.lookahead(t.concat(n,/>/))),contains:[{className:`name`,begin:n,relevance:0},{begin:/>/,relevance:0,endsParent:!0}]}]}}function HQ(e){let t=`true false yes no null`,n=`[\\w#;/?:@&=+$,.~*'()[\\]]+`,r={className:`attr`,variants:[{begin:/[\w*@][\w*@ :()\./-]*:(?=[ \t]|$)/},{begin:/"[\w*@][\w*@ :()\./-]*":(?=[ \t]|$)/},{begin:/'[\w*@][\w*@ :()\./-]*':(?=[ \t]|$)/}]},i={className:`template-variable`,variants:[{begin:/\{\{/,end:/\}\}/},{begin:/%\{/,end:/\}/}]},a={className:`string`,relevance:0,begin:/'/,end:/'/,contains:[{match:/''/,scope:`char.escape`,relevance:0}]},o={className:`string`,relevance:0,variants:[{begin:/"/,end:/"/},{begin:/\S+/}],contains:[e.BACKSLASH_ESCAPE,i]},s=e.inherit(o,{variants:[{begin:/'/,end:/'/,contains:[{begin:/''/,relevance:0}]},{begin:/"/,end:/"/},{begin:/[^\s,{}[\]]+/}]}),c={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},u={begin:/\{/,end:/\}/,contains:[l],illegal:`\\n`,relevance:0},d={begin:`\\[`,end:`\\]`,contains:[l],illegal:`\\n`,relevance:0},f=[r,{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},{className:`type`,begin:`!\\w+!`+n},{className:`type`,begin:`!<`+n+`>`},{className:`type`,begin:`!`+n},{className:`type`,begin:`!!`+n},{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}},c,{className:`number`,begin:e.C_NUMBER_RE+`\\b`,relevance:0},u,d,a,o],p=[...f];return p.pop(),p.push(s),l.contains=p,{name:`YAML`,case_insensitive:!0,aliases:[`yml`],contains:f}}var UQ={bash:GX,c:KX,clojure:EX,cpp:qX,csharp:JX,css:rZ,curl:e=>{let 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},i={className:`literal`,begin:/-\w/,end:/[\s"]/,returnEnd:!0,relevance:0},a={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,i,t,a,o,e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,s,{match:/(\/[a-z._-]+)+/}]}},dart:DX,diff:iZ,docker:OX,dockerfile:OX,elixir:kX,fsharp:IX,go:aZ,graphql:oZ,haskell:LX,html:VQ,http:RX,ini:sZ,java:pZ,javascript:SZ,json:CZ,kotlin:OZ,less:RZ,lua:zZ,makefile:BZ,markdown:VZ,matlab:zX,mojo:e=>{let t=KZ(e),{regex:n}=e,r=/[\p{XID_Start}_]\p{XID_Continue}*/u,i=t.keywords,a=[`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`.split(`.`),s=(...e)=>Array.from(new Set(e.flat())),c={...i,keyword:s(i.keyword??[],a),type:s(i.type??[],o)},l=[...c.keyword??[],...i.built_in??[],...i.literal??[],...c.type??[]].map(e=>e.replace(/\|\d+$/,``)),u=n.concat(`(?!(?:`,l.join(`|`),`)\\b)`),d={scope:`title.function`,relevance:0,match:n.concat(/\b/,u,r,n.lookahead(/\(/))};return{...t,name:`Mojo`,aliases:[`mojo`,`🔥`],keywords:c,contains:[...t.contains??[],d]}},nginx:BX,objectivec:HZ,ocaml:VX,perl:UZ,php:WZ,plaintext:GZ,powershell:HX,properties:UX,python:e=>{let t=KZ(e),{regex:n}=e,r=/[\p{XID_Start}_]\p{XID_Continue}*/u,i=t.keywords,a=[...i.keyword??[],...i.built_in??[],...i.literal??[],...i.type??[]].map(e=>e.replace(/\|\d+$/,``)),o=n.concat(`(?!(?:`,a.join(`|`),`)\\b)`),s={scope:`title.function`,relevance:0,match:n.concat(/\b/,o,r,n.lookahead(/\s*\(/))};return{...t,contains:[...t.contains??[],s]}},r:qZ,ruby:JZ,rust:YZ,scala:WX,scss:iQ,shell:aQ,sql:oQ,swift:AQ,toml:sZ,typescript:BQ,xml:VQ,yaml:HQ};function WQ(e){return e?.type===`text`}function GQ(e){return e?.type===`element`}function KQ(e){return{type:`text`,value:e}}function qQ(){return{type:`text`,value:`
28
+ `}}function JQ(){return e=>{WV(e,`element`,(e,t,n)=>{if(n?.type===`element`&&n.tagName===`pre`&&e.tagName===`code`){let t=0;e.children=YQ(e),e.children.forEach(e=>{if(e.type===`element`&&e.tagName===`span`){let n=e.children[e.children.length-1];n&&(!WQ(n)||WQ(n)&&!ZQ(n))&&(e.children.push(qQ()),t++)}}),e.properties.style=[`--line-count: ${t};`,`--line-digits: ${t.toString().length};`]}})}}function YQ(e,t=[],n){let r=()=>t[t.length-1]??(t.push(XQ())&&t[t.length-1]||void 0);return e.children.forEach(i=>{if(WQ(i)&&ZQ(i)){let a=i.value.split(/\n/);a.forEach((i,o)=>{n?r()?.children.push({...e,children:[KQ(i)]}):r()?.children.push(KQ(i)),o!==a.length-1&&t.push(XQ())})}else GQ(i)&&i.children.some(ZQ)?YQ(i,t,!0):r()?.children.push(i)}),t}function XQ(...e){return{type:`element`,tagName:`span`,properties:{class:[`line`]},children:e}}function ZQ(e){return WQ(e)&&/\r?\n/.test(e.value)||GQ(e)&&e.children.some(ZQ)}function QQ(e,t){let n=(typeof t?.maskCredentials==`string`?[t.maskCredentials]:t?.maskCredentials??[]).filter(e=>!(e.length<3)),r=`language-${tH[t.lang]??t.lang}`,i=gX().use(FJ,{fragment:!0}).use($Q(e)).use(PH,{languages:t.languages}).use(t?.lineNumbers?JQ:(()=>{})).use(sX).processSync(`<pre><code class="${r}"></code></pre>`).toString();return n.length?n.reduce((e,t)=>e.split(t).join(`<span class="credential"><span class="credential-value">${t}</span></span>`),i):i}function $Q(e){return()=>t=>{WV(t,`element`,t=>{t.tagName===`code`&&t.children.push({type:`text`,value:e})})}}var e$=[`note`,`tip`,`important`,`warning`,`caution`,`success`];function t$(e){return e.type===`text`&&typeof e.value==`string`&&/^\s*$/.test(e.value)}function n$(){return e=>{WV(e,`element`,(e,t,n)=>{if(e.tagName!==`blockquote`||typeof t!=`number`||!n||n.type!==`root`)return;let r=e.children.findIndex(e=>!t$(e));if(r===-1)return;let i=e.children[r];if(!i||i.type!==`element`||i.tagName!==`p`)return;let a=i.children[0];if(!a||a.type!==`text`||!a.value.startsWith(`[!`))return;let o=a.value.indexOf(`]`);if(o===-1)return;let s=a.value.slice(2,o).toLowerCase();if(!e$.includes(s))return;if(o+1===a.value.length){let t=i.children[1];if(t){if(t.type!==`element`||t.tagName!==`br`||!i.children[2])return;i.children=i.children.slice(2);let e=i.children[0];e&&e.type===`text`&&e.value.charAt(0)===`
29
+ `&&(e.value=e.value.slice(1))}else{let t=r+1<e.children.length&&t$(e.children[r+1])?r+2:r+1;if(t>=e.children.length||e.children[t]?.type!==`element`)return;e.children=e.children.slice(t)}}else a.value.charAt(o+1)===`
30
+ `&&(o+2===a.value.length||!/^\s*$/.test(a.value.slice(o+2)))?a.value=a.value.slice(o+2):a.value=a.value.replace(/^\s*\[!.*?\]\s*/,``);let c=[];for(let t=r;t<e.children.length;t++){let n=e.children[t];n?.type===`element`&&n.tagName===`p`&&n.children?c.push(...n.children):c.push(n)}n.children[t]={type:`element`,tagName:`div`,properties:{className:[`markdown-alert`,`markdown-alert-${s}`]},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 r$=typeof self==`object`?self:globalThis,i$=(e,t)=>{let n=(t,n)=>(e.set(n,t),t),r=i=>{if(e.has(i))return e.get(i);let[a,o]=t[i];switch(a){case 0:case-1:return n(o,i);case 1:{let e=n([],i);for(let t of o)e.push(r(t));return e}case 2:{let e=n({},i);for(let[t,n]of o)e[r(t)]=r(n);return e}case 3:return n(new Date(o),i);case 4:{let{source:e,flags:t}=o;return n(new RegExp(e,t),i)}case 5:{let e=n(new Map,i);for(let[t,n]of o)e.set(r(t),r(n));return e}case 6:{let e=n(new Set,i);for(let t of o)e.add(r(t));return e}case 7:{let{name:e,message:t}=o;return n(new r$[e](t),i)}case 8:return n(BigInt(o),i);case`BigInt`:return n(Object(BigInt(o)),i)}return n(new r$[a](o),i)};return r},a$=e=>i$(new Map,e)(0),o$=``,{toString:s$}={},{keys:c$}=Object,l$=e=>{let t=typeof e;if(t!==`object`||!e)return[0,t];let n=s$.call(e).slice(8,-1);switch(n){case`Array`:return[1,o$];case`Object`:return[2,o$];case`Date`:return[3,o$];case`RegExp`:return[4,o$];case`Map`:return[5,o$];case`Set`:return[6,o$]}return n.includes(`Array`)?[1,n]:n.includes(`Error`)?[7,n]:[2,n]},u$=([e,t])=>e===0&&(t===`function`||t===`symbol`),d$=(e,t,n,r)=>{let i=(e,t)=>{let i=r.push(e)-1;return n.set(t,i),i},a=r=>{if(n.has(r))return n.get(r);let[o,s]=l$(r);switch(o){case 0:{let t=r;switch(s){case`bigint`:o=8,t=r.toString();break;case`function`:case`symbol`:if(e)throw TypeError(`unable to serialize `+s);t=null;break;case`undefined`:return i([-1],r)}return i([o,t],r)}case 1:{if(s)return i([s,[...r]],r);let e=[],t=i([o,e],r);for(let t of r)e.push(a(t));return t}case 2:{if(s)switch(s){case`BigInt`:return i([s,r.toString()],r);case`Boolean`:case`Number`:case`String`:return i([s,r.valueOf()],r)}if(t&&`toJSON`in r)return a(r.toJSON());let n=[],c=i([o,n],r);for(let t of c$(r))(e||!u$(l$(r[t])))&&n.push([a(t),a(r[t])]);return c}case 3:return i([o,r.toISOString()],r);case 4:{let{source:e,flags:t}=r;return i([o,{source:e,flags:t}],r)}case 5:{let t=[],n=i([o,t],r);for(let[n,i]of r)(e||!(u$(l$(n))||u$(l$(i))))&&t.push([a(n),a(i)]);return n}case 6:{let t=[],n=i([o,t],r);for(let n of r)(e||!u$(l$(n)))&&t.push(a(n));return n}}let{message:c}=r;return i([o,{name:s,message:c}],r)};return a},f$=(e,{json:t,lossy:n}={})=>{let r=[];return d$(!(t||n),!!t,new Map,r)(e),r},p$=typeof structuredClone==`function`?(e,t)=>t&&(`json`in t||`lossy`in t)?a$(f$(e,t)):structuredClone(e):(e,t)=>a$(f$(e,t)),m$=/^[a-zA-Z][a-zA-Z\d+\-.]*?:/,h$=/^[a-zA-Z]:\\/;function g$(e){if(typeof e!=`string`)throw TypeError(`Expected a \`string\`, got \`${typeof e}\``);return h$.test(e)?!1:m$.test(e)}var _$=[`http`,`https`],v$=[`nofollow`],y$={};function b$(e){let t=e||y$,n=t.protocols||_$,r=iH(t.test);return function(e){WV(e,`element`,function(e,i,a){if(e.tagName===`a`&&typeof e.properties.href==`string`&&r(e,i,a)){let r=e.properties.href;if(g$(r)?n.includes(r.slice(0,r.indexOf(`:`))):r.startsWith(`//`)){let n=x$(t.content,e),r=n&&!Array.isArray(n)?[n]:n,i=x$(t.rel,e)||v$,a=typeof i==`string`?yU(i):i,o=x$(t.target,e),s=x$(t.properties,e);if(s&&Object.assign(e.properties,p$(s)),a.length>0&&(e.properties.rel=[...a]),o&&(e.properties.target=o),r){let n=x$(t.contentProperties,e)||{};e.children.push({type:`element`,tagName:`span`,properties:p$(n),children:p$(r)})}}}})}}function x$(e,t){return typeof e==`function`?e(t):e}var S$=iH(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`}),C$=`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`.split(`.`),w$=[`button`,`input`,`select`,`textarea`],T$=[`area`,`base`,`basefont`,`dialog`,`datalist`,`head`,`link`,`meta`,`noembed`,`noframes`,`param`,`rp`,`script`,`source`,`style`,`template`,`track`,`title`],E$={},D$=MV([`comment`,`doctype`]);function O$(e,t){k$(e,{collapse:B$((t||E$).newlines?R$:z$),whitespace:`normal`})}function k$(e,t){if(`children`in e){let n={...t};return(e.type===`root`||F$(e))&&(n.before=!0,n.after=!0),n.whitespace=V$(e,t),j$(e,n)}if(e.type===`text`){if(t.whitespace===`normal`)return A$(e,t);t.whitespace===`nowrap`&&(e.value=t.collapse(e.value))}return{ignore:D$(e),stripAtStart:!1,remove:!1}}function A$(e,t){let n=t.collapse(e.value),r={ignore:!1,stripAtStart:!1,remove:!1},i=0,a=n.length;return t.before&&L$(n.charAt(0))&&i++,i!==a&&L$(n.charAt(a-1))&&(t.after?a--:r.stripAtStart=!0),i===a?r.remove=!0:e.value=n.slice(i,a),r}function j$(e,t){let n=t.before,r=t.after,i=e.children,a=i.length,o=-1;for(;++o<a;){let e=k$(i[o],{...t,after:M$(i,o,r),before:n});e.remove?(i.splice(o,1),o--,a--):e.ignore||(n=e.stripAtStart),P$(i[o])&&(n=!1)}return{ignore:!1,stripAtStart:!!(n||r),remove:!1}}function M$(e,t,n){for(;++t<e.length;){let n=e[t],r=N$(n);if(r===void 0&&`children`in n&&!I$(n)&&(r=M$(n.children,-1)),typeof r==`boolean`)return r}return n}function N$(e){if(e.type===`element`){if(P$(e))return!1;if(F$(e))return!0}else if(e.type===`text`){if(!mY(e))return!1}else if(!D$(e))return!1}function P$(e){return S$(e)||rH(e,w$)}function F$(e){return rH(e,C$)}function I$(e){return!!(e.type===`element`&&e.properties.hidden)||D$(e)||rH(e,T$)}function L$(e){return e===` `||e===`
31
+ `}function R$(e){let t=/\r?\n|\r/.exec(e);return t?t[0]:` `}function z$(){return` `}function B$(e){return t;function t(t){return String(t).replace(/[\t\n\v\f\r ]+/g,e)}}function V$(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`;default:}return t.whitespace}var H$={}.hasOwnProperty;function U$(e,t){let n=e.type===`element`&&H$.call(e.properties,t)&&e.properties[t];return n!=null&&n!==!1}var W$=new Set([`pingback`,`prefetch`,`stylesheet`]);function G$(e){if(e.type!==`element`||e.tagName!==`link`)return!1;if(e.properties.itemProp)return!0;let t=e.properties.rel,n=-1;if(!Array.isArray(t)||t.length===0)return!1;for(;++n<t.length;)if(!W$.has(String(t[n])))return!1;return!0}var K$=iH(`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`.split(`.`)),q$=iH(`meta`);function J$(e){return!!(e.type===`text`||K$(e)||S$(e)||G$(e)||q$(e)&&U$(e,`itemProp`))}var Y$=[`pre`,`script`,`style`,`textarea`],X$={};function Z$(e,t){let n=t||X$,r={blanks:n.blanks||[],head:!1,indentInitial:n.indentInitial!==!1,indent:typeof n.indent==`number`?` `.repeat(n.indent):typeof n.indent==`string`?n.indent:` `};O$(e,{newlines:!0}),HV(e,i);function i(e,t){if(!(`children`in e))return;if(e.type===`element`&&e.tagName===`head`&&(r.head=!0),r.head&&e.type===`element`&&e.tagName===`body`&&(r.head=!1),e.type===`element`&&Y$.includes(e.tagName))return VV;if(e.children.length===0||!$$(r,e))return;let n=t.length;r.indentInitial||n--;let i=!1;for(let t of e.children)(t.type===`comment`||t.type===`text`)&&(t.value.includes(`
32
+ `)&&(i=!0),t.value=t.value.replace(/ *\n/g,`$&`+r.indent.repeat(n)));let o=[],s;for(let t of e.children)($$(r,t)||i&&!s)&&(a(o,n,t),i=!0),s=t,o.push(t);s&&(i||$$(r,s))&&(mY(s)&&(o.pop(),s=o[o.length-1]),a(o,n-1)),e.children=o}function a(e,t,n){let i=e[e.length-1],a=(Q$(r,i&&mY(i)?e[e.length-2]:i)&&Q$(r,n)?`
33
+
34
+ `:`
35
+ `)+r.indent.repeat(Math.max(t,0));i&&i.type===`text`?i.value=mY(i)?a:i.value+a:e.push({type:`text`,value:a})}}function Q$(e,t){return!!(t&&t.type===`element`&&e.blanks.length>0&&e.blanks.includes(t.tagName))}function $$(e,t){return t.type===`root`||(t.type===`element`?e.head||t.tagName===`script`||S$(t)||!J$(t):!1)}function e1(e){return function(t){Z$(t,e)}}var t1={},n1={}.hasOwnProperty,r1=RJ(`type`,{handlers:{root:a1,element:u1,text:c1,comment:l1,doctype:s1}});function i1(e,t){let n=(t||t1).space;return r1(e,n===`svg`?mU:pU)}function a1(e,t){let n={nodeName:`#document`,mode:(e.data||{}).quirksMode?`quirks`:`no-quirks`,childNodes:[]};return n.childNodes=f1(e.children,n,t),p1(e,n),n}function o1(e,t){let n={nodeName:`#document-fragment`,childNodes:[]};return n.childNodes=f1(e.children,n,t),p1(e,n),n}function s1(e){let t={nodeName:`#documentType`,name:`html`,publicId:``,systemId:``,parentNode:null};return p1(e,t),t}function c1(e){let t={nodeName:`#text`,value:e.value,parentNode:null};return p1(e,t),t}function l1(e){let t={nodeName:`#comment`,data:e.value,parentNode:null};return p1(e,t),t}function u1(e,t){let n=t,r=n;e.type===`element`&&e.tagName.toLowerCase()===`svg`&&n.space===`html`&&(r=mU);let i=[],a;if(e.properties){for(a in e.properties)if(a!==`children`&&n1.call(e.properties,a)){let t=d1(r,a,e.properties[a]);t&&i.push(t)}}let o=r.space,s={nodeName:e.tagName,tagName:e.tagName,attrs:i,namespaceURI:FU[o],childNodes:[],parentNode:null};return s.childNodes=f1(e.children,s,r),p1(e,s),e.tagName===`template`&&e.content&&(s.content=o1(e.content,r)),s}function d1(e,t,n){let r=uU(e,t);if(n===!1||n==null||typeof n==`number`&&Number.isNaN(n)||!n&&r.boolean)return;Array.isArray(n)&&(n=r.commaSeparated?gU(n):bU(n));let i={name:r.attribute,value:n===!0?``:String(n)};if(r.space&&r.space!==`html`&&r.space!==`svg`){let e=i.name.indexOf(`:`);e<0?i.prefix=``:(i.name=i.name.slice(e+1),i.prefix=r.attribute.slice(0,e)),i.namespace=FU[r.space]}return i}function f1(e,t,n){let r=-1,i=[];if(e)for(;++r<e.length;){let a=r1(e[r],n);a.parentNode=t,i.push(a)}return i}function p1(e,t){let n=e.position;n&&n.start&&n.end&&(n.start.offset,n.end.offset,t.sourceCodeLocation={startLine:n.start.line,startCol:n.start.column,startOffset:n.start.offset,endLine:n.end.line,endCol:n.end.column,endOffset:n.end.offset})}var m1=g1(`end`),h1=g1(`start`);function g1(e){return t;function t(t){let n=t&&t.position&&t.position[e]||{};if(typeof n.line==`number`&&n.line>0&&typeof n.column==`number`&&n.column>0)return{line:n.line,column:n.column,offset:typeof n.offset==`number`&&n.offset>-1?n.offset:void 0}}}function _1(e){let t=h1(e),n=m1(e);if(t&&n)return{start:t,end:n}}var v1=new Set([`mdxFlowExpression`,`mdxJsxFlowElement`,`mdxJsxTextElement`,`mdxTextExpression`,`mdxjsEsm`]),y1={sourceCodeLocationInfo:!0,scriptingEnabled:!1};function b1(e,t){let n=P1(e),r=RJ(`type`,{handlers:{root:S1,element:C1,text:w1,comment:D1,doctype:T1,raw:O1},unknown:k1}),i={parser:n?new kG(y1):kG.getFragmentParser(void 0,y1),handle(e){r(e,i)},stitches:!1,options:t||{}};r(e,i),A1(i,h1());let a=RU(n?i.parser.document:i.parser.getFragment(),{file:i.options.file});return i.stitches&&WV(a,`comment`,function(e,t,n){let r=e;if(r.value.stitch&&n&&t!==void 0){let e=n.children;return e[t]=r.value.stitch,t}}),a.type===`root`&&a.children.length===1&&a.children[0].type===e.type?a.children[0]:a}function x1(e,t){let n=-1;if(e)for(;++n<e.length;)t.handle(e[n])}function S1(e,t){x1(e.children,t)}function C1(e,t){M1(e,t),x1(e.children,t),N1(e,t)}function w1(e,t){let n={type:tW.CHARACTER,chars:e.value,location:F1(e)};A1(t,h1(e)),t.parser.currentToken=n,t.parser._processToken(t.parser.currentToken)}function T1(e,t){let n={type:tW.DOCTYPE,name:`html`,forceQuirks:!1,publicId:``,systemId:``,location:F1(e)};A1(t,h1(e)),t.parser.currentToken=n,t.parser._processToken(t.parser.currentToken)}function E1(e,t){t.stitches=!0;let n=I1(e);`children`in e&&`children`in n&&(n.children=b1({type:`root`,children:e.children},t.options).children),D1({type:`comment`,value:{stitch:n}},t)}function D1(e,t){let n=e.value,r={type:tW.COMMENT,data:n,location:F1(e)};A1(t,h1(e)),t.parser.currentToken=r,t.parser._processToken(t.parser.currentToken)}function O1(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,j1(t,h1(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;let e=t.parser.tokenizer._consume();t.parser.tokenizer._callState(e)}}function k1(e,t){let n=e;if(t.options.passThrough&&t.options.passThrough.includes(n.type))E1(n,t);else{let e=``;throw v1.has(n.type)&&(e=". It looks like you are using MDX nodes with `hast-util-raw` (or `rehype-raw`). If you use this because you are using remark or rehype plugins that inject `'html'` nodes, then please raise an issue with that plugin, as its a bad and slow idea. If you use this because you are using markdown syntax, then you have to configure this utility (or plugin) to pass through these nodes (see `passThrough` in docs), but you can also migrate to use the MDX syntax"),Error("Cannot compile `"+n.type+"` node"+e)}}function A1(e,t){j1(e,t);let n=e.parser.tokenizer.currentCharacterToken;n&&n.location&&(n.location.endLine=e.parser.tokenizer.preprocessor.line,n.location.endCol=e.parser.tokenizer.preprocessor.col+1,n.location.endOffset=e.parser.tokenizer.preprocessor.offset+1,e.parser.currentToken=n,e.parser._processToken(e.parser.currentToken)),e.parser.tokenizer.paused=!1,e.parser.tokenizer.inLoop=!1,e.parser.tokenizer.active=!1,e.parser.tokenizer.returnState=CW.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 j1(e,t){if(t&&t.offset!==void 0){let n={startLine:t.line,startCol:t.column,startOffset:t.offset,endLine:-1,endCol:-1,endOffset:-1};e.parser.tokenizer.preprocessor.lineStartPos=-t.column+1,e.parser.tokenizer.preprocessor.droppedBufferSize=t.offset,e.parser.tokenizer.preprocessor.line=t.line,e.parser.tokenizer.currentLocation=n}}function M1(e,t){let n=e.tagName.toLowerCase();if(t.parser.tokenizer.state===CW.PLAINTEXT)return;A1(t,h1(e));let r=t.parser.openElements.current,i=`namespaceURI`in r?r.namespaceURI:FU.html;i===FU.html&&n===`svg`&&(i=FU.svg);let a=i1({...e,children:[]},{space:i===FU.svg?`svg`:`html`}),o={type:tW.START_TAG,tagName:n,tagID:bW(n),selfClosing:!1,ackSelfClosing:!1,attrs:`attrs`in a?a.attrs:[],location:F1(e)};t.parser.currentToken=o,t.parser._processToken(t.parser.currentToken),t.parser.tokenizer.lastStartTagName=n}function N1(e,t){let n=e.tagName.toLowerCase();if(!t.parser.tokenizer.inForeignNode&&IJ.includes(n)||t.parser.tokenizer.state===CW.PLAINTEXT)return;A1(t,m1(e));let r={type:tW.END_TAG,tagName:n,tagID:bW(n),selfClosing:!1,ackSelfClosing:!1,attrs:[],location:F1(e)};t.parser.currentToken=r,t.parser._processToken(t.parser.currentToken),n===t.parser.tokenizer.lastStartTagName&&(t.parser.tokenizer.state===CW.RCDATA||t.parser.tokenizer.state===CW.RAWTEXT||t.parser.tokenizer.state===CW.SCRIPT_DATA)&&(t.parser.tokenizer.state=CW.DATA)}function P1(e){let t=e.type===`root`?e.children[0]:e;return!!(t&&(t.type===`doctype`||t.type===`element`&&t.tagName.toLowerCase()===`html`))}function F1(e){let t=h1(e)||{line:void 0,column:void 0,offset:void 0},n=m1(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 I1(e){return`children`in e?p$({...e,children:[]}):p$(e)}function L1(e){return function(t,n){return b1(t,{...e,file:n})}}var R1=[`ariaDescribedBy`,`ariaLabel`,`ariaLabelledBy`],z1={ancestors:{tbody:[`table`],td:[`table`],th:[`table`],thead:[`table`],tfoot:[`table`],tr:[`table`]},attributes:{a:[...R1,`dataFootnoteBackref`,`dataFootnoteRef`,[`className`,`data-footnote-backref`],`href`],blockquote:[`cite`],code:[[`className`,/^language-./]],del:[`cite`],div:[`itemScope`,`itemType`],dl:[...R1],h2:[[`className`,`sr-only`]],img:[...R1,`longDesc`,`src`],input:[[`disabled`,!0],[`type`,`checkbox`]],ins:[`cite`],li:[[`className`,`task-list-item`]],ol:[...R1,[`className`,`contains-task-list`]],q:[`cite`],section:[`dataFootnotes`,[`className`,`footnotes`]],source:[`srcSet`],summary:[...R1],table:[...R1],ul:[...R1,[`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`.split(`.`)},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`.split(`.`)},B1={}.hasOwnProperty;function V1(e,t){let n={type:`root`,children:[]},r=H1({schema:t?{...z1,...t}:z1,stack:[]},e);return r&&(Array.isArray(r)?r.length===1?n=r[0]:n.children=r:n=r),n}function H1(e,t){if(t&&typeof t==`object`){let n=t;switch(typeof n.type==`string`?n.type:``){case`comment`:return U1(e,n);case`doctype`:return W1(e,n);case`element`:return G1(e,n);case`root`:return K1(e,n);case`text`:return q1(e,n);default:}}}function U1(e,t){if(e.schema.allowComments){let e=typeof t.value==`string`?t.value:``,n=e.indexOf(`-->`),r={type:`comment`,value:n<0?e:e.slice(0,n)};return e0(r,t),r}}function W1(e,t){if(e.schema.allowDoctypes){let e={type:`doctype`};return e0(e,t),e}}function G1(e,t){let n=typeof t.tagName==`string`?t.tagName:``;e.stack.push(n);let r=J1(e,t.children),i=Y1(e,t.properties);e.stack.pop();let a=!1;if(n&&n!==`*`&&(!e.schema.tagNames||e.schema.tagNames.includes(n))&&(a=!0,e.schema.ancestors&&B1.call(e.schema.ancestors,n))){let t=e.schema.ancestors[n],r=-1;for(a=!1;++r<t.length;)e.stack.includes(t[r])&&(a=!0)}if(!a)return e.schema.strip&&!e.schema.strip.includes(n)?r:void 0;let o={type:`element`,tagName:n,properties:i,children:r};return e0(o,t),o}function K1(e,t){let n={type:`root`,children:J1(e,t.children)};return e0(n,t),n}function q1(e,t){let n={type:`text`,value:typeof t.value==`string`?t.value:``};return e0(n,t),n}function J1(e,t){let n=[];if(Array.isArray(t)){let r=t,i=-1;for(;++i<r.length;){let t=H1(e,r[i]);t&&(Array.isArray(t)?n.push(...t):n.push(t))}}return n}function Y1(e,t){let n=e.stack[e.stack.length-1],r=e.schema.attributes,i=e.schema.required,a=r&&B1.call(r,n)?r[n]:void 0,o=r&&B1.call(r,`*`)?r[`*`]:void 0,s=t&&typeof t==`object`?t:{},c={},l;for(l in s)if(B1.call(s,l)){let t=s[l],n=X1(e,t0(a,l),l,t);n??=X1(e,t0(o,l),l,t),n!=null&&(c[l]=n)}if(i&&B1.call(i,n)){let e=i[n];for(l in e)B1.call(e,l)&&!B1.call(c,l)&&(c[l]=e[l])}return c}function X1(e,t,n,r){return t?Array.isArray(r)?Z1(e,t,n,r):Q1(e,t,n,r):void 0}function Z1(e,t,n,r){let i=-1,a=[];for(;++i<r.length;){let o=Q1(e,t,n,r[i]);(typeof o==`number`||typeof o==`string`)&&a.push(o)}return a}function Q1(e,t,n,r){if(!(typeof r!=`boolean`&&typeof r!=`number`&&typeof r!=`string`)&&$1(e,n,r)){if(typeof t==`object`&&t.length>1){let e=!1,n=0;for(;++n<t.length;){let i=t[n];if(i&&typeof i==`object`&&`flags`in i){if(i.test(String(r))){e=!0;break}}else if(i===r){e=!0;break}}if(!e)return}return e.schema.clobber&&e.schema.clobberPrefix&&e.schema.clobber.includes(n)?e.schema.clobberPrefix+r:r}}function $1(e,t,n){let r=e.schema.protocols&&B1.call(e.schema.protocols,t)?e.schema.protocols[t]:void 0;if(!r||r.length===0)return!0;let i=String(n),a=i.indexOf(`:`),o=i.indexOf(`?`),s=i.indexOf(`#`),c=i.indexOf(`/`);if(a<0||c>-1&&a>c||o>-1&&a>o||s>-1&&a>s)return!0;let l=-1;for(;++l<r.length;){let e=r[l];if(a===e.length&&i.slice(0,e.length)===e)return!0}return!1}function e0(e,t){let n=_1(t);t.data&&(e.data=p$(t.data)),n&&(e.position=n)}function t0(e,t){let n,r=-1;if(e)for(;++r<e.length;){let i=e[r],a=typeof i==`string`?i:i[0];if(a===t)return i;a===`data*`&&(n=i)}if(t.length>4&&t.slice(0,4).toLowerCase()===`data`)return n}function n0(e){return function(t){return V1(t,e)}}var r0=h0(/[A-Za-z]/),i0=h0(/[\dA-Za-z]/),a0=h0(/[#-'*+\--9=?A-Z^-~]/);function o0(e){return e!==null&&(e<32||e===127)}var s0=h0(/\d/),c0=h0(/[\dA-Fa-f]/),l0=h0(/[!-/:-@[-`{-~]/);function u0(e){return e!==null&&e<-2}function d0(e){return e!==null&&(e<0||e===32)}function f0(e){return e===-2||e===-1||e===32}var p0=h0(/\p{P}|\p{S}/u),m0=h0(/\s/);function h0(e){return t;function t(t){return t!==null&&t>-1&&e.test(String.fromCharCode(t))}}function g0(e){if(typeof e!=`string`)throw TypeError(`Expected a string`);return e.replace(/[|\\{}()[\]^$+*?.]/g,`\\$&`).replace(/-/g,`\\x2d`)}function _0(e,t,n){let r=MV((n||{}).ignore||[]),i=v0(t),a=-1;for(;++a<i.length;)HV(e,`text`,o);function o(e,t){let n=-1,i;for(;++n<t.length;){let e=t[n],a=i?i.children:void 0;if(r(e,a?a.indexOf(e):void 0,i))return;i=e}if(i)return s(e,t)}function s(e,t){let n=t[t.length-1],r=i[a][0],o=i[a][1],s=0,c=n.children.indexOf(e),l=!1,u=[];r.lastIndex=0;let d=r.exec(e.value);for(;d;){let n=d.index,i={index:d.index,input:d.input,stack:[...t,e]},a=o(...d,i);if(typeof a==`string`&&(a=a.length>0?{type:`text`,value:a}:void 0),a===!1?r.lastIndex=n+1:(s!==n&&u.push({type:`text`,value:e.value.slice(s,n)}),Array.isArray(a)?u.push(...a):a&&u.push(a),s=n+d[0].length,l=!0),!r.global)break;d=r.exec(e.value)}return l?(s<e.value.length&&u.push({type:`text`,value:e.value.slice(s)}),n.children.splice(c,1,...u)):u=[e],c+u.length}}function v0(e){let t=[];if(!Array.isArray(e))throw TypeError(`Expected find and replace tuple or list of tuples`);let n=!e[0]||Array.isArray(e[0])?e:[e],r=-1;for(;++r<n.length;){let e=n[r];t.push([y0(e[0]),b0(e[1])])}return t}function y0(e){return typeof e==`string`?new RegExp(g0(e),`g`):e}function b0(e){return typeof e==`function`?e:function(){return e}}var x0=`phrasing`,S0=[`autolink`,`link`,`image`,`label`];function C0(){return{transforms:[j0],enter:{literalAutolink:T0,literalAutolinkEmail:E0,literalAutolinkHttp:E0,literalAutolinkWww:E0},exit:{literalAutolink:A0,literalAutolinkEmail:k0,literalAutolinkHttp:D0,literalAutolinkWww:O0}}}function w0(){return{unsafe:[{character:`@`,before:`[+\\-.\\w]`,after:`[\\-.\\w]`,inConstruct:x0,notInConstruct:S0},{character:`.`,before:`[Ww]`,after:`[\\-.\\w]`,inConstruct:x0,notInConstruct:S0},{character:`:`,before:`[ps]`,after:`\\/`,inConstruct:x0,notInConstruct:S0}]}}function T0(e){this.enter({type:`link`,title:null,url:``,children:[]},e)}function E0(e){this.config.enter.autolinkProtocol.call(this,e)}function D0(e){this.config.exit.autolinkProtocol.call(this,e)}function O0(e){this.config.exit.data.call(this,e);let t=this.stack[this.stack.length-1];t.type,t.url=`http://`+this.sliceSerialize(e)}function k0(e){this.config.exit.autolinkEmail.call(this,e)}function A0(e){this.exit(e)}function j0(e){_0(e,[[/(https?:\/\/|www(?=\.))([-.\w]+)([^ \t\r\n]*)/gi,M0],[/([-.\w+]+)@([-\w]+(?:\.[-\w]+)+)/g,N0]],{ignore:[`link`,`linkReference`]})}function M0(e,t,n,r,i){let a=``;if(!I0(i)||(/^w/i.test(t)&&(n=t+n,t=``,a=`http://`),!P0(n)))return!1;let o=F0(n+r);if(!o[0])return!1;let s={type:`link`,title:null,url:a+t+o[0],children:[{type:`text`,value:t+o[0]}]};return o[1]?[s,{type:`text`,value:o[1]}]:s}function N0(e,t,n,r){return!I0(r,!0)||/[-\d_]$/.test(n)?!1:{type:`link`,title:null,url:`mailto:`+t+`@`+n,children:[{type:`text`,value:t+`@`+n}]}}function P0(e){let t=e.split(`.`);return!(t.length<2||t[t.length-1]&&(/_/.test(t[t.length-1])||!/[a-zA-Z\d]/.test(t[t.length-1]))||t[t.length-2]&&(/_/.test(t[t.length-2])||!/[a-zA-Z\d]/.test(t[t.length-2])))}function F0(e){let t=/[!"&'),.:;<>?\]}]+$/.exec(e);if(!t)return[e,void 0];e=e.slice(0,t.index);let n=t[0],r=n.indexOf(`)`),i=fY(e,`(`),a=fY(e,`)`);for(;r!==-1&&i>a;)e+=n.slice(0,r+1),n=n.slice(r+1),r=n.indexOf(`)`),a++;return[e,n]}function I0(e,t){let n=e.input.charCodeAt(e.index-1);return(e.index===0||m0(n)||p0(n))&&(!t||n!==47)}function L0(e){return e.replace(/[\t\n\r ]+/g,` `).replace(/^ | $/g,``).toLowerCase().toUpperCase()}R0.peek=Pce;function wce(){return{enter:{gfmFootnoteDefinition:Ece,gfmFootnoteDefinitionLabelString:Dce,gfmFootnoteCall:Ace,gfmFootnoteCallString:jce},exit:{gfmFootnoteDefinition:kce,gfmFootnoteDefinitionLabelString:Oce,gfmFootnoteCall:Nce,gfmFootnoteCallString:Mce}}}function Tce(){return{unsafe:[{character:`[`,inConstruct:[`phrasing`,`label`,`reference`]}],handlers:{footnoteDefinition:Fce,footnoteReference:R0}}}function Ece(e){this.enter({type:`footnoteDefinition`,identifier:``,label:``,children:[]},e)}function Dce(){this.buffer()}function Oce(e){let t=this.resume(),n=this.stack[this.stack.length-1];n.type,n.label=t,n.identifier=L0(this.sliceSerialize(e)).toLowerCase()}function kce(e){this.exit(e)}function Ace(e){this.enter({type:`footnoteReference`,identifier:``,label:``},e)}function jce(){this.buffer()}function Mce(e){let t=this.resume(),n=this.stack[this.stack.length-1];n.type,n.label=t,n.identifier=L0(this.sliceSerialize(e)).toLowerCase()}function Nce(e){this.exit(e)}function R0(e,t,n,r){let i=n.createTracker(r),a=i.move(`[^`),o=n.enter(`footnoteReference`),s=n.enter(`reference`);return a+=i.move(n.safe(n.associationId(e),{...i.current(),before:a,after:`]`})),s(),o(),a+=i.move(`]`),a}function Pce(){return`[`}function Fce(e,t,n,r){let i=n.createTracker(r),a=i.move(`[^`),o=n.enter(`footnoteDefinition`),s=n.enter(`label`);return a+=i.move(n.safe(n.associationId(e),{...i.current(),before:a,after:`]`})),s(),a+=i.move(`]:`+(e.children&&e.children.length>0?` `:``)),i.shift(4),a+=i.move(n.indentLines(n.containerFlow(e,i.current()),Ice)),o(),a}function Ice(e,t,n){return t===0?e:(n?``:` `)+e}var Lce=[`autolink`,`destinationLiteral`,`destinationRaw`,`reference`,`titleQuote`,`titleApostrophe`];z0.peek=Hce;function Rce(){return{canContainEols:[`delete`],enter:{strikethrough:Bce},exit:{strikethrough:Vce}}}function zce(){return{unsafe:[{character:`~`,inConstruct:`phrasing`,notInConstruct:Lce}],handlers:{delete:z0}}}function Bce(e){this.enter({type:`delete`,children:[]},e)}function Vce(e){this.exit(e)}function z0(e,t,n,r){let i=n.createTracker(r),a=n.enter(`strikethrough`),o=i.move(`~~`);return o+=n.containerPhrasing(e,{...i.current(),before:o,after:`~`}),o+=i.move(`~~`),a(),o}function Hce(){return`~`}function Uce(e,t={}){let n=(t.align||[]).concat(),r=t.stringLength||Gce,i=[],a=[],o=[],s=[],c=0,l=-1;for(;++l<e.length;){let n=[],i=[],u=-1;for(e[l].length>c&&(c=e[l].length);++u<e[l].length;){let a=Wce(e[l][u]);if(t.alignDelimiters!==!1){let e=r(a);i[u]=e,(s[u]===void 0||e>s[u])&&(s[u]=e)}n.push(a)}a[l]=n,o[l]=i}let u=-1;if(typeof n==`object`&&`length`in n)for(;++u<c;)i[u]=B0(n[u]);else{let e=B0(n);for(;++u<c;)i[u]=e}u=-1;let d=[],f=[];for(;++u<c;){let e=i[u],n=``,r=``;e===99?(n=`:`,r=`:`):e===108?n=`:`:e===114&&(r=`:`);let a=t.alignDelimiters===!1?1:Math.max(1,s[u]-n.length-r.length),o=n+`-`.repeat(a)+r;t.alignDelimiters!==!1&&(a=n.length+a+r.length,a>s[u]&&(s[u]=a),f[u]=a),d[u]=o}a.splice(1,0,d),o.splice(1,0,f),l=-1;let p=[];for(;++l<a.length;){let e=a[l],n=o[l];u=-1;let r=[];for(;++u<c;){let a=e[u]||``,o=``,l=``;if(t.alignDelimiters!==!1){let e=s[u]-(n[u]||0),t=i[u];t===114?o=` `.repeat(e):t===99?e%2?(o=` `.repeat(e/2+.5),l=` `.repeat(e/2-.5)):(o=` `.repeat(e/2),l=o):l=` `.repeat(e)}t.delimiterStart!==!1&&!u&&r.push(`|`),t.padding!==!1&&!(t.alignDelimiters===!1&&a===``)&&(t.delimiterStart!==!1||u)&&r.push(` `),t.alignDelimiters!==!1&&r.push(o),r.push(a),t.alignDelimiters!==!1&&r.push(l),t.padding!==!1&&r.push(` `),(t.delimiterEnd!==!1||u!==c-1)&&r.push(`|`)}p.push(t.delimiterEnd===!1?r.join(``).replace(/ +$/,``):r.join(``))}return p.join(`
36
+ `)}function Wce(e){return e==null?``:String(e)}function Gce(e){return e.length}function B0(e){let t=typeof e==`string`?e.codePointAt(0):0;return t===67||t===99?99:t===76||t===108?108:t===82||t===114?114:0}var Kce={}.hasOwnProperty;function V0(e,t){let n=-1,r;if(t.extensions)for(;++n<t.extensions.length;)V0(e,t.extensions[n]);for(r in t)if(Kce.call(t,r))switch(r){case`extensions`:break;case`unsafe`:H0(e[r],t[r]);break;case`join`:H0(e[r],t[r]);break;case`handlers`:qce(e[r],t[r]);break;default:e.options[r]=t[r]}return e}function H0(e,t){t&&e.push(...t)}function qce(e,t){t&&Object.assign(e,t)}function Jce(e,t,n,r){let i=n.enter(`blockquote`),a=n.createTracker(r);a.move(`> `),a.shift(2);let o=n.indentLines(n.containerFlow(e,a.current()),Yce);return i(),o}function Yce(e,t,n){return`>`+(n?``:` `)+e}function U0(e,t){return W0(e,t.inConstruct,!0)&&!W0(e,t.notInConstruct,!1)}function W0(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 G0(e,t,n,r){let i=-1;for(;++i<n.unsafe.length;)if(n.unsafe[i].character===`
37
+ `&&U0(n.stack,n.unsafe[i]))return/[ \t]/.test(r.before)?``:` `;return`\\
38
+ `}function Xce(e,t){let n=String(e),r=n.indexOf(t),i=r,a=0,o=0;if(typeof t!=`string`)throw TypeError(`Expected substring`);for(;r!==-1;)r===i?++a>o&&(o=a):a=1,i=r+t.length,r=n.indexOf(t,i);return o}function K0(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 Zce(e){let t=e.options.fence||"`";if(t!=="`"&&t!==`~`)throw Error("Cannot serialize code with `"+t+"` for `options.fence`, expected `` ` `` or `~`");return t}function Qce(e,t,n,r){let i=Zce(n),a=e.value||``,o=i==="`"?`GraveAccent`:`Tilde`;if(K0(e,n)){let e=n.enter(`codeIndented`),t=n.indentLines(a,$ce);return e(),t}let s=n.createTracker(r),c=i.repeat(Math.max(Xce(a,i)+1,3)),l=n.enter(`codeFenced`),u=s.move(c);if(e.lang){let t=n.enter(`codeFencedLang${o}`);u+=s.move(n.safe(e.lang,{before:u,after:` `,encode:["`"],...s.current()})),t()}if(e.lang&&e.meta){let t=n.enter(`codeFencedMeta${o}`);u+=s.move(` `),u+=s.move(n.safe(e.meta,{before:u,after:`
39
+ `,encode:["`"],...s.current()})),t()}return u+=s.move(`
40
+ `),a&&(u+=s.move(a+`
41
+ `)),u+=s.move(c),l(),u}function $ce(e,t,n){return(n?``:` `)+e}function q0(e){let t=e.options.quote||`"`;if(t!==`"`&&t!==`'`)throw Error("Cannot serialize title with `"+t+"` for `options.quote`, expected `\"`, or `'`");return t}function ele(e,t,n,r){let i=q0(n),a=i===`"`?`Quote`:`Apostrophe`,o=n.enter(`definition`),s=n.enter(`label`),c=n.createTracker(r),l=c.move(`[`);return l+=c.move(n.safe(n.associationId(e),{before:l,after:`]`,...c.current()})),l+=c.move(`]: `),s(),!e.url||/[\0- \u007F]/.test(e.url)?(s=n.enter(`destinationLiteral`),l+=c.move(`<`),l+=c.move(n.safe(e.url,{before:l,after:`>`,...c.current()})),l+=c.move(`>`)):(s=n.enter(`destinationRaw`),l+=c.move(n.safe(e.url,{before:l,after:e.title?` `:`
42
+ `,...c.current()}))),s(),e.title&&(s=n.enter(`title${a}`),l+=c.move(` `+i),l+=c.move(n.safe(e.title,{before:l,after:i,...c.current()})),l+=c.move(i),s()),o(),l}function tle(e){let t=e.options.emphasis||`*`;if(t!==`*`&&t!==`_`)throw Error("Cannot serialize emphasis with `"+t+"` for `options.emphasis`, expected `*`, or `_`");return t}J0.peek=nle;function J0(e,t,n,r){let i=tle(n),a=n.enter(`emphasis`),o=n.createTracker(r),s=o.move(i);return s+=o.move(n.containerPhrasing(e,{before:s,after:i,...o.current()})),s+=o.move(i),a(),s}function nle(e,t,n){return n.options.emphasis||`*`}var rle={};function Y0(e,t){let n=t||rle;return X0(e,typeof n.includeImageAlt==`boolean`?n.includeImageAlt:!0,typeof n.includeHtml==`boolean`?n.includeHtml:!0)}function X0(e,t,n){if(ile(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 Z0(e.children,t,n)}return Array.isArray(e)?Z0(e,t,n):``}function Z0(e,t,n){let r=[],i=-1;for(;++i<e.length;)r[i]=X0(e[i],t,n);return r.join(``)}function ile(e){return!!(e&&typeof e==`object`)}function Q0(e,t){let n=!1;return WV(e,function(e){if(`value`in e&&/\r?\n|\r/.test(e.value)||e.type===`break`)return n=!0,!1}),!!((!e.depth||e.depth<3)&&Y0(e)&&(t.options.setext||n))}function ale(e,t,n,r){let i=Math.max(Math.min(6,e.depth||1),1),a=n.createTracker(r);if(Q0(e,n)){let t=n.enter(`headingSetext`),r=n.enter(`phrasing`),o=n.containerPhrasing(e,{...a.current(),before:`
43
+ `,after:`
44
+ `});return r(),t(),o+`
45
+ `+(i===1?`=`:`-`).repeat(o.length-(Math.max(o.lastIndexOf(`\r`),o.lastIndexOf(`
46
+ `))+1))}let o=`#`.repeat(i),s=n.enter(`headingAtx`),c=n.enter(`phrasing`);a.move(o+` `);let l=n.containerPhrasing(e,{before:`# `,after:`
47
+ `,...a.current()});return/^[\t ]/.test(l)&&(l=`&#x`+l.charCodeAt(0).toString(16).toUpperCase()+`;`+l.slice(1)),l=l?o+` `+l:o,n.options.closeAtx&&(l+=` `+o),c(),s(),l}$0.peek=ole;function $0(e){return e.value||``}function ole(){return`<`}e2.peek=sle;function e2(e,t,n,r){let i=q0(n),a=i===`"`?`Quote`:`Apostrophe`,o=n.enter(`image`),s=n.enter(`label`),c=n.createTracker(r),l=c.move(`![`);return l+=c.move(n.safe(e.alt,{before:l,after:`]`,...c.current()})),l+=c.move(`](`),s(),!e.url&&e.title||/[\0- \u007F]/.test(e.url)?(s=n.enter(`destinationLiteral`),l+=c.move(`<`),l+=c.move(n.safe(e.url,{before:l,after:`>`,...c.current()})),l+=c.move(`>`)):(s=n.enter(`destinationRaw`),l+=c.move(n.safe(e.url,{before:l,after:e.title?` `:`)`,...c.current()}))),s(),e.title&&(s=n.enter(`title${a}`),l+=c.move(` `+i),l+=c.move(n.safe(e.title,{before:l,after:i,...c.current()})),l+=c.move(i),s()),l+=c.move(`)`),o(),l}function sle(){return`!`}t2.peek=cle;function t2(e,t,n,r){let i=e.referenceType,a=n.enter(`imageReference`),o=n.enter(`label`),s=n.createTracker(r),c=s.move(`![`),l=n.safe(e.alt,{before:c,after:`]`,...s.current()});c+=s.move(l+`][`),o();let u=n.stack;n.stack=[],o=n.enter(`reference`);let d=n.safe(n.associationId(e),{before:c,after:`]`,...s.current()});return o(),n.stack=u,a(),i===`full`||!l||l!==d?c+=s.move(d+`]`):i===`shortcut`?c=c.slice(0,-1):c+=s.move(`]`),c}function cle(){return`!`}n2.peek=lle;function n2(e,t,n){let r=e.value||``,i="`",a=-1;for(;RegExp("(^|[^`])"+i+"([^`]|$)").test(r);)i+="`";for(/[^ \r\n]/.test(r)&&(/^[ \r\n]/.test(r)&&/[ \r\n]$/.test(r)||/^`|`$/.test(r))&&(r=` `+r+` `);++a<n.unsafe.length;){let e=n.unsafe[a],t=n.compilePattern(e),i;if(e.atBreak)for(;i=t.exec(r);){let e=i.index;r.charCodeAt(e)===10&&r.charCodeAt(e-1)===13&&e--,r=r.slice(0,e)+` `+r.slice(i.index+1)}}return i+r+i}function lle(){return"`"}function r2(e,t){let n=Y0(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))}i2.peek=ule;function i2(e,t,n,r){let i=q0(n),a=i===`"`?`Quote`:`Apostrophe`,o=n.createTracker(r),s,c;if(r2(e,n)){let t=n.stack;n.stack=[],s=n.enter(`autolink`);let r=o.move(`<`);return r+=o.move(n.containerPhrasing(e,{before:r,after:`>`,...o.current()})),r+=o.move(`>`),s(),n.stack=t,r}s=n.enter(`link`),c=n.enter(`label`);let l=o.move(`[`);return l+=o.move(n.containerPhrasing(e,{before:l,after:`](`,...o.current()})),l+=o.move(`](`),c(),!e.url&&e.title||/[\0- \u007F]/.test(e.url)?(c=n.enter(`destinationLiteral`),l+=o.move(`<`),l+=o.move(n.safe(e.url,{before:l,after:`>`,...o.current()})),l+=o.move(`>`)):(c=n.enter(`destinationRaw`),l+=o.move(n.safe(e.url,{before:l,after:e.title?` `:`)`,...o.current()}))),c(),e.title&&(c=n.enter(`title${a}`),l+=o.move(` `+i),l+=o.move(n.safe(e.title,{before:l,after:i,...o.current()})),l+=o.move(i),c()),l+=o.move(`)`),s(),l}function ule(e,t,n){return r2(e,n)?`<`:`[`}a2.peek=dle;function a2(e,t,n,r){let i=e.referenceType,a=n.enter(`linkReference`),o=n.enter(`label`),s=n.createTracker(r),c=s.move(`[`),l=n.containerPhrasing(e,{before:c,after:`]`,...s.current()});c+=s.move(l+`][`),o();let u=n.stack;n.stack=[],o=n.enter(`reference`);let d=n.safe(n.associationId(e),{before:c,after:`]`,...s.current()});return o(),n.stack=u,a(),i===`full`||!l||l!==d?c+=s.move(d+`]`):i===`shortcut`?c=c.slice(0,-1):c+=s.move(`]`),c}function dle(){return`[`}function o2(e){let t=e.options.bullet||`*`;if(t!==`*`&&t!==`+`&&t!==`-`)throw Error("Cannot serialize items with `"+t+"` for `options.bullet`, expected `*`, `+`, or `-`");return t}function fle(e){let t=o2(e),n=e.options.bulletOther;if(!n)return t===`*`?`-`:`*`;if(n!==`*`&&n!==`+`&&n!==`-`)throw Error("Cannot serialize items with `"+n+"` for `options.bulletOther`, expected `*`, `+`, or `-`");if(n===t)throw Error("Expected `bullet` (`"+t+"`) and `bulletOther` (`"+n+"`) to be different");return n}function ple(e){let t=e.options.bulletOrdered||`.`;if(t!==`.`&&t!==`)`)throw Error("Cannot serialize items with `"+t+"` for `options.bulletOrdered`, expected `.` or `)`");return t}function s2(e){let t=e.options.rule||`*`;if(t!==`*`&&t!==`-`&&t!==`_`)throw Error("Cannot serialize rules with `"+t+"` for `options.rule`, expected `*`, `-`, or `_`");return t}function mle(e,t,n,r){let i=n.enter(`list`),a=n.bulletCurrent,o=e.ordered?ple(n):o2(n),s=e.ordered?o===`.`?`)`:`.`:fle(n),c=t&&n.bulletLastUsed?o===n.bulletLastUsed:!1;if(!e.ordered){let t=e.children?e.children[0]:void 0;if((o===`*`||o===`-`)&&t&&(!t.children||!t.children[0])&&n.stack[n.stack.length-1]===`list`&&n.stack[n.stack.length-2]===`listItem`&&n.stack[n.stack.length-3]===`list`&&n.stack[n.stack.length-4]===`listItem`&&n.indexStack[n.indexStack.length-1]===0&&n.indexStack[n.indexStack.length-2]===0&&n.indexStack[n.indexStack.length-3]===0&&(c=!0),s2(n)===o&&t){let t=-1;for(;++t<e.children.length;){let n=e.children[t];if(n&&n.type===`listItem`&&n.children&&n.children[0]&&n.children[0].type===`thematicBreak`){c=!0;break}}}}c&&(o=s),n.bulletCurrent=o;let l=n.containerFlow(e,r);return n.bulletLastUsed=o,n.bulletCurrent=a,i(),l}function hle(e){let t=e.options.listItemIndent||`one`;if(t!==`tab`&&t!==`one`&&t!==`mixed`)throw Error("Cannot serialize items with `"+t+"` for `options.listItemIndent`, expected `tab`, `one`, or `mixed`");return t}function gle(e,t,n,r){let i=hle(n),a=n.bulletCurrent||o2(n);t&&t.type===`list`&&t.ordered&&(a=(typeof t.start==`number`&&t.start>-1?t.start:1)+(n.options.incrementListMarker===!1?0:t.children.indexOf(e))+a);let o=a.length+1;(i===`tab`||i===`mixed`&&(t&&t.type===`list`&&t.spread||e.spread))&&(o=Math.ceil(o/4)*4);let s=n.createTracker(r);s.move(a+` `.repeat(o-a.length)),s.shift(o);let c=n.enter(`listItem`),l=n.indentLines(n.containerFlow(e,s.current()),u);return c(),l;function u(e,t,n){return t?(n?``:` `.repeat(o))+e:(n?a:a+` `.repeat(o-a.length))+e}}function _le(e,t,n,r){let i=n.enter(`paragraph`),a=n.enter(`phrasing`),o=n.containerPhrasing(e,r);return a(),i(),o}var vle=MV([`break`,`delete`,`emphasis`,`footnote`,`footnoteReference`,`image`,`imageReference`,`inlineCode`,`inlineMath`,`link`,`linkReference`,`mdxJsxTextElement`,`mdxTextExpression`,`strong`,`text`,`textDirective`]);function yle(e,t,n,r){return(e.children.some(function(e){return vle(e)})?n.containerPhrasing:n.containerFlow).call(n,e,r)}function ble(e){let t=e.options.strong||`*`;if(t!==`*`&&t!==`_`)throw Error("Cannot serialize strong with `"+t+"` for `options.strong`, expected `*`, or `_`");return t}c2.peek=xle;function c2(e,t,n,r){let i=ble(n),a=n.enter(`strong`),o=n.createTracker(r),s=o.move(i+i);return s+=o.move(n.containerPhrasing(e,{before:s,after:i,...o.current()})),s+=o.move(i+i),a(),s}function xle(e,t,n){return n.options.strong||`*`}function Sle(e,t,n,r){return n.safe(e.value,r)}function Cle(e){let t=e.options.ruleRepetition||3;if(t<3)throw Error("Cannot serialize rules with repetition `"+t+"` for `options.ruleRepetition`, expected `3` or more");return t}function wle(e,t,n){let r=(s2(n)+(n.options.ruleSpaces?` `:``)).repeat(Cle(n));return n.options.ruleSpaces?r.slice(0,-1):r}var l2={blockquote:Jce,break:G0,code:Qce,definition:ele,emphasis:J0,hardBreak:G0,heading:ale,html:$0,image:e2,imageReference:t2,inlineCode:n2,link:i2,linkReference:a2,list:mle,listItem:gle,paragraph:_le,root:yle,strong:c2,text:Sle,thematicBreak:wle},Tle=[Ele];function Ele(e,t,n,r){if(t.type===`code`&&K0(t,r)&&(e.type===`list`||e.type===t.type&&K0(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`&&Q0(t,r))?void 0:n.spread?1:0}var u2=[`autolink`,`destinationLiteral`,`destinationRaw`,`reference`,`titleQuote`,`titleApostrophe`],Dle=[{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:`
48
+ `,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:u2},{character:`"`,inConstruct:`titleQuote`},{atBreak:!0,character:`#`},{character:`#`,inConstruct:`headingAtx`,after:`(?:[\r
49
+ ]|$)`},{character:`&`,after:`[#A-Za-z]`,inConstruct:`phrasing`},{character:`'`,inConstruct:`titleApostrophe`},{character:`(`,inConstruct:`destinationRaw`},{before:`\\]`,character:`(`,inConstruct:`phrasing`,notInConstruct:u2},{atBreak:!0,before:`\\d+`,character:`)`},{character:`)`,inConstruct:`destinationRaw`},{atBreak:!0,character:`*`,after:`(?:[ \r
50
+ *])`},{character:`*`,inConstruct:`phrasing`,notInConstruct:u2},{atBreak:!0,character:`+`,after:`(?:[ \r
51
+ ])`},{atBreak:!0,character:`-`,after:`(?:[ \r
52
+ -])`},{atBreak:!0,before:`\\d+`,character:`.`,after:`(?:[ \r
53
+ ]|$)`},{atBreak:!0,character:`<`,after:`[!/?A-Za-z]`},{character:`<`,after:`[!/?A-Za-z]`,inConstruct:`phrasing`,notInConstruct:u2},{character:`<`,inConstruct:`destinationLiteral`},{atBreak:!0,character:`=`},{atBreak:!0,character:`>`},{character:`>`,inConstruct:`destinationLiteral`},{atBreak:!0,character:`[`},{character:`[`,inConstruct:`phrasing`,notInConstruct:u2},{character:`[`,inConstruct:[`label`,`reference`]},{character:`\\`,after:`[\\r\\n]`,inConstruct:`phrasing`},{character:`]`,inConstruct:[`label`,`reference`]},{atBreak:!0,character:`_`},{character:`_`,inConstruct:`phrasing`,notInConstruct:u2},{atBreak:!0,character:"`"},{character:"`",inConstruct:[`codeFencedLangGraveAccent`,`codeFencedMetaGraveAccent`]},{character:"`",inConstruct:`phrasing`,notInConstruct:u2},{atBreak:!0,character:`~`}],d2={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:`Ç`,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:`
54
+ `,Nfr:`𝔑`,NoBreak:`⁠`,NonBreakingSpace:`\xA0`,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:`ℌ`,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:` `,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:`ffi`,fflig:`ff`,ffllig:`ffl`,ffr:`𝔣`,filig:`fi`,fjlig:`fj`,flat:`♭`,fllig:`fl`,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:`ʼn`,napprox:`≉`,natur:`♮`,natural:`♮`,naturals:`ℕ`,nbsp:`\xA0`,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:`‌`},Ole={}.hasOwnProperty;function f2(e){return Ole.call(d2,e)?d2[e]:!1}function p2(e,t){let n=Number.parseInt(e,t);return n<9||n===11||n>13&&n<32||n>126&&n<160||n>55295&&n<57344||n>64975&&n<65008||(n&65535)==65535||(n&65535)==65534||n>1114111?`�`:String.fromCodePoint(n)}var kle=/\\([!-/:-@[-`{-~])|&(#(?:\d{1,7}|x[\da-f]{1,6})|[\da-z]{1,31});/gi;function m2(e){return e.replace(kle,Ale)}function Ale(e,t,n){if(t)return t;if(n.charCodeAt(0)===35){let e=n.charCodeAt(1),t=e===120||e===88;return p2(n.slice(t?2:1),t?16:10)}return f2(n)||e}function jle(e){return e.label||!e.identifier?e.label||``:m2(e.identifier)}function Mle(e){if(!e._compiled){let t=(e.atBreak?`[\\r\\n][\\t ]*`:``)+(e.before?`(?:`+e.before+`)`:``);e._compiled=RegExp((t?`(`+t+`)`:``)+(/[|\\{}()[\]^$+*?.-]/.test(e.character)?`\\`:``)+e.character+(e.after?`(?:`+e.after+`)`:``),`g`)}return e._compiled}function Nle(e,t,n){let r=t.indexStack,i=e.children||[],a=[],o=-1,s=n.before;r.push(-1);let c=t.createTracker(n);for(;++o<i.length;){let l=i[o],u;if(r[r.length-1]=o,o+1<i.length){let n=t.handle.handlers[i[o+1].type];n&&n.peek&&(n=n.peek),u=n?n(i[o+1],e,t,{before:``,after:``,...c.current()}).charAt(0):``}else u=n.after;a.length>0&&(s===`\r`||s===`
55
+ `)&&l.type===`html`&&(a[a.length-1]=a[a.length-1].replace(/(\r?\n|\r)$/,` `),s=` `,c=t.createTracker(n),c.move(a.join(``))),a.push(c.move(t.handle(l,e,t,{...c.current(),before:s,after:u}))),s=a[a.length-1].slice(-1)}return r.pop(),a.join(``)}function Ple(e,t,n){let r=t.indexStack,i=e.children||[],a=t.createTracker(n),o=[],s=-1;for(r.push(-1);++s<i.length;){let n=i[s];r[r.length-1]=s,o.push(a.move(t.handle(n,e,t,{before:`
56
+ `,after:`
57
+ `,...a.current()}))),n.type!==`list`&&(t.bulletLastUsed=void 0),s<i.length-1&&o.push(a.move(Fle(n,i[s+1],e,t)))}return r.pop(),o.join(``)}function Fle(e,t,n,r){let i=r.join.length;for(;i--;){let a=r.join[i](e,t,n,r);if(a===!0||a===1)break;if(typeof a==`number`)return`
58
+ `.repeat(1+a);if(a===!1)return`
59
+
60
+ <!---->
61
+
62
+ `}return`
63
+
64
+ `}var Ile=/\r?\n|\r/g;function Lle(e,t){let n=[],r=0,i=0,a;for(;a=Ile.exec(e);)o(e.slice(r,a.index)),n.push(a[0]),r=a.index+a[0].length,i++;return o(e.slice(r)),n.join(``);function o(e){n.push(t(e,i,!e))}}function Rle(e,t,n){let r=(n.before||``)+(t||``)+(n.after||``),i=[],a=[],o={},s=-1;for(;++s<e.unsafe.length;){let t=e.unsafe[s];if(!U0(e.stack,t))continue;let n=e.compilePattern(t),a;for(;a=n.exec(r);){let e=`before`in t||!!t.atBreak,n=`after`in t,r=a.index+(e?a[1].length:0);i.includes(r)?(o[r].before&&!e&&(o[r].before=!1),o[r].after&&!n&&(o[r].after=!1)):(i.push(r),o[r]={before:e,after:n})}}i.sort(zle);let c=n.before?n.before.length:0,l=r.length-(n.after?n.after.length:0);for(s=-1;++s<i.length;){let e=i[s];e<c||e>=l||e+1<l&&i[s+1]===e+1&&o[e].after&&!o[e+1].before&&!o[e+1].after||i[s-1]===e-1&&o[e].before&&!o[e-1].before&&!o[e-1].after||(c!==e&&a.push(h2(r.slice(c,e),`\\`)),c=e,/[!-/:-@[-`{-~]/.test(r.charAt(e))&&(!n.encode||!n.encode.includes(r.charAt(e)))?a.push(`\\`):(a.push(`&#x`+r.charCodeAt(e).toString(16).toUpperCase()+`;`),c++))}return a.push(h2(r.slice(c,l),n.after)),a.join(``)}function zle(e,t){return e-t}function h2(e,t){let n=/\\(?=[!-/:-@[-`{-~])/g,r=[],i=[],a=e+t,o=-1,s=0,c;for(;c=n.exec(a);)r.push(c.index);for(;++o<r.length;)s!==r[o]&&i.push(e.slice(s,r[o])),i.push(`\\`),s=r[o];return i.push(e.slice(s)),i.join(``)}function Ble(e){let t=e||{},n=t.now||{},r=t.lineShift||0,i=n.line||1,a=n.column||1;return{move:c,current:o,shift:s};function o(){return{now:{line:i,column:a},lineShift:r}}function s(e){r+=e}function c(e){let t=e||``,n=t.split(/\r?\n|\r/g),o=n[n.length-1];return i+=n.length-1,a=n.length===1?a+o.length:1+o.length+r,t}}function Vle(e,t={}){let n={enter:i,indentLines:Lle,associationId:jle,containerPhrasing:Gle,containerFlow:Kle,createTracker:Ble,compilePattern:Mle,safe:qle,stack:[],unsafe:[...Dle],join:[...Tle],handlers:{...l2},options:{},indexStack:[],handle:void 0};V0(n,t),n.options.tightDefinitions&&n.join.push(Wle),n.handle=RJ(`type`,{invalid:Hle,unknown:Ule,handlers:n.handlers});let r=n.handle(e,void 0,n,{before:`
65
+ `,after:`
66
+ `,now:{line:1,column:1},lineShift:0});return r&&r.charCodeAt(r.length-1)!==10&&r.charCodeAt(r.length-1)!==13&&(r+=`
67
+ `),r;function i(e){return n.stack.push(e),t;function t(){n.stack.pop()}}}function Hle(e){throw Error("Cannot handle value `"+e+"`, expected node")}function Ule(e){let t=e;throw Error("Cannot handle unknown node `"+t.type+"`")}function Wle(e,t){if(e.type===`definition`&&e.type===t.type)return 0}function Gle(e,t){return Nle(e,this,t)}function Kle(e,t){return Ple(e,this,t)}function qle(e,t){return Rle(this,e,t)}function Jle(){return{enter:{table:Yle,tableData:_2,tableHeader:_2,tableRow:Zle},exit:{codeText:Qle,table:Xle,tableData:g2,tableHeader:g2,tableRow:g2}}}function Yle(e){let t=e._align;this.enter({type:`table`,align:t.map(function(e){return e===`none`?null:e}),children:[]},e),this.data.inTable=!0}function Xle(e){this.exit(e),this.data.inTable=void 0}function Zle(e){this.enter({type:`tableRow`,children:[]},e)}function g2(e){this.exit(e)}function _2(e){this.enter({type:`tableCell`,children:[]},e)}function Qle(e){let t=this.resume();this.data.inTable&&(t=t.replace(/\\([\\|])/g,$le));let n=this.stack[this.stack.length-1];n.type,n.value=t,this.exit(e)}function $le(e,t){return t===`|`?t:e}function eue(e){let t=e||{},n=t.tableCellPadding,r=t.tablePipeAlign,i=t.stringLength,a=n?` `:`|`;return{unsafe:[{character:`\r`,inConstruct:`tableCell`},{character:`
68
+ `,inConstruct:`tableCell`},{atBreak:!0,character:`|`,after:`[ :-]`},{character:`|`,inConstruct:`tableCell`},{atBreak:!0,character:`:`,after:`-`},{atBreak:!0,character:`-`,after:`[:|-]`}],handlers:{inlineCode:f,table:o,tableCell:c,tableRow:s}};function o(e,t,n,r){return l(u(e,n,r),e.align)}function s(e,t,n,r){let i=l([d(e,n,r)]);return i.slice(0,i.indexOf(`
69
+ `))}function c(e,t,n,r){let i=n.enter(`tableCell`),o=n.enter(`phrasing`),s=n.containerPhrasing(e,{...r,before:a,after:a});return o(),i(),s}function l(e,t){return Uce(e,{align:t,alignDelimiters:r,padding:n,stringLength:i})}function u(e,t,n){let r=e.children,i=-1,a=[],o=t.enter(`table`);for(;++i<r.length;)a[i]=d(r[i],t,n);return o(),a}function d(e,t,n){let r=e.children,i=-1,a=[],o=t.enter(`tableRow`);for(;++i<r.length;)a[i]=c(r[i],e,t,n);return o(),a}function f(e,t,n){let r=l2.inlineCode(e,t,n);return n.stack.includes(`tableCell`)&&(r=r.replace(/\|/g,`\\$&`)),r}}function tue(){return{exit:{taskListCheckValueChecked:v2,taskListCheckValueUnchecked:v2,paragraph:rue}}}function nue(){return{unsafe:[{atBreak:!0,character:`-`,after:`[:|-]`}],handlers:{listItem:iue}}}function v2(e){let t=this.stack[this.stack.length-2];t.type,t.checked=e.type===`taskListCheckValueChecked`}function rue(e){let t=this.stack[this.stack.length-2];if(t&&t.type===`listItem`&&typeof t.checked==`boolean`){let e=this.stack[this.stack.length-1];e.type;let n=e.children[0];if(n&&n.type===`text`){let r=t.children,i=-1,a;for(;++i<r.length;){let e=r[i];if(e.type===`paragraph`){a=e;break}}a===e&&(n.value=n.value.slice(1),n.value.length===0?e.children.shift():e.position&&n.position&&typeof n.position.start.offset==`number`&&(n.position.start.column++,n.position.start.offset++,e.position.start=Object.assign({},n.position.start)))}}this.exit(e)}function iue(e,t,n,r){let i=e.children[0],a=typeof e.checked==`boolean`&&i&&i.type===`paragraph`,o=`[`+(e.checked?`x`:` `)+`] `,s=n.createTracker(r);a&&s.move(o);let c=l2.listItem(e,t,n,{...r,...s.current()});return a&&(c=c.replace(/^(?:[*+-]|\d+\.)([\r\n]| {1,3})/,l)),c;function l(e){return e+o}}function aue(){return[C0(),wce(),Rce(),Jle(),tue()]}function oue(e){return{extensions:[w0(),Tce(),zce(),eue(e),nue()]}}function y2(e,t,n,r){let i=e.length,a=0,o;if(t=t<0?-t>i?0:i+t:t>i?i:t,n=n>0?n:0,r.length<1e4)o=Array.from(r),o.unshift(t,n),e.splice(...o);else for(n&&e.splice(t,n);a<r.length;)o=r.slice(a,a+1e4),o.unshift(t,0),e.splice(...o),a+=1e4,t+=1e4}function b2(e,t){return e.length>0?(y2(e,e.length,0,t),e):t}var x2={}.hasOwnProperty;function S2(e){let t={},n=-1;for(;++n<e.length;)sue(t,e[n]);return t}function sue(e,t){let n;for(n in t){let r=(x2.call(e,n)?e[n]:void 0)||(e[n]={}),i=t[n],a;if(i)for(a in i){x2.call(r,a)||(r[a]=[]);let e=i[a];cue(r[a],Array.isArray(e)?e:e?[e]:[])}}}function cue(e,t){let n=-1,r=[];for(;++n<t.length;)(t[n].add===`after`?e:r).push(t[n]);y2(e,0,0,r)}var lue={tokenize:hue,partial:!0},C2={tokenize:gue,partial:!0},w2={tokenize:_ue,partial:!0},T2={tokenize:vue,partial:!0},uue={tokenize:yue,partial:!0},E2={tokenize:pue,previous:j2},D2={tokenize:mue,previous:M2},O2={tokenize:fue,previous:N2},k2={};function due(){return{text:k2}}for(var A2=48;A2<123;)k2[A2]=O2,A2++,A2===58?A2=65:A2===91&&(A2=97);k2[43]=O2,k2[45]=O2,k2[46]=O2,k2[95]=O2,k2[72]=[O2,D2],k2[104]=[O2,D2],k2[87]=[O2,E2],k2[119]=[O2,E2];function fue(e,t,n){let r=this,i,a;return o;function o(t){return!P2(t)||!N2.call(r,r.previous)||F2(r.events)?n(t):(e.enter(`literalAutolink`),e.enter(`literalAutolinkEmail`),s(t))}function s(t){return P2(t)?(e.consume(t),s):t===64?(e.consume(t),c):n(t)}function c(t){return t===46?e.check(uue,u,l)(t):t===45||t===95||i0(t)?(a=!0,e.consume(t),c):u(t)}function l(t){return e.consume(t),i=!0,c}function u(o){return a&&i&&r0(r.previous)?(e.exit(`literalAutolinkEmail`),e.exit(`literalAutolink`),t(o)):n(o)}}function pue(e,t,n){let r=this;return i;function i(t){return t!==87&&t!==119||!j2.call(r,r.previous)||F2(r.events)?n(t):(e.enter(`literalAutolink`),e.enter(`literalAutolinkWww`),e.check(lue,e.attempt(C2,e.attempt(w2,a),n),n)(t))}function a(n){return e.exit(`literalAutolinkWww`),e.exit(`literalAutolink`),t(n)}}function mue(e,t,n){let r=this,i=``,a=!1;return o;function o(t){return(t===72||t===104)&&M2.call(r,r.previous)&&!F2(r.events)?(e.enter(`literalAutolink`),e.enter(`literalAutolinkHttp`),i+=String.fromCodePoint(t),e.consume(t),s):n(t)}function s(t){if(r0(t)&&i.length<5)return i+=String.fromCodePoint(t),e.consume(t),s;if(t===58){let n=i.toLowerCase();if(n===`http`||n===`https`)return e.consume(t),c}return n(t)}function c(t){return t===47?(e.consume(t),a?l:(a=!0,c)):n(t)}function l(t){return t===null||o0(t)||d0(t)||m0(t)||p0(t)?n(t):e.attempt(C2,e.attempt(w2,u),n)(t)}function u(n){return e.exit(`literalAutolinkHttp`),e.exit(`literalAutolink`),t(n)}}function hue(e,t,n){let r=0;return i;function i(t){return(t===87||t===119)&&r<3?(r++,e.consume(t),i):t===46&&r===3?(e.consume(t),a):n(t)}function a(e){return e===null?n(e):t(e)}}function gue(e,t,n){let r,i,a;return o;function o(t){return t===46||t===95?e.check(T2,c,s)(t):t===null||d0(t)||m0(t)||t!==45&&p0(t)?c(t):(a=!0,e.consume(t),o)}function s(t){return t===95?r=!0:(i=r,r=void 0),e.consume(t),o}function c(e){return i||r||!a?n(e):t(e)}}function _ue(e,t){let n=0,r=0;return i;function i(o){return o===40?(n++,e.consume(o),i):o===41&&r<n?a(o):o===33||o===34||o===38||o===39||o===41||o===42||o===44||o===46||o===58||o===59||o===60||o===63||o===93||o===95||o===126?e.check(T2,t,a)(o):o===null||d0(o)||m0(o)?t(o):(e.consume(o),i)}function a(t){return t===41&&r++,e.consume(t),i}}function vue(e,t,n){return r;function r(o){return o===33||o===34||o===39||o===41||o===42||o===44||o===46||o===58||o===59||o===63||o===95||o===126?(e.consume(o),r):o===38?(e.consume(o),a):o===93?(e.consume(o),i):o===60||o===null||d0(o)||m0(o)?t(o):n(o)}function i(e){return e===null||e===40||e===91||d0(e)||m0(e)?t(e):r(e)}function a(e){return r0(e)?o(e):n(e)}function o(t){return t===59?(e.consume(t),r):r0(t)?(e.consume(t),o):n(t)}}function yue(e,t,n){return r;function r(t){return e.consume(t),i}function i(e){return i0(e)?n(e):t(e)}}function j2(e){return e===null||e===40||e===42||e===95||e===91||e===93||e===126||d0(e)}function M2(e){return!r0(e)}function N2(e){return!(e===47||P2(e))}function P2(e){return e===43||e===45||e===46||e===95||i0(e)}function F2(e){let t=e.length,n=!1;for(;t--;){let r=e[t][1];if((r.type===`labelLink`||r.type===`labelImage`)&&!r._balanced){n=!0;break}if(r._gfmAutolinkLiteralWalkedInto){n=!1;break}}return e.length>0&&!n&&(e[e.length-1][1]._gfmAutolinkLiteralWalkedInto=!0),n}function I2(e){let t=[],n=-1,r=0,i=0;for(;++n<e.length;){let a=e.charCodeAt(n),o=``;if(a===37&&i0(e.charCodeAt(n+1))&&i0(e.charCodeAt(n+2)))i=2;else if(a<128)/[!#$&-;=?-Z_a-z~]/.test(String.fromCharCode(a))||(o=String.fromCharCode(a));else if(a>55295&&a<57344){let t=e.charCodeAt(n+1);a<56320&&t>56319&&t<57344?(o=String.fromCharCode(a,t),i=1):o=`�`}else o=String.fromCharCode(a);o&&=(t.push(e.slice(r,n),encodeURIComponent(o)),r=n+i+1,``),i&&=(n+=i,0)}return t.join(``)+e.slice(r)}function L2(e){if(e===null||d0(e)||m0(e))return 1;if(p0(e))return 2}function R2(e,t,n){let r=[],i=-1;for(;++i<e.length;){let a=e[i].resolveAll;a&&!r.includes(a)&&(t=a(t,n),r.push(a))}return t}var z2={name:`attention`,tokenize:xue,resolveAll:bue};function bue(e,t){let n=-1,r,i,a,o,s,c,l,u;for(;++n<e.length;)if(e[n][0]===`enter`&&e[n][1].type===`attentionSequence`&&e[n][1]._close){for(r=n;r--;)if(e[r][0]===`exit`&&e[r][1].type===`attentionSequence`&&e[r][1]._open&&t.sliceSerialize(e[r][1]).charCodeAt(0)===t.sliceSerialize(e[n][1]).charCodeAt(0)){if((e[r][1]._close||e[n][1]._open)&&(e[n][1].end.offset-e[n][1].start.offset)%3&&!((e[r][1].end.offset-e[r][1].start.offset+e[n][1].end.offset-e[n][1].start.offset)%3))continue;c=e[r][1].end.offset-e[r][1].start.offset>1&&e[n][1].end.offset-e[n][1].start.offset>1?2:1;let d=Object.assign({},e[r][1].end),f=Object.assign({},e[n][1].start);B2(d,-c),B2(f,c),o={type:c>1?`strongSequence`:`emphasisSequence`,start:d,end:Object.assign({},e[r][1].end)},s={type:c>1?`strongSequence`:`emphasisSequence`,start:Object.assign({},e[n][1].start),end:f},a={type:c>1?`strongText`:`emphasisText`,start:Object.assign({},e[r][1].end),end:Object.assign({},e[n][1].start)},i={type:c>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),l=[],e[r][1].end.offset-e[r][1].start.offset&&(l=b2(l,[[`enter`,e[r][1],t],[`exit`,e[r][1],t]])),l=b2(l,[[`enter`,i,t],[`enter`,o,t],[`exit`,o,t],[`enter`,a,t]]),l=b2(l,R2(t.parser.constructs.insideSpan.null,e.slice(r+1,n),t)),l=b2(l,[[`exit`,a,t],[`enter`,s,t],[`exit`,s,t],[`exit`,i,t]]),e[n][1].end.offset-e[n][1].start.offset?(u=2,l=b2(l,[[`enter`,e[n][1],t],[`exit`,e[n][1],t]])):u=0,y2(e,r-1,n-r+3,l),n=r+l.length-u-2;break}}for(n=-1;++n<e.length;)e[n][1].type===`attentionSequence`&&(e[n][1].type=`data`);return e}function xue(e,t){let n=this.parser.constructs.attentionMarkers.null,r=this.previous,i=L2(r),a;return o;function o(t){return a=t,e.enter(`attentionSequence`),s(t)}function s(o){if(o===a)return e.consume(o),s;let c=e.exit(`attentionSequence`),l=L2(o),u=!l||l===2&&i||n.includes(o),d=!i||i===2&&l||n.includes(r);return c._open=!!(a===42?u:u&&(i||!d)),c._close=!!(a===42?d:d&&(l||!u)),t(o)}}function B2(e,t){e.column+=t,e.offset+=t,e._bufferIndex+=t}var Sue={name:`autolink`,tokenize:Cue};function Cue(e,t,n){let r=0;return i;function i(t){return e.enter(`autolink`),e.enter(`autolinkMarker`),e.consume(t),e.exit(`autolinkMarker`),e.enter(`autolinkProtocol`),a}function a(t){return r0(t)?(e.consume(t),o):t===64?n(t):l(t)}function o(e){return e===43||e===45||e===46||i0(e)?(r=1,s(e)):l(e)}function s(t){return t===58?(e.consume(t),r=0,c):(t===43||t===45||t===46||i0(t))&&r++<32?(e.consume(t),s):(r=0,l(t))}function c(r){return r===62?(e.exit(`autolinkProtocol`),e.enter(`autolinkMarker`),e.consume(r),e.exit(`autolinkMarker`),e.exit(`autolink`),t):r===null||r===32||r===60||o0(r)?n(r):(e.consume(r),c)}function l(t){return t===64?(e.consume(t),u):a0(t)?(e.consume(t),l):n(t)}function u(e){return i0(e)?d(e):n(e)}function d(n){return n===46?(e.consume(n),r=0,u):n===62?(e.exit(`autolinkProtocol`).type=`autolinkEmail`,e.enter(`autolinkMarker`),e.consume(n),e.exit(`autolinkMarker`),e.exit(`autolink`),t):f(n)}function f(t){if((t===45||i0(t))&&r++<63){let n=t===45?f:d;return e.consume(t),n}return n(t)}}function V2(e,t,n,r){let i=r?r-1:1/0,a=0;return o;function o(r){return f0(r)?(e.enter(n),s(r)):t(r)}function s(r){return f0(r)&&a++<i?(e.consume(r),s):(e.exit(n),t(r))}}var H2={tokenize:wue,partial:!0};function wue(e,t,n){return r;function r(t){return f0(t)?V2(e,i,`linePrefix`)(t):i(t)}function i(e){return e===null||u0(e)?t(e):n(e)}}var U2={name:`blockQuote`,tokenize:Tue,continuation:{tokenize:Eue},exit:Due};function Tue(e,t,n){let r=this;return i;function i(t){if(t===62){let n=r.containerState;return n.open||=(e.enter(`blockQuote`,{_container:!0}),!0),e.enter(`blockQuotePrefix`),e.enter(`blockQuoteMarker`),e.consume(t),e.exit(`blockQuoteMarker`),a}return n(t)}function a(n){return f0(n)?(e.enter(`blockQuotePrefixWhitespace`),e.consume(n),e.exit(`blockQuotePrefixWhitespace`),e.exit(`blockQuotePrefix`),t):(e.exit(`blockQuotePrefix`),t(n))}}function Eue(e,t,n){let r=this;return i;function i(t){return f0(t)?V2(e,a,`linePrefix`,r.parser.constructs.disable.null.includes(`codeIndented`)?void 0:4)(t):a(t)}function a(r){return e.attempt(U2,t,n)(r)}}function Due(e){e.exit(`blockQuote`)}var W2={name:`characterEscape`,tokenize:Oue};function Oue(e,t,n){return r;function r(t){return e.enter(`characterEscape`),e.enter(`escapeMarker`),e.consume(t),e.exit(`escapeMarker`),i}function i(r){return l0(r)?(e.enter(`characterEscapeValue`),e.consume(r),e.exit(`characterEscapeValue`),e.exit(`characterEscape`),t):n(r)}}var G2={name:`characterReference`,tokenize:kue};function kue(e,t,n){let r=this,i=0,a,o;return s;function s(t){return e.enter(`characterReference`),e.enter(`characterReferenceMarker`),e.consume(t),e.exit(`characterReferenceMarker`),c}function c(t){return t===35?(e.enter(`characterReferenceMarkerNumeric`),e.consume(t),e.exit(`characterReferenceMarkerNumeric`),l):(e.enter(`characterReferenceValue`),a=31,o=i0,u(t))}function l(t){return t===88||t===120?(e.enter(`characterReferenceMarkerHexadecimal`),e.consume(t),e.exit(`characterReferenceMarkerHexadecimal`),e.enter(`characterReferenceValue`),a=6,o=c0,u):(e.enter(`characterReferenceValue`),a=7,o=s0,u(t))}function u(s){if(s===59&&i){let i=e.exit(`characterReferenceValue`);return o===i0&&!f2(r.sliceSerialize(i))?n(s):(e.enter(`characterReferenceMarker`),e.consume(s),e.exit(`characterReferenceMarker`),e.exit(`characterReference`),t)}return o(s)&&i++<a?(e.consume(s),u):n(s)}}var K2={tokenize:jue,partial:!0},q2={name:`codeFenced`,tokenize:Aue,concrete:!0};function Aue(e,t,n){let r=this,i={tokenize:ee,partial:!0},a=0,o=0,s;return c;function c(e){return l(e)}function l(t){let n=r.events[r.events.length-1];return a=n&&n[1].type===`linePrefix`?n[2].sliceSerialize(n[1],!0).length:0,s=t,e.enter(`codeFenced`),e.enter(`codeFencedFence`),e.enter(`codeFencedFenceSequence`),u(t)}function u(t){return t===s?(o++,e.consume(t),u):o<3?n(t):(e.exit(`codeFencedFenceSequence`),f0(t)?V2(e,d,`whitespace`)(t):d(t))}function d(n){return n===null||u0(n)?(e.exit(`codeFencedFence`),r.interrupt?t(n):e.check(K2,h,b)(n)):(e.enter(`codeFencedFenceInfo`),e.enter(`chunkString`,{contentType:`string`}),f(n))}function f(t){return t===null||u0(t)?(e.exit(`chunkString`),e.exit(`codeFencedFenceInfo`),d(t)):f0(t)?(e.exit(`chunkString`),e.exit(`codeFencedFenceInfo`),V2(e,p,`whitespace`)(t)):t===96&&t===s?n(t):(e.consume(t),f)}function p(t){return t===null||u0(t)?d(t):(e.enter(`codeFencedFenceMeta`),e.enter(`chunkString`,{contentType:`string`}),m(t))}function m(t){return t===null||u0(t)?(e.exit(`chunkString`),e.exit(`codeFencedFenceMeta`),d(t)):t===96&&t===s?n(t):(e.consume(t),m)}function h(t){return e.attempt(i,b,g)(t)}function g(t){return e.enter(`lineEnding`),e.consume(t),e.exit(`lineEnding`),_}function _(t){return a>0&&f0(t)?V2(e,v,`linePrefix`,a+1)(t):v(t)}function v(t){return t===null||u0(t)?e.check(K2,h,b)(t):(e.enter(`codeFlowValue`),y(t))}function y(t){return t===null||u0(t)?(e.exit(`codeFlowValue`),v(t)):(e.consume(t),y)}function b(n){return e.exit(`codeFenced`),t(n)}function ee(e,t,n){let i=0;return a;function a(t){return e.enter(`lineEnding`),e.consume(t),e.exit(`lineEnding`),c}function c(t){return e.enter(`codeFencedFence`),f0(t)?V2(e,l,`linePrefix`,r.parser.constructs.disable.null.includes(`codeIndented`)?void 0:4)(t):l(t)}function l(t){return t===s?(e.enter(`codeFencedFenceSequence`),u(t)):n(t)}function u(t){return t===s?(i++,e.consume(t),u):i>=o?(e.exit(`codeFencedFenceSequence`),f0(t)?V2(e,d,`whitespace`)(t):d(t)):n(t)}function d(r){return r===null||u0(r)?(e.exit(`codeFencedFence`),t(r)):n(r)}}}function jue(e,t,n){let r=this;return i;function i(t){return t===null?n(t):(e.enter(`lineEnding`),e.consume(t),e.exit(`lineEnding`),a)}function a(e){return r.parser.lazy[r.now().line]?n(e):t(e)}}var J2={name:`codeIndented`,tokenize:Nue},Mue={tokenize:Pue,partial:!0};function Nue(e,t,n){let r=this;return i;function i(t){return e.enter(`codeIndented`),V2(e,a,`linePrefix`,5)(t)}function a(e){let t=r.events[r.events.length-1];return t&&t[1].type===`linePrefix`&&t[2].sliceSerialize(t[1],!0).length>=4?o(e):n(e)}function o(t){return t===null?c(t):u0(t)?e.attempt(Mue,o,c)(t):(e.enter(`codeFlowValue`),s(t))}function s(t){return t===null||u0(t)?(e.exit(`codeFlowValue`),o(t)):(e.consume(t),s)}function c(n){return e.exit(`codeIndented`),t(n)}}function Pue(e,t,n){let r=this;return i;function i(t){return r.parser.lazy[r.now().line]?n(t):u0(t)?(e.enter(`lineEnding`),e.consume(t),e.exit(`lineEnding`),i):V2(e,a,`linePrefix`,5)(t)}function a(e){let a=r.events[r.events.length-1];return a&&a[1].type===`linePrefix`&&a[2].sliceSerialize(a[1],!0).length>=4?t(e):u0(e)?i(e):n(e)}}var Fue={name:`codeText`,tokenize:Rue,resolve:Iue,previous:Lue};function Iue(e){let t=e.length-4,n=3,r,i;if((e[n][1].type===`lineEnding`||e[n][1].type===`space`)&&(e[t][1].type===`lineEnding`||e[t][1].type===`space`)){for(r=n;++r<t;)if(e[r][1].type===`codeTextData`){e[n][1].type=`codeTextPadding`,e[t][1].type=`codeTextPadding`,n+=2,t-=2;break}}for(r=n-1,t++;++r<=t;)i===void 0?r!==t&&e[r][1].type!==`lineEnding`&&(i=r):(r===t||e[r][1].type===`lineEnding`)&&(e[i][1].type=`codeTextData`,r!==i+2&&(e[i][1].end=e[r-1][1].end,e.splice(i+2,r-i-2),t-=r-i-2,r=i+2),i=void 0);return e}function Lue(e){return e!==96||this.events[this.events.length-1][1].type===`characterEscape`}function Rue(e,t,n){let r=0,i,a;return o;function o(t){return e.enter(`codeText`),e.enter(`codeTextSequence`),s(t)}function s(t){return t===96?(e.consume(t),r++,s):(e.exit(`codeTextSequence`),c(t))}function c(t){return t===null?n(t):t===32?(e.enter(`space`),e.consume(t),e.exit(`space`),c):t===96?(a=e.enter(`codeTextSequence`),i=0,u(t)):u0(t)?(e.enter(`lineEnding`),e.consume(t),e.exit(`lineEnding`),c):(e.enter(`codeTextData`),l(t))}function l(t){return t===null||t===32||t===96||u0(t)?(e.exit(`codeTextData`),c(t)):(e.consume(t),l)}function u(n){return n===96?(e.consume(n),i++,u):i===r?(e.exit(`codeTextSequence`),e.exit(`codeText`),t(n)):(a.type=`codeTextData`,l(n))}}var zue=class{constructor(e){this.left=e?[...e]:[],this.right=[]}get(e){if(e<0||e>=this.left.length+this.right.length)throw RangeError("Cannot access index `"+e+"` in a splice buffer of size `"+(this.left.length+this.right.length)+"`");return e<this.left.length?this.left[e]:this.right[this.right.length-e+this.left.length-1]}get length(){return this.left.length+this.right.length}shift(){return this.setCursor(0),this.right.pop()}slice(e,t){let n=t??1/0;return n<this.left.length?this.left.slice(e,n):e>this.left.length?this.right.slice(this.right.length-n+this.left.length,this.right.length-e+this.left.length).reverse():this.left.slice(e).concat(this.right.slice(this.right.length-n+this.left.length).reverse())}splice(e,t,n){let r=t||0;this.setCursor(Math.trunc(e));let i=this.right.splice(this.right.length-r,1/0);return n&&Y2(this.left,n),i.reverse()}pop(){return this.setCursor(1/0),this.left.pop()}push(e){this.setCursor(1/0),this.left.push(e)}pushMany(e){this.setCursor(1/0),Y2(this.left,e)}unshift(e){this.setCursor(0),this.right.push(e)}unshiftMany(e){this.setCursor(0),Y2(this.right,e.reverse())}setCursor(e){if(!(e===this.left.length||e>this.left.length&&this.right.length===0||e<0&&this.left.length===0))if(e<this.left.length){let t=this.left.splice(e,1/0);Y2(this.right,t.reverse())}else{let t=this.right.splice(this.left.length+this.right.length-e,1/0);Y2(this.left,t.reverse())}}};function Y2(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 X2(e){let t={},n=-1,r,i,a,o,s,c,l,u=new zue(e);for(;++n<u.length;){for(;n in t;)n=t[n];if(r=u.get(n),n&&r[1].type===`chunkFlow`&&u.get(n-1)[1].type===`listItemPrefix`&&(c=r[1]._tokenizer.events,a=0,a<c.length&&c[a][1].type===`lineEndingBlank`&&(a+=2),a<c.length&&c[a][1].type===`content`))for(;++a<c.length&&c[a][1].type!==`content`;)c[a][1].type===`chunkText`&&(c[a][1]._isInFirstContentOfListItem=!0,a++);if(r[0]===`enter`)r[1].contentType&&(Object.assign(t,Bue(u,n)),n=t[n],l=!0);else if(r[1]._container){for(a=n,i=void 0;a--&&(o=u.get(a),o[1].type===`lineEnding`||o[1].type===`lineEndingBlank`);)o[0]===`enter`&&(i&&(u.get(i)[1].type=`lineEndingBlank`),o[1].type=`lineEnding`,i=a);i&&(r[1].end=Object.assign({},u.get(i)[1].start),s=u.slice(i,n),s.unshift(r),u.splice(i,n-i+1,s))}}return y2(e,0,1/0,u.slice(0)),!l}function Bue(e,t){let n=e.get(t)[1],r=e.get(t)[2],i=t-1,a=[],o=n._tokenizer||r.parser[n.contentType](n.start),s=o.events,c=[],l={},u,d,f=-1,p=n,m=0,h=0,g=[h];for(;p;){for(;e.get(++i)[1]!==p;);a.push(i),p._tokenizer||(u=r.sliceStream(p),p.next||u.push(null),d&&o.defineSkip(p.start),p._isInFirstContentOfListItem&&(o._gfmTasklistFirstContentOfListItem=!0),o.write(u),p._isInFirstContentOfListItem&&(o._gfmTasklistFirstContentOfListItem=void 0)),d=p,p=p.next}for(p=n;++f<s.length;)s[f][0]===`exit`&&s[f-1][0]===`enter`&&s[f][1].type===s[f-1][1].type&&s[f][1].start.line!==s[f][1].end.line&&(h=f+1,g.push(h),p._tokenizer=void 0,p.previous=void 0,p=p.next);for(o.events=[],p?(p._tokenizer=void 0,p.previous=void 0):g.pop(),f=g.length;f--;){let t=s.slice(g[f],g[f+1]),n=a.pop();c.push([n,n+t.length-1]),e.splice(n,2,t)}for(c.reverse(),f=-1;++f<c.length;)l[m+c[f][0]]=m+c[f][1],m+=c[f][1]-c[f][0]-1;return l}var Vue={tokenize:Wue,resolve:Uue},Hue={tokenize:Gue,partial:!0};function Uue(e){return X2(e),e}function Wue(e,t){let n;return r;function r(t){return e.enter(`content`),n=e.enter(`chunkContent`,{contentType:`content`}),i(t)}function i(t){return t===null?a(t):u0(t)?e.check(Hue,o,a)(t):(e.consume(t),i)}function a(n){return e.exit(`chunkContent`),e.exit(`content`),t(n)}function o(t){return e.consume(t),e.exit(`chunkContent`),n.next=e.enter(`chunkContent`,{contentType:`content`,previous:n}),n=n.next,i}}function Gue(e,t,n){let r=this;return i;function i(t){return e.exit(`chunkContent`),e.enter(`lineEnding`),e.consume(t),e.exit(`lineEnding`),V2(e,a,`linePrefix`)}function a(i){if(i===null||u0(i))return n(i);let a=r.events[r.events.length-1];return!r.parser.constructs.disable.null.includes(`codeIndented`)&&a&&a[1].type===`linePrefix`&&a[2].sliceSerialize(a[1],!0).length>=4?t(i):e.interrupt(r.parser.constructs.flow,n,t)(i)}}function Z2(e,t,n,r,i,a,o,s,c){let l=c||1/0,u=0;return d;function d(t){return t===60?(e.enter(r),e.enter(i),e.enter(a),e.consume(t),e.exit(a),f):t===null||t===32||t===41||o0(t)?n(t):(e.enter(r),e.enter(o),e.enter(s),e.enter(`chunkString`,{contentType:`string`}),h(t))}function f(n){return n===62?(e.enter(a),e.consume(n),e.exit(a),e.exit(i),e.exit(r),t):(e.enter(s),e.enter(`chunkString`,{contentType:`string`}),p(n))}function p(t){return t===62?(e.exit(`chunkString`),e.exit(s),f(t)):t===null||t===60||u0(t)?n(t):(e.consume(t),t===92?m:p)}function m(t){return t===60||t===62||t===92?(e.consume(t),p):p(t)}function h(i){return!u&&(i===null||i===41||d0(i))?(e.exit(`chunkString`),e.exit(s),e.exit(o),e.exit(r),t(i)):u<l&&i===40?(e.consume(i),u++,h):i===41?(e.consume(i),u--,h):i===null||i===32||i===40||o0(i)?n(i):(e.consume(i),i===92?g:h)}function g(t){return t===40||t===41||t===92?(e.consume(t),h):h(t)}}function Q2(e,t,n,r,i,a){let o=this,s=0,c;return l;function l(t){return e.enter(r),e.enter(i),e.consume(t),e.exit(i),e.enter(a),u}function u(l){return s>999||l===null||l===91||l===93&&!c||l===94&&!s&&`_hiddenFootnoteSupport`in o.parser.constructs?n(l):l===93?(e.exit(a),e.enter(i),e.consume(l),e.exit(i),e.exit(r),t):u0(l)?(e.enter(`lineEnding`),e.consume(l),e.exit(`lineEnding`),u):(e.enter(`chunkString`,{contentType:`string`}),d(l))}function d(t){return t===null||t===91||t===93||u0(t)||s++>999?(e.exit(`chunkString`),u(t)):(e.consume(t),c||=!f0(t),t===92?f:d)}function f(t){return t===91||t===92||t===93?(e.consume(t),s++,d):d(t)}}function $2(e,t,n,r,i,a){let o;return s;function s(t){return t===34||t===39||t===40?(e.enter(r),e.enter(i),e.consume(t),e.exit(i),o=t===40?41:t,c):n(t)}function c(n){return n===o?(e.enter(i),e.consume(n),e.exit(i),e.exit(r),t):(e.enter(a),l(n))}function l(t){return t===o?(e.exit(a),c(o)):t===null?n(t):u0(t)?(e.enter(`lineEnding`),e.consume(t),e.exit(`lineEnding`),V2(e,l,`linePrefix`)):(e.enter(`chunkString`,{contentType:`string`}),u(t))}function u(t){return t===o||t===null||u0(t)?(e.exit(`chunkString`),l(t)):(e.consume(t),t===92?d:u)}function d(t){return t===o||t===92?(e.consume(t),u):u(t)}}function e4(e,t){let n;return r;function r(i){return u0(i)?(e.enter(`lineEnding`),e.consume(i),e.exit(`lineEnding`),n=!0,r):f0(i)?V2(e,r,n?`linePrefix`:`lineSuffix`)(i):t(i)}}var Kue={name:`definition`,tokenize:Jue},que={tokenize:Yue,partial:!0};function Jue(e,t,n){let r=this,i;return a;function a(t){return e.enter(`definition`),o(t)}function o(t){return Q2.call(r,e,s,n,`definitionLabel`,`definitionLabelMarker`,`definitionLabelString`)(t)}function s(t){return i=L0(r.sliceSerialize(r.events[r.events.length-1][1]).slice(1,-1)),t===58?(e.enter(`definitionMarker`),e.consume(t),e.exit(`definitionMarker`),c):n(t)}function c(t){return d0(t)?e4(e,l)(t):l(t)}function l(t){return Z2(e,u,n,`definitionDestination`,`definitionDestinationLiteral`,`definitionDestinationLiteralMarker`,`definitionDestinationRaw`,`definitionDestinationString`)(t)}function u(t){return e.attempt(que,d,d)(t)}function d(t){return f0(t)?V2(e,f,`whitespace`)(t):f(t)}function f(a){return a===null||u0(a)?(e.exit(`definition`),r.parser.defined.push(i),t(a)):n(a)}}function Yue(e,t,n){return r;function r(t){return d0(t)?e4(e,i)(t):n(t)}function i(t){return $2(e,a,n,`definitionTitle`,`definitionTitleMarker`,`definitionTitleString`)(t)}function a(t){return f0(t)?V2(e,o,`whitespace`)(t):o(t)}function o(e){return e===null||u0(e)?t(e):n(e)}}var Xue={name:`hardBreakEscape`,tokenize:Zue};function Zue(e,t,n){return r;function r(t){return e.enter(`hardBreakEscape`),e.consume(t),i}function i(r){return u0(r)?(e.exit(`hardBreakEscape`),t(r)):n(r)}}var Que={name:`headingAtx`,tokenize:ede,resolve:$ue};function $ue(e,t){let n=e.length-2,r=3,i,a;return e[r][1].type===`whitespace`&&(r+=2),n-2>r&&e[n][1].type===`whitespace`&&(n-=2),e[n][1].type===`atxHeadingSequence`&&(r===n-1||n-4>r&&e[n-2][1].type===`whitespace`)&&(n-=r+1===n?2:4),n>r&&(i={type:`atxHeadingText`,start:e[r][1].start,end:e[n][1].end},a={type:`chunkText`,start:e[r][1].start,end:e[n][1].end,contentType:`text`},y2(e,r,n-r+1,[[`enter`,i,t],[`enter`,a,t],[`exit`,a,t],[`exit`,i,t]])),e}function ede(e,t,n){let r=0;return i;function i(t){return e.enter(`atxHeading`),a(t)}function a(t){return e.enter(`atxHeadingSequence`),o(t)}function o(t){return t===35&&r++<6?(e.consume(t),o):t===null||d0(t)?(e.exit(`atxHeadingSequence`),s(t)):n(t)}function s(n){return n===35?(e.enter(`atxHeadingSequence`),c(n)):n===null||u0(n)?(e.exit(`atxHeading`),t(n)):f0(n)?V2(e,s,`whitespace`)(n):(e.enter(`atxHeadingText`),l(n))}function c(t){return t===35?(e.consume(t),c):(e.exit(`atxHeadingSequence`),s(t))}function l(t){return t===null||t===35||d0(t)?(e.exit(`atxHeadingText`),s(t)):(e.consume(t),l)}}var tde=`address.article.aside.base.basefont.blockquote.body.caption.center.col.colgroup.dd.details.dialog.dir.div.dl.dt.fieldset.figcaption.figure.footer.form.frame.frameset.h1.h2.h3.h4.h5.h6.head.header.hr.html.iframe.legend.li.link.main.menu.menuitem.nav.noframes.ol.optgroup.option.p.param.search.section.summary.table.tbody.td.tfoot.th.thead.title.tr.track.ul`.split(`.`),t4=[`pre`,`script`,`style`,`textarea`],nde={name:`htmlFlow`,tokenize:ode,resolveTo:ade,concrete:!0},rde={tokenize:cde,partial:!0},ide={tokenize:sde,partial:!0};function ade(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 ode(e,t,n){let r=this,i,a,o,s,c;return l;function l(e){return u(e)}function u(t){return e.enter(`htmlFlow`),e.enter(`htmlFlowData`),e.consume(t),d}function d(s){return s===33?(e.consume(s),f):s===47?(e.consume(s),a=!0,h):s===63?(e.consume(s),i=3,r.interrupt?t:w):r0(s)?(e.consume(s),o=String.fromCharCode(s),g):n(s)}function f(a){return a===45?(e.consume(a),i=2,p):a===91?(e.consume(a),i=5,s=0,m):r0(a)?(e.consume(a),i=4,r.interrupt?t:w):n(a)}function p(i){return i===45?(e.consume(i),r.interrupt?t:w):n(i)}function m(i){return i===`CDATA[`.charCodeAt(s++)?(e.consume(i),s===6?r.interrupt?t:ae:m):n(i)}function h(t){return r0(t)?(e.consume(t),o=String.fromCharCode(t),g):n(t)}function g(s){if(s===null||s===47||s===62||d0(s)){let c=s===47,l=o.toLowerCase();return!c&&!a&&t4.includes(l)?(i=1,r.interrupt?t(s):ae(s)):tde.includes(o.toLowerCase())?(i=6,c?(e.consume(s),_):r.interrupt?t(s):ae(s)):(i=7,r.interrupt&&!r.parser.lazy[r.now().line]?n(s):a?v(s):y(s))}return s===45||i0(s)?(e.consume(s),o+=String.fromCharCode(s),g):n(s)}function _(i){return i===62?(e.consume(i),r.interrupt?t:ae):n(i)}function v(t){return f0(t)?(e.consume(t),v):re(t)}function y(t){return t===47?(e.consume(t),re):t===58||t===95||r0(t)?(e.consume(t),b):f0(t)?(e.consume(t),y):re(t)}function b(t){return t===45||t===46||t===58||t===95||i0(t)?(e.consume(t),b):ee(t)}function ee(t){return t===61?(e.consume(t),x):f0(t)?(e.consume(t),ee):y(t)}function x(t){return t===null||t===60||t===61||t===62||t===96?n(t):t===34||t===39?(e.consume(t),c=t,te):f0(t)?(e.consume(t),x):S(t)}function te(t){return t===c?(e.consume(t),c=null,ne):t===null||u0(t)?n(t):(e.consume(t),te)}function S(t){return t===null||t===34||t===39||t===47||t===60||t===61||t===62||t===96||d0(t)?ee(t):(e.consume(t),S)}function ne(e){return e===47||e===62||f0(e)?y(e):n(e)}function re(t){return t===62?(e.consume(t),ie):n(t)}function ie(t){return t===null||u0(t)?ae(t):f0(t)?(e.consume(t),ie):n(t)}function ae(t){return t===45&&i===2?(e.consume(t),ce):t===60&&i===1?(e.consume(t),le):t===62&&i===4?(e.consume(t),fe):t===63&&i===3?(e.consume(t),w):t===93&&i===5?(e.consume(t),de):u0(t)&&(i===6||i===7)?(e.exit(`htmlFlowData`),e.check(rde,T,oe)(t)):t===null||u0(t)?(e.exit(`htmlFlowData`),oe(t)):(e.consume(t),ae)}function oe(t){return e.check(ide,C,T)(t)}function C(t){return e.enter(`lineEnding`),e.consume(t),e.exit(`lineEnding`),se}function se(t){return t===null||u0(t)?oe(t):(e.enter(`htmlFlowData`),ae(t))}function ce(t){return t===45?(e.consume(t),w):ae(t)}function le(t){return t===47?(e.consume(t),o=``,ue):ae(t)}function ue(t){if(t===62){let n=o.toLowerCase();return t4.includes(n)?(e.consume(t),fe):ae(t)}return r0(t)&&o.length<8?(e.consume(t),o+=String.fromCharCode(t),ue):ae(t)}function de(t){return t===93?(e.consume(t),w):ae(t)}function w(t){return t===62?(e.consume(t),fe):t===45&&i===2?(e.consume(t),w):ae(t)}function fe(t){return t===null||u0(t)?(e.exit(`htmlFlowData`),T(t)):(e.consume(t),fe)}function T(n){return e.exit(`htmlFlow`),t(n)}}function sde(e,t,n){let r=this;return i;function i(t){return u0(t)?(e.enter(`lineEnding`),e.consume(t),e.exit(`lineEnding`),a):n(t)}function a(e){return r.parser.lazy[r.now().line]?n(e):t(e)}}function cde(e,t,n){return r;function r(r){return e.enter(`lineEnding`),e.consume(r),e.exit(`lineEnding`),e.attempt(H2,t,n)}}var lde={name:`htmlText`,tokenize:ude};function ude(e,t,n){let r=this,i,a,o;return s;function s(t){return e.enter(`htmlText`),e.enter(`htmlTextData`),e.consume(t),c}function c(t){return t===33?(e.consume(t),l):t===47?(e.consume(t),ee):t===63?(e.consume(t),y):r0(t)?(e.consume(t),S):n(t)}function l(t){return t===45?(e.consume(t),u):t===91?(e.consume(t),a=0,m):r0(t)?(e.consume(t),v):n(t)}function u(t){return t===45?(e.consume(t),p):n(t)}function d(t){return t===null?n(t):t===45?(e.consume(t),f):u0(t)?(o=d,le(t)):(e.consume(t),d)}function f(t){return t===45?(e.consume(t),p):d(t)}function p(e){return e===62?ce(e):e===45?f(e):d(e)}function m(t){return t===`CDATA[`.charCodeAt(a++)?(e.consume(t),a===6?h:m):n(t)}function h(t){return t===null?n(t):t===93?(e.consume(t),g):u0(t)?(o=h,le(t)):(e.consume(t),h)}function g(t){return t===93?(e.consume(t),_):h(t)}function _(t){return t===62?ce(t):t===93?(e.consume(t),_):h(t)}function v(t){return t===null||t===62?ce(t):u0(t)?(o=v,le(t)):(e.consume(t),v)}function y(t){return t===null?n(t):t===63?(e.consume(t),b):u0(t)?(o=y,le(t)):(e.consume(t),y)}function b(e){return e===62?ce(e):y(e)}function ee(t){return r0(t)?(e.consume(t),x):n(t)}function x(t){return t===45||i0(t)?(e.consume(t),x):te(t)}function te(t){return u0(t)?(o=te,le(t)):f0(t)?(e.consume(t),te):ce(t)}function S(t){return t===45||i0(t)?(e.consume(t),S):t===47||t===62||d0(t)?ne(t):n(t)}function ne(t){return t===47?(e.consume(t),ce):t===58||t===95||r0(t)?(e.consume(t),re):u0(t)?(o=ne,le(t)):f0(t)?(e.consume(t),ne):ce(t)}function re(t){return t===45||t===46||t===58||t===95||i0(t)?(e.consume(t),re):ie(t)}function ie(t){return t===61?(e.consume(t),ae):u0(t)?(o=ie,le(t)):f0(t)?(e.consume(t),ie):ne(t)}function ae(t){return t===null||t===60||t===61||t===62||t===96?n(t):t===34||t===39?(e.consume(t),i=t,oe):u0(t)?(o=ae,le(t)):f0(t)?(e.consume(t),ae):(e.consume(t),C)}function oe(t){return t===i?(e.consume(t),i=void 0,se):t===null?n(t):u0(t)?(o=oe,le(t)):(e.consume(t),oe)}function C(t){return t===null||t===34||t===39||t===60||t===61||t===96?n(t):t===47||t===62||d0(t)?ne(t):(e.consume(t),C)}function se(e){return e===47||e===62||d0(e)?ne(e):n(e)}function ce(r){return r===62?(e.consume(r),e.exit(`htmlTextData`),e.exit(`htmlText`),t):n(r)}function le(t){return e.exit(`htmlTextData`),e.enter(`lineEnding`),e.consume(t),e.exit(`lineEnding`),ue}function ue(t){return f0(t)?V2(e,de,`linePrefix`,r.parser.constructs.disable.null.includes(`codeIndented`)?void 0:4)(t):de(t)}function de(t){return e.enter(`htmlTextData`),o(t)}}var n4={name:`labelEnd`,tokenize:gde,resolveTo:hde,resolveAll:mde},dde={tokenize:_de},fde={tokenize:vde},pde={tokenize:yde};function mde(e){let t=-1;for(;++t<e.length;){let 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 hde(e,t){let n=e.length,r=0,i,a,o,s;for(;n--;)if(i=e[n][1],a){if(i.type===`link`||i.type===`labelLink`&&i._inactive)break;e[n][0]===`enter`&&i.type===`labelLink`&&(i._inactive=!0)}else if(o){if(e[n][0]===`enter`&&(i.type===`labelImage`||i.type===`labelLink`)&&!i._balanced&&(a=n,i.type!==`labelLink`)){r=2;break}}else i.type===`labelEnd`&&(o=n);let c={type:e[a][1].type===`labelLink`?`link`:`image`,start:Object.assign({},e[a][1].start),end:Object.assign({},e[e.length-1][1].end)},l={type:`label`,start:Object.assign({},e[a][1].start),end:Object.assign({},e[o][1].end)},u={type:`labelText`,start:Object.assign({},e[a+r+2][1].end),end:Object.assign({},e[o-2][1].start)};return s=[[`enter`,c,t],[`enter`,l,t]],s=b2(s,e.slice(a+1,a+r+3)),s=b2(s,[[`enter`,u,t]]),s=b2(s,R2(t.parser.constructs.insideSpan.null,e.slice(a+r+4,o-3),t)),s=b2(s,[[`exit`,u,t],e[o-2],e[o-1],[`exit`,l,t]]),s=b2(s,e.slice(o+1)),s=b2(s,[[`exit`,c,t]]),y2(e,a,e.length,s),e}function gde(e,t,n){let r=this,i=r.events.length,a,o;for(;i--;)if((r.events[i][1].type===`labelImage`||r.events[i][1].type===`labelLink`)&&!r.events[i][1]._balanced){a=r.events[i][1];break}return s;function s(t){return a?a._inactive?d(t):(o=r.parser.defined.includes(L0(r.sliceSerialize({start:a.end,end:r.now()}))),e.enter(`labelEnd`),e.enter(`labelMarker`),e.consume(t),e.exit(`labelMarker`),e.exit(`labelEnd`),c):n(t)}function c(t){return t===40?e.attempt(dde,u,o?u:d)(t):t===91?e.attempt(fde,u,o?l:d)(t):o?u(t):d(t)}function l(t){return e.attempt(pde,u,d)(t)}function u(e){return t(e)}function d(e){return a._balanced=!0,n(e)}}function _de(e,t,n){return r;function r(t){return e.enter(`resource`),e.enter(`resourceMarker`),e.consume(t),e.exit(`resourceMarker`),i}function i(t){return d0(t)?e4(e,a)(t):a(t)}function a(t){return t===41?u(t):Z2(e,o,s,`resourceDestination`,`resourceDestinationLiteral`,`resourceDestinationLiteralMarker`,`resourceDestinationRaw`,`resourceDestinationString`,32)(t)}function o(t){return d0(t)?e4(e,c)(t):u(t)}function s(e){return n(e)}function c(t){return t===34||t===39||t===40?$2(e,l,n,`resourceTitle`,`resourceTitleMarker`,`resourceTitleString`)(t):u(t)}function l(t){return d0(t)?e4(e,u)(t):u(t)}function u(r){return r===41?(e.enter(`resourceMarker`),e.consume(r),e.exit(`resourceMarker`),e.exit(`resource`),t):n(r)}}function vde(e,t,n){let r=this;return i;function i(t){return Q2.call(r,e,a,o,`reference`,`referenceMarker`,`referenceString`)(t)}function a(e){return r.parser.defined.includes(L0(r.sliceSerialize(r.events[r.events.length-1][1]).slice(1,-1)))?t(e):n(e)}function o(e){return n(e)}}function yde(e,t,n){return r;function r(t){return e.enter(`reference`),e.enter(`referenceMarker`),e.consume(t),e.exit(`referenceMarker`),i}function i(r){return r===93?(e.enter(`referenceMarker`),e.consume(r),e.exit(`referenceMarker`),e.exit(`reference`),t):n(r)}}var bde={name:`labelStartImage`,tokenize:xde,resolveAll:n4.resolveAll};function xde(e,t,n){let r=this;return i;function i(t){return e.enter(`labelImage`),e.enter(`labelImageMarker`),e.consume(t),e.exit(`labelImageMarker`),a}function a(t){return t===91?(e.enter(`labelMarker`),e.consume(t),e.exit(`labelMarker`),e.exit(`labelImage`),o):n(t)}function o(e){return e===94&&`_hiddenFootnoteSupport`in r.parser.constructs?n(e):t(e)}}var Sde={name:`labelStartLink`,tokenize:Cde,resolveAll:n4.resolveAll};function Cde(e,t,n){let r=this;return i;function i(t){return e.enter(`labelLink`),e.enter(`labelMarker`),e.consume(t),e.exit(`labelMarker`),e.exit(`labelLink`),a}function a(e){return e===94&&`_hiddenFootnoteSupport`in r.parser.constructs?n(e):t(e)}}var r4={name:`lineEnding`,tokenize:wde};function wde(e,t){return n;function n(n){return e.enter(`lineEnding`),e.consume(n),e.exit(`lineEnding`),V2(e,t,`linePrefix`)}}var i4={name:`thematicBreak`,tokenize:Tde};function Tde(e,t,n){let r=0,i;return a;function a(t){return e.enter(`thematicBreak`),o(t)}function o(e){return i=e,s(e)}function s(a){return a===i?(e.enter(`thematicBreakSequence`),c(a)):r>=3&&(a===null||u0(a))?(e.exit(`thematicBreak`),t(a)):n(a)}function c(t){return t===i?(e.consume(t),r++,c):(e.exit(`thematicBreakSequence`),f0(t)?V2(e,s,`whitespace`)(t):s(t))}}var a4={name:`list`,tokenize:Ode,continuation:{tokenize:kde},exit:jde},Ede={tokenize:Mde,partial:!0},Dde={tokenize:Ade,partial:!0};function Ode(e,t,n){let r=this,i=r.events[r.events.length-1],a=i&&i[1].type===`linePrefix`?i[2].sliceSerialize(i[1],!0).length:0,o=0;return s;function s(t){let i=r.containerState.type||(t===42||t===43||t===45?`listUnordered`:`listOrdered`);if(i===`listUnordered`?!r.containerState.marker||t===r.containerState.marker:s0(t)){if(r.containerState.type||(r.containerState.type=i,e.enter(i,{_container:!0})),i===`listUnordered`)return e.enter(`listItemPrefix`),t===42||t===45?e.check(i4,n,l)(t):l(t);if(!r.interrupt||t===49)return e.enter(`listItemPrefix`),e.enter(`listItemValue`),c(t)}return n(t)}function c(t){return s0(t)&&++o<10?(e.consume(t),c):(!r.interrupt||o<2)&&(r.containerState.marker?t===r.containerState.marker:t===41||t===46)?(e.exit(`listItemValue`),l(t)):n(t)}function l(t){return e.enter(`listItemMarker`),e.consume(t),e.exit(`listItemMarker`),r.containerState.marker=r.containerState.marker||t,e.check(H2,r.interrupt?n:u,e.attempt(Ede,f,d))}function u(e){return r.containerState.initialBlankLine=!0,a++,f(e)}function d(t){return f0(t)?(e.enter(`listItemPrefixWhitespace`),e.consume(t),e.exit(`listItemPrefixWhitespace`),f):n(t)}function f(n){return r.containerState.size=a+r.sliceSerialize(e.exit(`listItemPrefix`),!0).length,t(n)}}function kde(e,t,n){let r=this;return r.containerState._closeFlow=void 0,e.check(H2,i,a);function i(n){return r.containerState.furtherBlankLines=r.containerState.furtherBlankLines||r.containerState.initialBlankLine,V2(e,t,`listItemIndent`,r.containerState.size+1)(n)}function a(n){return r.containerState.furtherBlankLines||!f0(n)?(r.containerState.furtherBlankLines=void 0,r.containerState.initialBlankLine=void 0,o(n)):(r.containerState.furtherBlankLines=void 0,r.containerState.initialBlankLine=void 0,e.attempt(Dde,t,o)(n))}function o(i){return r.containerState._closeFlow=!0,r.interrupt=void 0,V2(e,e.attempt(a4,t,n),`linePrefix`,r.parser.constructs.disable.null.includes(`codeIndented`)?void 0:4)(i)}}function Ade(e,t,n){let r=this;return V2(e,i,`listItemIndent`,r.containerState.size+1);function i(e){let i=r.events[r.events.length-1];return i&&i[1].type===`listItemIndent`&&i[2].sliceSerialize(i[1],!0).length===r.containerState.size?t(e):n(e)}}function jde(e){e.exit(this.containerState.type)}function Mde(e,t,n){let r=this;return V2(e,i,`listItemPrefixWhitespace`,r.parser.constructs.disable.null.includes(`codeIndented`)?void 0:5);function i(e){let i=r.events[r.events.length-1];return!f0(e)&&i&&i[1].type===`listItemPrefixWhitespace`?t(e):n(e)}}var o4={name:`setextUnderline`,tokenize:Pde,resolveTo:Nde};function Nde(e,t){let n=e.length,r,i,a;for(;n--;)if(e[n][0]===`enter`){if(e[n][1].type===`content`){r=n;break}e[n][1].type===`paragraph`&&(i=n)}else e[n][1].type===`content`&&e.splice(n,1),!a&&e[n][1].type===`definition`&&(a=n);let o={type:`setextHeading`,start:Object.assign({},e[i][1].start),end:Object.assign({},e[e.length-1][1].end)};return e[i][1].type=`setextHeadingText`,a?(e.splice(i,0,[`enter`,o,t]),e.splice(a+1,0,[`exit`,e[r][1],t]),e[r][1].end=Object.assign({},e[a][1].end)):e[r][1]=o,e.push([`exit`,o,t]),e}function Pde(e,t,n){let r=this,i;return a;function a(t){let a=r.events.length,s;for(;a--;)if(r.events[a][1].type!==`lineEnding`&&r.events[a][1].type!==`linePrefix`&&r.events[a][1].type!==`content`){s=r.events[a][1].type===`paragraph`;break}return!r.parser.lazy[r.now().line]&&(r.interrupt||s)?(e.enter(`setextHeadingLine`),i=t,o(t)):n(t)}function o(t){return e.enter(`setextHeadingLineSequence`),s(t)}function s(t){return t===i?(e.consume(t),s):(e.exit(`setextHeadingLineSequence`),f0(t)?V2(e,c,`lineSuffix`)(t):c(t))}function c(r){return r===null||u0(r)?(e.exit(`setextHeadingLine`),t(r)):n(r)}}var Fde={tokenize:Ude,partial:!0};function Ide(){return{document:{91:{tokenize:Bde,continuation:{tokenize:Vde},exit:Hde}},text:{91:{tokenize:zde},93:{add:`after`,tokenize:Lde,resolveTo:Rde}}}}function Lde(e,t,n){let r=this,i=r.events.length,a=r.parser.gfmFootnotes||(r.parser.gfmFootnotes=[]),o;for(;i--;){let e=r.events[i][1];if(e.type===`labelImage`){o=e;break}if(e.type===`gfmFootnoteCall`||e.type===`labelLink`||e.type===`label`||e.type===`image`||e.type===`link`)break}return s;function s(i){if(!o||!o._balanced)return n(i);let s=L0(r.sliceSerialize({start:o.end,end:r.now()}));return s.codePointAt(0)!==94||!a.includes(s.slice(1))?n(i):(e.enter(`gfmFootnoteCallLabelMarker`),e.consume(i),e.exit(`gfmFootnoteCallLabelMarker`),t(i))}}function Rde(e,t){let n=e.length;for(;n--;)if(e[n][1].type===`labelImage`&&e[n][0]===`enter`){e[n][1];break}e[n+1][1].type=`data`,e[n+3][1].type=`gfmFootnoteCallLabelMarker`;let r={type:`gfmFootnoteCall`,start:Object.assign({},e[n+3][1].start),end:Object.assign({},e[e.length-1][1].end)},i={type:`gfmFootnoteCallMarker`,start:Object.assign({},e[n+3][1].end),end:Object.assign({},e[n+3][1].end)};i.end.column++,i.end.offset++,i.end._bufferIndex++;let a={type:`gfmFootnoteCallString`,start:Object.assign({},i.end),end:Object.assign({},e[e.length-1][1].start)},o={type:`chunkString`,contentType:`string`,start:Object.assign({},a.start),end:Object.assign({},a.end)},s=[e[n+1],e[n+2],[`enter`,r,t],e[n+3],e[n+4],[`enter`,i,t],[`exit`,i,t],[`enter`,a,t],[`enter`,o,t],[`exit`,o,t],[`exit`,a,t],e[e.length-2],e[e.length-1],[`exit`,r,t]];return e.splice(n,e.length-n+1,...s),e}function zde(e,t,n){let r=this,i=r.parser.gfmFootnotes||(r.parser.gfmFootnotes=[]),a=0,o;return s;function s(t){return e.enter(`gfmFootnoteCall`),e.enter(`gfmFootnoteCallLabelMarker`),e.consume(t),e.exit(`gfmFootnoteCallLabelMarker`),c}function c(t){return t===94?(e.enter(`gfmFootnoteCallMarker`),e.consume(t),e.exit(`gfmFootnoteCallMarker`),e.enter(`gfmFootnoteCallString`),e.enter(`chunkString`).contentType=`string`,l):n(t)}function l(s){if(a>999||s===93&&!o||s===null||s===91||d0(s))return n(s);if(s===93){e.exit(`chunkString`);let a=e.exit(`gfmFootnoteCallString`);return i.includes(L0(r.sliceSerialize(a)))?(e.enter(`gfmFootnoteCallLabelMarker`),e.consume(s),e.exit(`gfmFootnoteCallLabelMarker`),e.exit(`gfmFootnoteCall`),t):n(s)}return d0(s)||(o=!0),a++,e.consume(s),s===92?u:l}function u(t){return t===91||t===92||t===93?(e.consume(t),a++,l):l(t)}}function Bde(e,t,n){let r=this,i=r.parser.gfmFootnotes||(r.parser.gfmFootnotes=[]),a,o=0,s;return c;function c(t){return e.enter(`gfmFootnoteDefinition`)._container=!0,e.enter(`gfmFootnoteDefinitionLabel`),e.enter(`gfmFootnoteDefinitionLabelMarker`),e.consume(t),e.exit(`gfmFootnoteDefinitionLabelMarker`),l}function l(t){return t===94?(e.enter(`gfmFootnoteDefinitionMarker`),e.consume(t),e.exit(`gfmFootnoteDefinitionMarker`),e.enter(`gfmFootnoteDefinitionLabelString`),e.enter(`chunkString`).contentType=`string`,u):n(t)}function u(t){if(o>999||t===93&&!s||t===null||t===91||d0(t))return n(t);if(t===93){e.exit(`chunkString`);let n=e.exit(`gfmFootnoteDefinitionLabelString`);return a=L0(r.sliceSerialize(n)),e.enter(`gfmFootnoteDefinitionLabelMarker`),e.consume(t),e.exit(`gfmFootnoteDefinitionLabelMarker`),e.exit(`gfmFootnoteDefinitionLabel`),f}return d0(t)||(s=!0),o++,e.consume(t),t===92?d:u}function d(t){return t===91||t===92||t===93?(e.consume(t),o++,u):u(t)}function f(t){return t===58?(e.enter(`definitionMarker`),e.consume(t),e.exit(`definitionMarker`),i.includes(a)||i.push(a),V2(e,p,`gfmFootnoteDefinitionWhitespace`)):n(t)}function p(e){return t(e)}}function Vde(e,t,n){return e.check(H2,t,e.attempt(Fde,t,n))}function Hde(e){e.exit(`gfmFootnoteDefinition`)}function Ude(e,t,n){let r=this;return V2(e,i,`gfmFootnoteDefinitionIndent`,5);function i(e){let i=r.events[r.events.length-1];return i&&i[1].type===`gfmFootnoteDefinitionIndent`&&i[2].sliceSerialize(i[1],!0).length===4?t(e):n(e)}}function Wde(e){let t=(e||{}).singleTilde,n={tokenize:i,resolveAll:r};return t??=!0,{text:{126:n},insideSpan:{null:[n]},attentionMarkers:{null:[126]}};function r(e,t){let n=-1;for(;++n<e.length;)if(e[n][0]===`enter`&&e[n][1].type===`strikethroughSequenceTemporary`&&e[n][1]._close){let r=n;for(;r--;)if(e[r][0]===`exit`&&e[r][1].type===`strikethroughSequenceTemporary`&&e[r][1]._open&&e[n][1].end.offset-e[n][1].start.offset===e[r][1].end.offset-e[r][1].start.offset){e[n][1].type=`strikethroughSequence`,e[r][1].type=`strikethroughSequence`;let i={type:`strikethrough`,start:Object.assign({},e[r][1].start),end:Object.assign({},e[n][1].end)},a={type:`strikethroughText`,start:Object.assign({},e[r][1].end),end:Object.assign({},e[n][1].start)},o=[[`enter`,i,t],[`enter`,e[r][1],t],[`exit`,e[r][1],t],[`enter`,a,t]],s=t.parser.constructs.insideSpan.null;s&&y2(o,o.length,0,R2(s,e.slice(r+1,n),t)),y2(o,o.length,0,[[`exit`,a,t],[`enter`,e[n][1],t],[`exit`,e[n][1],t],[`exit`,i,t]]),y2(e,r-1,n-r+3,o),n=r+o.length-2;break}}for(n=-1;++n<e.length;)e[n][1].type===`strikethroughSequenceTemporary`&&(e[n][1].type=`data`);return e}function i(e,n,r){let i=this.previous,a=this.events,o=0;return s;function s(t){return i===126&&a[a.length-1][1].type!==`characterEscape`?r(t):(e.enter(`strikethroughSequenceTemporary`),c(t))}function c(a){let s=L2(i);if(a===126)return o>1?r(a):(e.consume(a),o++,c);if(o<2&&!t)return r(a);let l=e.exit(`strikethroughSequenceTemporary`),u=L2(a);return l._open=!u||u===2&&!!s,l._close=!s||s===2&&!!u,n(a)}}}var Gde=class{constructor(){this.map=[]}add(e,t,n){Kde(this,e,t,n)}consume(e){if(this.map.sort(function(e,t){return e[0]-t[0]}),this.map.length===0)return;let t=this.map.length,n=[];for(;t>0;)--t,n.push(e.slice(this.map[t][0]+this.map[t][1]),this.map[t][2]),e.length=this.map[t][0];n.push([...e]),e.length=0;let r=n.pop();for(;r;)e.push(...r),r=n.pop();this.map.length=0}};function Kde(e,t,n,r){let i=0;if(!(n===0&&r.length===0)){for(;i<e.map.length;){if(e.map[i][0]===t){e.map[i][1]+=n,e.map[i][2].push(...r);return}i+=1}e.map.push([t,n,r])}}function qde(e,t){let n=!1,r=[];for(;t<e.length;){let i=e[t];if(n){if(i[0]===`enter`)i[1].type===`tableContent`&&r.push(e[t+1][1].type===`tableDelimiterMarker`?`left`:`none`);else if(i[1].type===`tableContent`){if(e[t-1][1].type===`tableDelimiterMarker`){let e=r.length-1;r[e]=r[e]===`left`?`center`:`right`}}else if(i[1].type===`tableDelimiterRow`)break}else i[0]===`enter`&&i[1].type===`tableDelimiterRow`&&(n=!0);t+=1}return r}function Jde(){return{flow:{null:{tokenize:Yde,resolveAll:Xde}}}}function Yde(e,t,n){let r=this,i=0,a=0,o;return s;function s(e){let t=r.events.length-1;for(;t>-1;){let e=r.events[t][1].type;if(e===`lineEnding`||e===`linePrefix`)t--;else break}let i=t>-1?r.events[t][1].type:null,a=i===`tableHead`||i===`tableRow`?x:c;return a===x&&r.parser.lazy[r.now().line]?n(e):a(e)}function c(t){return e.enter(`tableHead`),e.enter(`tableRow`),l(t)}function l(e){return e===124?u(e):(o=!0,a+=1,u(e))}function u(t){return t===null?n(t):u0(t)?a>1?(a=0,r.interrupt=!0,e.exit(`tableRow`),e.enter(`lineEnding`),e.consume(t),e.exit(`lineEnding`),p):n(t):f0(t)?V2(e,u,`whitespace`)(t):(a+=1,o&&(o=!1,i+=1),t===124?(e.enter(`tableCellDivider`),e.consume(t),e.exit(`tableCellDivider`),o=!0,u):(e.enter(`data`),d(t)))}function d(t){return t===null||t===124||d0(t)?(e.exit(`data`),u(t)):(e.consume(t),t===92?f:d)}function f(t){return t===92||t===124?(e.consume(t),d):d(t)}function p(t){return r.interrupt=!1,r.parser.lazy[r.now().line]?n(t):(e.enter(`tableDelimiterRow`),o=!1,f0(t)?V2(e,m,`linePrefix`,r.parser.constructs.disable.null.includes(`codeIndented`)?void 0:4)(t):m(t))}function m(t){return t===45||t===58?g(t):t===124?(o=!0,e.enter(`tableCellDivider`),e.consume(t),e.exit(`tableCellDivider`),h):ee(t)}function h(t){return f0(t)?V2(e,g,`whitespace`)(t):g(t)}function g(t){return t===58?(a+=1,o=!0,e.enter(`tableDelimiterMarker`),e.consume(t),e.exit(`tableDelimiterMarker`),_):t===45?(a+=1,_(t)):t===null||u0(t)?b(t):ee(t)}function _(t){return t===45?(e.enter(`tableDelimiterFiller`),v(t)):ee(t)}function v(t){return t===45?(e.consume(t),v):t===58?(o=!0,e.exit(`tableDelimiterFiller`),e.enter(`tableDelimiterMarker`),e.consume(t),e.exit(`tableDelimiterMarker`),y):(e.exit(`tableDelimiterFiller`),y(t))}function y(t){return f0(t)?V2(e,b,`whitespace`)(t):b(t)}function b(n){return n===124?m(n):n===null||u0(n)?!o||i!==a?ee(n):(e.exit(`tableDelimiterRow`),e.exit(`tableHead`),t(n)):ee(n)}function ee(e){return n(e)}function x(t){return e.enter(`tableRow`),te(t)}function te(n){return n===124?(e.enter(`tableCellDivider`),e.consume(n),e.exit(`tableCellDivider`),te):n===null||u0(n)?(e.exit(`tableRow`),t(n)):f0(n)?V2(e,te,`whitespace`)(n):(e.enter(`data`),S(n))}function S(t){return t===null||t===124||d0(t)?(e.exit(`data`),te(t)):(e.consume(t),t===92?ne:S)}function ne(t){return t===92||t===124?(e.consume(t),S):S(t)}}function Xde(e,t){let n=-1,r=!0,i=0,a=[0,0,0,0],o=[0,0,0,0],s=!1,c=0,l,u,d,f=new Gde;for(;++n<e.length;){let p=e[n],m=p[1];p[0]===`enter`?m.type===`tableHead`?(s=!1,c!==0&&(c4(f,t,c,l,u),u=void 0,c=0),l={type:`table`,start:Object.assign({},m.start),end:Object.assign({},m.end)},f.add(n,0,[[`enter`,l,t]])):m.type===`tableRow`||m.type===`tableDelimiterRow`?(r=!0,d=void 0,a=[0,0,0,0],o=[0,n+1,0,0],s&&(s=!1,u={type:`tableBody`,start:Object.assign({},m.start),end:Object.assign({},m.end)},f.add(n,0,[[`enter`,u,t]])),i=m.type===`tableDelimiterRow`?2:u?3:1):i&&(m.type===`data`||m.type===`tableDelimiterMarker`||m.type===`tableDelimiterFiller`)?(r=!1,o[2]===0&&(a[1]!==0&&(o[0]=o[1],d=s4(f,t,a,i,void 0,d),a=[0,0,0,0]),o[2]=n)):m.type===`tableCellDivider`&&(r?r=!1:(a[1]!==0&&(o[0]=o[1],d=s4(f,t,a,i,void 0,d)),a=o,o=[a[1],n,0,0])):m.type===`tableHead`?(s=!0,c=n):m.type===`tableRow`||m.type===`tableDelimiterRow`?(c=n,a[1]===0?o[1]!==0&&(d=s4(f,t,o,i,n,d)):(o[0]=o[1],d=s4(f,t,a,i,n,d)),i=0):i&&(m.type===`data`||m.type===`tableDelimiterMarker`||m.type===`tableDelimiterFiller`)&&(o[3]=n)}for(c!==0&&c4(f,t,c,l,u),f.consume(t.events),n=-1;++n<t.events.length;){let e=t.events[n];e[0]===`enter`&&e[1].type===`table`&&(e[1]._align=qde(t.events,n))}return e}function s4(e,t,n,r,i,a){let o=r===1?`tableHeader`:r===2?`tableDelimiter`:`tableData`;n[0]!==0&&(a.end=Object.assign({},l4(t.events,n[0])),e.add(n[0],0,[[`exit`,a,t]]));let s=l4(t.events,n[1]);if(a={type:o,start:Object.assign({},s),end:Object.assign({},s)},e.add(n[1],0,[[`enter`,a,t]]),n[2]!==0){let i=l4(t.events,n[2]),a=l4(t.events,n[3]),o={type:`tableContent`,start:Object.assign({},i),end:Object.assign({},a)};if(e.add(n[2],0,[[`enter`,o,t]]),r!==2){let r=t.events[n[2]],i=t.events[n[3]];if(r[1].end=Object.assign({},i[1].end),r[1].type=`chunkText`,r[1].contentType=`text`,n[3]>n[2]+1){let t=n[2]+1,r=n[3]-n[2]-1;e.add(t,r,[])}}e.add(n[3]+1,0,[[`exit`,o,t]])}return i!==void 0&&(a.end=Object.assign({},l4(t.events,i)),e.add(i,0,[[`exit`,a,t]]),a=void 0),a}function c4(e,t,n,r,i){let a=[],o=l4(t.events,n);i&&(i.end=Object.assign({},o),a.push([`exit`,i,t])),r.end=Object.assign({},o),a.push([`exit`,r,t]),e.add(n+1,0,a)}function l4(e,t){let n=e[t],r=n[0]===`enter`?`start`:`end`;return n[1][r]}var Zde={tokenize:$de};function Qde(){return{text:{91:Zde}}}function $de(e,t,n){let r=this;return i;function i(t){return r.previous!==null||!r._gfmTasklistFirstContentOfListItem?n(t):(e.enter(`taskListCheck`),e.enter(`taskListCheckMarker`),e.consume(t),e.exit(`taskListCheckMarker`),a)}function a(t){return d0(t)?(e.enter(`taskListCheckValueUnchecked`),e.consume(t),e.exit(`taskListCheckValueUnchecked`),o):t===88||t===120?(e.enter(`taskListCheckValueChecked`),e.consume(t),e.exit(`taskListCheckValueChecked`),o):n(t)}function o(t){return t===93?(e.enter(`taskListCheckMarker`),e.consume(t),e.exit(`taskListCheckMarker`),e.exit(`taskListCheck`),s):n(t)}function s(r){return u0(r)?t(r):f0(r)?e.check({tokenize:efe},t,n)(r):n(r)}}function efe(e,t,n){return V2(e,r,`whitespace`);function r(e){return e===null?n(e):t(e)}}function tfe(e){return S2([due(),Ide(),Wde(e),Jde(),Qde()])}var nfe={};function u4(e){let t=this,n=e||nfe,r=t.data(),i=r.micromarkExtensions||=[],a=r.fromMarkdownExtensions||=[],o=r.toMarkdownExtensions||=[];i.push(tfe(n)),a.push(aue()),o.push(oue(n))}var rfe={tokenize:ife};function ife(e){let t=e.attempt(this.parser.constructs.contentInitial,r,i),n;return t;function r(n){if(n===null){e.consume(n);return}return e.enter(`lineEnding`),e.consume(n),e.exit(`lineEnding`),V2(e,t,`linePrefix`)}function i(t){return e.enter(`paragraph`),a(t)}function a(t){let r=e.enter(`chunkText`,{contentType:`text`,previous:n});return n&&(n.next=r),n=r,o(t)}function o(t){if(t===null){e.exit(`chunkText`),e.exit(`paragraph`),e.consume(t);return}return u0(t)?(e.consume(t),e.exit(`chunkText`),a):(e.consume(t),o)}}var afe={tokenize:ofe},d4={tokenize:sfe};function ofe(e){let t=this,n=[],r=0,i,a,o;return s;function s(i){if(r<n.length){let a=n[r];return t.containerState=a[1],e.attempt(a[0].continuation,c,l)(i)}return l(i)}function c(e){if(r++,t.containerState._closeFlow){t.containerState._closeFlow=void 0,i&&v();let n=t.events.length,a=n,o;for(;a--;)if(t.events[a][0]===`exit`&&t.events[a][1].type===`chunkFlow`){o=t.events[a][1].end;break}_(r);let s=n;for(;s<t.events.length;)t.events[s][1].end=Object.assign({},o),s++;return y2(t.events,a+1,0,t.events.slice(n)),t.events.length=s,l(e)}return s(e)}function l(a){if(r===n.length){if(!i)return f(a);if(i.currentConstruct&&i.currentConstruct.concrete)return m(a);t.interrupt=!!(i.currentConstruct&&!i._gfmTableDynamicInterruptHack)}return t.containerState={},e.check(d4,u,d)(a)}function u(e){return i&&v(),_(r),f(e)}function d(e){return t.parser.lazy[t.now().line]=r!==n.length,o=t.now().offset,m(e)}function f(n){return t.containerState={},e.attempt(d4,p,m)(n)}function p(e){return r++,n.push([t.currentConstruct,t.containerState]),f(e)}function m(n){if(n===null){i&&v(),_(0),e.consume(n);return}return i||=t.parser.flow(t.now()),e.enter(`chunkFlow`,{contentType:`flow`,previous:a,_tokenizer:i}),h(n)}function h(n){if(n===null){g(e.exit(`chunkFlow`),!0),_(0),e.consume(n);return}return u0(n)?(e.consume(n),g(e.exit(`chunkFlow`)),r=0,t.interrupt=void 0,s):(e.consume(n),h)}function g(e,n){let s=t.sliceStream(e);if(n&&s.push(null),e.previous=a,a&&(a.next=e),a=e,i.defineSkip(e.start),i.write(s),t.parser.lazy[e.start.line]){let e=i.events.length;for(;e--;)if(i.events[e][1].start.offset<o&&(!i.events[e][1].end||i.events[e][1].end.offset>o))return;let n=t.events.length,a=n,s,c;for(;a--;)if(t.events[a][0]===`exit`&&t.events[a][1].type===`chunkFlow`){if(s){c=t.events[a][1].end;break}s=!0}for(_(r),e=n;e<t.events.length;)t.events[e][1].end=Object.assign({},c),e++;y2(t.events,a+1,0,t.events.slice(n)),t.events.length=e}}function _(r){let i=n.length;for(;i-- >r;){let r=n[i];t.containerState=r[1],r[0].exit.call(t,e)}n.length=r}function v(){i.write([null]),a=void 0,i=void 0,t.containerState._closeFlow=void 0}}function sfe(e,t,n){return V2(e,e.attempt(this.parser.constructs.document,t,n),`linePrefix`,this.parser.constructs.disable.null.includes(`codeIndented`)?void 0:4)}var cfe={tokenize:lfe};function lfe(e){let t=this,n=e.attempt(H2,r,e.attempt(this.parser.constructs.flowInitial,i,V2(e,e.attempt(this.parser.constructs.flow,i,e.attempt(Vue,i)),`linePrefix`)));return n;function r(r){if(r===null){e.consume(r);return}return e.enter(`lineEndingBlank`),e.consume(r),e.exit(`lineEndingBlank`),t.currentConstruct=void 0,n}function i(r){if(r===null){e.consume(r);return}return e.enter(`lineEnding`),e.consume(r),e.exit(`lineEnding`),t.currentConstruct=void 0,n}}var ufe={resolveAll:p4()},dfe=f4(`string`),ffe=f4(`text`);function f4(e){return{tokenize:t,resolveAll:p4(e===`text`?pfe:void 0)};function t(t){let n=this,r=this.parser.constructs[e],i=t.attempt(r,a,o);return a;function a(e){return c(e)?i(e):o(e)}function o(e){if(e===null){t.consume(e);return}return t.enter(`data`),t.consume(e),s}function s(e){return c(e)?(t.exit(`data`),i(e)):(t.consume(e),s)}function c(e){if(e===null)return!0;let t=r[e],i=-1;if(t)for(;++i<t.length;){let e=t[i];if(!e.previous||e.previous.call(n,n.previous))return!0}return!1}}}function p4(e){return t;function t(t,n){let r=-1,i;for(;++r<=t.length;)i===void 0?t[r]&&t[r][1].type===`data`&&(i=r,r++):(!t[r]||t[r][1].type!==`data`)&&(r!==i+2&&(t[i][1].end=t[r-1][1].end,t.splice(i+2,r-i-2),r=i+2),i=void 0);return e?e(t,n):t}}function pfe(e,t){let n=0;for(;++n<=e.length;)if((n===e.length||e[n][1].type===`lineEnding`)&&e[n-1][1].type===`data`){let r=e[n-1][1],i=t.sliceStream(r),a=i.length,o=-1,s=0,c;for(;a--;){let e=i[a];if(typeof e==`string`){for(o=e.length;e.charCodeAt(o-1)===32;)s++,o--;if(o)break;o=-1}else if(e===-2)c=!0,s++;else if(e!==-1){a++;break}}if(s){let i={type:n===e.length||c||s<2?`lineSuffix`:`hardBreakTrailing`,start:{line:r.end.line,column:r.end.column-s,offset:r.end.offset-s,_index:r.start._index+a,_bufferIndex:a?o:r.start._bufferIndex+o},end:Object.assign({},r.end)};r.end=Object.assign({},i.start),r.start.offset===r.end.offset?Object.assign(r,i):(e.splice(n,0,[`enter`,i,t],[`exit`,i,t]),n+=2)}n++}return e}function mfe(e,t,n){let r=Object.assign(n?Object.assign({},n):{line:1,column:1,offset:0},{_index:0,_bufferIndex:-1}),i={},a=[],o=[],s=[],c={consume:v,enter:y,exit:b,attempt:te(ee),check:te(x),interrupt:te(x,{interrupt:!0})},l={previous:null,code:null,containerState:{},events:[],parser:e,sliceStream:p,sliceSerialize:f,now:m,defineSkip:h,write:d},u=t.tokenize.call(l,c);return t.resolveAll&&a.push(t),l;function d(e){return o=b2(o,e),g(),o[o.length-1]===null?(S(t,0),l.events=R2(a,l.events,l),l.events):[]}function f(e,t){return gfe(p(e),t)}function p(e){return hfe(o,e)}function m(){let{line:e,column:t,offset:n,_index:i,_bufferIndex:a}=r;return{line:e,column:t,offset:n,_index:i,_bufferIndex:a}}function h(e){i[e.line]=e.column,re()}function g(){let e;for(;r._index<o.length;){let t=o[r._index];if(typeof t==`string`)for(e=r._index,r._bufferIndex<0&&(r._bufferIndex=0);r._index===e&&r._bufferIndex<t.length;)_(t.charCodeAt(r._bufferIndex));else _(t)}}function _(e){u=u(e)}function v(e){u0(e)?(r.line++,r.column=1,r.offset+=e===-3?2:1,re()):e!==-1&&(r.column++,r.offset++),r._bufferIndex<0?r._index++:(r._bufferIndex++,r._bufferIndex===o[r._index].length&&(r._bufferIndex=-1,r._index++)),l.previous=e}function y(e,t){let n=t||{};return n.type=e,n.start=m(),l.events.push([`enter`,n,l]),s.push(n),n}function b(e){let t=s.pop();return t.end=m(),l.events.push([`exit`,t,l]),t}function ee(e,t){S(e,t.from)}function x(e,t){t.restore()}function te(e,t){return n;function n(n,r,i){let a,o,s,u;return Array.isArray(n)?f(n):`tokenize`in n?f([n]):d(n);function d(e){return t;function t(t){let n=t!==null&&e[t],r=t!==null&&e.null;return f([...Array.isArray(n)?n:n?[n]:[],...Array.isArray(r)?r:r?[r]:[]])(t)}}function f(e){return a=e,o=0,e.length===0?i:p(e[o])}function p(e){return n;function n(n){return u=ne(),s=e,e.partial||(l.currentConstruct=e),e.name&&l.parser.constructs.disable.null.includes(e.name)?h(n):e.tokenize.call(t?Object.assign(Object.create(l),t):l,c,m,h)(n)}}function m(t){return e(s,u),r}function h(e){return u.restore(),++o<a.length?p(a[o]):i}}}function S(e,t){e.resolveAll&&!a.includes(e)&&a.push(e),e.resolve&&y2(l.events,t,l.events.length-t,e.resolve(l.events.slice(t),l)),e.resolveTo&&(l.events=e.resolveTo(l.events,l))}function ne(){let e=m(),t=l.previous,n=l.currentConstruct,i=l.events.length,a=Array.from(s);return{restore:o,from:i};function o(){r=e,l.previous=t,l.currentConstruct=n,l.events.length=i,s=a,re()}}function re(){r.line in i&&r.column<2&&(r.column=i[r.line],r.offset+=i[r.line]-1)}}function hfe(e,t){let n=t.start._index,r=t.start._bufferIndex,i=t.end._index,a=t.end._bufferIndex,o;if(n===i)o=[e[n].slice(r,a)];else{if(o=e.slice(n,i),r>-1){let e=o[0];typeof e==`string`?o[0]=e.slice(r):o.shift()}a>0&&o.push(e[i].slice(0,a))}return o}function gfe(e,t){let n=-1,r=[],i;for(;++n<e.length;){let a=e[n],o;if(typeof a==`string`)o=a;else switch(a){case-5:o=`\r`;break;case-4:o=`
70
+ `;break;case-3:o=`\r
71
+ `;break;case-2:o=t?` `:` `;break;case-1:if(!t&&i)continue;o=` `;break;default:o=String.fromCharCode(a)}i=a===-2,r.push(o)}return r.join(``)}var _fe=QV({attentionMarkers:()=>Tfe,contentInitial:()=>yfe,disable:()=>Efe,document:()=>vfe,flow:()=>xfe,flowInitial:()=>bfe,insideSpan:()=>wfe,string:()=>Sfe,text:()=>Cfe}),vfe={42:a4,43:a4,45:a4,48:a4,49:a4,50:a4,51:a4,52:a4,53:a4,54:a4,55:a4,56:a4,57:a4,62:U2},yfe={91:Kue},bfe={[-2]:J2,[-1]:J2,32:J2},xfe={35:Que,42:i4,45:[o4,i4],60:nde,61:o4,95:i4,96:q2,126:q2},Sfe={38:G2,92:W2},Cfe={[-5]:r4,[-4]:r4,[-3]:r4,33:bde,38:G2,42:z2,60:[Sue,lde],91:Sde,92:[Xue,W2],93:n4,95:z2,96:Fue},wfe={null:[z2,ufe]},Tfe={null:[42,95]},Efe={null:[]};function Dfe(e){let t={defined:[],lazy:{},constructs:S2([_fe,...(e||{}).extensions||[]]),content:n(rfe),document:n(afe),flow:n(cfe),string:n(dfe),text:n(ffe)};return t;function n(e){return n;function n(n){return mfe(t,e,n)}}}function Ofe(e){for(;!X2(e););return e}var m4=/[\0\t\n\r]/g;function kfe(){let e=1,t=``,n=!0,r;return i;function i(i,a,o){let s=[],c,l,u,d,f;for(i=t+(typeof i==`string`?i.toString():new TextDecoder(a||void 0).decode(i)),u=0,t=``,n&&=(i.charCodeAt(0)===65279&&u++,void 0);u<i.length;){if(m4.lastIndex=u,c=m4.exec(i),d=c&&c.index!==void 0?c.index:i.length,f=i.charCodeAt(d),!c){t=i.slice(u);break}if(f===10&&u===d&&r)s.push(-3),r=void 0;else switch(r&&=(s.push(-5),void 0),u<d&&(s.push(i.slice(u,d)),e+=d-u),f){case 0:s.push(65533),e++;break;case 9:for(l=Math.ceil(e/4)*4,s.push(-2);e++<l;)s.push(-1);break;case 10:s.push(-4),e=1;break;default:r=!0,e=1}u=d+1}return o&&(r&&s.push(-5),t&&s.push(t),s.push(null)),s}}var h4={}.hasOwnProperty;function Afe(e,t,n){return typeof t!=`string`&&(n=t,t=void 0),jfe(n)(Ofe(Dfe(n).document().write(kfe()(e,t,!0))))}function jfe(e){let t={transforms:[],canContainEols:[`emphasis`,`fragment`,`heading`,`paragraph`,`strong`],enter:{autolink:a(De),autolinkProtocol:ne,autolinkEmail:ne,atxHeading:a(Te),blockQuote:a(be),characterEscape:ne,characterReference:ne,codeFenced:a(xe),codeFencedFenceInfo:o,codeFencedFenceMeta:o,codeIndented:a(xe,o),codeText:a(Se,o),codeTextData:ne,data:ne,codeFlowValue:ne,definition:a(Ce),definitionDestinationString:o,definitionLabelString:o,definitionTitleString:o,emphasis:a(we),hardBreakEscape:a(E),hardBreakTrailing:a(E),htmlFlow:a(D,o),htmlFlowData:ne,htmlText:a(D,o),htmlTextData:ne,image:a(Ee),label:o,link:a(De),listItem:a(Oe),listItemValue:f,listOrdered:a(O,d),listUnordered:a(O),paragraph:a(k),reference:pe,referenceString:o,resourceDestinationString:o,resourceTitleString:o,setextHeading:a(Te),strong:a(ke),thematicBreak:a(A)},exit:{atxHeading:c(),atxHeadingSequence:ee,autolink:c(),autolinkEmail:ye,autolinkProtocol:ve,blockQuote:c(),characterEscapeValue:re,characterReferenceMarkerHexadecimal:he,characterReferenceMarkerNumeric:he,characterReferenceValue:ge,characterReference:_e,codeFenced:c(g),codeFencedFence:h,codeFencedFenceInfo:p,codeFencedFenceMeta:m,codeFlowValue:re,codeIndented:c(_),codeText:c(se),codeTextData:re,data:re,definition:c(),definitionDestinationString:b,definitionLabelString:v,definitionTitleString:y,emphasis:c(),hardBreakEscape:c(ae),hardBreakTrailing:c(ae),htmlFlow:c(oe),htmlFlowData:re,htmlText:c(C),htmlTextData:re,image:c(le),label:de,labelText:ue,lineEnding:ie,link:c(ce),listItem:c(),listOrdered:c(),listUnordered:c(),paragraph:c(),referenceString:me,resourceDestinationString:w,resourceTitleString:fe,resource:T,setextHeading:c(S),setextHeadingLineSequence:te,setextHeadingText:x,strong:c(),thematicBreak:c()}};_4(t,(e||{}).mdastExtensions||[]);let n={};return r;function r(e){let r={type:`root`,children:[]},a={stack:[r],tokenStack:[],config:t,enter:s,exit:l,buffer:o,resume:u,data:n},c=[],d=-1;for(;++d<e.length;)(e[d][1].type===`listOrdered`||e[d][1].type===`listUnordered`)&&(e[d][0]===`enter`?c.push(d):d=i(e,c.pop(),d));for(d=-1;++d<e.length;){let n=t[e[d][0]];h4.call(n,e[d][1].type)&&n[e[d][1].type].call(Object.assign({sliceSerialize:e[d][2].sliceSerialize},a),e[d][1])}if(a.tokenStack.length>0){let e=a.tokenStack[a.tokenStack.length-1];(e[1]||v4).call(a,void 0,e[0])}for(r.position={start:g4(e.length>0?e[0][1].start:{line:1,column:1,offset:0}),end:g4(e.length>0?e[e.length-2][1].end:{line:1,column:1,offset:0})},d=-1;++d<t.transforms.length;)r=t.transforms[d](r)||r;return r}function i(e,t,n){let r=t-1,i=-1,a=!1,o,s,c,l;for(;++r<=n;){let t=e[r];switch(t[1].type){case`listUnordered`:case`listOrdered`:case`blockQuote`:t[0]===`enter`?i++:i--,l=void 0;break;case`lineEndingBlank`:t[0]===`enter`&&(o&&!l&&!i&&!c&&(c=r),l=void 0);break;case`linePrefix`:case`listItemValue`:case`listItemMarker`:case`listItemPrefix`:case`listItemPrefixWhitespace`:break;default:l=void 0}if(!i&&t[0]===`enter`&&t[1].type===`listItemPrefix`||i===-1&&t[0]===`exit`&&(t[1].type===`listUnordered`||t[1].type===`listOrdered`)){if(o){let i=r;for(s=void 0;i--;){let t=e[i];if(t[1].type===`lineEnding`||t[1].type===`lineEndingBlank`){if(t[0]===`exit`)continue;s&&(e[s][1].type=`lineEndingBlank`,a=!0),t[1].type=`lineEnding`,s=i}else if(!(t[1].type===`linePrefix`||t[1].type===`blockQuotePrefix`||t[1].type===`blockQuotePrefixWhitespace`||t[1].type===`blockQuoteMarker`||t[1].type===`listItemIndent`))break}c&&(!s||c<s)&&(o._spread=!0),o.end=Object.assign({},s?e[s][1].start:t[1].end),e.splice(s||r,0,[`exit`,o,t[2]]),r++,n++}if(t[1].type===`listItemPrefix`){let i={type:`listItem`,_spread:!1,start:Object.assign({},t[1].start),end:void 0};o=i,e.splice(r,0,[`enter`,i,t[2]]),r++,n++,c=void 0,l=!0}}}return e[t][1]._spread=a,n}function a(e,t){return n;function n(n){s.call(this,e(n),n),t&&t.call(this,n)}}function o(){this.stack.push({type:`fragment`,children:[]})}function s(e,t,n){this.stack[this.stack.length-1].children.push(e),this.stack.push(e),this.tokenStack.push([t,n]),e.position={start:g4(t.start),end:void 0}}function c(e){return t;function t(t){e&&e.call(this,t),l.call(this,t)}}function l(e,t){let n=this.stack.pop(),r=this.tokenStack.pop();if(r)r[0].type!==e.type&&(t?t.call(this,e,r[0]):(r[1]||v4).call(this,e,r[0]));else throw Error("Cannot close `"+e.type+"` ("+$q({start:e.start,end:e.end})+`): it’s not open`);n.position.end=g4(e.end)}function u(){return Y0(this.stack.pop())}function d(){this.data.expectingFirstListItemValue=!0}function f(e){if(this.data.expectingFirstListItemValue){let t=this.stack[this.stack.length-2];t.start=Number.parseInt(this.sliceSerialize(e),10),this.data.expectingFirstListItemValue=void 0}}function p(){let e=this.resume(),t=this.stack[this.stack.length-1];t.lang=e}function m(){let e=this.resume(),t=this.stack[this.stack.length-1];t.meta=e}function h(){this.data.flowCodeInside||(this.buffer(),this.data.flowCodeInside=!0)}function g(){let e=this.resume(),t=this.stack[this.stack.length-1];t.value=e.replace(/^(\r?\n|\r)|(\r?\n|\r)$/g,``),this.data.flowCodeInside=void 0}function _(){let e=this.resume(),t=this.stack[this.stack.length-1];t.value=e.replace(/(\r?\n|\r)$/g,``)}function v(e){let t=this.resume(),n=this.stack[this.stack.length-1];n.label=t,n.identifier=L0(this.sliceSerialize(e)).toLowerCase()}function y(){let e=this.resume(),t=this.stack[this.stack.length-1];t.title=e}function b(){let e=this.resume(),t=this.stack[this.stack.length-1];t.url=e}function ee(e){let t=this.stack[this.stack.length-1];t.depth||=this.sliceSerialize(e).length}function x(){this.data.setextHeadingSlurpLineEnding=!0}function te(e){let t=this.stack[this.stack.length-1];t.depth=this.sliceSerialize(e).codePointAt(0)===61?1:2}function S(){this.data.setextHeadingSlurpLineEnding=void 0}function ne(e){let t=this.stack[this.stack.length-1].children,n=t[t.length-1];(!n||n.type!==`text`)&&(n=Ae(),n.position={start:g4(e.start),end:void 0},t.push(n)),this.stack.push(n)}function re(e){let t=this.stack.pop();t.value+=this.sliceSerialize(e),t.position.end=g4(e.end)}function ie(e){let n=this.stack[this.stack.length-1];if(this.data.atHardBreak){let t=n.children[n.children.length-1];t.position.end=g4(e.end),this.data.atHardBreak=void 0;return}!this.data.setextHeadingSlurpLineEnding&&t.canContainEols.includes(n.type)&&(ne.call(this,e),re.call(this,e))}function ae(){this.data.atHardBreak=!0}function oe(){let e=this.resume(),t=this.stack[this.stack.length-1];t.value=e}function C(){let e=this.resume(),t=this.stack[this.stack.length-1];t.value=e}function se(){let e=this.resume(),t=this.stack[this.stack.length-1];t.value=e}function ce(){let e=this.stack[this.stack.length-1];if(this.data.inReference){let t=this.data.referenceType||`shortcut`;e.type+=`Reference`,e.referenceType=t,delete e.url,delete e.title}else delete e.identifier,delete e.label;this.data.referenceType=void 0}function le(){let e=this.stack[this.stack.length-1];if(this.data.inReference){let t=this.data.referenceType||`shortcut`;e.type+=`Reference`,e.referenceType=t,delete e.url,delete e.title}else delete e.identifier,delete e.label;this.data.referenceType=void 0}function ue(e){let t=this.sliceSerialize(e),n=this.stack[this.stack.length-2];n.label=m2(t),n.identifier=L0(t).toLowerCase()}function de(){let e=this.stack[this.stack.length-1],t=this.resume(),n=this.stack[this.stack.length-1];this.data.inReference=!0,n.type===`link`?n.children=e.children:n.alt=t}function w(){let e=this.resume(),t=this.stack[this.stack.length-1];t.url=e}function fe(){let e=this.resume(),t=this.stack[this.stack.length-1];t.title=e}function T(){this.data.inReference=void 0}function pe(){this.data.referenceType=`collapsed`}function me(e){let t=this.resume(),n=this.stack[this.stack.length-1];n.label=t,n.identifier=L0(this.sliceSerialize(e)).toLowerCase(),this.data.referenceType=`full`}function he(e){this.data.characterReferenceType=e.type}function ge(e){let t=this.sliceSerialize(e),n=this.data.characterReferenceType,r;n?(r=p2(t,n===`characterReferenceMarkerNumeric`?10:16),this.data.characterReferenceType=void 0):r=f2(t);let i=this.stack[this.stack.length-1];i.value+=r}function _e(e){let t=this.stack.pop();t.position.end=g4(e.end)}function ve(e){re.call(this,e);let t=this.stack[this.stack.length-1];t.url=this.sliceSerialize(e)}function ye(e){re.call(this,e);let t=this.stack[this.stack.length-1];t.url=`mailto:`+this.sliceSerialize(e)}function be(){return{type:`blockquote`,children:[]}}function xe(){return{type:`code`,lang:null,meta:null,value:``}}function Se(){return{type:`inlineCode`,value:``}}function Ce(){return{type:`definition`,identifier:``,label:null,title:null,url:``}}function we(){return{type:`emphasis`,children:[]}}function Te(){return{type:`heading`,depth:0,children:[]}}function E(){return{type:`break`}}function D(){return{type:`html`,value:``}}function Ee(){return{type:`image`,title:null,url:``,alt:null}}function De(){return{type:`link`,title:null,url:``,children:[]}}function O(e){return{type:`list`,ordered:e.type===`listOrdered`,start:null,spread:e._spread,children:[]}}function Oe(e){return{type:`listItem`,spread:e._spread,checked:null,children:[]}}function k(){return{type:`paragraph`,children:[]}}function ke(){return{type:`strong`,children:[]}}function Ae(){return{type:`text`,value:``}}function A(){return{type:`thematicBreak`}}}function g4(e){return{line:e.line,column:e.column,offset:e.offset}}function _4(e,t){let n=-1;for(;++n<t.length;){let r=t[n];Array.isArray(r)?_4(e,r):Mfe(e,r)}}function Mfe(e,t){let n;for(n in t)if(h4.call(t,n))switch(n){case`canContainEols`:{let r=t[n];r&&e[n].push(...r);break}case`transforms`:{let r=t[n];r&&e[n].push(...r);break}case`enter`:case`exit`:{let r=t[n];r&&Object.assign(e[n],r);break}}}function v4(e,t){throw e?Error("Cannot close `"+e.type+"` ("+$q({start:e.start,end:e.end})+"): a different token (`"+t.type+"`, "+$q({start:t.start,end:t.end})+`) is open`):Error("Cannot close document, a token (`"+t.type+"`, "+$q({start:t.start,end:t.end})+`) is still open`)}function y4(e){let t=this;t.parser=n;function n(n){return Afe(n,{...t.data(`settings`),...e,extensions:t.data(`micromarkExtensions`)||[],mdastExtensions:t.data(`fromMarkdownExtensions`)||[]})}}function Nfe(e,t){let n={type:`element`,tagName:`blockquote`,properties:{},children:e.wrap(e.all(t),!0)};return e.patch(t,n),e.applyData(t,n)}function Pfe(e,t){let n={type:`element`,tagName:`br`,properties:{},children:[]};return e.patch(t,n),[e.applyData(t,n),{type:`text`,value:`
72
+ `}]}function Ffe(e,t){let n=t.value?t.value+`
73
+ `:``,r={};t.lang&&(r.className=[`language-`+t.lang]);let i={type:`element`,tagName:`code`,properties:r,children:[{type:`text`,value:n}]};return t.meta&&(i.data={meta:t.meta}),e.patch(t,i),i=e.applyData(t,i),i={type:`element`,tagName:`pre`,properties:{},children:[i]},e.patch(t,i),i}function Ife(e,t){let n={type:`element`,tagName:`del`,properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)}function Lfe(e,t){let n={type:`element`,tagName:`em`,properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)}function Rfe(e,t){let n=typeof e.options.clobberPrefix==`string`?e.options.clobberPrefix:`user-content-`,r=String(t.identifier).toUpperCase(),i=I2(r.toLowerCase()),a=e.footnoteOrder.indexOf(r),o,s=e.footnoteCounts.get(r);s===void 0?(s=0,e.footnoteOrder.push(r),o=e.footnoteOrder.length):o=a+1,s+=1,e.footnoteCounts.set(r,s);let c={type:`element`,tagName:`a`,properties:{href:`#`+n+`fn-`+i,id:n+`fnref-`+i+(s>1?`-`+s:``),dataFootnoteRef:!0,ariaDescribedBy:[`footnote-label`]},children:[{type:`text`,value:String(o)}]};e.patch(t,c);let l={type:`element`,tagName:`sup`,properties:{},children:[c]};return e.patch(t,l),e.applyData(t,l)}function zfe(e,t){let n={type:`element`,tagName:`h`+t.depth,properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)}function Bfe(e,t){if(e.options.allowDangerousHtml){let n={type:`raw`,value:t.value};return e.patch(t,n),e.applyData(t,n)}}function b4(e,t){let n=t.referenceType,r=`]`;if(n===`collapsed`?r+=`[]`:n===`full`&&(r+=`[`+(t.label||t.identifier)+`]`),t.type===`imageReference`)return[{type:`text`,value:`![`+t.alt+r}];let i=e.all(t),a=i[0];a&&a.type===`text`?a.value=`[`+a.value:i.unshift({type:`text`,value:`[`});let o=i[i.length-1];return o&&o.type===`text`?o.value+=r:i.push({type:`text`,value:r}),i}function Vfe(e,t){let n=String(t.identifier).toUpperCase(),r=e.definitionById.get(n);if(!r)return b4(e,t);let i={src:I2(r.url||``),alt:t.alt};r.title!==null&&r.title!==void 0&&(i.title=r.title);let a={type:`element`,tagName:`img`,properties:i,children:[]};return e.patch(t,a),e.applyData(t,a)}function Hfe(e,t){let n={src:I2(t.url)};t.alt!==null&&t.alt!==void 0&&(n.alt=t.alt),t.title!==null&&t.title!==void 0&&(n.title=t.title);let r={type:`element`,tagName:`img`,properties:n,children:[]};return e.patch(t,r),e.applyData(t,r)}function Ufe(e,t){let n={type:`text`,value:t.value.replace(/\r?\n|\r/g,` `)};e.patch(t,n);let r={type:`element`,tagName:`code`,properties:{},children:[n]};return e.patch(t,r),e.applyData(t,r)}function Wfe(e,t){let n=String(t.identifier).toUpperCase(),r=e.definitionById.get(n);if(!r)return b4(e,t);let i={href:I2(r.url||``)};r.title!==null&&r.title!==void 0&&(i.title=r.title);let a={type:`element`,tagName:`a`,properties:i,children:e.all(t)};return e.patch(t,a),e.applyData(t,a)}function Gfe(e,t){let n={href:I2(t.url)};t.title!==null&&t.title!==void 0&&(n.title=t.title);let r={type:`element`,tagName:`a`,properties:n,children:e.all(t)};return e.patch(t,r),e.applyData(t,r)}function Kfe(e,t,n){let r=e.all(t),i=n?qfe(n):x4(t),a={},o=[];if(typeof t.checked==`boolean`){let e=r[0],n;e&&e.type===`element`&&e.tagName===`p`?n=e:(n={type:`element`,tagName:`p`,properties:{},children:[]},r.unshift(n)),n.children.length>0&&n.children.unshift({type:`text`,value:` `}),n.children.unshift({type:`element`,tagName:`input`,properties:{type:`checkbox`,checked:t.checked,disabled:!0},children:[]}),a.className=[`task-list-item`]}let s=-1;for(;++s<r.length;){let e=r[s];(i||s!==0||e.type!==`element`||e.tagName!==`p`)&&o.push({type:`text`,value:`
74
+ `}),e.type===`element`&&e.tagName===`p`&&!i?o.push(...e.children):o.push(e)}let c=r[r.length-1];c&&(i||c.type!==`element`||c.tagName!==`p`)&&o.push({type:`text`,value:`
75
+ `});let l={type:`element`,tagName:`li`,properties:a,children:o};return e.patch(t,l),e.applyData(t,l)}function qfe(e){let t=!1;if(e.type===`list`){t=e.spread||!1;let n=e.children,r=-1;for(;!t&&++r<n.length;)t=x4(n[r])}return t}function x4(e){return e.spread??e.children.length>1}function Jfe(e,t){let n={},r=e.all(t),i=-1;for(typeof t.start==`number`&&t.start!==1&&(n.start=t.start);++i<r.length;){let e=r[i];if(e.type===`element`&&e.tagName===`li`&&e.properties&&Array.isArray(e.properties.className)&&e.properties.className.includes(`task-list-item`)){n.className=[`contains-task-list`];break}}let a={type:`element`,tagName:t.ordered?`ol`:`ul`,properties:n,children:e.wrap(r,!0)};return e.patch(t,a),e.applyData(t,a)}function Yfe(e,t){let n={type:`element`,tagName:`p`,properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)}function Xfe(e,t){let n={type:`root`,children:e.wrap(e.all(t))};return e.patch(t,n),e.applyData(t,n)}function Zfe(e,t){let n={type:`element`,tagName:`strong`,properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)}function Qfe(e,t){let n=e.all(t),r=n.shift(),i=[];if(r){let n={type:`element`,tagName:`thead`,properties:{},children:e.wrap([r],!0)};e.patch(t.children[0],n),i.push(n)}if(n.length>0){let r={type:`element`,tagName:`tbody`,properties:{},children:e.wrap(n,!0)},a=h1(t.children[1]),o=m1(t.children[t.children.length-1]);a&&o&&(r.position={start:a,end:o}),i.push(r)}let a={type:`element`,tagName:`table`,properties:{},children:e.wrap(i,!0)};return e.patch(t,a),e.applyData(t,a)}function $fe(e,t,n){let r=n?n.children:void 0,i=(r?r.indexOf(t):1)===0?`th`:`td`,a=n&&n.type===`table`?n.align:void 0,o=a?a.length:t.children.length,s=-1,c=[];for(;++s<o;){let n=t.children[s],r={},o=a?a[s]:void 0;o&&(r.align=o);let l={type:`element`,tagName:i,properties:r,children:[]};n&&(l.children=e.all(n),e.patch(n,l),l=e.applyData(n,l)),c.push(l)}let l={type:`element`,tagName:`tr`,properties:{},children:e.wrap(c,!0)};return e.patch(t,l),e.applyData(t,l)}function epe(e,t){let n={type:`element`,tagName:`td`,properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)}var S4=9,C4=32;function tpe(e){let t=String(e),n=/\r?\n|\r/g,r=n.exec(t),i=0,a=[];for(;r;)a.push(w4(t.slice(i,r.index),i>0,!0),r[0]),i=r.index+r[0].length,r=n.exec(t);return a.push(w4(t.slice(i),i>0,!1)),a.join(``)}function w4(e,t,n){let r=0,i=e.length;if(t){let t=e.codePointAt(r);for(;t===S4||t===C4;)r++,t=e.codePointAt(r)}if(n){let t=e.codePointAt(i-1);for(;t===S4||t===C4;)i--,t=e.codePointAt(i-1)}return i>r?e.slice(r,i):``}function npe(e,t){let n={type:`text`,value:tpe(String(t.value))};return e.patch(t,n),e.applyData(t,n)}function rpe(e,t){let n={type:`element`,tagName:`hr`,properties:{},children:[]};return e.patch(t,n),e.applyData(t,n)}var ipe={blockquote:Nfe,break:Pfe,code:Ffe,delete:Ife,emphasis:Lfe,footnoteReference:Rfe,heading:zfe,html:Bfe,imageReference:Vfe,image:Hfe,inlineCode:Ufe,linkReference:Wfe,link:Gfe,listItem:Kfe,list:Jfe,paragraph:Yfe,root:Xfe,strong:Zfe,table:Qfe,tableCell:epe,tableRow:$fe,text:npe,thematicBreak:rpe,toml:T4,yaml:T4,definition:T4,footnoteDefinition:T4};function T4(){}function ape(e,t){let n=[{type:`text`,value:`↩`}];return t>1&&n.push({type:`element`,tagName:`sup`,properties:{},children:[{type:`text`,value:String(t)}]}),n}function ope(e,t){return`Back to reference `+(e+1)+(t>1?`-`+t:``)}function spe(e){let t=typeof e.options.clobberPrefix==`string`?e.options.clobberPrefix:`user-content-`,n=e.options.footnoteBackContent||ape,r=e.options.footnoteBackLabel||ope,i=e.options.footnoteLabel||`Footnotes`,a=e.options.footnoteLabelTagName||`h2`,o=e.options.footnoteLabelProperties||{className:[`sr-only`]},s=[],c=-1;for(;++c<e.footnoteOrder.length;){let i=e.footnoteById.get(e.footnoteOrder[c]);if(!i)continue;let a=e.all(i),o=String(i.identifier).toUpperCase(),l=I2(o.toLowerCase()),u=0,d=[],f=e.footnoteCounts.get(o);for(;f!==void 0&&++u<=f;){d.length>0&&d.push({type:`text`,value:` `});let e=typeof n==`string`?n:n(c,u);typeof e==`string`&&(e={type:`text`,value:e}),d.push({type:`element`,tagName:`a`,properties:{href:`#`+t+`fnref-`+l+(u>1?`-`+u:``),dataFootnoteBackref:``,ariaLabel:typeof r==`string`?r:r(c,u),className:[`data-footnote-backref`]},children:Array.isArray(e)?e:[e]})}let p=a[a.length-1];if(p&&p.type===`element`&&p.tagName===`p`){let e=p.children[p.children.length-1];e&&e.type===`text`?e.value+=` `:p.children.push({type:`text`,value:` `}),p.children.push(...d)}else a.push(...d);let m={type:`element`,tagName:`li`,properties:{id:t+`fn-`+l},children:e.wrap(a,!0)};e.patch(i,m),s.push(m)}if(s.length!==0)return{type:`element`,tagName:`section`,properties:{dataFootnotes:!0,className:[`footnotes`]},children:[{type:`element`,tagName:a,properties:{...p$(o),id:`footnote-label`},children:[{type:`text`,value:i}]},{type:`text`,value:`
76
+ `},{type:`element`,tagName:`ol`,properties:{},children:e.wrap(s,!0)},{type:`text`,value:`
77
+ `}]}}var E4={}.hasOwnProperty,cpe={};function lpe(e,t){let n=t||cpe,r=new Map,i=new Map,a={all:s,applyData:dpe,definitionById:r,footnoteById:i,footnoteCounts:new Map,footnoteOrder:[],handlers:{...ipe,...n.handlers},one:o,options:n,patch:upe,wrap:ppe};return WV(e,function(e){if(e.type===`definition`||e.type===`footnoteDefinition`){let t=e.type===`definition`?r:i,n=String(e.identifier).toUpperCase();t.has(n)||t.set(n,e)}}),a;function o(e,t){let n=e.type,r=a.handlers[n];if(E4.call(a.handlers,n)&&r)return r(a,e,t);if(a.options.passThrough&&a.options.passThrough.includes(n)){if(`children`in e){let{children:t,...n}=e,r=p$(n);return r.children=a.all(e),r}return p$(e)}return(a.options.unknownHandler||fpe)(a,e,t)}function s(e){let t=[];if(`children`in e){let n=e.children,r=-1;for(;++r<n.length;){let i=a.one(n[r],e);if(i){if(r&&n[r-1].type===`break`&&(!Array.isArray(i)&&i.type===`text`&&(i.value=D4(i.value)),!Array.isArray(i)&&i.type===`element`)){let e=i.children[0];e&&e.type===`text`&&(e.value=D4(e.value))}Array.isArray(i)?t.push(...i):t.push(i)}}}return t}}function upe(e,t){e.position&&(t.position=_1(e))}function dpe(e,t){let n=t;if(e&&e.data){let t=e.data.hName,r=e.data.hChildren,i=e.data.hProperties;typeof t==`string`&&(n.type===`element`?n.tagName=t:n={type:`element`,tagName:t,properties:{},children:`children`in n?n.children:[n]}),n.type===`element`&&i&&Object.assign(n.properties,p$(i)),`children`in n&&n.children&&r!=null&&(n.children=r)}return n}function fpe(e,t){let n=t.data||{},r=`value`in t&&!(E4.call(n,`hProperties`)||E4.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 ppe(e,t){let n=[],r=-1;for(t&&n.push({type:`text`,value:`
78
+ `});++r<e.length;)r&&n.push({type:`text`,value:`
79
+ `}),n.push(e[r]);return t&&e.length>0&&n.push({type:`text`,value:`
80
+ `}),n}function D4(e){let t=0,n=e.charCodeAt(t);for(;n===9||n===32;)t++,n=e.charCodeAt(t);return e.slice(t)}function O4(e,t){let n=lpe(e,t),r=n.one(e,void 0),i=spe(n),a=Array.isArray(r)?{type:`root`,children:r}:r||{type:`root`,children:[]};return i&&(`children`in a,a.children.push({type:`text`,value:`
81
+ `},i)),a}function k4(e,t){return e&&`run`in e?async function(n,r){let i=O4(n,{file:r,...t});await e.run(i,r)}:function(n,r){return O4(n,{file:r,...e||t})}}function mpe(e){let t=this;t.compiler=n;function n(n){return Vle(n,{...t.data(`settings`),...e,extensions:t.data(`toMarkdownExtensions`)||[]})}}var A4=e=>e.type===`heading`&&`depth`in e&&`children`in e,hpe=(e,...t)=>t=>{!e?.transform||!e?.type||WV(t,e?.type,t=>(e?.transform&&e?.transform(t),VV))},gpe=new Set([`dd`,`dt`,`li`,`p`,`summary`,`td`,`th`]),j4=/[`*_\[~]/,M4=gX().use(y4).use(u4).use(()=>e=>{WV(e,`html`,(e,t,n)=>{typeof t!=`number`||!n||!(`children`in n)||!Array.isArray(n.children)||(n.children[t]={type:`text`,value:e.value??``})})}).use(k4),_pe=gX().use(FJ,{fragment:!0}),vpe=gX().use(sX),ype=e=>{let t=M4.runSync(M4.parse(e));if(t.children.length!==1)return[];let n=t.children.at(0);return!n||n.type!==`element`||n.tagName!==`p`?[]:n.children},bpe=()=>e=>{WV(e,`element`,e=>{gpe.has(e.tagName)&&(e.children=e.children.flatMap(e=>{if(e.type!==`text`||!j4.test(e.value))return[e];let t=ype(e.value);return t.length?t:[e]}))})},xpe=()=>e=>{WV(e,`raw`,e=>{if(typeof e.value!=`string`||!j4.test(e.value))return;let t=_pe.parse(e.value);bpe()(t),e.value=vpe.stringify(t)})};function Spe(e,t){let n=t?.removeTags??[],r=[...z1.tagNames??[],...t?.allowTags??[]].filter(e=>!n.includes(e));return gX().use(y4).use(u4).use(hpe,{transform:t?.transform,type:t?.transformType}).use(k4,{allowDangerousHtml:!0}).use(n$).use(xpe).use(L1).use(n0,{...z1,clobberPrefix:``,tagNames:r,attributes:{...z1.attributes,abbr:[`title`],"*":[...z1.attributes?.[`*`]??[],`className`]},strip:[`script`,`style`,`object`,`embed`,`form`]}).use(PH,{languages:UQ,detect:!0,className:`custom-scroll`}).use(b$,{target:`_blank`}).use(e1).use(sX).processSync(e).toString()}function N4(e){return gX().use(y4).use(u4).parse(e)}function Cpe(e,t=1){let n=N4(e),r=[];return WV(n,`heading`,e=>{let n=P4(e);n&&r.push({depth:e.depth??t,value:n})}),r}function P4(e){return e.type===`text`?e.value??``:`children`in e&&Array.isArray(e.children)?e.children.map(e=>P4(e)).join(``):``}function wpe(e){let t=N4(e),n=[],r=[];return t.children?.forEach(e=>{e.type===`heading`?(r.length&&n.push(r),n.push([e]),r=[]):r.push(e)}),r.length&&n.push(r),n.map(e=>Tpe(e))}function Tpe(e){return gX().use(mpe).use(u4).stringify({type:`root`,children:e}).trim()}var Epe=[`innerHTML`],F4=w({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}){let{cx:n}=pc();t({el:Oe(`div`)});let r=t=>{if(!e.withAnchors)return e.transform?.(t)||t;if(!A4(t))return t;let n=P4(t).toLowerCase().replace(/\s+/g,`-`);return t.data={hProperties:{id:e.anchorPrefix?`${e.anchorPrefix}/description/${n}`:n}},e.transform?e.transform(t):t},i=j(()=>Spe(e.value??``,{removeTags:e.withImages?[]:[`img`,`picture`],transform:e.withAnchors&&e.transformType===`heading`?r:e.transform,transformType:e.transformType}));return(t,r)=>(y(),M(`div`,o({ref:`div`},T(n)(`markdown`,{"line-clamp-(--markdown-clamp)":!!e.clamp}),{style:{"--markdown-clamp":e.clamp},innerHTML:i.value}),null,16,Epe))}}),Dpe=[`aria-controls`,`aria-expanded`],I4=w({inheritAttrs:!1,__name:`ScalarMarkdownSummary`,props:Ie({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){let t=je(e,[`clamp`]),n=xe(),r=le(e,`modelValue`),i=le(e,`truncated`),a=Oe(`scalar-markdown`);JR(()=>a.value?.el,s);function s(){let e=a.value?.el;e&&(i.value=e.scrollHeight>e.clientHeight||e.scrollWidth>e.clientWidth)}ue(s);let{cx:c}=pc();return(a,s)=>(y(),M(`div`,qe($e(T(c)(`group/summary flex gap-0.5`,r.value?`flex-col`:`flex-row items-baseline`))),[D(F4,o(t,{id:T(n),ref:`scalar-markdown`,clamp:r.value?void 0:e.clamp,class:{"markdown-summary truncate":!r.value}}),null,16,[`id`,`clamp`,`class`]),!e.controlled&&(i.value||r.value)?(y(),M(`button`,{key:0,"aria-controls":T(n),"aria-expanded":r.value,class:v([`whitespace-nowrap font-medium hover:underline`,{"self-end":r.value}]),type:`button`,onClick:s[0]||=e=>r.value=!r.value},[S(a.$slots,`button`,{open:r.value},()=>[tt(be(r.value?` Show Less`:`More`),1)])],10,Dpe)):k(``,!0)],16))}}),Ope=w({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){let{cx:t}=pc();return(n,r)=>(y(),O(T(wa),{as:`template`},{default:E(({open:r})=>[D(T(iR),qe($e(n.$props)),{floating:E(({width:i,height:a})=>[D(T(Ea),o({focus:e.focus,style:{width:i,height:a}},T(t)(`relative flex flex-col p-0.75`)),{default:E(({close:e})=>[S(n.$slots,`popover`,{close:()=>e(),open:r}),S(n.$slots,`backdrop`,{open:r},()=>[D(T(aR))])]),_:2},1040,[`focus`,`style`])]),default:E(()=>[D(T(Ta),{as:`template`},{default:E(()=>[S(n.$slots,`default`,{open:r})]),_:2},1024)]),_:2},1040)]),_:3}))}}),kpe=[`aria-disabled`],Ape={key:0,class:`sr-only`},L4=w({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){let t=dc({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:EF},compoundVariants:[{size:`md`,variant:`ghost`,class:`size-8 p-2 m-1 -outline-offset-2 rounded-lg`}]}),{cx:n}=pc(),r=Oe(`ref`);return aV({content:j(()=>e.label),offset:j(()=>e.variant===`ghost`?0:4),placement:j(()=>typeof e.tooltip==`boolean`?void 0:e.tooltip),targetRef:j(()=>e.tooltip?r.value:void 0)}),(r,i)=>(y(),M(`button`,o({ref:`ref`,"aria-disabled":e.disabled,type:`button`},T(n)(T(t)({size:e.size,variant:e.variant,disabled:e.disabled}))),[D(T(CF),{icon:e.icon,thickness:e.thickness,weight:e.weight},null,8,[`icon`,`thickness`,`weight`]),e.tooltip?k(``,!0):(y(),M(`span`,Ape,be(e.label),1))],16,kpe))}}),R4=w({name:`ValueEmitter`,props:{value:{}},emits:[`change`,`unmount`],setup(e,{emit:t}){let n=t;return Xe(()=>e.value,e=>n(`change`,e),{immediate:!0}),se(()=>n(`unmount`)),(e,t)=>null}}),jpe=[`aria-labelledby`],Mpe={class:`text-c-1 m-0 flex flex-1 items-center gap-1.5 leading-[20px]`},Npe=[`id`],Ppe={key:0,class:`sr-only`},Fpe={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`},Ipe={class:`sr-only`},Lpe={key:0,class:`ui-not-open:hidden flex items-center gap-2 pr-0.75`},z4=w({name:`CollapsibleSection`,props:{defaultOpen:{type:Boolean,default:!0},itemCount:{default:0},isStatic:{type:Boolean}},emits:[`update:modelValue`],setup(e,{emit:t}){let n=t,r=xe();return(t,i)=>(y(),O(T(Qi),{as:`div`,class:v([`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:E(({open:a})=>[D(R4,{value:a,onChange:i[0]||=e=>n(`update:modelValue`,e)},null,8,[`value`]),N(`section`,{"aria-labelledby":T(r),class:`contents`},[N(`div`,{class:v([`bg-b-2 flex items-center`,e.isStatic&&`rounded-t-xl border-x border-t`])},[D(T($i),{class:v([`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:E(()=>[e.isStatic?k(``,!0):(y(),O(T(SF),{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`})),N(`h2`,Mpe,[N(`span`,{id:T(r),class:`contents`},[S(t.$slots,`title`,{open:a}),a?k(``,!0):(y(),M(`span`,Ppe,` (Collapsed) `))],8,Npe),!a&&e.itemCount?(y(),M(`span`,Fpe,[tt(be(e.itemCount)+` `,1),N(`span`,Ipe,`Item`+be(e.itemCount===1?``:`s`),1)])):k(``,!0)])]),_:2},1032,[`class`,`disabled`]),t.$slots.actions?(y(),M(`div`,Lpe,[S(t.$slots,`actions`,{open:a})])):k(``,!0)],2),D(T(ea),o(t.$attrs,{class:`diclosure-panel h-full max-h-fit rounded-b`}),{default:E(()=>[S(t.$slots,`default`,{open:a})]),_:2},1040)],8,jpe)]),_:3},8,[`class`,`defaultOpen`,`static`]))}}),Rpe=w({__name:`ScalarListboxItem`,props:{option:{},multiselect:{type:Boolean}},setup(e){let t=dc({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)=>(y(),O(T(ga),{as:`template`,disabled:e.option.disabled,value:e.option},{default:E(({active:n,selected:r})=>[N(`li`,{class:v(T(fc)(T(t)({active:n,selected:r,disabled:e.option.disabled})))},[D(MF,{multiselect:e.multiselect,selected:r},null,8,[`multiselect`,`selected`]),N(`span`,{class:v([`inline-block min-w-0 flex-1 truncate`,e.option.color?e.option.color:`text-c-1`])},be(e.option.label),3)],2)]),_:1},8,[`disabled`,`value`]))}}),zpe={class:`custom-scroll min-h-0 flex-1`},B4=w({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){let{cx:t}=pc();return(n,r)=>(y(),O(T(fa),{modelValue:e.modelValue,multiple:e.multiple,"onUpdate:modelValue":r[0]||=e=>n.$emit(`update:modelValue`,e)},{default:E(({open:r})=>[e.label?(y(),O(T(pa),{key:0,class:`sr-only`},{default:E(()=>[tt(be(e.label),1)]),_:1})):k(``,!0),D(T(iR),o(n.$props,{placement:e.placement??`bottom-start`}),{floating:E(({width:n})=>[r?(y(),M(`div`,o({key:0,style:{width:n}},T(t)(`relative flex max-h-[inherit] w-40 max-w-[inherit] rounded text-sm`)),[N(`div`,zpe,[D(T(ha),{class:`flex flex-col gap-0.75 p-0.75 -outline-offset-1`},{default:E(()=>[(y(!0),M(Ne,null,_(e.options,t=>(y(),O(Rpe,{key:t.id,multiselect:e.multiple,option:t},null,8,[`multiselect`,`option`]))),128))]),_:1})]),D(T(aR))],16)):k(``,!0)]),default:E(()=>[D(T(ma),{id:e.id,as:`template`},{default:E(()=>[S(n.$slots,`default`,{open:r})]),_:2},1032,[`id`])]),_:2},1040,[`placement`])]),_:3},8,[`modelValue`,`multiple`]))}}),V4={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`],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`]},H4=cT(V4).flatMap(([e,t])=>t.map(t=>`${e}/${t}`)),Bpe=e=>(e||`GET`).toUpperCase(),U4=e=>e.replaceAll(`\\`,`\\\\`).replaceAll(`"`,`\\"`).replaceAll(`
82
+ `,`\\n`).replaceAll(`\r`,`\\r`).replaceAll(` `,`\\t`),Vpe=e=>{if(!e)return``;try{let t=new URL(e),n=t.pathname===`/`&&!e.endsWith(`/`)&&!e.includes(`?`)&&!e.includes(`#`)?``:t.pathname;return`${t.protocol}//${t.host}${n}${t.search}${t.hash}`}catch{return e}},Hpe=(e,t)=>{let n=t?.length?t.map(e=>`${e.name}=${e.value}`).join(`&`):``;return n?e?`${e}${e.includes(`?`)?`&`:`?`}${n}`:`?${n}`:e},Upe=e=>e?.length?e.map(e=>`${encodeURIComponent(e.name)}=${encodeURIComponent(e.value)}`).join(`; `):null,Wpe=e=>e?.length?e.map(e=>new URLSearchParams([[e.name,e.value??``]]).toString()).join(`&`):null,W4=e=>{if(e===void 0)return``;try{return JSON.stringify(JSON.parse(e),null,2)}catch{return e}},G4=e=>{let t=e.split(`
83
+ `);return t.length<=1?[` curl_easy_setopt(curl, CURLOPT_POSTFIELDS, "${U4(e)}");`]:[` curl_easy_setopt(curl, CURLOPT_POSTFIELDS,`,...t.map((e,n)=>{let r=n===t.length-1;return` "${U4(e)}${r?``:`\\n`}"${r?`);`:``}`})]},Gpe={target:`c`,client:`libcurl`,title:`Libcurl`,generate(e,t){if(!e)return``;let n=Bpe(e.method),r=Hpe(Vpe(e.url??``),e.queryString),i=!!e.headers?.length,a=!!e.cookies?.length,o=e.postData,s=o?.mimeType===`multipart/form-data`&&!!o.params?.length,c=e.headers??[],l=c.some(e=>e.name.toLowerCase()===`accept-encoding`&&/gzip|deflate/.test(e.value)),u=[`#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, "${U4(n)}");`,` curl_easy_setopt(curl, CURLOPT_URL, "${U4(r)}");`];if(t?.auth?.username&&t.auth.password&&u.push(` curl_easy_setopt(curl, CURLOPT_USERPWD, "${U4(`${t.auth.username}:${t.auth.password}`)}");`),i&&(u.push(``,` struct curl_slist *headers = NULL;`),c.forEach(e=>{u.push(` headers = curl_slist_append(headers, "${U4(`${e.name}: ${e.value}`)}");`)}),u.push(` curl_easy_setopt(curl, CURLOPT_HTTPHEADER, headers);`)),a){let t=Upe(e.cookies);t&&u.push(``,` curl_easy_setopt(curl, CURLOPT_COOKIE, "${U4(t)}");`)}if(l&&u.push(``,` curl_easy_setopt(curl, CURLOPT_ACCEPT_ENCODING, "");`),o){if(s&&o.params)u.push(``,` curl_mime *mime = curl_mime_init(curl);`),o.params.forEach(e=>{u.push(``,` {`,` curl_mimepart *part = curl_mime_addpart(mime);`),e.name&&u.push(` curl_mime_name(part, "${U4(e.name)}");`),e.fileName===void 0?u.push(` curl_mime_data(part, "${U4(e.value??``)}", CURL_ZERO_TERMINATED);`):u.push(` curl_mime_filedata(part, "${U4(e.fileName)}");`),e.contentType&&u.push(` curl_mime_type(part, "${U4(e.contentType)}");`),u.push(` }`)}),u.push(``,` curl_easy_setopt(curl, CURLOPT_MIMEPOST, mime);`);else if(o.mimeType===`application/x-www-form-urlencoded`&&o.params?.length){let e=Wpe(o.params);e!==null&&u.push(``,` curl_easy_setopt(curl, CURLOPT_POSTFIELDS, "${U4(e)}");`)}else if(o.mimeType===`application/json`&&o.text!==void 0)u.push(``,...G4(W4(o.text)));else if(o.text!==void 0){let e=o.mimeType===`application/octet-stream`?o.text:W4(o.text);u.push(``,...G4(e))}}return u.push(``,` CURLcode res = curl_easy_perform(curl);`),u.push(` curl_easy_cleanup(curl);`),s&&u.push(` curl_mime_free(mime);`),i&&u.push(` curl_slist_free_all(headers);`),u.push(` curl_global_cleanup();`,``,` return (int)res;`,`}`),u.join(`
84
+ `)}};function K4(e){return{...e,method:(e.method||`GET`).toUpperCase()}}function q4(e){return e?.length?`?${e.map(e=>`${e.name}=${e.value}`).join(`&`)}`:``}var J4=e=>(e||`GET`).toUpperCase(),Y4=e=>{if(!e)return``;try{let t=new URL(e);return t.pathname===`/`?`${t.origin}${t.search}${t.hash}`:t.toString()}catch{return e}},X4=(e,t)=>{let n=q4(t);return n?e?`${e}${e.includes(`?`)?`&`:`?`}${n.slice(1)}`:n:e},Z4=(e,t)=>{let n=new Map;if(e?.forEach(e=>{e.name&&n.set(e.name,e.value??``)}),t?.length){let e=t.map(e=>`${encodeURIComponent(e.name)}=${encodeURIComponent(e.value)}`).join(`; `);n.set(`Cookie`,e)}return Array.from(n.entries()).map(([e,t])=>({name:e,value:t}))},Q4=(e,t,n)=>{let r=e[t];r===void 0?e[t]=n:Array.isArray(r)?r.push(n):e[t]=[r,n]};function $4(e=[]){return e.reduce((e,{name:t,value:n})=>(Q4(e,t,n),e),{})}function Kpe(e,t){return`${e}${t}`}function qpe(e){let t={};if(e.headers)for(let n of e.headers)n.value&&!/[; ]/.test(n.name)&&(t[n.name]=n.value);return e.cookies&&e.cookies.length>0&&(t.Cookie=e.cookies.map(e=>`${encodeURIComponent(e.name)}=${encodeURIComponent(e.value)}`).join(`; `)),t}var e3=e=>e.replace(/\\/g,`\\\\`).replace(/"/g,`\\"`),t3=class{name;constructor(e){this.name=e}toString(){return`:${this.name}`}},n3=class{path;constructor(e){this.path=e}toString(){return`(clojure.java.io/file "${e3(this.path)}")`}},r3=e=>typeof e==`object`&&!!e&&!Array.isArray(e)&&!(e instanceof t3)&&!(e instanceof n3)&&Object.keys(e).length===0,Jpe=e=>{for(let t of Object.keys(e))r3(e[t])&&delete e[t];return e},i3=(e,t)=>t.replace(/\n/g,`\n${` `.repeat(e)}`),a3=e=>e==null?`nil`:e instanceof t3||e instanceof n3?e.toString():typeof e==`string`?`"${e3(e)}"`:Array.isArray(e)?`[${i3(1,e.reduce((e,t)=>`${e} ${a3(t)}`,``).trim())}]`:typeof e==`object`?`{${i3(1,Object.keys(e).reduce((t,n)=>`${t}:${n} ${i3(n.length+2,a3(e[n]))}\n `,``).trim())}}`:String(e),o3=(e,t)=>Object.keys(e).find(e=>e.toLowerCase()===t.toLowerCase()),s3=(e,t)=>{let n=o3(e,t);n&&delete e[n]},Ype=[`get`,`post`,`put`,`delete`,`patch`,`head`,`options`],Xpe={target:`clojure`,client:`clj_http`,title:`clj-http`,generate(e,t){let n=J4(e?.method).toLowerCase();if(!Ype.includes(n))return`Method not supported`;let r=new URL(e?.url??``),i=r.pathname===`/`?r.origin:r.toString(),a=$4([...Array.from(r.searchParams.entries()).map(([e,t])=>({name:e,value:t})),...e?.queryString??[]]);Object.keys(a).length>0&&(i=i.split(`?`)[0]??i);let o=(e?.headers??[]).reduce((e,t)=>(e[t.name]=t.value??``,e),{});e?.cookies?.length&&(o.Cookie=e.cookies.map(e=>`${encodeURIComponent(e.name)}=${encodeURIComponent(e.value)}`).join(`; `));let s={headers:o,"query-params":a};t?.auth?.username&&t?.auth?.password&&(s[`basic-auth`]=[t.auth.username,t.auth.password]);let c=e?.postData;switch(c?.mimeType){case`application/json`:if(s[`content-type`]=new t3(`json`),c.text)try{s[`form-params`]=JSON.parse(c.text)}catch{s.body=c.text}s3(o,`content-type`);break;case`application/x-www-form-urlencoded`:s[`form-params`]=(c.params??[]).reduce((e,t)=>(t.name&&t.value!==void 0&&(e[t.name]=t.value),e),{}),s3(o,`content-type`);break;case`multipart/form-data`:c.params&&(s.multipart=c.params.map(e=>typeof e.fileName==`string`&&!e.value?{name:e.name,content:new n3(e.fileName)}:{name:e.name,content:e.value})),s3(o,`content-type`);break;default:c?.text&&(s.body=c.text,s3(o,`content-type`))}let l=o3(o,`accept`);l&&o[l]===`application/json`&&(s.accept=new t3(`json`),delete o[l]);let u=Jpe(s),d=`(require '[clj-http.client :as client])
85
+ `,f=e3(i);return r3(u)?`${d}\n(client/${n} "${f}")`:`${d}\n(client/${n} "${f}" ${i3(11+n.length+f.length,a3(u))})`}},Zpe={target:`csharp`,client:`httpclient`,title:`HttpClient`,generate(e,t){let n={method:`GET`,url:``,...e};n.method=n.method.toUpperCase();let r=q4(n.queryString),i=`${n.url}${r}`,a=[];a.push(`using var client = new HttpClient();`),a.push(``);let o=Qpe(n.method);return a.push(`var request = new HttpRequestMessage(${o}, "${i}");`),$pe(a,n,t),eme(a,n),a.push(``),a.push(`using var response = await client.SendAsync(request);`),a.join(`
86
+ `)}};function Qpe(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 $pe(e,t,n){let r=t.headers||[],i=t.cookies||[],a=r.find(e=>e.name.toLowerCase()===`authorization`);if(a){let[t,n]=a.value.split(` `,2);t&&n&&e.push(`request.Headers.Authorization = new AuthenticationHeaderValue("${t}", "${n}");`)}else if(n?.auth?.username&&n?.auth?.password){let t=jw(`${n.auth.username}:${n.auth.password}`);e.push(`request.Headers.Authorization = new AuthenticationHeaderValue("Basic", "${t}");`)}let o=new Map;for(let e of r){let t=e.name,n=e.value;t.toLowerCase()!==`authorization`&&o.set(t,n)}for(let[n,r]of o)if(n.toLowerCase()===`accept`&&tme(r))e.push(`request.Headers.Accept.Add(new MediaTypeWithQualityHeaderValue("${r}"));`);else if(n.toLowerCase()===`content-type`&&t.postData)continue;else e.push(`request.Headers.TryAddWithoutValidation("${n}", "${r}");`);if(i.length>0){let t=i.map(e=>`${e.name}=${e.value}`).join(`; `);e.push(`request.Headers.TryAddWithoutValidation("Cookie", "${t}");`)}}function eme(e,t){if(!t.postData)return;let{mimeType:n,text:r,params:i}=t.postData;if(n===`application/json`&&r)try{let t=JSON.parse(r),n=c3(JSON.stringify(t,null,2));e.push(`request.Content = new StringContent(`),e.push(`${n},`),e.push(`System.Text.Encoding.UTF8, "application/json");`)}catch{let t=c3(r);e.push(`request.Content = new StringContent(`),e.push(`${t},`),e.push(`System.Text.Encoding.UTF8, "application/json");`)}else if(n===`application/x-www-form-urlencoded`&&i){let t=i.map(e=>e.name);if(t.length!==new Set(t).size){e.push(`var formParams = new List<KeyValuePair<string, string>>`),e.push(`{`);for(let t of i)e.push(` new("${t.name}", "${t.value}"),`);e.push(`};`),e.push(`request.Content = new FormUrlEncodedContent(formParams);`)}else{e.push(`var formParams = new Dictionary<string, string>`),e.push(`{`);for(let t of i)e.push(` ["${t.name}"] = "${t.value}",`);e.push(`};`),e.push(`request.Content = new FormUrlEncodedContent(formParams);`)}}else if(n===`multipart/form-data`&&i){e.push(`var content = new MultipartFormDataContent();`);let t=0;for(let n of i)if(n.fileName!==void 0)if(n.contentType){let r=`fileContent${t++}`;e.push(`var ${r} = new StreamContent(File.OpenRead("${l3(n.fileName)}"));`),e.push(`${r}.Headers.ContentType = new MediaTypeHeaderValue("${n.contentType}");`),e.push(`content.Add(${r}, "${l3(n.name)}", "${l3(n.fileName)}");`)}else e.push(`content.Add(new StreamContent(File.OpenRead("${l3(n.fileName)}")), "${l3(n.name)}", "${l3(n.fileName)}");`);else if(n.contentType){let r=`stringContent${t++}`;e.push(`var ${r} = new StringContent("${l3(n.value??``)}");`),e.push(`${r}.Headers.ContentType = new MediaTypeHeaderValue("${n.contentType}");`),e.push(`content.Add(${r}, "${l3(n.name)}");`)}else e.push(`content.Add(new StringContent("${l3(n.value??``)}"), "${l3(n.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){let t=c3(r);e.push(`request.Content = new StringContent(`),e.push(`${t},`),e.push(`System.Text.Encoding.UTF8, "${n}");`)}}function c3(e){let t=3;for(;e.includes(`"`.repeat(t));)t++;let n=`"`.repeat(t);return`${n}\n${e}\n${n}`}function l3(e){return e.replace(/\\/g,`\\\\`).replace(/"/g,`\\"`)}function tme(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)}var nme=e=>{if(!e)return!1;let{subtype:t}=wo(e);return t===`json`||t.endsWith(`+json`)},rme=e=>`Method.${e.charAt(0).toUpperCase()+e.slice(1).toLowerCase()}`,u3=e=>e.replace(/\\/g,`\\\\`).replace(/"/g,`\\"`).replace(/\n/g,`\\n`).replace(/\r/g,`\\r`).replace(/\t/g,`\\t`),ime=e=>{let t=3;for(;e.includes(`"`.repeat(t));)t++;let n=`"`.repeat(t);return`${n}\n${e}\n${n}`},ame={target:`csharp`,client:`restsharp`,title:`RestSharp`,generate(e,t){let n={method:`GET`,url:``,...e};n.method=n.method.toUpperCase();let r=X4(n.url,n.queryString),i=``;try{i=new URL(r).host}catch{}let a=[];a.push(`var client = new RestClient("${u3(r)}");`),a.push(`var request = new RestRequest("", ${rme(n.method)});`);let{username:o,password:s}=t?.auth??{},c=!!(o&&s);if(c){let e=jw(`${o}:${s}`);a.push(`request.AddHeader("Authorization", "Basic ${e}");`)}if(n.headers?.forEach(e=>{c&&e.name.toLowerCase()===`authorization`||a.push(`request.AddHeader("${u3(e.name)}", "${u3(e.value)}");`)}),n.cookies?.forEach(e=>{a.push(`request.AddCookie("${u3(e.name)}", "${u3(e.value)}", "/", "${u3(i)}");`)}),n.postData){let{mimeType:e,text:t,params:r}=n.postData,i=e?wo(e).essence:void 0;if(nme(e)){if(t){let e=t;try{e=JSON.stringify(JSON.parse(t),null,2)}catch{}a.push(`request.AddStringBody(${ime(e)}, ContentType.Json);`)}}else i===`application/x-www-form-urlencoded`&&r?r.forEach(e=>{a.push(`request.AddParameter("${u3(e.name)}", "${u3(e.value??``)}");`)}):i===`multipart/form-data`&&r?r.forEach(e=>{e.fileName===void 0?a.push(`request.AddParameter("${u3(e.name)}", "${u3(e.value??``)}");`):e.contentType?a.push(`request.AddFile("${u3(e.name)}", "${u3(e.fileName)}", "${u3(e.contentType)}");`):a.push(`request.AddFile("${u3(e.name)}", "${u3(e.fileName)}");`)}):i===`application/octet-stream`&&t?a.push(`request.AddParameter("application/octet-stream", "${u3(t)}", ParameterType.RequestBody);`):t&&a.push(`request.AddParameter("${u3(e??``)}", "${u3(t)}", ParameterType.RequestBody);`)}return a.push(`var response = await client.ExecuteAsync(request);`),a.join(`
87
+ `)}},ome={target:`dart`,client:`http`,title:`Http`,generate(e,t){let n={method:`GET`,...e};n.method=n.method.toUpperCase();let r=`import 'package:http/http.dart' as http;
88
+
89
+ void main() async {
90
+ `,i=``,a=``;n.cookies&&n.cookies.length>0&&(a=n.cookies.map(e=>`${encodeURIComponent(e.name)}=${encodeURIComponent(e.value)}`).join(`; `),i=` "Cookie": "${a}",\n`);let o=n.headers?.reduce((e,t)=>(t.value&&!/[; ]/.test(t.name)&&(e[t.name]=t.value),e),{})||{};if(t?.auth){let{username:e,password:n}=t.auth;e&&n&&(o.Authorization=`'Basic ' + base64Encode(utf8.encode('${`${e}:${n}`}'))`)}if(i&&(o.Cookie=a),Object.keys(o).length>0){r+=` final headers = <String,String>{
91
+ `;for(let[e,t]of Object.entries(o))t.includes(`utf8.encode`)?r+=` '${e}': ${t},\n`:r+=` '${e}': '${t}',\n`;r+=` };
92
+
93
+ `}let s=n.queryString?.length?`?`+n.queryString.map(e=>`${e.name}=${e.value}`).join(`&`):``,c=`${n.url}${s}`,l=``;if(n.postData)if(n.postData.mimeType===`application/json`)l=` final body = r'${n.postData.text}';\n\n`;else if(n.postData.mimeType===`application/x-www-form-urlencoded`)l=` final body = '${n.postData.params?.map(e=>`${encodeURIComponent(e.name)}=${encodeURIComponent(e.value??``)}`).join(`&`)||``}';\n\n`;else if(n.postData.mimeType===`multipart/form-data`){l=` final body = <String,String>{
94
+ `;for(let e of n.postData.params||[]){let t=e.value||``,n=e.fileName||``;l+=` '${e.name}': '${n||t}',\n`}l+=` };
95
+
96
+ `}else n.postData.mimeType===`application/octet-stream`&&(l=` final body = '${n.postData.text}';\n\n`);l&&(r+=l);let u=n.method.toLowerCase(),d=Object.keys(o).length>0?`, headers: headers`:``;return r+=` final response = await http.${u}(Uri.parse('${c}')${d}${l?`, body: body`:``});\n`,r+=` print(response.body);
97
+ `,r+=`}`,r}},sme={target:`fsharp`,client:`httpclient`,title:`HttpClient`,generate:(e,t)=>{if(!e)return``;let n=lme(e.url,e.queryString),r=``;return r+=ume(e.method,n),e.headers&&e.headers.length>0&&(r+=dme(e.headers)),e.postData&&(r+=pme(e.postData)),e.cookies&&e.cookies.length>0&&e.url?(r+=fme(e.cookies,e.url),r+=`let client = new HttpClient(handler)
98
+ `):r+=`let client = new HttpClient()
99
+ `,r+=`let! result = client.SendAsync(httpRequestMessage)
100
+ `,r}};function cme(e){return!e||e.length===0?``:`?`+e.map(e=>`${e.name}=${e.value}`).join(`&`)}function lme(e,t){return e?!t||t.length===0?e:e+cme(t):``}function ume(e,t){return`let httpRequestMessage = new HttpRequestMessage(
101
+ HttpMethod("${e}"),
102
+ new Uri("${d3(t)}")
103
+ )\n\n`}function dme(e){let t=``;for(let n of e)t+=`httpRequestMessage.Headers.Add("${d3(n.name??``)}", "${d3(n.value??``)}")\n`;return t+=`
104
+ `,t}function fme(e,t){let n=`let cookieContainer = CookieContainer()
105
+ `;for(let r of e)n+=`cookieContainer.Add(Uri("${d3(t)}"), Cookie("${d3(r.name??``)}", "${d3(r.value??``)}"))\n`;return n+=`use handler = new HttpClientHandler()
106
+ `,n+=`handler.CookieContainer <- cookieContainer
107
+
108
+ `,n}function pme(e){if(!e)return``;let t=``;switch(e.mimeType){case`multipart/form-data`:t+=hme(e);break;case`application/x-www-form-urlencoded`:t+=_me(e);break;case`application/json`:t+=gme(e);break;default:t+=mme(e,e.mimeType);break}return t+=`httpRequestMessage.Content <- content
109
+
110
+ `,t}function mme(e,t){let n=`let content = new StringContent("${d3(e.text??``)}", Encoding.UTF8, "${d3(t??``)}")\n`;return n+=`content.Headers.ContentType <- MediaTypeHeaderValue("${d3(t??``)}")\n`,n}function hme(e){let t=`let content = new MultipartFormDataContent()
111
+ `,n=0,r=0;for(let i of e.params)if(i.value===`BINARY`){let e=d3(i.fileName??``);t+=`let fileStreamContent_${n} = new StreamContent(File.OpenRead("${e}"))\n`,i.contentType&&(t+=`fileStreamContent_${n}.Headers.ContentType <- MediaTypeHeaderValue("${d3(i.contentType)}")\n`),t+=`content.Add(fileStreamContent_${n}, "${e}", "${e}")\n`,n++}else{let e=d3(i.name??``),n=d3(i.value??``);i.contentType?(t+=`let stringContent_${r} = new StringContent("${n}")\n`,t+=`stringContent_${r}.Headers.ContentType <- MediaTypeHeaderValue("${d3(i.contentType)}")\n`,t+=`content.Add(stringContent_${r}, "${e}")\n`,r++):t+=`content.Add(new StringContent("${n}"), "${e}")\n`}return t}function gme(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")\n`}function _me(e){let t=`let formUrlEncodedContentDictionary = new Dictionary<string, string>()
112
+ `;for(let n of e.params)t+=`formUrlEncodedContentDictionary.Add("${d3(n.name??``)}", "${d3(n.value??``)}")\n`;return t+=`let content = new FormUrlEncodedContent(formUrlEncodedContentDictionary)
113
+ `,t}function d3(e){return e==null?``:e.replace(/\\/g,`\\\\`).replace(/"/g,`\\"`).replace(/\n/g,`\\n`).replace(/\r/g,`\\r`).replace(/\t/g,`\\t`)}var vme=e=>e.includes(` `)?e:f3(e),f3=e=>JSON.stringify(e),yme=e=>{if(e===void 0)return``;try{return JSON.stringify(JSON.parse(e),null,2)}catch{return e}},bme=e=>!e.includes("`"),xme=(e,t=!1)=>t&&bme(e)?`\`${e}\``:f3(e),Sme=e=>{let 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(e=>`postData.Set(${f3(e.name)}, ${f3(e.value??``)})`)],requestBody:`strings.NewReader(postData.Encode())`,needsMultipartContentTypeHeader:!1};if(e.mimeType===`multipart/form-data`&&e.params?.length){t.add(`bytes`),t.add(`mime/multipart`);let n=[`payload := &bytes.Buffer{}`,`writer := multipart.NewWriter(payload)`],r=e.params.some(e=>e.fileName!==void 0),i=!1,a=!1;return r&&(t.add(`os`),t.add(`io`)),e.params.forEach(e=>{n.push(``),e.fileName===void 0?n.push(`_ = writer.WriteField(${f3(e.name)}, ${f3(e.value??``)})`):(n.push(`part, _ ${i?`=`:`:=`} writer.CreateFormFile(${f3(e.name)}, ${f3(e.fileName)})`),n.push(``),n.push(`f, _ ${a?`=`:`:=`} os.Open(${f3(e.fileName)})`),n.push(`defer f.Close()`),n.push(``),n.push(`_, _ = io.Copy(part, f)`),i=!0,a=!0)}),n.push(`writer.Close()`),{imports:t,setupLines:n,requestBody:`payload`,needsMultipartContentTypeHeader:!0}}return t.add(`strings`),{imports:t,setupLines:[`payload := strings.NewReader(${xme(e.mimeType===`application/json`?yme(e.text):e.text??``,e.mimeType===`application/json`)})`],requestBody:`payload`,needsMultipartContentTypeHeader:!1}},Cme=e=>Array.from(new Set([`fmt`,`io`,`net/http`,...e])).sort(),wme={target:`go`,client:`native`,title:`NewRequest`,generate(e,t){if(!e)return``;let n=J4(e.method),r=Y4(X4(e.url??``,e.queryString)),i=Z4(e.headers,e.cookies),a=Sme(e.postData),o=[`package main`,``,`import (`,...Cme(a.imports).map(e=>`\t${vme(e)}`),`)`,``,`func main() {`,`\trequestUrl := ${f3(r)}`,``,...a.setupLines.map(e=>e?`\t${e}`:``)];return a.setupLines.length&&o.push(``),o.push(`\treq, _ := http.NewRequest(${f3(n)}, requestUrl, ${a.requestBody})`),o.push(``),a.needsMultipartContentTypeHeader&&o.push(` req.Header.Set("Content-Type", writer.FormDataContentType())`),t?.auth?.username&&t?.auth?.password&&o.push(`\treq.SetBasicAuth(${f3(t.auth.username)}, ${f3(t.auth.password)})`),i.forEach(e=>{o.push(`\treq.Header.Add(${f3(e.name)}, ${f3(e.value)})`)}),(a.needsMultipartContentTypeHeader||i.length||t?.auth?.username&&t.auth.password)&&o.push(``),o.push(` res, _ := http.DefaultClient.Do(req)`),o.push(``),o.push(` defer res.Body.Close()`),o.push(` body, _ := io.ReadAll(res.Body)`),o.push(``),o.push(` fmt.Println(res)`),o.push(` fmt.Println(string(body))`),o.push(``),o.push(`}`),o.join(`
114
+ `)}},Tme={target:`http`,client:`http1.1`,title:`HTTP/1.1`,generate(e){let 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||`/`}let i=n?.hostname||`UNKNOWN_HOSTNAME`,a=`${t.method} ${r} HTTP/1.1\r\n`;if(t.queryString.length){let e=t.queryString.map(e=>`${e.name}=${e.value}`).join(`&`);a=`${t.method} ${r}?${e} HTTP/1.1\r\n`}let o=new Map;if(o.set(`Host`,i),t.headers.forEach(e=>{o.has(e.name)?o.set(e.name,`${o.get(e.name)}, ${e.value}`):o.set(e.name,e.value)}),t.queryString.length){let e=t.queryString.map(e=>`${e.name}=${e.value}`).join(`&`);a=`${t.method} ${r}?${e} HTTP/1.1\r\n`}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){let e=t.postData.params.map(e=>`${encodeURIComponent(e.name)}=${encodeURIComponent(e.value??``)}`).join(`&`);o.set(`Content-Type`,`application/x-www-form-urlencoded`),s=e}else if(t.postData.mimeType===`multipart/form-data`&&t.postData.params){let e=`----WebKitFormBoundary7MA4YWxkTrZu0gW`;o.set(`Content-Type`,`multipart/form-data; boundary=${e}`),s=t.postData.params.map(t=>{let n=t.contentType?`Content-Type: ${t.contentType}\r\n`:``;return t.fileName?`--${e}\r\nContent-Disposition: form-data; name="${t.name}"; filename="${t.fileName}"\r\n${n}\r\n`:`--${e}\r\nContent-Disposition: form-data; name="${t.name}"\r\n${n}\r\n${t.value??``}\r\n`}).join(``)+`--${e}--\r\n`}}return o.forEach((e,t)=>{a+=`${t}: ${e}\r\n`}),a+=`\r\n${s}`,a}},p3=``,m3=`
115
+ `,h3=class{postProcessors;code;indentationCharacter;lineJoin;indentLine;unshift;push;blank;join;addPostProcessor;constructor({indent:e,join:t}={}){this.postProcessors=[],this.code=[],this.indentationCharacter=p3,this.lineJoin=m3,this.indentLine=(e,t=0)=>`${this.indentationCharacter.repeat(t)}${e}`,this.unshift=(e,t)=>{let n=this.indentLine(e,t);this.code.unshift(n)},this.push=(e,t)=>{let n=this.indentLine(e,t);this.code.push(n)},this.blank=()=>{this.code.push(``)},this.join=()=>{let e=this.code.join(this.lineJoin);return this.postProcessors.reduce((e,t)=>t(e),e)},this.addPostProcessor=e=>{this.postProcessors=[...this.postProcessors,e]},this.indentationCharacter=e||p3,this.lineJoin=t??m3}};function g3(e,t={}){let{delimiter:n=`"`,escapeChar:r=`\\`,escapeNewlines:i=!0}=t;return[...e.toString()].map(e=>e===`\b`?`${r}b`:e===` `?`${r}t`:e===`
116
+ `?i?`${r}n`:e:e===`\f`?`${r}f`:e===`\r`?i?`${r}r`:e:e===r?r+r:e===n?r+n:e<` `||e>`~`?JSON.stringify(e).slice(1,-1):e).join(``)}var Eme=e=>g3(e,{delimiter:`'`}),_3=e=>g3(e,{delimiter:`"`}),Dme={info:{key:`asynchttp`,title:`AsyncHttp`,link:`https://github.com/AsyncHttpClient/async-http-client`,description:`Asynchronous Http and WebSocket Client library for Java`},convert:({method:e,allHeaders:t,postData:n,fullUrl:r},i)=>{let{blank:a,push:o,join:s}=new h3({indent:{indent:` `,...i}.indent});return o(`AsyncHttpClient client = new DefaultAsyncHttpClient();`),o(`client.prepare("${e.toUpperCase()}", "${r}")`),Object.keys(t).forEach(e=>{o(`.setHeader("${e}", "${_3(t[e])}")`,1)}),n?.text&&o(`.setBody(${JSON.stringify(n.text)})`,1),o(`.execute()`,1),o(`.toCompletableFuture()`,1),o(`.thenAccept(System.out::println)`,1),o(`.join();`,1),a(),o(`client.close();`),s()}};function v3(e,t){let n=new URL(t?.url??``),r=n.pathname===`/`?n.origin:n.toString(),i={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(([e,t])=>({name:e,value:t})),postData:t?.postData},a=(i?.headers??[]).reduce((e,t)=>({...e,[t.name]:t.value}),{}),o=$4(i.queryString),s=(i.cookies??[]).reduce((e,t)=>({...e,[t.name]:t.value}),{}),c=new URL(i.url),l={protocol:c.protocol,hostname:c.hostname,host:c.hostname,port:c.port,pathname:c.pathname.split(`/`).map(e=>encodeURIComponent(decodeURIComponent(e))).join(`/`)+c.search,path:c.pathname.split(`/`).map(e=>encodeURIComponent(decodeURIComponent(e))).join(`/`)+c.search,search:c.search,hash:c.hash,href:c.href,origin:c.origin,password:c.password,searchParams:c.searchParams,username:c.username,toString:c.toString,toJSON:()=>c.toJSON()},u={url:i.url,uriObj:l,method:i.method?.toLocaleUpperCase()??`GET`,httpVersion:i.httpVersion,cookies:i.cookies??[],headers:i.headers??[],headersSize:i.headersSize??0,headersObj:a??{},bodySize:i.bodySize??0,queryString:i.queryString??[],postData:i.postData?{mimeType:i.postData.mimeType??`application/json`,text:i.postData.text??``,params:i.postData.params??[],paramsObj:i.postData.params?.reduce((e,t)=>(t.name&&t.value!==void 0&&(e[t.name]=t.value),e),{})??{}}:void 0,allHeaders:a??{},fullUrl:i.url,queryObj:o??{},cookiesObj:s??{}};if(u.postData?.mimeType===`application/json`&&u.postData.text)try{u.postData.jsonObj=JSON.parse(u.postData.text)}catch(e){console.error(`Error parsing JSON:`,e)}return typeof e.convert==`function`?e.convert(u):``}var Ome={target:`java`,client:`asynchttp`,title:`AsyncHttp`,generate(e){return v3(Dme,e)}},kme={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},i)=>{let{push:a,join:o}=new h3({indent:{indent:` `,...i}.indent});return a(`HttpRequest request = HttpRequest.newBuilder()`),a(`.uri(URI.create("${t}"))`,2),Object.keys(e).forEach(t=>{a(`.header("${t}", "${_3(e[t])}")`,2)}),r?.text?a(`.method("${n.toUpperCase()}", HttpRequest.BodyPublishers.ofString(${JSON.stringify(r.text)}))`,2):a(`.method("${n.toUpperCase()}", HttpRequest.BodyPublishers.noBody())`,2),a(`.build();`,2),a(`HttpResponse<String> response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());`),a(`System.out.println(response.body());`),o()}},Ame={target:`java`,client:`nethttp`,title:`java.net.http`,generate(e){return v3(kme,e)}},jme={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},i)=>{let{push:a,blank:o,join:s}=new h3({indent:{indent:` `,...i}.indent});return a(`OkHttpClient client = new OkHttpClient();`),o(),e!=null&&(e.mimeType===`application/x-www-form-urlencoded`&&e.params?(a(`FormBody formBody = new FormBody.Builder()`),e.params.forEach(e=>{a(`.addEncoded("${e.name}", "${e.value}")`,1)}),a(`.build();`,1),o()):e.mimeType===`multipart/form-data`&&e.params?(a(`MultipartBody body = new MultipartBody.Builder()`),a(`.setType(MultipartBody.FORM)`,1),e.params.forEach(e=>{e.fileName===void 0?e.value!==void 0&&a(`.addFormDataPart("${e.name}", "${e.value}")`,1):a(`.addFormDataPart("${e.name}", "${e.fileName}", RequestBody.create(MediaType.parse("application/octet-stream"), new File("${e.fileName}")))`,1)}),a(`.build();`,1),o()):(a(`MediaType mediaType = MediaType.parse("${e.mimeType}");`),a(`RequestBody body = RequestBody.create(mediaType, ${JSON.stringify(e.text)});`))),a(`Request request = new Request.Builder()`),a(`.url("${n}")`,1),[`GET`,`POST`,`PUT`,`DELETE`,`PATCH`,`HEAD`].includes(t.toUpperCase())?[`POST`,`PUT`,`DELETE`,`PATCH`].includes(t.toUpperCase())?e!=null&&(e.text||e.params)?a(`.${t.toLowerCase()}(body)`,1):a(`.${t.toLowerCase()}(null)`,1):a(`.${t.toLowerCase()}()`,1):e?.text?a(`.method("${t.toUpperCase()}", body)`,1):a(`.method("${t.toUpperCase()}", null)`,1),Object.keys(r).forEach(e=>{a(`.addHeader("${e}", "${_3(r[e])}")`,1)}),a(`.build();`,1),o(),a(`Response response = client.newCall(request).execute();`),s()}},Mme={target:`java`,client:`okhttp`,title:`OkHttp`,generate(e){return v3(jme,e)}},Nme={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},i)=>{let{join:a,push:o}=new h3({indent:{indent:` `,...i}.indent});return[`GET`,`POST`,`PUT`,`DELETE`,`PATCH`,`HEAD`,`OPTIONS`].includes(e.toUpperCase())?o(`HttpResponse<String> response = Unirest.${e.toLowerCase()}("${r}")`):o(`HttpResponse<String> response = Unirest.customMethod("${e.toUpperCase()}","${r}")`),Object.keys(t).forEach(e=>{o(`.header("${e}", "${_3(t[e])}")`,1)}),n?.text&&o(`.body(${JSON.stringify(n.text)})`,1),o(`.asString();`,1),a()}},Pme={target:`java`,client:`unirest`,title:`Unirest`,generate(e){return v3(Nme,e)}};function Fme(e){return!/^[$A-Z_][0-9A-Z_$]*$/i.test(e)}function Ime(e){return e.replaceAll(`\\`,`\\\\`).replaceAll(`
117
+ `,`\\n`).replaceAll(`\r`,`\\r`).replaceAll(`'`,`\\'`)}var y3=class{value;constructor(e){this.value=e}};function b3(e,t=0){let n=[],r=` `.repeat(t),i=` `.repeat(t+2);if(Object.keys(e).length===0)return`{}`;for(let[r,a]of Object.entries(e)){let e=Fme(r)?`'${Ime(r)}'`:r;if(a instanceof y3){let t=a.value.split(`
118
+ `),r=`${a.value}`;t.length>1&&(r=t.map((e,t)=>t===0?e:`${i}${e}`).join(`
119
+ `)),n.push(`${i}${e}: ${r}`)}else if(Array.isArray(a)){let r=a.map(e=>typeof e==`string`?`'${e}'`:e&&typeof e==`object`?b3(e):JSON.stringify(e));if(r.some(e=>e.includes(`
120
+ `))){let a=r.map(e=>Lme(e,t+4)).join(`,
121
+ `);n.push(`${i}${e}: [\n${a}\n${i}]`)}else n.push(`${i}${e}: [${r.join(`, `)}]`)}else if(a&&typeof a==`object`)n.push(`${i}${e}: ${b3(a,t+2)}`);else if(typeof a==`string`){let t=`'${a}'`;n.push(`${i}${e}: ${t}`)}else n.push(`${i}${e}: ${a}`)}return`{\n${n.join(`,
122
+ `)}\n${r}}`}function Lme(e,t){let n=` `.repeat(t);return e.split(`
123
+ `).map(e=>`${n}${e}`).join(`
124
+ `)}var x3=e=>e.replaceAll(`\\`,`\\\\`).replaceAll(`
125
+ `,`\\n`).replaceAll(`\r`,`\\r`).replaceAll(`'`,`\\'`),S3=e=>typeof e==`string`?x3(e):Array.isArray(e)?e.map(e=>S3(e)):e&&typeof e==`object`&&!(e instanceof y3)?Object.entries(e).reduce((e,[t,n])=>(e[t]=S3(n),e),{}):e,C3=(e,t,n)=>{if(n===``){e[t]=n;return}Q4(e,t,n)},Rme=e=>{let t={};return e?.headers?.forEach(e=>{C3(t,e.name,e.value)}),e?.cookies?.length&&C3(t,`Cookie`,e.cookies.map(e=>`${e.name}=${e.value}`).join(`; `)),Object.keys(t).length?t:void 0},zme=e=>{let 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(e=>{let n=x3(e.name),r=x3(e.value??``);t.push(`encodedParams.append('${n}', '${r}')`)}),{setup:t,data:new y3(`encodedParams`)}):n.mimeType===`multipart/form-data`&&n.params?.length?(t.push(`const formData = new FormData()`),n.params.forEach(e=>{let n=x3(e.name);if(e.fileName!==void 0){let r=x3(e.fileName),i=e.contentType?`, { type: '${x3(e.contentType)}' }`:``;t.push(`formData.append('${n}', new Blob([]${i}), '${r}')`);return}if(e.contentType){let r=x3(e.contentType),i=x3(e.value??``);t.push(`formData.append('${n}', new Blob(['${i}'], { type: '${r}' }))`);return}let r=x3(e.value??``);t.push(`formData.append('${n}', '${r}')`)}),{setup:t,data:new y3(`formData`)}):n.text?{setup:t,data:n.text}:{setup:t}},w3=e=>({target:e,client:`axios`,title:`Axios`,generate(e,t){let n={method:`GET`,...e};n.method=n.method.toUpperCase();let r={method:n.method,url:x3(n.url??``)},i=$4(n.queryString);Object.keys(i).length&&(r.params=S3(i));let a=Rme(n);a&&(r.headers=S3(a)),t?.auth?.username&&t?.auth?.password&&(r.auth={username:x3(t.auth.username),password:x3(t.auth.password)});let{setup:o,data:s}=zme(n);return s!==void 0&&(r.data=s instanceof y3?s:S3(s)),`import axios from 'axios'
126
+
127
+ ${o.length?`${o.join(`
128
+ `)}\n\n`:``}const options = ${b3(r)}
129
+
130
+ try {
131
+ const { data } = await axios.request(options)
132
+ console.log(data)
133
+ } catch (error) {
134
+ console.error(error)
135
+ }`}}),Bme=w3(`js`),Vme={target:`js`,client:`fetch`,title:`Fetch`,generate(e){let t={method:`GET`,...e},n=``;t.method=t.method.toUpperCase();let r={method:t.method===`GET`?void 0:t.method},i=q4(t.queryString);if(t.headers?.length&&(r.headers={},t.headers.forEach(e=>{r.headers[e.name]=e.value})),t.cookies?.length&&(r.headers=r.headers||{},t.cookies.forEach(e=>{r.headers[`Set-Cookie`]=r.headers[`Set-Cookie`]?`${r.headers[`Set-Cookie`]}; ${e.name}=${e.value}`:`${e.name}=${e.value}`})),Object.keys(r).forEach(e=>{r[e]===void 0&&delete r[e]}),t.postData){let{mimeType:e,text:i,params:a}=t.postData;if(e===`application/json`&&i)try{r.body=new y3(`JSON.stringify(${b3(JSON.parse(i))})`)}catch{r.body=i}else e===`multipart/form-data`&&a?(n=`const formData = new FormData()
136
+ `,a.forEach(e=>{e.fileName===void 0?e.value!==void 0&&(n+=`formData.append('${e.name}', '${e.value}')\n`):n+=`formData.append('${e.name}', new Blob([]), '${e.fileName}')\n`}),n+=`
137
+ `,r.body=new y3(`formData`)):e===`application/x-www-form-urlencoded`&&a?r.body=new y3(`new URLSearchParams(${b3(Object.fromEntries(a.map(e=>[e.name,e.value])))})`):r.body=t.postData.text}let a=Object.keys(r).length?`, ${b3(r)}`:``;return`${n}fetch('${t.url}${i}'${a})`}},{toString:Hme}=Object.prototype;function Ume(e){return Hme.call(e)===`[object RegExp]`}function Wme(e){let t=typeof e;return e!==null&&(t===`object`||t===`function`)}var{propertyIsEnumerable:Gme}=Object.prototype;function Kme(e){return[...Object.keys(e),...Object.getOwnPropertySymbols(e).filter(t=>Gme.call(e,t))]}var qme=`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`.split(`.`),Jme=[`globalThis`,`Infinity`,`NaN`,`undefined`];function Yme({includeGlobalProperties:e=!1}={}){return new Set([...qme,...e?Jme:[]])}var Xme=/[$_\p{ID_Start}][$_\u200C\u200D\p{ID_Continue}]*/u,T3=`(?<![@#$_\\p{ID_Continue}\\p{ID_Start}])(?!(?:${[...Yme({includeGlobalProperties:!0})].join(`|`)})(?![$_\\p{ID_Continue}]))${Xme.source}`,Zme=new RegExp(T3,`u`),Qme=RegExp(`^${T3}$`,`u`);function $me({exact:e=!0}={}){return e?Qme:Zme}function ehe(e){let t=(...t)=>e(...t);return Object.defineProperty(t,`name`,{value:`functionTimeout(${e.name||`<anonymous>`})`,configurable:!0}),t}function the(){return!1}var nhe=e(((e,t)=>{t.exports=Worker})),rhe=class extends Error{constructor(e){super(e),this.name=`TimeoutError`}},ihe=class extends Error{constructor(e){super(),this.name=`AbortError`,this.message=e}},E3=e=>globalThis.DOMException===void 0?new ihe(e):new DOMException(e),D3=e=>{let t=e.reason===void 0?E3(`This operation was aborted.`):e.reason;return t instanceof Error?t:E3(t)};function ahe(e,t){let{milliseconds:n,fallback:r,message:i,customTimers:a={setTimeout,clearTimeout}}=t,o,s,c=new Promise((c,l)=>{if(typeof n!=`number`||Math.sign(n)!==1)throw TypeError(`Expected \`milliseconds\` to be a positive number, got \`${n}\``);if(t.signal){let{signal:e}=t;e.aborted&&l(D3(e)),s=()=>{l(D3(e))},e.addEventListener(`abort`,s,{once:!0})}if(n===1/0){e.then(c,l);return}let u=new rhe;o=a.setTimeout.call(void 0,()=>{if(r){try{c(r())}catch(e){l(e)}return}typeof e.cancel==`function`&&e.cancel(),i===!1?c():i instanceof Error?l(i):(u.message=i??`Promise timed out after ${n} milliseconds`,l(u))},n),(async()=>{try{c(await e)}catch(e){l(e)}})()}).finally(()=>{c.clear(),s&&t.signal&&t.signal.removeEventListener(`abort`,s)});return c.clear=()=>{a.clearTimeout.call(void 0,o),o=void 0},c}var ohe=e=>{let t=e.addEventListener||e.on||e.addListener,n=e.removeEventListener||e.off||e.removeListener;if(!t||!n)throw TypeError(`Emitter is not compatible`);return{addListener:t.bind(e),removeListener:n.bind(e)}};function she(e,t,n){let r,i=new Promise((i,a)=>{if(n={rejectionEvents:[`error`],multiArgs:!1,resolveImmediately:!1,...n},!(n.count>=0&&(n.count===1/0||Number.isInteger(n.count))))throw TypeError("The `count` option should be at least 0 or more");n.signal?.throwIfAborted();let o=[t].flat(),s=[],{addListener:c,removeListener:l}=ohe(e),u=(...e)=>{let t=n.multiArgs?e:e[0];n.filter&&!n.filter(t)||(s.push(t),n.count===s.length&&(r(),i(s)))},d=e=>{r(),a(e)};r=()=>{for(let e of o)l(e,u);for(let e of n.rejectionEvents)l(e,d)};for(let e of o)c(e,u);for(let e of n.rejectionEvents)c(e,d);n.signal&&n.signal.addEventListener(`abort`,()=>{d(n.signal.reason)},{once:!0}),n.resolveImmediately&&i(s)});if(i.cancel=r,typeof n.timeout==`number`){let e=ahe(i,{milliseconds:n.timeout});return e.cancel=r,e}return i}function O3(e,t,n){typeof n==`function`&&(n={filter:n}),n={...n,count:1,resolveImmediately:!1};let r=she(e,t,n),i=r.then(e=>e[0]);return i.cancel=r.cancel,i}var k3=i(nhe(),1),che=!!globalThis.process?.versions?.node,lhe=e=>new globalThis.Blob([e],{type:`text/javascript`}),uhe=e=>`data:text/javascript;base64,${globalThis.Buffer.from(e).toString(`base64`)}`;function A3(e){let t,n;return che?n=new k3.default(uhe(e),{type:`module`}):(t=URL.createObjectURL(lhe(e)),n=new k3.default(t,{type:`module`})),{worker:n,cleanup:()=>{t&&URL.revokeObjectURL(t),n?.terminate()}}}var dhe=e=>`
138
+ globalThis.onmessage = async ({data: arguments_}) => {
139
+ try {
140
+ const output = await (${e.toString()})(...arguments_);
141
+ globalThis.postMessage({output});
142
+ } catch (error) {
143
+ globalThis.postMessage({error});
144
+ }
145
+ };
146
+ `;function j3(e){let t=dhe(e),n=()=>A3(t);async function r({worker:e,arguments_:t}){let n=O3(e,`message`,{rejectionEvents:[`error`,`messageerror`]});e.postMessage(t);let{data:{output:r,error:i}}=await n;if(i)throw i;return r}let i=async(...e)=>{let{worker:t,cleanup:i}=n();try{return await r({arguments_:e,worker:t})}finally{i()}};return i.withSignal=e=>async(...t)=>{e.throwIfAborted();let{worker:i,cleanup:a}=n(),o=O3(e,[],{rejectionEvents:[`abort`]});try{return await Promise.race([r({arguments_:t,worker:i}),o])}catch(t){throw e.throwIfAborted(),t}finally{o.cancel(),a()}},i}var fhe=e=>`
147
+ const nothing = Symbol('nothing');
148
+ let iterator = nothing;
149
+
150
+ globalThis.onmessage = async ({data: arguments_}) => {
151
+ try {
152
+ if (iterator === nothing) {
153
+ iterator = await (${e.toString()})(...arguments_);
154
+ }
155
+
156
+ const output = await iterator.next();
157
+ globalThis.postMessage({output});
158
+ } catch (error) {
159
+ globalThis.postMessage({error});
160
+ }
161
+ };
162
+ `;function phe(e){let t=fhe(e),n=()=>A3(t),r=(...e)=>({async*[Symbol.asyncIterator](){let{worker:t,cleanup:r}=n();try{let n=!0;for(;;){let r=O3(t,`message`,{rejectionEvents:[`error`,`messageerror`]});t.postMessage(n?e:void 0),n=!1;let{data:{output:i,error:a}}=await r;if(a)throw a;let{value:o,done:s}=i;if(s)break;yield o}}finally{r()}}});return r.withSignal=e=>(...t)=>({async*[Symbol.asyncIterator](){e.throwIfAborted();let{worker:r,cleanup:i}=n(),a=O3(e,[],{rejectionEvents:[`abort`]});try{let e=!0;for(;;){let n=Promise.race([O3(r,`message`,{rejectionEvents:[`error`,`messageerror`]}),a]);r.postMessage(e?t:void 0),e=!1;let{data:{output:i,error:o}}=await n;if(o)throw o;let{value:s,done:c}=i;if(c)break;yield s}}catch(t){throw e.throwIfAborted(),t}finally{a.cancel(),i()}}}),r}var mhe={},hhe=e=>{if(e===void 0||Number.isNaN(e))return;let t=Math.max(1,Math.trunc(Math.abs(e)));if(Number.isFinite(t))return t};function ghe(e,t,{timeout:n,throwOnTimeout:r}={}){try{return ehe(()=>structuredClone(e).test(t),{timeout:hhe(n),context:mhe})()}catch(e){if(the(e)&&!r)return!1;throw e}}j3((e,t,n)=>new RegExp(e,t).test(n)),j3((e,t,n)=>{let r=new RegExp(e,t).exec(n);if(r!==null)return{match:r[0],index:r.index,groups:r.slice(1),namedGroups:r.groups??{},input:r.input}}),phe(function*(e,t,n){let r=new RegExp(e,t),i=n.matchAll(r);for(let e of i)yield{match:e[0],index:e.index,groups:e.slice(1),namedGroups:e.groups??{},input:e.input}});var _he=$me();function vhe(e){if(typeof e!=`string`)throw TypeError(`Expected a string, got \`${typeof e}\`.`);return e.length>1e5?!1:ghe(_he,e,{timeout:1e3})}var yhe={"\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 M3(e,t,n){let r=[];return(function e(t,n={},i=``){let a=n.indent||` `,o;o=n.inlineCharacterLimit===void 0?{newline:`
163
+ `,newlineOrSpace:`
164
+ `,pad:i,indent:i+a}:{newline:`@@__STRINGIFY_OBJECT_NEW_LINE__@@`,newlineOrSpace:`@@__STRINGIFY_OBJECT_NEW_LINE_OR_SPACE__@@`,pad:`@@__STRINGIFY_OBJECT_PAD__@@`,indent:`@@__STRINGIFY_OBJECT_INDENT__@@`};let s=e=>{if(n.inlineCharacterLimit===void 0)return e;let t=e.replaceAll(o.newline,``).replaceAll(o.newlineOrSpace,` `).replaceAll(o.pad,``).replaceAll(o.indent,``);return t.length<=n.inlineCharacterLimit?t:e.replaceAll(o.newline,`
165
+ `).replaceAll(o.newlineOrSpace,`
166
+ `).replaceAll(o.pad,i).replaceAll(o.indent,i+a)};if(r.includes(t))return`"[Circular]"`;let c=typeof t;if(t==null||c===`number`||c===`boolean`||c===`function`||Ume(t))return String(t);if(c===`bigint`)return String(t)+`n`;if(c===`symbol`){let{description:r}=t;if(r===void 0)return`Symbol()`;if(r?.startsWith(`Symbol.`)&&Symbol[r.slice(7)]===t)return r;let i=Symbol.keyFor(t);return i===void 0?`Symbol(${e(r,n)})`:`Symbol.for(${e(i,n)})`}if(t instanceof Date)return Number.isNaN(t.getTime())?`new Date('Invalid Date')`:`new Date('${t.toISOString()}')`;if(t instanceof Map||t instanceof Set){let c=t instanceof Map,l=c?`Map`:`Set`;if(t.size===0)return`new ${l}()`;r.push(t);let u=[...t].map(t=>{if(c){let[r,s]=t;return o.indent+`[${e(r,n,i+a)}, ${e(s,n,i+a)}]`}return o.indent+e(t,n,i+a)}).join(`,`+o.newlineOrSpace);return r.pop(),s(`new ${l}([${o.newline}${u}${o.newline}${o.pad}])`)}if(Array.isArray(t)){if(t.length===0)return`[]`;r.push(t);let c=t.map((r,s)=>{let c=e(r,n,i+a);return n.transform&&(c=n.transform(t,s,c)),o.indent+c}).join(`,`+o.newlineOrSpace);return r.pop(),s(`[${o.newline}${c}${o.newline}${o.pad}]`)}if(Wme(t)){let c=Kme(t);if(n.filter&&(c=c.filter(e=>n.filter(t,e))),c.length===0)return`{}`;r.push(t);let l=c.map(r=>{let s=typeof r==`symbol`,c;c=s?`[${e(r,n)}]`:vhe(r)?r:e(r,n);let l=e(t[r],n,i+a);return n.transform&&(l=n.transform(t,r,l)),o.indent+c+`: `+l}).join(`,`+o.newlineOrSpace);return r.pop(),s(`{${o.newline}${l}${o.newline}${o.pad}}`)}let l=String(t).replaceAll(`\\`,`\\\\`).replaceAll(/[\u0000-\u001F\u007F]/g,e=>yhe[e]??`\\u${e.codePointAt(0).toString(16).padStart(4,`0`)}`);return n.singleQuotes===!1?`"${l.replaceAll(`"`,String.raw`\"`)}"`:`'${l.replaceAll(`'`,String.raw`\'`)}'`})(e,t,n)}var N3=(e,t)=>Object.keys(e).find(e=>e.toLowerCase()===t.toLowerCase()),P3=(e,t)=>{let n=N3(e,t);if(n)return e[n]},F3=(e,t)=>!!N3(e,t),bhe={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},i)=>{let a={indent:` `,...i},{blank:o,push:s,join:c}=new h3({indent:a.indent}),l={async:!0,crossDomain:!0,url:e,method:t,headers:n};switch(r?.mimeType){case`application/x-www-form-urlencoded`:l.data=r?.paramsObj?r.paramsObj:r.text;break;case`application/json`:l.processData=!1,l.data=r.text;break;case`multipart/form-data`:if(!r?.params)break;if(s(`const form = new FormData();`),r.params.forEach(e=>{s(`form.append('${e.name}', '${e.value||e.fileName||``}');`)}),l.processData=!1,l.contentType=!1,l.mimeType=`multipart/form-data`,l.data=`[form]`,F3(n,`content-type`)&&P3(n,`content-type`)?.includes(`boundary`)){let e=N3(n,`content-type`);e&&delete l.headers[e]}o();break;default:r?.text&&(l.data=r.text)}return s(`const settings = ${M3(l,{indent:a.indent}).replace(`'[form]'`,`form`)};`),o(),s(`$.ajax(settings).done(function (response) {`),s(`console.log(response);`,1),s(`});`),c()}},xhe={target:`js`,client:`jquery`,title:`jQuery`,generate(e){return v3(bhe,e)}},She={target:`js`,client:`ofetch`,title:`ofetch`,generate(e){let t={method:`GET`,...e};t.method=t.method.toUpperCase();let n={method:t.method===`GET`?void 0:t.method};t.queryString?.length&&(n.query=$4(t.queryString)),t.headers?.length&&(n.headers={},t.headers.forEach(e=>{n.headers[e.name]=e.value})),t.cookies?.length&&(n.headers=n.headers||{},t.cookies.forEach(e=>{n.headers[`Set-Cookie`]=n.headers[`Set-Cookie`]?`${n.headers[`Set-Cookie`]}; ${e.name}=${e.value}`:`${e.name}=${e.value}`})),Object.keys(n).forEach(e=>{n[e]===void 0&&delete n[e]}),t.postData&&(n.body=t.postData.text,t.postData.mimeType===`application/json`&&(n.body=JSON.parse(n.body)));let r=Object.keys(n).length?`, ${b3(n)}`:``;return`import { ofetch } from 'ofetch'
167
+
168
+ ofetch('${t.url}'${r})`}},Che={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},i)=>{let a={indent:` `,cors:!0,...i},{blank:o,push:s,join:c}=new h3({indent:a.indent});switch(e?.mimeType){case`application/json`:s(`const data = JSON.stringify(${M3(e?.jsonObj,{indent:a.indent})});`),o();break;case`multipart/form-data`:if(!e?.params)break;if(s(`const data = new FormData();`),e.params.forEach(e=>{s(`data.append('${e.name}', '${e.value||e.fileName||``}');`)}),F3(t,`content-type`)&&P3(t,`content-type`)?.includes(`boundary`)){let e=N3(t,`content-type`);e&&delete t[e]}o();break;default:s(`const data = ${e?.text?`'${e.text}'`:`null`};`),o()}return s(`const xhr = new XMLHttpRequest();`),a.cors&&s(`xhr.withCredentials = true;`),o(),s(`xhr.addEventListener('readystatechange', function () {`),s(`if (this.readyState === this.DONE) {`,1),s(`console.log(this.responseText);`,2),s(`}`,1),s(`});`),o(),s(`xhr.open('${n}', '${r}');`),Object.keys(t).forEach(e=>{s(`xhr.setRequestHeader('${e}', '${Eme(t[e])}');`)}),o(),s(`xhr.send(data);`),c()}},whe={target:`js`,client:`xhr`,title:`XHR`,generate(e){return v3(Che,e)}},The=[`GET`,`POST`,`PUT`,`DELETE`,`PATCH`,`HEAD`],Ehe=[`POST`,`PUT`,`DELETE`,`PATCH`],I3=e=>`"${_3(e)}"`,Dhe={target:`kotlin`,client:`okhttp`,title:`OkHttp`,generate(e,t){let n=J4(e?.method),r=Y4(X4(e?.url??``,e?.queryString)),i=e?.postData,a=[`val client = OkHttpClient()`,``],o=!1;i?.mimeType===`application/x-www-form-urlencoded`&&i.params?(a.push(`val body = FormBody.Builder()`),i.params.forEach(e=>{a.push(` .addEncoded(${I3(e.name??``)}, ${I3(e.value??``)})`)}),a.push(` .build()`,``),o=!0):i?.mimeType===`multipart/form-data`&&i.params?(a.push(`val body = MultipartBody.Builder()`,` .setType(MultipartBody.FORM)`),i.params.forEach(e=>{e.fileName===void 0?e.value!==void 0&&a.push(` .addFormDataPart(${I3(e.name??``)}, ${I3(e.value)})`):a.push(` .addFormDataPart(${I3(e.name??``)}, ${I3(e.fileName)}, RequestBody.create(MediaType.parse("application/octet-stream"), File(${I3(e.fileName)})))`)}),a.push(` .build()`,``),o=!0):i&&(a.push(`val mediaType = MediaType.parse(${I3(i.mimeType??``)})`),a.push(`val body = RequestBody.create(mediaType, ${JSON.stringify(i.text??``)})`),o=!0),a.push(`val request = Request.Builder()`,` .url(${I3(r)})`);let s=o?`body`:`null`;return The.includes(n)?Ehe.includes(n)?a.push(` .${n.toLowerCase()}(${s})`):a.push(` .${n.toLowerCase()}()`):a.push(` .method(${I3(n)}, ${s})`),t?.auth?.username&&t?.auth?.password&&a.push(` .addHeader("Authorization", Credentials.basic(${I3(t.auth.username)}, ${I3(t.auth.password)}))`),Z4(e?.headers,e?.cookies).forEach(e=>{a.push(` .addHeader(${I3(e.name)}, ${I3(e.value)})`)}),a.push(` .build()`,``,`val response = client.newCall(request).execute()`),a.join(`
169
+ `)}},Ohe=w3(`node`),khe={target:`node`,client:`fetch`,title:`Fetch`,generate(e){let t={method:`GET`,...e},n=``;t.method=t.method.toUpperCase();let r={method:t.method===`GET`?void 0:t.method},i=q4(t.queryString);if(t.headers?.length&&(r.headers={},t.headers.forEach(e=>{r.headers[e.name]=e.value})),t.cookies?.length&&(r.headers=r.headers||{},t.cookies.forEach(e=>{r.headers[`Set-Cookie`]=r.headers[`Set-Cookie`]?`${r.headers[`Set-Cookie`]}; ${e.name}=${e.value}`:`${e.name}=${e.value}`})),Object.keys(r).forEach(e=>{r[e]===void 0&&delete r[e]}),t.postData){let{mimeType:e,text:i,params:a}=t.postData,o=!1;if(e===`application/json`&&i)try{r.body=new y3(`JSON.stringify(${b3(JSON.parse(i))})`)}catch{r.body=i}else e===`multipart/form-data`&&a?(n=`const formData = new FormData()
170
+ `,a.forEach(e=>{e.fileName===void 0?e.value!==void 0&&(n+=`formData.append('${e.name}', '${e.value}')\n`):(o||=(n=`import fs from 'node:fs'\n\n${n}`,!0),n+=`formData.append('${e.name}', new Blob([fs.readFileSync('${e.fileName}')]), '${e.fileName}')\n`)}),n+=`
171
+ `,r.body=new y3(`formData`)):e===`application/x-www-form-urlencoded`&&a?r.body=new y3(`new URLSearchParams(${b3(Object.fromEntries(a.map(e=>[e.name,e.value])))})`):r.body=t.postData.text}let a=Object.keys(r).length?`, ${b3(r)}`:``;return`${n}fetch('${t.url}${i}'${a})`}},Ahe={target:`node`,client:`ofetch`,title:`ofetch`,generate(e){let t={method:`GET`,...e};t.method=t.method.toUpperCase();let n={method:t.method===`GET`?void 0:t.method};t.queryString?.length&&(n.query=$4(t.queryString)),t.headers?.length&&(n.headers={},t.headers.forEach(e=>{n.headers[e.name]=e.value})),t.cookies?.length&&(n.headers=n.headers||{},t.cookies.forEach(e=>{n.headers[`Set-Cookie`]=n.headers[`Set-Cookie`]?`${n.headers[`Set-Cookie`]}; ${e.name}=${e.value}`:`${e.name}=${e.value}`})),Object.keys(n).forEach(e=>{n[e]===void 0&&delete n[e]}),t.postData&&(n.body=t.postData.text,t.postData.mimeType===`application/json`&&(n.body=JSON.parse(n.body)));let r=Object.keys(n).length?`, ${b3(n)}`:``;return`import { ofetch } from 'ofetch'
172
+
173
+ ofetch('${t.url}'${r})`}},jhe={target:`node`,client:`undici`,title:`undici`,generate(e){let t={method:`GET`,...e};t.method=t.method.toUpperCase();let n={method:t.method===`GET`?void 0:t.method},r=q4(t.queryString);t.headers?.length&&(n.headers={},t.headers.forEach(e=>{n.headers[e.name]=e.value})),t.cookies?.length&&(n.headers=n.headers||{},t.cookies.forEach(e=>{n.headers[`Set-Cookie`]=n.headers[`Set-Cookie`]?`${n.headers[`Set-Cookie`]}; ${e.name}=${e.value}`:`${e.name}=${e.value}`})),Object.keys(n).forEach(e=>{n[e]===void 0&&delete n[e]}),t.postData&&(n.body=t.postData.text,t.postData.mimeType===`application/json`&&(n.body=new y3(`JSON.stringify(${b3(JSON.parse(n.body))})`)));let i=Object.keys(n).length?`, ${b3(n)}`:``;return`import { request } from 'undici'
174
+
175
+ const { statusCode, body } = await request('${t.url}${r}'${i})`}},Mhe=`---011000010111000001101001`,L3=e=>`@"${e.replace(/\\/g,`\\\\`).replace(/"/g,`\\"`).replace(/\n/g,`\\n`).replace(/\r/g,`\\r`).replace(/\t/g,`\\t`)}"`,R3=(e,t)=>{let n=t===void 0?`, `:`,\n ${` `.repeat(t)}`;switch(Object.prototype.toString.call(e)){case`[object Number]`:return`@${e}`;case`[object Array]`:return`@[ ${e.map(e=>R3(e)).join(n)} ]`;case`[object Object]`:return`@{ ${Object.entries(e).map(([e,t])=>`@"${e}": ${R3(t)}`).join(n)} }`;case`[object Boolean]`:return e?`@YES`:`@NO`;default:return e==null?`[NSNull null]`:L3(e.toString())}},z3=(e,t,n)=>{let r=`${e} *${t} = `;return`${r}${R3(n,r.length)};`},Nhe={target:`objc`,client:`nsurlsession`,title:`NSURLSession`,generate(e,t){if(!e)return``;let n=J4(e.method),r=Y4(X4(e.url??``,e.queryString)),i=Z4(e.headers,e.cookies),a=[`#import <Foundation/Foundation.h>`],o=i.length>0;if(o){let e=Object.fromEntries(i.map(e=>[e.name,e.value]));a.push(``,z3(`NSDictionary`,`headers`,e))}let s=!1;if(e.postData){let{mimeType:t,text:n,params:r}=e.postData;if(t===`application/json`&&n!==void 0)try{let e=JSON.parse(n);a.push(``,z3(`NSDictionary`,`parameters`,e)),a.push(``,`NSData *postData = [NSJSONSerialization dataWithJSONObject:parameters options:0 error:nil];`),s=!0}catch{a.push(``,`NSData *postData = [${L3(n)} dataUsingEncoding:NSUTF8StringEncoding];`),s=!0}else if(t===`application/x-www-form-urlencoded`&&r?.length){s=!0;let[e,...t]=r;a.push(``,`NSMutableData *postData = [[NSMutableData alloc] initWithData:[${L3(`${encodeURIComponent(e.name)}=${encodeURIComponent(e.value??``)}`)} dataUsingEncoding:NSUTF8StringEncoding]];`),t.forEach(e=>{a.push(`[postData appendData:[${L3(`&${encodeURIComponent(e.name)}=${encodeURIComponent(e.value??``)}`)} dataUsingEncoding:NSUTF8StringEncoding]];`)})}else t===`multipart/form-data`&&r?.length?(s=!0,a.push(``,z3(`NSArray`,`parameters`,r),`NSString *boundary = @"${Mhe}";`,``,`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];`)):t===`application/octet-stream`?(s=!0,a.push(``,`NSData *postData = [${L3(n??``)} dataUsingEncoding:NSUTF8StringEncoding];`)):n!==void 0&&(s=!0,a.push(``,`NSData *postData = [${L3(n)} dataUsingEncoding:NSUTF8StringEncoding];`))}if(a.push(``,`NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:${L3(r)}]`,` cachePolicy:NSURLRequestUseProtocolCachePolicy`,` timeoutInterval:10.0];`,`[request setHTTPMethod:@"${n}"];`),o&&a.push(`[request setAllHTTPHeaderFields:headers];`),s&&a.push(`[request setHTTPBody:postData];`),t?.auth?.username&&t?.auth?.password){let e=L3(`${t.auth.username}:${t.auth.password}`);a.push(`NSData *authData = [${e} dataUsingEncoding:NSUTF8StringEncoding];`,`NSString *authValue = [NSString stringWithFormat:@"Basic %@", [authData base64EncodedStringWithOptions:0]];`,`[request setValue:authValue forHTTPHeaderField:@"Authorization"];`)}return a.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];`),a.join(`
176
+ `)}},Phe={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},i)=>{let a={indent:` `,...i},o=[`get`,`post`,`head`,`delete`,`patch`,`put`,`options`],{push:s,blank:c,join:l}=new h3({indent:a.indent});s(`open Cohttp_lwt_unix`),s(`open Cohttp`),s(`open Lwt`),c(),s(`let uri = Uri.of_string "${e}" in`);let u=Object.keys(t);return u.length===1?s(`let headers = Header.add (Header.init ()) "${u[0]}" "${_3(t[u[0]])}" in`):u.length>1&&(s(`let headers = Header.add_list (Header.init ()) [`),u.forEach(e=>{s(`("${e}", "${_3(t[e])}");`,1)}),s(`] in`)),n?.text&&s(`let body = Cohttp_lwt_body.of_string ${JSON.stringify(n.text)} in`),c(),s(`Client.call ${u.length?`~headers `:``}${n?.text?`~body `:``}${o.includes(r.toLowerCase())?`\`${r.toUpperCase()}`:`(Code.method_of_string "${r}")`} uri`),s(`>>= fun (res, body_stream) ->`),s(`(* Do stuff with the result *)`,1),l()}},Fhe={target:`ocaml`,client:`cohttp`,title:`Cohttp`,generate(e){return v3(Phe,e)}};function B3(e){return` `.repeat(e*2)}var V3=class{value;constructor(e){this.value=e}};function H3(e,t=0){if(e==null)return`null`;if(e instanceof V3){let n=e.value.split(`
177
+ `);if(n.length>1){let e=B3(t+1);return n.map((t,n)=>n===0?t:`${e}${t}`).join(`
178
+ `)}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`[]`;let n=e.map(e=>H3(e,t+1)).join(`,
179
+ `+B3(t+1));return`[\n${B3(t+1)}${n}\n${B3(t)}]`}if(typeof e==`object`){let n=Object.entries(e);if(n.length===0)return`[]`;let r=n.map(([e,n])=>`'${e}' => ${H3(n,t+1)}`).join(`,
180
+ `+B3(t+1));return`[\n${B3(t+1)}${r}\n${B3(t)}]`}return`null`}var Ihe={target:`php`,client:`curl`,title:`cURL`,generate(e,t){let n={method:`GET`,...e};n.method=n.method.toUpperCase();let r=[],i=!1,a=n.queryString?.length?`?`+n.queryString.map(e=>`${e.name}=${e.value}`).join(`&`):``,o=`${n.url}${a}`;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}');`);let s=[...n.headers||[]],c=()=>s.some(e=>e.name.toLowerCase()===`content-type`);if(n.postData&&(n.postData.mimeType===`application/x-www-form-urlencoded`&&n.postData.params&&!c()?s.push({name:`Content-Type`,value:`application/x-www-form-urlencoded`}):n.postData.mimeType===`application/octet-stream`&&!c()&&s.push({name:`Content-Type`,value:`application/octet-stream`})),s.length){let e=s.map(e=>`'${e.name}: ${e.value}'`);r.push(`curl_setopt($ch, CURLOPT_HTTPHEADER, [${e.join(`, `)}]);`);let t=s.find(e=>e.name.toLowerCase()===`accept-encoding`);t&&/gzip|deflate/.test(t.value)&&r.push(`curl_setopt($ch, CURLOPT_ENCODING, '');`)}if(n.cookies?.length){let e=n.cookies.map(e=>`${encodeURIComponent(e.name)}=${encodeURIComponent(e.value)}`).join(`; `);r.push(`curl_setopt($ch, CURLOPT_COOKIE, '${e}');`)}if(n.postData){if(n.postData.mimeType===`application/json`){if(n.postData.text)try{let e=H3(JSON.parse(n.postData.text));r.push(`curl_setopt($ch, CURLOPT_POSTFIELDS, json_encode(${e}));`)}catch{r.push(`curl_setopt($ch, CURLOPT_POSTFIELDS, '${n.postData.text}');`)}}else if(n.postData.mimeType===`multipart/form-data`&&n.postData.params)i=!0,r.push(`$mime = curl_mime_init($ch);`),n.postData.params.forEach((e,t)=>{let n=`$part${t}`;r.push(`${n} = curl_mime_addpart($mime);`),r.push(`curl_mime_name(${n}, '${e.name}');`),e.fileName===void 0?e.value!==void 0&&r.push(`curl_mime_data(${n}, '${e.value}');`):r.push(`curl_mime_filedata(${n}, '${e.fileName}');`),e.contentType&&r.push(`curl_mime_type(${n}, '${e.contentType}');`)}),r.push(`curl_setopt($ch, CURLOPT_MIMEPOST, $mime);`);else if(n.postData.mimeType===`application/x-www-form-urlencoded`&&n.postData.params){let e=n.postData.params.map(e=>`${encodeURIComponent(e.name)}=${e.value?encodeURIComponent(e.value):``}`).join(`&`);r.push(`curl_setopt($ch, CURLOPT_POSTFIELDS, '${e}');`)}else if(n.postData.mimeType===`application/octet-stream`)r.push(`curl_setopt($ch, CURLOPT_POSTFIELDS, '${n.postData.text||``}');`);else if(n.postData.text)try{let e=H3(JSON.parse(n.postData.text));r.push(`curl_setopt($ch, CURLOPT_POSTFIELDS, json_encode(${e}));`)}catch{r.push(`curl_setopt($ch, CURLOPT_POSTFIELDS, '${n.postData.text}');`)}}return r.push(``),r.push(`curl_exec($ch);`),i&&r.push(`curl_mime_free($mime);`),r.push(``),r.push(`curl_close($ch);`),r.join(`
181
+ `).replace(/\n\n\n/g,`
182
+
183
+ `)}},Lhe={target:`php`,client:`guzzle`,title:`Guzzle`,generate(e,t){if(!e)return``;let n={},r=(e.method||`GET`).toUpperCase(),i=e.url||``;if(e.headers&&Array.isArray(e.headers)&&e.headers.length>0){let t={};e.headers.forEach(e=>{t[e.name]===void 0?t[e.name]=e.value:Array.isArray(t[e.name])?t[e.name].push(e.value):t[e.name]=[t[e.name],e.value]}),n.headers=t}if(e.queryString&&e.queryString.length>0&&(n.query=$4(e.queryString)),e.cookies&&e.cookies.length>0){let t={};e.cookies.forEach(e=>{t[e.name]=e.value}),n.cookies=t}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(e=>{let t={name:e.name,contents:e.fileName?new V3(`fopen('${e.fileName}', 'r')`):e.value||``};return e.contentType&&(t.headers={"Content-Type":e.contentType}),t});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){let t={};e.postData.params.forEach(e=>{t[e.name]=e.value||``}),n.form_params=t}}else n.body=e.postData.text;e.headers&&Array.isArray(e.headers)&&e.headers.some(e=>e.name===`Accept-Encoding`&&e.value.includes(`gzip`))&&(n.decode_content=!0);let a=`$client = new GuzzleHttp\\Client();
184
+
185
+ `;if(Object.keys(n).length>0){let e=H3(n);a+=`$response = $client->request('${r}', '${i}', ${e});`}else a+=`$response = $client->request('${r}', '${i}');`;return a}},U3=e=>e.replace(/\\/g,`\\\\`).replace(/'/g,`\\'`),W3=e=>`'${U3(e)}'`,Rhe=U3,G3=e=>Array.isArray(e)?e.map(e=>G3(e)):e&&typeof e==`object`?Object.entries(e).reduce((e,[t,n])=>(e[Rhe(t)]=G3(n),e),{}):e,zhe=e=>{if(!e)return`localhost`;try{return new URL(e).hostname||`localhost`}catch{return`localhost`}},Bhe={target:`php`,client:`laravel`,title:`Laravel HTTP Client`,generate(e,t){let n={method:`GET`,...e};n.method=n.method.toUpperCase();let r=q4(n.queryString),i=`${n.url??``}${r}`,a=[];if(t?.auth?.username&&t.auth.password&&a.push(`withBasicAuth(${W3(t.auth.username)}, ${W3(t.auth.password)})`),n.headers?.length){let e={};n.headers.forEach(t=>{Q4(e,t.name,t.value)}),a.push(`withHeaders(${H3(G3(e))})`)}if(n.cookies?.length){let e={};n.cookies.forEach(t=>{Q4(e,t.name,t.value)}),a.push(`withCookies(${H3(G3(e))}, ${W3(zhe(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{a.push(`withBody(${W3(n.postData.text)}, 'application/json')`)}}else if(n.postData.mimeType===`application/x-www-form-urlencoded`&&n.postData.params){let e={};n.postData.params.forEach(t=>{Q4(e,t.name,t.value??``)}),a.push(`asForm()`),o=e}else if(n.postData.mimeType===`multipart/form-data`&&n.postData.params){let e={};n.postData.params.forEach(t=>{if(t.fileName!==void 0){let e=[W3(t.name),`file_get_contents(${W3(t.fileName)})`,W3(t.fileName)];t.contentType&&e.push(H3(G3({"Content-Type":t.contentType}))),a.push(`attach(${e.join(`, `)})`)}else t.contentType?a.push(`attach(${W3(t.name)}, ${W3(t.value??``)}, null, ${H3(G3({"Content-Type":t.contentType}))})`):Q4(e,t.name,t.value??``)}),Object.keys(e).length>0&&(o=e)}else if(n.postData.mimeType===`application/octet-stream`)a.push(`withBody(${W3(n.postData.text??``)}, 'application/octet-stream')`);else if(n.postData.text)try{o=JSON.parse(n.postData.text)}catch{a.push(`withBody(${W3(n.postData.text)}, ${W3(n.postData.mimeType||`text/plain`)})`)}}let s=n.method.toLowerCase(),c=[`delete`,`get`,`head`,`patch`,`post`,`put`].includes(s)?o!==void 0&&s!==`head`?`${s}(${W3(i)}, ${H3(G3(o),1)})`:`${s}(${W3(i)})`:o===void 0?`send(${W3(n.method)}, ${W3(i)})`:`send(${W3(n.method)}, ${W3(i)}, ${H3(G3(o),1)})`;return`use Illuminate\\Support\\Facades\\Http;\n\n$response = ${a.length>0?[`Http::${a[0]}`,...a.slice(1).map(e=>` ->${e}`),` ->${c}`].join(`
186
+ `):`Http::${c}`};`}},K3=e=>({method:t,headersObj:n,cookies:r,uriObj:i,fullUrl:a,postData:o,allHeaders:s})=>{let{push:c,join:l}=new h3;if(![`GET`,`POST`,`PUT`,`DELETE`,`PATCH`,`HEAD`,`OPTIONS`].includes(t.toUpperCase()))return`Method not supported`;let u=[],d=Object.keys(n);return d.length&&(c(`$headers=@{}`),d.forEach(e=>{e!==`connection`&&c(`$headers.Add("${e}", "${g3(n[e],{escapeChar:"`"})}")`)}),u.push(`-Headers $headers`)),r.length&&(c(`$session = New-Object Microsoft.PowerShell.Commands.WebRequestSession`),r.forEach(e=>{c(`$cookie = New-Object System.Net.Cookie`),c(`$cookie.Name = '${e.name}'`),c(`$cookie.Value = '${e.value}'`),c(`$cookie.Domain = '${i.host}'`),c(`$session.Cookies.Add($cookie)`)}),u.push(`-WebSession $session`)),o?.text&&(u.push(`-ContentType '${g3(P3(s,`content-type`),{delimiter:`'`,escapeChar:"`"})}'`),u.push(`-Body '${o.text}'`)),c(`$response = ${e} -Uri '${a}' -Method ${t} ${u.join(` `)}`),l()},Vhe={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:K3(`Invoke-RestMethod`)},Hhe={target:`powershell`,client:`restmethod`,title:`Invoke-RestMethod`,generate(e){return v3(Vhe,e)}},Uhe={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:K3(`Invoke-WebRequest`)},Whe={target:`powershell`,client:`webrequest`,title:`Invoke-WebRequest`,generate(e){return v3(Uhe,e)}};function q3(e){let t=[[`true`,`True`],[`false`,`False`],[`null`,`None`]],n=e;for(let[e,r]of t){let t=[`(: )${e}(?=,|\\n)`,`^( +)${e}(?=,|\\n)`];for(let e of t)n=n.replace(new RegExp(e,`gm`),`$1${r}`)}return n}function J3(e,t=4){return q3(JSON.stringify(e,null,2).split(`
187
+ `).map((e,n)=>n===0?e:` `.repeat(t)+e).join(`
188
+ `))}function Y3(e,t,n){let r={url:`https://example.com`,method:`get`,...t},i=r.method.toLowerCase(),a={};if(r.headers?.length&&(a.headers=r.headers.reduce((e,t)=>(t.name in e||(e[t.name]=t.value),e),{})),r.queryString?.length&&(a.params=$4(r.queryString)),r.cookies?.length&&(a.cookies=Object.fromEntries(r.cookies.map(e=>[e.name,e.value]))),n?.auth?.username&&n?.auth?.password&&(a.auth=[n.auth.username,n.auth.password]),r.postData){let{mimeType:e,text:t,params:n}=r.postData;if(e===`application/json`&&t)try{a.json=JSON.parse(t)}catch{a.data=t}else if(e===`application/octet-stream`&&t)a.data=t;else if(e===`multipart/form-data`&&n){let e=[],t={};n.forEach(n=>{if(n.fileName!==void 0){let t=JSON.stringify(n.name),r=JSON.stringify(n.fileName),i=`open(${r}, "rb")`;if(n.contentType){let a=JSON.stringify(n.contentType);e.push(`(${t}, (${r}, ${i}, ${a}))`)}else e.push(`(${t}, ${i})`)}else if(n.value!==void 0)if(n.contentType){let t=JSON.stringify(n.name),r=JSON.stringify(n.value),i=JSON.stringify(n.contentType);e.push(`(${t}, (None, ${r}, ${i}))`)}else Q4(t,n.name,n.value)}),e.length&&(a.files=e),Object.keys(t).length&&(a.data=t)}else if(e===`application/x-www-form-urlencoded`&&n){let e={};n.forEach(t=>{Q4(e,t.name,t.value??``)}),a.data=e}}let o=[],s=`"${r.url}"`;r.url.length>40?o.push(s):o.push(``);for(let[e,t]of Object.entries(a))if(e===`auth`)o.push(`${e}=(${q3(JSON.stringify(t[0]))}, ${q3(JSON.stringify(t[1]))})`);else if(e===`files`){let n=`[
189
+ `+t.map(e=>` ${e}`).join(`,
190
+ `)+`
191
+ ]`;o.push(`${e}=${n}`)}else if(e===`json`){let n=J3(t);o.push(`${e}=${n}`)}else if(e===`data`&&r.postData?.mimeType===`application/octet-stream`)o.push(`${e}=b"${t}"`);else{let n=J3(t);o.push(`${e}=${n}`)}return r.url.length>40?`${e}.${i}(\n ${o.join(`,
192
+ `)}\n)`:o.length<=1?`${e}.${i}(${s})`:`${e}.${i}(${s}${o.length>1?`,`:``}\n ${o.slice(1).join(`,
193
+ `)}\n)`}var Ghe=(e,t=` `)=>e.split(`
194
+ `).map(e=>e.trim()===``?e:`${t}${e}`).join(`
195
+ `),Khe=(e,t,n,r)=>{let i=JSON.stringify(n);return n.length>40?`${e}.${t}(\n ${[i,...r].join(`,
196
+ `)}\n)`:r.length===0?`${e}.${t}(${i})`:`${e}.${t}(${i},\n ${r.join(`,
197
+ `)}\n)`},qhe={target:`python`,client:`aiohttp`,title:`aiohttp`,generate(e,t){let n={url:`https://example.com`,method:`get`,...e},r=n.method?.toLowerCase()??`get`,i=[],a=[],o=[];if(n.headers?.length){let e=n.headers.reduce((e,t)=>(t.name in e||(e[t.name]=t.value),e),{});i.push(`headers=${J3(e)}`)}if(n.queryString?.length&&i.push(`params=${J3($4(n.queryString))}`),n.cookies?.length){let e=Object.fromEntries(n.cookies.map(e=>[e.name,e.value]));a.push(`cookies=${J3(e)}`)}if(t?.auth?.username&&t?.auth?.password&&a.push(`auth=aiohttp.BasicAuth(${JSON.stringify(t.auth.username)}, ${JSON.stringify(t.auth.password)})`),n.postData){let{mimeType:e,text:t,params:r}=n.postData;if(e===`application/json`&&t)try{i.push(`json=${J3(JSON.parse(t))}`)}catch{i.push(`data=${JSON.stringify(t)}`)}else if(e===`application/octet-stream`&&t)i.push(`data=b"${t}"`);else if(e===`multipart/form-data`&&r)o.push(`data = aiohttp.FormData()`),r.forEach(e=>{if(e.fileName!==void 0){let t=[JSON.stringify(e.name),`open(${JSON.stringify(e.fileName)}, "rb")`,`filename=${JSON.stringify(e.fileName)}`];e.contentType&&t.push(`content_type=${JSON.stringify(e.contentType)}`),o.push(`data.add_field(${t.join(`, `)})`);return}if(e.contentType){o.push(`data.add_field(${JSON.stringify(e.name)}, ${JSON.stringify(e.value??``)}, content_type=${JSON.stringify(e.contentType)})`);return}o.push(`data.add_field(${JSON.stringify(e.name)}, ${JSON.stringify(e.value??``)})`)}),i.push(`data=data`);else if(e===`application/x-www-form-urlencoded`&&r){let e={};r.forEach(t=>{Q4(e,t.name,t.value??``)}),i.push(`data=${J3(e)}`)}else t&&i.push(`data=${JSON.stringify(t)}`)}let s=a.length===0?`async with aiohttp.ClientSession() as session:`:`async with aiohttp.ClientSession(\n ${a.join(`,
198
+ `)}\n) as session:`,c=Khe(`await session`,r,n.url??``,i);return`${s}\n${Ghe([...o,c].join(`
199
+ `))}`}},Jhe={target:`python`,client:`httpx_async`,title:`HTTPX (Async)`,generate(e,t){let n=Y3(`await client`,e,t);return n=n.split(`
200
+ `).map(e=>e.trim()===``?e:` `+e).join(`
201
+ `),`async with httpx.AsyncClient() as client:\n${n}`}},Yhe={target:`python`,client:`httpx_sync`,title:`HTTPX (Sync)`,generate(e,t){return Y3(`httpx`,e,t)}},Xhe=e=>{if(typeof globalThis.btoa==`function`)return globalThis.btoa(e);if(typeof Buffer<`u`)return Buffer.from(e,`utf-8`).toString(`base64`);throw Error(`Could not encode basic auth credentials`)},Zhe=e=>{if(!e)return new URL(`https://example.com`);try{return new URL(e)}catch{return new URL(e,`https://example.com`)}},Qhe=(e,t=[])=>{if(!t.length)return e.search;let n=q4(t);return e.search?`${e.search}&${n.slice(1)}`:n},$he=e=>`b"${JSON.stringify(e).slice(1,-1)}"`,ege=(e,t,n)=>{let r=e.postData;if(!r)return{payloadLines:[]};let{mimeType:i,text:a,params:o}=r;if(i===`application/json`&&a)try{let e=JSON.parse(a);return n.add(`import json`),{payloadLines:[`payload = json.dumps(${J3(e,0)})`],payloadVariable:`payload`}}catch{return{payloadLines:[`payload = ${JSON.stringify(a)}`],payloadVariable:`payload`}}if(i===`application/octet-stream`&&a)return{payloadLines:[`payload = ${$he(a)}`],payloadVariable:`payload`};if(i===`application/x-www-form-urlencoded`&&o){n.add(`import urllib.parse`);let e={};return o.forEach(t=>{Q4(e,t.name,t.value??``)}),t[`Content-Type`]||=`application/x-www-form-urlencoded`,{payloadLines:[`payload = urllib.parse.urlencode(${J3(e,0)}, doseq=True)`],payloadVariable:`payload`}}if(i===`multipart/form-data`&&o){let e=[`boundary = "----ScalarSnippetzBoundary"`,`data_list = []`];return o.forEach(t=>{e.push(`data_list.append("--" + boundary)`),t.fileName===void 0?e.push(`data_list.append(${JSON.stringify(`Content-Disposition: form-data; name="${t.name}"`)})`):e.push(`data_list.append(${JSON.stringify(`Content-Disposition: form-data; name="${t.name}"; filename="${t.fileName}"`)})`),t.contentType&&e.push(`data_list.append(${JSON.stringify(`Content-Type: ${t.contentType}`)})`),e.push(`data_list.append("")`),t.fileName===void 0?e.push(`data_list.append(${JSON.stringify(t.value??``)})`):e.push(`data_list.append(open(${JSON.stringify(t.fileName)}, "rb").read().decode("latin-1"))`)}),e.push(`data_list.append("--" + boundary + "--")`),e.push(`data_list.append("")`),e.push(`payload = "\\r\\n".join(data_list)`),t[`Content-Type`]=`multipart/form-data; boundary=----ScalarSnippetzBoundary`,{payloadLines:e,payloadVariable:`payload`}}if(a)try{let e=JSON.parse(a);return n.add(`import json`),{payloadLines:[`payload = json.dumps(${J3(e,0)})`],payloadVariable:`payload`}}catch{return{payloadLines:[`payload = ${JSON.stringify(a)}`],payloadVariable:`payload`}}return{payloadLines:[]}},tge={target:`python`,client:`python3`,title:`http.client`,generate(e,t){let n=K4({url:`https://example.com`,...e}),r=Zhe(n.url??`https://example.com`),i=Qhe(r,n.queryString),a=`${r.pathname||`/`}${i}`,o=n.headers?.reduce((e,t)=>(t.name in e||(e[t.name]=t.value),e),{})??{};if(n.cookies?.length){let e=n.cookies.map(e=>`${encodeURIComponent(e.name)}=${encodeURIComponent(e.value)}`).join(`; `);o.Cookie?o.Cookie=`${o.Cookie}; ${e}`:o.Cookie=e}t?.auth?.username&&t.auth.password&&(o.Authorization=`Basic ${Xhe(`${t.auth.username}:${t.auth.password}`)}`);let s=new Set([`import http.client`]),c=[],l=ege(n,o,s);c.push(...l.payloadLines),Object.keys(o).length&&c.push(`headers = ${J3(o,0)}`);let u=[JSON.stringify(n.method),JSON.stringify(a)];l.payloadVariable&&u.push(`body=${l.payloadVariable}`),Object.keys(o).length&&u.push(`headers=headers`);let d=u.length<=2?`conn.request(${u.join(`, `)})`:`conn.request(\n ${u.join(`,
202
+ `)},\n)`;return[...s,``,`conn = http.client.${r.protocol===`https:`?`HTTPSConnection`:`HTTPConnection`}(${JSON.stringify(r.host)})`,...c.length?[``,...c]:[],``,d,``,`response = conn.getresponse()`,`print(response.read().decode())`,``,`conn.close()`].join(`
203
+ `)}},nge={target:`python`,client:`requests`,title:`Requests`,generate(e,t){return Y3(`requests`,e,t)}},rge=(e,t)=>{try{return X3(JSON.parse(e),t)}catch{return`"${e}"`}},X3=(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(\n${e.map(e=>`${t} ${X3(e,t+` `)}`).join(`,
204
+ `)}\n${t})`;if(typeof e==`object`){let n=Object.entries(e);return n.length===0?`list()`:`list(\n${n.map(([e,n])=>`${t} ${e} = ${X3(n,t+` `)}`).join(`,
205
+ `)}\n${t})`}return String(e)},ige={target:`r`,client:`httr2`,title:`httr2`,generate(e,t){let n={url:`https://example.com`,method:`GET`,...e},r=n.method.toUpperCase(),i=[`library(httr2)`,``];i.push(`response <- request("${n.url}") |>`);let a=[];r!==`GET`&&a.push(` req_method("${r}")`);let o={};if(n.headers?.length)for(let e of n.headers)o[e.name]=e.value;if(n.cookies?.length&&(o.Cookie=n.cookies.map(e=>`${e.name}=${e.value}`).join(`; `)),t?.auth?.username&&t?.auth?.password&&a.push(` req_auth_basic("${t.auth.username}", "${t.auth.password}")`),Object.keys(o).length){let e=Object.entries(o);if(e.length===1){let[t,n]=e[0];a.push(` req_headers("${t}" = "${n}")`)}else{let t=e.map(([e,t])=>` "${e}" = "${t}"`).join(`,
206
+ `);a.push(` req_headers(\n${t}\n )`)}}if(n.queryString?.length){let e=$4(n.queryString),t=Object.entries(e);if(t.length===1){let[e,n]=t[0];if(Array.isArray(n)){let t=n.map(e=>`"${e}"`).join(`, `);a.push(` req_url_query("${e}" = c(${t}))`)}else a.push(` req_url_query("${e}" = "${n}")`)}else{let e=t.map(([e,t])=>Array.isArray(t)?` "${e}" = c(${t.map(e=>`"${e}"`).join(`, `)})`:` "${e}" = "${t}"`).join(`,
207
+ `);a.push(` req_url_query(\n${e}\n )`)}}if(n.postData){let{mimeType:e,text:t,params:r}=n.postData;if(e===`application/json`&&t){let e=rge(t,` `);a.push(` req_body_json(${e})`)}else if(e===`multipart/form-data`&&r){let e=r.map(e=>e.fileName===void 0?` ${e.name} = "${e.value??``}"`:` ${e.name} = curl::form_file("${e.fileName}")`).join(`,
208
+ `);a.push(` req_body_multipart(\n${e}\n )`)}else if(e===`application/x-www-form-urlencoded`&&r){let e=r.map(e=>` "${e.name}" = "${e.value??``}"`).join(`,
209
+ `);a.push(` req_body_form(\n${e}\n )`)}else t&&a.push(` req_body_raw("${t}", type = "${e??`application/octet-stream`}")`)}return a.push(` req_perform()`),i[i.length-1]=`response <- request("${n.url}") |>`,i.push(a.join(` |>
210
+ `)),i.push(``),i.push(`resp_body_string(response)`),i.join(`
211
+ `)}},Z3=e=>e.replace(/\\/g,`\\\\`).replace(/"/g,`\\"`),Q3=e=>e.replace(/\\/g,`\\\\`).replace(/'/g,`\\'`),$3=e=>encodeURIComponent(e).replace(/'/g,`%27`),age=new Set([`GET`,`POST`,`HEAD`,`DELETE`,`PATCH`,`PUT`,`OPTIONS`,`COPY`,`LOCK`,`UNLOCK`,`MOVE`,`TRACE`]),e6=e=>e.charAt(0)+e.slice(1).toLowerCase(),oge=(e,t,n)=>{if(age.has(t))return;let r=e6(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(``)},sge=e=>{try{let t=new URL(e),n=t.pathname.split(`/`).map(e=>encodeURIComponent(decodeURIComponent(e)).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}},cge={target:`ruby`,client:`native`,title:`net::http`,generate(e,t){let n={method:`GET`,...e};n.method=n.method.toUpperCase();let r=q4(n.queryString),i=sge(`${n.url??``}${r}`),a=[`require 'uri'`,`require 'net/http'`,``];oge(a,n.method,!!n.postData?.text),a.push(`url = URI("${Z3(i)}")`,``),a.push(`http = Net::HTTP.new(url.host, url.port)`),i.startsWith(`https://`)&&a.push(`http.use_ssl = true`),a.push(``);let o=e6(n.method);if(a.push(`request = Net::HTTP::${o}.new(url)`),t?.auth?.username&&t?.auth?.password){let e=Z3(t.auth.username),n=Z3(t.auth.password);a.push(`request.basic_auth("${e}", "${n}")`)}if(n.headers?.length&&n.headers.forEach(e=>{a.push(`request["${Z3(e.name)}"] = '${Q3(e.value)}'`)}),n.cookies?.length){let e=n.cookies.map(e=>`${$3(e.name)}=${$3(e.value)}`).join(`; `);a.push(`request["Cookie"] = '${Q3(e)}'`)}if(n.postData){let{mimeType:e,text:t,params:r}=n.postData;if(e===`application/json`&&t!==void 0)try{let e=JSON.parse(t),n=JSON.stringify(e,null,2);a.push(`request.body = <<~JSON`),a.push(n),a.push(`JSON`)}catch{a.push(`request.body = ${JSON.stringify(t)}`)}else if(e===`application/x-www-form-urlencoded`&&r){let e=r.map(e=>`${$3(e.name)}=${$3(e.value??``)}`).join(`&`);a.push(`request.body = '${Q3(e)}'`)}else e===`multipart/form-data`&&r?(a.push(`form_data = []`),r.forEach(e=>{let t=Q3(e.name);if(e.fileName!==void 0){let n=Q3(e.fileName);if(e.contentType){let r=Q3(e.contentType);a.push(`form_data << ['${t}', File.open('${n}'), { filename: '${n}', content_type: '${r}' }]`)}else a.push(`form_data << ['${t}', File.open('${n}')]`)}else if(e.contentType){let n=Q3(e.value??``),r=Q3(e.contentType);a.push(`form_data << ['${t}', '${n}', { content_type: '${r}' }]`)}else{let n=Q3(e.value??``);a.push(`form_data << ['${t}', '${n}']`)}}),a.push(`request.set_form(form_data, 'multipart/form-data')`)):e===`application/octet-stream`?a.push(`request.body = ${JSON.stringify(t??``)}`):t!==void 0&&a.push(`request.body = ${JSON.stringify(t)}`)}return a.push(``,`response = http.request(request)`,`puts response.read_body`),a.join(`
212
+ `)}};function lge(e){return e.replace(/\\/g,`\\\\`).replace(/"/g,`\\"`).replace(/\n/g,`\\n`).replace(/\r/g,`\\r`).replace(/\t/g,`\\t`).replace(/\0/g,`\\0`)}function t6(e){return`"${lge(e)}"`}function n6(e,t){return`${` `.repeat(e*4)}${t}`}function r6(e,...t){return n6(1,`.${e}(${t.join(`, `)})`)}function uge(e){try{let t=JSON.parse(e),n=JSON.stringify(t,null,4).split(`
213
+ `);return n.map((e,t)=>t===0?e:(n.length-1,n6(1,e))).join(`
214
+ `)}catch{return e}}var dge={target:`rust`,client:`reqwest`,title:`reqwest`,generate(e,t){if(!e)return``;let n=K4(e),r=q4(n.queryString),i=Kpe(n.url||``,r),a=qpe(n),o=[],s=pge(t?.auth);s&&o.push(s),o.push(...mge(a));let c=hge(n.postData);return c&&o.push(c),gge(i,n.method,o)}},fge=e=>{if(e.fileName){let t=[n6(2,`let part = reqwest::multipart::Part::text(${t6(e.value||``)})`),n6(3,`.file_name(${t6(e.fileName)})`)];return e.contentType?(t.push(n6(3,`.mime_str(${t6(e.contentType)})`)),t.push(n6(3,`.unwrap();`))):t[t.length-1]+=`;`,t.push(n6(2,`form = form.part(${t6(e.name)}, part);`)),t.join(`
215
+ `)}return e.contentType?[n6(2,`let part = reqwest::multipart::Part::text(${t6(e.value||``)})`),n6(3,`.mime_str(${t6(e.contentType)})`),n6(3,`.unwrap();`),n6(2,`form = form.part(${t6(e.name)}, part);`)].join(`
216
+ `):n6(2,`form = form.text(${t6(e.name)}, ${t6(e.value||``)});`)},pge=e=>!e?.username||!e?.password?null:r6(`basic_auth`,t6(e.username),t6(e.password)),mge=e=>Object.entries(e).map(([e,t])=>r6(`header`,t6(e),t6(t))),hge=e=>{if(!e)return null;let{mimeType:t,text:n,params:r}=e;switch(t){case`application/json`:return r6(`json`,`&serde_json::json!(${uge(n)})`);case`application/x-www-form-urlencoded`:return r6(`form`,`&[${r?.map(e=>`(${t6(e.name)}, ${t6(e.value||``)})`).join(`, `)||``}]`);case`multipart/form-data`:{let e=r?.map(fge).join(`
217
+ `)||``;return n6(1,[`.multipart({`,n6(2,`let mut form = reqwest::multipart::Form::new();`),e,n6(3,`form`),n6(2,`})`)].join(`
218
+ `))}default:return r6(`body`,t6(n||``))}},gge=(e,t,n)=>{let r=[`let client = reqwest::Client::new();`,``];n.length>0?(r.push(`let request = client`),r.push(n6(1,`.${t.toLowerCase()}(${t6(e)})`)),r.push(...n)):r.push(`let request = client.${t.toLowerCase()}(${t6(e)})`);let i=r[r.length-1];return r[r.length-1]=i+`;`,r.push(``),r.push(`let response = request.send().await?;`),r.join(`
219
+ `)},i6=e=>e.replace(/'/g,`'\\''`),a6=e=>{if(!e)return!1;let{subtype:t}=wo(e);return t===`json`||t.endsWith(`+json`)},_ge={target:`shell`,client:`curl`,title:`Curl`,generate(e,t){let n={method:`GET`,...e};n.method=n.method.toUpperCase();let r=[`curl`],i=n.url??``,a=i.includes(`?`)?`&`:`?`,o=`${i}${n.queryString?.length?a+n.queryString.map(e=>`${e.name}=${e.value}`).join(`&`):``}`;if(r[0]=`curl ${/^[A-Za-z0-9._~:/%@+,=-]*$/.test(o)?o:`'${i6(o)}'`}`,n.method!==`GET`&&r.push(`--request ${n.method}`),t?.auth?.username&&t?.auth?.password){let e=i6(`${t.auth.username}:${t.auth.password}`);r.push(`--user '${e}'`)}if(n.headers?.length){n.headers.forEach(e=>{let t=i6(`${e.name}: ${e.value}`);r.push(`--header '${t}'`)});let e=n.headers.find(e=>e.name.toLowerCase()===`accept-encoding`);e&&/gzip|deflate/.test(e.value)&&r.push(`--compressed`)}if(n.cookies?.length){let e=i6(n.cookies.map(e=>`${encodeURIComponent(e.name)}=${encodeURIComponent(e.value)}`).join(`; `));r.push(`--cookie '${e}'`)}if(n.postData)if(a6(n.postData.mimeType)){if(n.postData.text)try{let e=JSON.parse(n.postData.text),t=i6(JSON.stringify(e,null,2));r.push(`--data '${t}'`)}catch{let e=i6(n.postData.text??``);r.push(`--data '${e}'`)}}else if(n.postData.mimeType===`application/octet-stream`){let e=i6(n.postData.text??``);r.push(`--data-binary '${e}'`)}else if(n.postData.mimeType===`application/x-www-form-urlencoded`&&n.postData.params)n.postData.params.forEach(e=>{let t=i6(e.value??``),n=i6(encodeURIComponent(e.name));r.push(`--data-urlencode '${n}=${t}'`)});else if(n.postData.mimeType===`multipart/form-data`&&n.postData.params)n.postData.params.forEach(e=>{let t=i6(e.name),n=e.contentType?`;type=${e.contentType}`:``;if(e.fileName!==void 0){let i=i6(`${e.fileName}${n}`);r.push(`--form '${t}=@${i}'`)}else{let i=e.value??``,a=a6(e.contentType),o=i;if(a&&i)try{o=JSON.stringify(JSON.parse(i),null,2)}catch{}let s=i6(`${o}${n}`);r.push(`--form '${t}=${s}'`)}});else try{let e=JSON.parse(n.postData.text??``),t=i6(JSON.stringify(e,null,2));r.push(`--data '${t}'`)}catch{let e=i6(n.postData.text??``);r.push(`--data '${e}'`)}return r.join(` \\
220
+ `)}},o6=(e=``)=>/^[a-z0-9-_/.@%^=:]+$/i.test(e)?e:`'${e.replace(/'/g,`'\\''`)}'`,vge={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:i,url:a},o)=>{let 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:c,join:l,unshift:u}=new h3({indent:s.indent,join:s.indent===!1?` `:` \\\n${s.indent}`}),d=!1,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(e=>{let t=n[e];Array.isArray(t)?t.forEach(t=>{c(`${e}==${o6(t)}`)}):c(`${e}==${o6(t)}`)}),Object.keys(e).sort().forEach(t=>{c(`${t}:${o6(e[t])}`)}),t?.mimeType===`application/x-www-form-urlencoded`?t.params?.length&&(f.push(s.short?`-f`:`--form`),t.params.forEach(e=>{c(`${e.name}=${o6(e.value)}`)})):t?.mimeType===`multipart/form-data`?t?.params?.length&&(f.push(`--multipart`),t.params.forEach(e=>{e.fileName?c(`${e.name}@${o6(e.fileName)}`):c(`${e.name}='${o6(e.value)}'`)})):d=!0;let p=f.length?`${f.join(` `)} `:``;return a=o6(s.queryParams?a:r),u(`http ${p}${i} ${a}`),d&&t?.text&&u(`echo ${o6(t.text)} | `),l()}},yge={target:`shell`,client:`httpie`,title:`HTTPie`,generate(e){return v3(vge,e)}},s6=e=>{if(!e)return!1;let{subtype:t}=wo(e);return t===`json`||t.endsWith(`+json`)},c6=e=>{try{return JSON.stringify(JSON.parse(e),null,2)}catch{return e}},bge={target:`shell`,client:`wget`,title:`Wget`,generate(e,t){let n={...e,method:(e?.method??`GET`).toUpperCase()},r=n.url??``,i=r.includes(`?`)?`&`:`?`,a=`${r}${n.queryString?.length?i+n.queryString.map(e=>`${e.name}=${e.value}`).join(`&`):``}`,o=/^[A-Za-z0-9._~:/%@+,=-]*$/.test(a)?a:`'${i6(a)}'`,s=[`wget --quiet`,`--method ${n.method}`];if(t?.auth?.username&&t?.auth?.password&&(s.push(`--user '${i6(t.auth.username)}'`),s.push(`--password '${i6(t.auth.password)}'`)),n.headers?.length&&n.headers.forEach(e=>{let t=i6(`${e.name}: ${e.value}`);s.push(`--header '${t}'`)}),n.cookies?.length){let e=n.cookies.map(e=>`${encodeURIComponent(e.name)}=${encodeURIComponent(e.value)}`).join(`; `);s.push(`--header 'Cookie: ${i6(e)}'`)}if(n.postData){let{mimeType:e,text:t,params:r}=n.postData;if(s6(e))t&&s.push(`--body-data '${i6(c6(t))}'`);else if(e===`application/octet-stream`)s.push(`--body-data '${i6(t??``)}'`);else if(e===`application/x-www-form-urlencoded`&&r){let e=r.map(e=>`${encodeURIComponent(e.name)}=${encodeURIComponent(e.value??``)}`).join(`&`);s.push(`--body-data '${i6(e)}'`)}else e===`multipart/form-data`&&r?r.forEach(e=>{if(e.fileName!==void 0)s.push(`--body-file='${i6(e.fileName)}'`);else{let t=e.value??``,n=s6(e.contentType)&&t?c6(t):t;s.push(`--body-data '${i6(`${e.name}=${n}`)}'`)}}):t&&s.push(`--body-data '${i6(c6(t))}'`)}return s.push(`--output-document`,`- ${o}`),s.join(` \\
221
+ `)}},l6=e=>JSON.stringify(e),xge=e=>{let t=1;for(;e.includes(`"""${`#`.repeat(t)}`);)t+=1;return`#`.repeat(t)},Sge=e=>{try{return JSON.stringify(JSON.parse(e),null,2)}catch{return e}},u6=e=>encodeURIComponent(e),d6=e=>e.replace(/\\/g,`\\\\`).replace(/"/g,`\\"`),Cge=e=>{let t=[`let boundary = UUID().uuidString`,`var body = Data()`,``,`func appendToBody(_ value: String) {`,` body.append(value.data(using: .utf8)!)`,`}`,``];return e.forEach(e=>{let n=d6(e.name),r=d6(e.fileName??``),i=e.contentType?d6(e.contentType):void 0;t.push(`appendToBody("--\\(boundary)\\r\\n")`),e.fileName===void 0?(t.push(`appendToBody(${l6(`Content-Disposition: form-data; name="${n}"\r\n`)})`),i&&t.push(`appendToBody(${l6(`Content-Type: ${i}\r\n`)})`),t.push(`appendToBody("\\r\\n")`),t.push(`appendToBody(${l6(e.value??``)})`),t.push(`appendToBody("\\r\\n")`)):(t.push(`appendToBody(${l6(`Content-Disposition: form-data; name="${n}"; filename="${r}"\r\n`)})`),i&&t.push(`appendToBody(${l6(`Content-Type: ${i}\r\n`)})`),t.push(`appendToBody("\\r\\n")`),t.push(`appendToBody(${l6(`<# File data for ${e.fileName||`file`} #>\r\n`)})`)),t.push(``)}),t.push(`appendToBody("--\\(boundary)--\\r\\n")`),t},f6=[{key:`c`,title:`C`,default:`libcurl`,clients:[Gpe]},{key:`csharp`,title:`C#`,default:`restsharp`,clients:[Zpe,ame]},{key:`clojure`,title:`Clojure`,default:`clj_http`,clients:[Xpe]},{key:`dart`,title:`Dart`,default:`http`,clients:[ome]},{key:`fsharp`,title:`F#`,default:`httpclient`,clients:[sme]},{key:`go`,title:`Go`,default:`native`,clients:[wme]},{key:`http`,title:`HTTP`,default:`http1.1`,clients:[Tme]},{key:`java`,title:`Java`,default:`unirest`,clients:[Ome,Ame,Mme,Pme]},{key:`js`,title:`JavaScript`,default:`fetch`,clients:[Vme,Bme,She,xhe,whe]},{key:`kotlin`,title:`Kotlin`,default:`okhttp`,clients:[Dhe]},{key:`node`,title:`Node.js`,default:`fetch`,clients:[khe,Ohe,Ahe,jhe]},{key:`objc`,title:`Objective-C`,default:`nsurlsession`,clients:[Nhe]},{key:`ocaml`,title:`OCaml`,default:`cohttp`,clients:[Fhe]},{key:`php`,title:`PHP`,default:`curl`,clients:[Ihe,Lhe,Bhe]},{key:`powershell`,title:`PowerShell`,default:`webrequest`,clients:[Whe,Hhe]},{key:`python`,title:`Python`,default:`python3`,clients:[tge,nge,qhe,Yhe,Jhe]},{key:`r`,title:`R`,default:`httr2`,clients:[ige]},{key:`ruby`,title:`Ruby`,default:`native`,clients:[cge]},{key:`rust`,title:`Rust`,default:`reqwest`,clients:[dge]},{key:`shell`,title:`Shell`,default:`curl`,clients:[_ge,bge,yge]},{key:`swift`,title:`Swift`,default:`nsurlsession`,clients:[{target:`swift`,client:`nsurlsession`,title:`NSURLSession`,generate(e,t){if(!e)return``;let n=J4(e.method),r=Y4(X4(e.url??``,e.queryString)),i=Z4(e.headers,e.cookies),a=[`import Foundation`,``,`var request = URLRequest(url: URL(string: ${l6(r)})!)`];if(a.push(`request.httpMethod = ${l6(n)}`),i.forEach(e=>{a.push(`request.setValue(${l6(e.value)}, forHTTPHeaderField: ${l6(e.name)})`)}),t?.auth?.username&&t?.auth?.password&&(a.push(`let credentials = ${l6(`${t.auth.username}:${t.auth.password}`)}`),a.push(`let encodedCredentials = Data(credentials.utf8).base64EncodedString()`),a.push(`request.setValue("Basic \\(encodedCredentials)", forHTTPHeaderField: "Authorization")`)),e.postData){let{mimeType:t,text:n,params:r}=e.postData;if(t===`application/json`&&n!==void 0){let e=Sge(n),t=xge(e);a.push(`let jsonBody = ${t}"""`),a.push(e),a.push(`"""${t}`),a.push(`request.httpBody = jsonBody.data(using: .utf8)`)}else if(t===`application/x-www-form-urlencoded`&&r?.length){let e=r.map(e=>`${u6(e.name)}=${u6(e.value??``)}`).join(`&`);a.push(`let formBody = ${l6(e)}`),a.push(`request.httpBody = formBody.data(using: .utf8)`)}else t===`multipart/form-data`&&r?.length?(a.push(...Cge(r)),a.push(`request.setValue("multipart/form-data; boundary=\\(boundary)", forHTTPHeaderField: "Content-Type")`),a.push(`request.httpBody = body`)):t===`application/octet-stream`?(a.push(`let binaryBody = Data(${l6(n??``)}.utf8)`),a.push(`request.httpBody = binaryBody`)):n!==void 0&&(a.push(`let rawBody = ${l6(n)}`),a.push(`request.httpBody = rawBody.data(using: .utf8)`))}return a.push(``),a.push(`let (data, response) = try await URLSession.shared.data(for: request)`),a.push(``),a.push(`guard let httpResponse = response as? HTTPURLResponse,`),a.push(` 200..<300 ~= httpResponse.statusCode else {`),a.push(` throw URLError(.badServerResponse)`),a.push(`}`),a.push(``),a.push(`print(String(data: data, encoding: .utf8) ?? "")`),a.join(`
222
+ `)}}]}];function p6(){function e(e,t){return f6.find(({key:t})=>t===e)?.clients.find(e=>e.client===t)}return{print(t,n,r){return e(t,n)?.generate(r)},clients(){return f6},plugins(){return f6.flatMap(({key:e,clients:t})=>t.map(t=>({target:e,client:t.client})))},findPlugin:e,hasPlugin(t,n){return!!e(t,n)}}}var wge=`shell/curl`,m6=e=>H4.includes(e),Tge=e=>m6(e)||typeof e==`string`&&e.startsWith(`custom/`),Ege=(e,t)=>{let n=t=>{for(let n of e){let e=n.options.find(e=>e.id===t);if(e)return e}},r=e.find(e=>e.key===`custom`)?.options[0];if(t?.startsWith(`custom`))return n(t)??r??n(`shell/curl`)??e[0]?.options[0];if(t){let e=n(t);if(e)return e}return r||(n(`shell/curl`)??e[0]?.options[0])},h6=e=>{let t=new Map;return e.map(e=>{let n=(e.lang||`plaintext`).toLowerCase(),r=t.get(n)??0;return t.set(n,r+1),r===0?`custom/${n}`:`custom/${n}/${r}`})},Dge=(e=H4)=>{let t=new Set(e);return p6().clients().flatMap(e=>{let n=e.clients.flatMap(n=>{let r=`${e.key}/${n.client}`;return t.has(r)?{id:r,lang:n.client===`curl`?`curl`:e.key,title:`${C(e.title)} ${n.title}`,label:n.title,targetKey:e.key,targetTitle:e.title,clientKey:n.client}:[]});return n.length===0?[]:{label:e.title,key:e.key,options:n}})},Oge=typeof OVERRIDE_PACKAGE_VERSION<`u`?OVERRIDE_PACKAGE_VERSION:`0.1.6`,kge={"&":`&amp;`,"<":`&lt;`,">":`&gt;`,'"':`&quot;`,"'":`&apos;`};function g6(e){return e.replace(/[&<>"']/g,e=>kge[e]??e)}function _6(e,t={}){let{indent:n=` `,format:r=!0,xmlDeclaration:i=!0}=t,a=(e,t,r)=>{let i=``;if(Array.isArray(e))for(let n=0,o=e.length;n<o;n++)i+=a(e[n],t,r);else if(typeof e==`object`&&e){let o=!1,s=``,c=``;for(let t in e)t.charAt(0)===`@`&&(s+=` `+t.substr(1)+`="`+g6(e[t].toString())+`"`);for(let t in e)if(t===`#text`)c+=g6(e[t]?.toString()??``);else if(t===`#cdata`){let n=e[t]?.toString()??``;c+=`<![CDATA[`+n.replace(/]]>/g,`]]]]><![CDATA[>`)+`]]>`}else t.charAt(0)!==`@`&&(o=!0,c+=a(e[t],t,r+n));o||c?(i+=r+`<`+t+s+`>
223
+ `,i+=c,i+=r+`</`+t+`>
224
+ `):i+=r+`<`+t+s+`/>
225
+ `}else i+=r+`<`+t+`>`+g6(e?.toString()||``)+`</`+t+`>
226
+ `;return i},o=``;i&&(o+=`<?xml version="1.0" encoding="UTF-8"?>`,r&&(o+=`
227
+ `));for(let t in e)Object.hasOwn(e,t)&&(o+=a(e[t],t,``));return r?o.trim():o.replace(/\n/g,``).replace(/>\s+</g,`><`).trim()}var v6=(e,t,n,r=!1)=>{let i=[],a=Array.isArray(e)?e.filter(e=>!e.isDisabled).map(e=>[String(e.name),e.value]):Object.entries(e);for(let[e,o]of a){if(o==null)continue;let a=n?void 0:t?.[e],s=a&&(a.style!==void 0||a.explode!==void 0||a.allowReserved!==void 0),c=s||!r?void 0:a?.contentType,l=n?null:dw(e,o,a);if(l)for(let e of l)i.push({name:e.key,value:e.value});else if(o instanceof File){let t=Wc(o);i.push({name:e,value:`@${t.name}`,...c?{contentType:c}:{}})}else if(c&&typeof o==`object`)i.push({name:e,value:JSON.stringify(Wc(o)),contentType:c});else if(r&&!n&&!s&&typeof o==`object`&&!Array.isArray(o))i.push({name:e,value:JSON.stringify(Wc(o)),contentType:`application/json`});else if(Array.isArray(o))for(let t of o)if(t instanceof File){let n=Wc(t);i.push({name:e,value:`@${n.name}`})}else r&&!n&&!s&&typeof t==`object`&&t?i.push({name:e,value:JSON.stringify(Wc(t)),contentType:`application/json`}):i.push({name:e,value:String(t)});else if(typeof o==`object`){let t=v6(o,void 0,e);for(let n of t)i.push({name:`${e}.${n.name}`,value:n.value})}else i.push({name:e,value:String(o),...c?{contentType:c}:{}})}return i},Age=({requestBody:e,contentType:t,example:n,requestBodyCompositionSelection:r})=>{let i=t||Object.keys(e.content)[0]||``,a=i===`other`?``:i,o=e=>`@${Wc(e).name||`filename`}`,s=e.content[i]?.encoding,c=i===`multipart/form-data`||i===`application/x-www-form-urlencoded`,l=i===`application/xml`,u=qc(e,n,t)?.value;if(u!==void 0){let e=typeof u==`object`&&u?Wc(u):u;return c&&typeof e==`object`&&e?{mimeType:a,params:v6(e,s,void 0,i===`multipart/form-data`)}:l&&typeof e==`object`&&e?{mimeType:a,text:_6(e)}:e instanceof File?{mimeType:a,text:o(e)}:{mimeType:a,text:typeof e==`string`?e:JSON.stringify(e)}}let d=L(e.content[i]?.schema);if(d!==void 0){let e=nw(Gc(d),{compositionSelection:r,mode:`write`,xml:l},{schemaPath:[`requestBody`]});if(e!==void 0)return c&&typeof e==`object`&&e?{mimeType:a,params:v6(e,s,void 0,i===`multipart/form-data`)}:l&&typeof e==`object`&&e?{mimeType:a,text:_6(e)}:{mimeType:a,text:typeof e==`string`?e:JSON.stringify(e)}}},jge=e=>(e??[]).map(e=>L(e)),Mge=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,y6=(e,t)=>Mge(t)?e:encodeURIComponent(e),Nge=e=>{if(e.in===`header`)return{style:`simple`,explode:`explode`in e&&e.explode!==void 0?e.explode:!1};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`}},Pge=(e,t,n,r)=>{let i=qc(e,t,n);if(oT(e,i,r))return;if(i?.value!==void 0)return rT(i.value,e);if(!(`schema`in e)||!e.schema)return;let a=e.in===`path`?{emptyString:`{${e.name}}`}:{};return nw(L(e.schema),a)},Fge=({harRequest:e,parameters:t,example:n,defaultDisabled:r})=>{let i=[...e.headers],a=[...e.queryString],o=e.url,s=jge(t);for(let t of s){if(!t.in||!t.name)continue;let s=Pge(t,n,void 0,r);if(s===void 0)continue;let{style:c,explode:l}=Nge(t);switch(t.in){case`path`:o=Ige(o,t,s,c,l);break;case`query`:if(`content`in t&&t.content){let e=rw(s,Object.keys(t.content)[0]??`application/json`);a.push({name:t.name,value:y6(e,t)});break}switch(c){case`form`:{let e=aw(s,l);if(Array.isArray(e))for(let n of e){let e=n.key||t.name;a.push({name:e,value:y6(String(n.value),t)})}else a.push({name:t.name,value:y6(String(e),t)});break}case`spaceDelimited`:{let e=sw(s);a.push({name:t.name,value:y6(e,t)});break}case`pipeDelimited`:{let e=cw(s);a.push({name:t.name,value:y6(e,t)});break}case`deepObject`:if(Array.isArray(s)){let e=aw(s,!0);if(Array.isArray(e))for(let n of e){let e=n.key||t.name;a.push({name:e,value:y6(String(n.value),t)})}else a.push({name:t.name,value:y6(String(e),t)})}else{let e=lw(t.name,s);for(let n of e)a.push({name:n.key,value:y6(n.value,t)})}break;default:a.push({name:t.name,value:y6(String(s),t)})}break;case`header`:{let e=iw(s,l);i.push({name:t.name,value:String(e)});break}case`cookie`:{let n=ow(s,l);if(Array.isArray(n))for(let r of n){let n=r.key||t.name,i=r.value===null?`null`:String(r.value);e.cookies.push({name:n,value:i})}else{let r=n===null?`null`:String(n);e.cookies.push({name:t.name,value:r})}break}}}return{url:o,headers:i,queryString:a,cookies:e.cookies}},Ige=(e,t,n,r,i)=>{switch(r){case`matrix`:if(i){if(Array.isArray(n)){let r=n.map(e=>`${t.name}=${e}`).join(`;`);return e.replace(`{;${t.name}}`,`;${r}`)}if(typeof n==`object`&&n){let r=Object.entries(n).map(([e,t])=>`${e}=${t}`).join(`;`);return e.replace(`{;${t.name}}`,`;${r}`)}return e.replace(`{;${t.name}}`,`;${t.name}=${n}`)}if(Array.isArray(n))return e.replace(`{;${t.name}}`,`;${t.name}=${n.join(`,`)}`);if(typeof n==`object`&&n){let r=Object.entries(n).map(([e,t])=>`${e},${t}`).join(`,`);return e.replace(`{;${t.name}}`,`;${t.name}=${r}`)}return e.replace(`{;${t.name}}`,`;${t.name}=${n}`);case`label`:if(i){if(Array.isArray(n))return e.replace(`{.${t.name}}`,`.${n.join(`.`)}`);if(typeof n==`object`&&n){let r=Object.entries(n).map(([e,t])=>`${e}=${t}`).join(`.`);return e.replace(`{.${t.name}}`,`.${r}`)}return e.replace(`{.${t.name}}`,`.${n}`)}if(Array.isArray(n))return e.replace(`{.${t.name}}`,`.${n.join(`,`)}`);if(typeof n==`object`&&n){let r=Object.entries(n).map(([e,t])=>`${e},${t}`).join(`,`);return e.replace(`{.${t.name}}`,`.${r}`)}return e.replace(`{.${t.name}}`,`.${n}`);case`simple`:{let r=iw(n,i);return e.replace(`{${t.name}}`,String(r))}default:return e.replace(`{${t.name}}`,String(n))}},Lge=e=>{let t={headers:[],queryString:[],cookies:[]};for(let n of e){if(n.type===`apiKey`){let e=n[`x-scalar-secret-token`]||`YOUR_SECRET_TOKEN`;if(!n.name)continue;let r={name:n.name,value:e};switch(n.in){case`header`:t.headers.push(r);break;case`query`:t.queryString.push(r);break;case`cookie`:t.cookies.push(r);break}continue}if(n.type===`http`){if(n.scheme===`basic`){let e=`${n[`x-scalar-secret-username`]||``}:${n[`x-scalar-secret-password`]||``}`,r=e===`:`?`username:password`:jw(e);t.headers.push({name:`Authorization`,value:`Basic ${r}`})}else if(n.scheme===`bearer`){let e=n[`x-scalar-secret-token`]||`YOUR_SECRET_TOKEN`;t.headers.push({name:`Authorization`,value:`Bearer ${e}`})}continue}if(n.type===`oauth2`&&n.flows){let e=Object.values(n.flows).find(e=>e[`x-scalar-secret-token`])?.[`x-scalar-secret-token`]||`YOUR_SECRET_TOKEN`;t.headers.push({name:`Authorization`,value:`Bearer ${e}`})}}return t},Rge=(e,t)=>{if(!e?.url)return t;let n=e.url;return e.variables?bo(fw(n,Object.entries(e.variables).reduce((e,[t,n])=>(n.default!==void 0&&(e[t]=n.default),e),{})),t):bo(n,t)},b6=({includeDefaultHeaders:e=!1,operation:t,contentType:n,method:r,path:i,server:a=null,example:o,securitySchemes:s,globalCookies:c,requestBodyCompositionSelection:l,defaultDisabledParameters:u=!1})=>{let d=Cse(e?dT({method:r,operation:t,exampleName:o??`default`,hideDisabledHeaders:!0,hideOverriddenHeaders:!0,options:{isElectron:To(),appVersion:Oge}}):{}),f=t[`x-scalar-disable-parameters`]?.[`global-cookies`]?.[o??`default`]??{},p={method:r,url:Rge(a,i),headers:Object.entries(d).map(([e,t])=>({name:e,value:t})),queryString:[],postData:void 0,httpVersion:`HTTP/1.1`,cookies:[],headersSize:-1,bodySize:-1};if(t.parameters){let{url:e,headers:n,queryString:r,cookies:i}=Fge({harRequest:p,parameters:t.parameters,example:o,defaultDisabled:u}),a=c?.filter(t=>Mw({cookie:t,url:e,disabledGlobalCookies:f}))?.map(e=>({name:e.name,value:e.value}))??[];p.url=e,p.headers=n,p.queryString=r,p.cookies=[...a,...i]}let m=L(t.requestBody);if(m?.content){let e=Age({requestBody:m,contentType:n,example:o,requestBodyCompositionSelection:l});if(e&&(p.postData=e,p.bodySize=e.text?.length??-1,e.mimeType)){let t=p.headers.find(e=>e.name.toLowerCase()===`content-type`);t&&!t.value?t.value=e.mimeType:t||p.headers.push({name:`Content-Type`,value:e.mimeType})}}if(s){let{headers:e,queryString:t,cookies:n}=Lge(s);p.headers.push(...e),p.queryString.push(...t),p.cookies.push(...n)}let h=0;for(let e of p.headers)h+=(e.name?.length??0)+2+(e.value?.length??0)+2;return p.headersSize=h,p},x6=`ws://replace.me`,zge=(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=`${x6}${r}${n.url}`}if(n.postData?.mimeType===`application/json`)try{JSON.parse(n.postData.text||`{}`)}catch(e){return console.error(`[getSnippet] Invalid JSON body`,e),[Error(`Invalid JSON body`),null]}let i=e.replace(`javascript`,`js`);if(p6().hasPlugin(i,t)){let e=p6().print(i,t,n);return e?[null,e.replace(`${x6}${r}`,``)]:[Error(`Error generating snippet`),null]}}catch(e){return console.error(`[getSnippet] Error generating snippet`,e),[Error(`Error generating snippet`),null]}return[Error(`No snippet found`),null]},Bge=({clientId:e,customCodeSamples:t,includeDefaultHeaders:n=!1,operation:r,method:i,path:a,example:o,contentType:s,server:c,securitySchemes:l,globalCookies:u,requestBodyCompositionSelection:d,defaultDisabledParameters:f})=>{try{if(!e)return``;if(e.startsWith(`custom`))return t[h6(t).indexOf(e)]?.source??`Custom example not found`;let p=b6({operation:r,contentType:s,method:i,path:a,server:c,securitySchemes:l,example:o,globalCookies:u,includeDefaultHeaders:n,requestBodyCompositionSelection:d,defaultDisabledParameters:f}),[m,h]=e.split(`/`),[g,_]=zge(m,h,p);return g?(console.error(`[generateCodeSnippet]`,g),g.message??`Error generating code snippet`):_}catch(e){return console.error(`[generateCodeSnippet]`,e),`Error generating code snippet`}},S6=(e,t)=>Object.entries(e??{}).map(([e,n])=>({lang:e,source:n,...t?{label:t}:{}})),Vge=e=>e?(Array.isArray(e)?e:[e]).flatMap(e=>S6(e.request,e.title)):[],Hge=e=>(e??[]).map(e=>({lang:e.language,source:e.code,...e.name?{label:e.name}:{}})),C6=`SDK`,w6=`Code Examples`,Uge=e=>{let t=e[`x-scalar-examples`]??[];if(t.length)return{label:C6,samples:t};let n=S6(e[`x-stainless-snippets`]);if(n.length)return{label:C6,samples:n};let r=Vge(e[`x-stainless-examples`]);if(r.length)return{label:C6,samples:r};let i=Hge(e[`x-readme`]?.[`code-samples`]);return i.length?{label:w6,samples:i}:{label:w6,samples:[`x-custom-examples`,`x-codeSamples`,`x-code-samples`].flatMap(t=>e[t]??[])}},Wge=(e=``)=>(e[0]?.toUpperCase()??``)+e.slice(1),Gge={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`,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:`TypeScript`,typescript:`TypeScript`,xml:`XML`,yaml:`YAML`,yml:`YAML`},Kge=e=>{if(e)return Gge[e.toLowerCase()]??Wge(e)},qge=(e,t,n=w6)=>{if(e.length){let r=h6(e);return[{label:n,key:`custom`,options:e.map((e,t)=>{let n=r[t]??`custom/${t}`,i=e.label||Kge(e.lang)||n;return{id:n,lang:e.lang||`plaintext`,title:i,label:i,clientKey:`custom`}})},...t]}return t},Jge=e=>e.flatMap(e=>e.type===`apiKey`?e[`x-scalar-secret-token`]:e?.type===`http`?[e[`x-scalar-secret-token`],e[`x-scalar-secret-username`],e[`x-scalar-secret-password`],jw(`${e[`x-scalar-secret-username`]}:${e[`x-scalar-secret-password`]}`)]:e.type===`oauth2`?Object.values(e.flows).map(e=>e[`x-scalar-secret-token`]):[]).filter(Boolean),T6={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`}},E6=e=>{let t=e.trim().toLowerCase();return T6[t]??{short:t,color:`text-c-2`,backgroundColor:`bg-c-2`}},D6=`get`,O6=e=>{if(typeof e!=`string`)return console.warn(`Request method is not a string. Using ${D6} as the default.`),D6;let t=e.trim().toLowerCase();return _T(t)?t:(console.warn(`${e||`Request method`} is not a valid request method. Using ${D6} as the default.`),D6)},k6=w({inheritAttrs:!1,__name:`ScalarCopyBackdrop`,setup(e){let{cx:t}=pc();return(e,n)=>(y(),M(`div`,qe($e(T(t)(`absolute inset-y-0.5 -z-2 left-0 right-0 bg-b-1 rounded`))),null,16))}}),Yge={"aria-hidden":`true`,class:`flex items-center py-1.5 mask-y-from-[calc(100%-8px)] mask-y-to-100%`},Xge={key:0,class:`whitespace-nowrap px-1.5`},Zge={key:0,class:`sr-only`,role:`alert`},Qge={key:1,class:`sr-only`},A6=w({inheritAttrs:!1,__name:`ScalarCopyButton`,props:Ie({showLabel:{type:Boolean},placement:{default:`right`}},{copied:{type:Boolean,default:!1},copiedModifiers:{}}),emits:[`update:copied`],setup(e){let t=le(e,`copied`),{cx:n}=pc(),r=j(()=>t.value?so:co);return(i,a)=>(y(),M(`button`,o({type:`button`},T(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`)),[D(At,{enterActiveClass:`transition-transform`,enterFromClass:`scale-0`,enterToClass:`scale-100`,leaveActiveClass:`transition-transform`,leaveFromClass:`scale-100`,leaveToClass:`scale-0`,mode:`out-in`},{default:E(()=>[(y(),O(x(r.value),{class:`size-full`}))]),_:1}),a[4]||=N(`div`,{class:`bg-inherit rounded-[inherit] absolute inset-0 -z-1`},null,-1),N(`div`,{class:v([`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`}])},[N(`div`,Yge,[D(At,{enterActiveClass:`transition-transform ease-out`,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:E(()=>[t.value?(y(),M(`div`,Xge,[S(i.$slots,`copied`,{},()=>[a[0]||=tt(`Copied`,-1)])])):(y(),M(`div`,{key:1,class:v([`whitespace-nowrap px-1.5`,{"group-hocus/copy-button:block hidden":!e.showLabel&&!t.value}])},[S(i.$slots,`copy`,{},()=>[a[1]||=tt(`Copy`,-1)])],2))]),_:3})]),t.value?(y(),M(`div`,Zge,[S(i.$slots,`copied`,{},()=>[a[2]||=tt(`Copied`,-1)])])):(y(),M(`div`,Qge,[S(i.$slots,`copy`,{},()=>[a[3]||=tt(`Copy`,-1)])])),S(i.$slots,`backdrop`,{},()=>[D(k6)])],2)],16))}}),$ge=w({__name:`ScalarCopy`,props:Ie({content:{default:``},placement:{},showLabel:{type:Boolean},duration:{default:1500},immediate:{type:Boolean}},{copied:{type:Boolean,default:!1},copiedModifiers:{}}),emits:[`update:copied`],setup(e){let t=le(e,`copied`);ue(()=>{e.immediate&&n(e.content)});let{copy:n,copied:r}=qR({legacy:!0,copiedDuring:e.duration});return Xe(r,e=>t.value=e),(i,a)=>(y(),O(A6,{copied:t.value||T(r),placement:e.placement,showLabel:e.showLabel,onClick:a[0]||=t=>T(n)(e.content)},Ce({_:2},[i.$slots.copy?{name:`copy`,fn:E(()=>[S(i.$slots,`copy`)]),key:`0`}:void 0,i.$slots.copied?{name:`copied`,fn:E(()=>[S(i.$slots,`copied`)]),key:`1`}:void 0,i.$slots.backdrop?{name:`backdrop`,fn:E(()=>[S(i.$slots,`backdrop`)]),key:`2`}:void 0]),1032,[`copied`,`placement`,`showLabel`]))}}),j6={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`,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`},e_e={class:`hidden group-hocus-within/code-block:inline`},M6=w({inheritAttrs:!1,__name:`ScalarCodeBlockCopy`,props:Ie({showLang:{type:Boolean},content:{},lang:{}},{copied:{type:Boolean,default:!1},copiedModifiers:{}}),emits:[`update:copied`],setup(e){let t=le(e,`copied`),n=j(()=>typeof e.content==`string`?e.content:JSON.stringify(e.content,null,2)),r=e=>e in j6,{cx:i}=pc();return(a,s)=>(y(),O(T($ge),o({content:n.value,showLabel:``,copied:t.value,"onUpdate:copied":s[0]||=e=>t.value=e,placement:`left`},{...T(i)(t.value?`opacity-100`:`opacity-0 group-hocus-within/code-block:opacity-100`)}),Ce({backdrop:E(()=>[S(a.$slots,`backdrop`)]),_:2},[e.lang?{name:`copy`,fn:E(()=>[N(`span`,e_e,[e.showLang?(y(),M(`span`,{key:0,class:v([`group-hocus/copy-button:sr-only`,{capitalize:!r(e.lang)}])},be(r(e.lang)?T(j6)[e.lang]:e.lang),3)):k(``,!0),N(`span`,{class:v({"group-hocus/copy-button:not-sr-only sr-only":e.showLang})},`Copy`,2)])]),key:`0`}:void 0]),1040,[`content`,`copied`]))}}),N6=e=>{if(typeof e==`string`)try{let t=JSON.parse(e);return typeof t==`object`&&t?JSON.stringify(t,null,2):e}catch{return e}return typeof e==`object`?t_e(e):e?.toString()??``};function t_e(e){let t=new Set;return JSON.stringify(e,(e,n)=>{if(typeof n==`object`&&n){if(t.has(n))return`[Circular]`;t.add(n)}return n},2)}var n_e={tabindex:`0`,class:`custom-scroll overflow-x-auto p-2 -outline-offset-2 min-h-0 min-w-0 flex-1`},r_e=[`id`,`innerHTML`],i_e=w({inheritAttrs:!1,__name:`ScalarCodeBlock`,props:{content:{},prettyPrintedContent:{},lang:{default:`plaintext`},lineNumbers:{type:Boolean,default:!1},hideCredentials:{},copy:{type:[String,Boolean],default:`hover`}},setup(e){let t=xe(),n=j(()=>e.prettyPrintedContent||N6(e.content??``)),r=j(()=>QQ(n.value,{lang:e.lang.trim(),languages:UQ,lineNumbers:e.lineNumbers,maskCredentials:e.hideCredentials}).slice(5,-6)),i=j(()=>!n.value.includes(`
228
+ `)),a=j(()=>n.value!==null&&n.value!==`null`&&n.value!==`404 Not Found`),{cx:o}=pc();return(s,c)=>(y(),M(`div`,qe($e(T(o)(`scalar-code-block group/code-block flex flex-col`,`relative bg-b-1 min-h-0 min-w-0 focus-visible:outline`))),[N(`div`,n_e,[N(`pre`,{id:T(t),class:`m-0 bg-transparent text-nowrap whitespace-pre w-fit`,innerHTML:r.value},null,8,r_e)]),e.copy&&a.value?(y(),O(T(M6),{key:0,class:v([`scalar-code-copy absolute`,[i.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:!i.value,lang:e.lang,"aria-controls":T(t)},{backdrop:E(()=>[D(k6,{class:v([`scalar-code-copy-backdrop`,[i.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`])):k(``,!0)],16))}}),a_e={key:0,class:`shrink-0 whitespace-nowrap text-xs tabular-nums text-c-3`},o_e=[`disabled`],s_e=[`disabled`],c_e=IT(w({__name:`ScalarVirtualTextSearch`,props:{query:{},matchCount:{},activeMatchIndex:{}},emits:[`update:query`,`next`,`prev`,`close`],setup(e,{expose:t,emit:n}){let r=e,i=n,a=A(null),o=A(r.query);Xe(()=>r.query,e=>{o.value=e}),Xe(o,e=>{i(`update:query`,e)});let s=()=>{Pe(()=>a.value?.focus())},c=e=>{e.key===`Enter`&&(e.preventDefault(),e.shiftKey?i(`prev`):i(`next`)),e.key===`Escape`&&(e.preventDefault(),i(`close`))};return t({focus:s}),(t,n)=>(y(),M(`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:n[4]||=Ln(()=>{},[`stop`])},[D(T(lo),{class:`pointer-events-none size-3.5 shrink-0 text-c-3`}),We(N(`input`,{ref_key:`searchInputRef`,ref:a,"onUpdate:modelValue":n[0]||=e=>o.value=e,"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:c},null,544),[[wn,o.value]]),o.value?(y(),M(`span`,a_e,be(e.matchCount>0?`${e.activeMatchIndex+1} of ${e.matchCount}`:`No results`),1)):k(``,!0),n[5]||=N(`span`,{class:`mx-0.5 h-3.5 w-px bg-b-3`},null,-1),N(`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:n[1]||=e=>i(`prev`)},[D(T(See),{class:`size-3`})],8,o_e),N(`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:n[2]||=e=>i(`next`)},[D(T(Xa),{class:`size-3`})],8,s_e),N(`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:n[3]||=e=>i(`close`)},[D(T(ho),{class:`size-3`})])]))}}),[[`__scopeId`,`data-v-95edadbb`]]),l_e={key:0,class:`sticky top-0 z-10 flex h-0 w-full justify-end overflow-visible`},u_e=IT(w({__name:`ScalarVirtualText`,props:{text:{},lineHeight:{default:20},containerClass:{default:``},contentClass:{default:``},lineClass:{default:``},searchable:{type:Boolean,default:!1}},setup(e){let t=e,n=A(null),r=A(null),i=A(0),a=A(0),o=A(``),s=A(!1),c=A(0),l=j(()=>t.text.split(`
229
+ `)),u=j(()=>l.value.length*t.lineHeight),d=j(()=>Math.floor(i.value/t.lineHeight)),f=j(()=>Math.min(Math.ceil((i.value+a.value)/t.lineHeight),l.value.length)),p=j(()=>Math.max(0,d.value-10)),m=j(()=>{let e=Math.min(l.value.length,f.value+10);return l.value.slice(p.value,e)}),h=j(()=>p.value*t.lineHeight),g=j(()=>{let e=o.value;if(!e)return[];let t=e.toLowerCase(),n=[];for(let r=0;r<l.value.length;r++){let i=l.value[r];if(!i)continue;let a=i.toLowerCase(),o=0;for(;o<a.length;){let i=a.indexOf(t,o);if(i===-1)break;n.push({line:r,start:i,end:i+e.length}),o=i+t.length}}return n}),b=j(()=>{let e=new Set;for(let t of g.value)e.add(t.line);return e});Xe(()=>g.value.length,e=>{e===0?c.value=0:c.value>=e&&(c.value=e-1)});let ee=e=>{if(!n.value)return;let r=e.line*t.lineHeight,i=n.value.scrollTop,a=i+n.value.clientHeight;(r<i||r+t.lineHeight>a)&&(n.value.scrollTop=r-n.value.clientHeight/2)},x=e=>{let t=g.value[e];t&&(c.value=e,ee(t))},S=()=>{g.value.length!==0&&x((c.value+1)%g.value.length)},ne=()=>{g.value.length!==0&&x((c.value-1+g.value.length)%g.value.length)},re=()=>{s.value=!0,Pe(()=>r.value?.focus())},ie=()=>{s.value=!1,o.value=``,c.value=0},ae=e=>{t.searchable&&((e.metaKey||e.ctrlKey)&&e.key===`f`&&(e.preventDefault(),e.stopPropagation(),re()),e.key===`Escape`&&s.value&&(e.preventDefault(),ie()))};Xe(o,()=>{c.value=0;let e=g.value[0];e&&ee(e)});let oe=()=>n.value&&(i.value=n.value.scrollTop),C=()=>n.value&&(a.value=n.value.clientHeight);ue(()=>{C(),window.addEventListener(`resize`,C)}),se(()=>{window.removeEventListener(`resize`,C)});let ce=e=>{let t=l.value[e]??``;if(!o.value||!b.value.has(e))return[{text:t,highlight:!1,active:!1}];let n=g.value.filter(t=>t.line===e),r=[],i=0;for(let e of n){e.start>i&&r.push({text:t.slice(i,e.start),highlight:!1,active:!1});let n=g.value.indexOf(e)===c.value;r.push({text:t.slice(e.start,e.end),highlight:!0,active:n}),i=e.end}return i<t.length&&r.push({text:t.slice(i),highlight:!1,active:!1}),r},le=e=>p.value+e;return(i,a)=>(y(),M(`div`,{ref_key:`containerRef`,ref:n,class:v([`scalar-virtual-text relative overflow-auto`,e.containerClass]),tabindex:`0`,onKeydown:ae,onScroll:oe},[e.searchable&&s.value?(y(),M(`div`,l_e,[D(c_e,{ref_key:`searchRef`,ref:r,query:o.value,"onUpdate:query":a[0]||=e=>o.value=e,activeMatchIndex:c.value,matchCount:g.value.length,onClose:ie,onNext:S,onPrev:ne},null,8,[`query`,`activeMatchIndex`,`matchCount`])])):k(``,!0),N(`div`,{style:te({height:`${u.value}px`})},null,4),N(`code`,{class:v([`scalar-virtual-text-content absolute left-0 right-0 top-0`,e.contentClass]),style:te({transform:`translateY(${h.value}px)`})},[(y(!0),M(Ne,null,_(m.value,(n,r)=>(y(),M(`div`,{key:p.value+r,class:v([`scalar-virtual-text-line`,e.lineClass]),style:te({height:`${t.lineHeight}px`,lineHeight:`${t.lineHeight}px`})},[o.value&&b.value.has(le(r))?(y(!0),M(Ne,{key:0},_(ce(le(r)),(e,t)=>(y(),M(Ne,{key:t},[e.highlight?(y(),M(`mark`,{key:0,class:v([`scalar-virtual-text-highlight`,e.active?`scalar-virtual-text-highlight-active`:``])},be(e.text),3)):(y(),M(Ne,{key:1},[tt(be(e.text),1)],64))],64))),128)):(y(),M(Ne,{key:1},[tt(be(n),1)],64))],6))),128))],6)],34))}}),[[`__scopeId`,`data-v-b50a85e1`]]),P6=(e={})=>{let{delay:t=328,maxWait:n}=e,r=new Map,i=new Map,a=new Map,o=()=>{r.forEach(clearTimeout),i.forEach(clearTimeout),r.clear(),i.clear(),a.clear()},s=e=>{let t=a.get(e),n=r.get(e);n!==void 0&&(clearTimeout(n),r.delete(e));let o=i.get(e);if(o!==void 0&&(clearTimeout(o),i.delete(e)),a.delete(e),t!==void 0)try{t()}catch{}};return{execute:(e,o)=>{a.set(e,o);let c=r.get(e);c!==void 0&&clearTimeout(c),r.set(e,setTimeout(()=>s(e),t)),n!==void 0&&!i.has(e)&&i.set(e,setTimeout(()=>s(e),n))},cleanup:o,flush:e=>{a.has(e)&&s(e)},flushAll:()=>{let e=[...a.keys()];for(let t of e)s(t)}}},d_e=(e={})=>{let{debug:t=!1}=e,n=new Map,r=new Set,i=[],a=null,{execute:o,flushAll:s}=P6({delay:328}),c=e=>{let t=n.get(e)??new Set;return n.set(e,t),t},l=()=>{if(i.length!==0){if(t)if(i.length===1){let e=i[0];e&&console.log(`[EventBus] ${e.message}`,...e.args)}else{console.groupCollapsed(`[EventBus] ${i.length} operations`);for(let{message:e,args:t}of i)console.log(e,...t);console.groupEnd()}i.length=0,a=null}},u=(e,...n)=>{t&&(i.push({message:e,args:n}),a&&clearTimeout(a),a=setTimeout(l,500))},d=(e,t)=>{let n=r=>{p(e,n),t(r)};return f(e,n)},f=(e,t)=>{let n=c(e);return n.add(t),u(`Added listener for "${String(e)}" (${n.size} total)`),()=>p(e,t)},p=(e,t)=>{let r=n.get(e);r&&(r.delete(t),u(`Removed listener for "${String(e)}" (${r.size} remaining)`),r.size===0&&n.delete(e))},m=e=>(r.add(e),u(`Added wildcard listener (${r.size} total)`),()=>h(e)),h=e=>{r.delete(e),u(`Removed wildcard listener (${r.size} remaining)`)},g=(e,t,i)=>{let a=i?.skipUnpackProxy?t:Wc(t,{depth:5}),o=n.get(e),s=o!==void 0&&o.size>0;if(!s&&r.size===0){u(`🛑 No listeners for "${String(e)}"`);return}if(s&&o){u(`Emitting "${String(e)}" to ${o.size} listener(s)`,t);let n=Array.from(o);for(let t of n)try{t(a)}catch(t){console.error(`[EventBus] Error in listener for "${String(e)}":`,t)}}if(r.size>0){u(`Emitting "${String(e)}" to ${r.size} wildcard listener(s)`,t);let n={event:e,payload:a},i=Array.from(r);for(let t of i)try{t(n)}catch(t){console.error(`[EventBus] Error in wildcard listener for "${String(e)}":`,t)}}};return{on:f,once:d,off:p,onAny:m,offAny:h,emit:(...e)=>{let[t,n,r]=e;if(!r?.debounceKey){g(t,n,r);return}o(`${t}-${r.debounceKey}`,()=>g(t,n,r))},flushDebouncedEmits:()=>{s()}}};async function f_e({defaultValue:e,validation:t,transformation:n,maxRetries:r=5}){let i=n?.(e)??e;return await t(i)?i:F6({value:[i,1],validation:t,maxRetries:r,transformation:n})}async function F6({value:e,validation:t,maxRetries:n,attempts:r=0,transformation:i}){if(r>=n)return;let a=e.join(` `),o=i?.(a)??a;return await t(o)?o:F6({value:[e[0],e[1]+1],validation:t,maxRetries:n,transformation:i,attempts:r+1})}var I6=e=>e!==void 0&&Object.keys(e).length>0,L6=e=>{if(mT(e)||hT(e))return e[`x-scalar-navigation`]?.name||void 0},R6=e=>mT(e)?e.components?.securitySchemes??{}:hT(e)?(e.components?L(e.components):void 0)?.securitySchemes??{}:{},z6=e=>hT(e)?`availableScopes`:`scopes`,p_e=async(e,t,{selectedRequirements:n,newSchemes:r,meta:i})=>{let a=L6(t);if(!a)return;let o=()=>i.type===`document`?e?.auth.getAuthSelectedSchemas({type:`document`,documentName:a}):e?.auth.getAuthSelectedSchemas({type:`operation`,documentName:a,path:i.path,method:i.method}),s=[];if(mT(t)){let e=await Promise.all(r.map(async e=>{let n=await f_e({defaultValue:e.name,validation:e=>!t.components?.securitySchemes?.[e],maxRetries:100});if(n)return t.components||={},t.components.securitySchemes||(t.components.securitySchemes={}),t.components.securitySchemes[n]=e.scheme,{[n]:[]}}));s.push(...e.filter(Boolean))}let c=o(),l=[...n,...s],u=()=>c?.selectedIndex?c.selectedIndex>=l.length?l.length-1:c.selectedIndex:0;return i.type===`document`?e?.auth.setAuthSelectedSchemas({type:`document`,documentName:a},{selectedIndex:u(),selectedSchemes:l}):e?.auth.setAuthSelectedSchemas({type:`operation`,documentName:a,path:i.path,method:i.method},{selectedIndex:u(),selectedSchemes:l})},m_e=(e,t,{meta:n})=>{let r=L6(t);if(r)return n.type===`document`?e?.auth.clearAuthSelectedSchemas({type:`document`,documentName:r}):e?.auth.clearAuthSelectedSchemas({type:`operation`,documentName:r,path:n.path,method:n.method})},h_e=(e,{payload:t,name:n})=>{if(!mT(e)&&!hT(e))return;let r=L(R6(e)[n]);if(!r){console.error(`Security scheme ${n} not found`);return}let i=r.type;if(i===t.type||i===`httpApiKey`&&t.type===`apiKey`){let e=r.type;kT(r,t),r.type=e}return r},g_e=(e,t,{payload:n,name:r,overwrite:i=!1})=>{let a=L6(t);if(!a)return;if(i){e?.auth.setAuthSecrets(a,r,n);return}let o=e?.auth.getAuthSecrets(a,r),s=kT(Wc(o,{depth:1})??{},n);e?.auth.setAuthSecrets(a,r,s)},__e=(e,t,{name:n})=>{let r=L6(t);r&&e?.auth.clearAuthSecrets(r,n)},v_e=(e,t,{index:n,meta:r})=>{let i=L6(t);if(!i||r.type===`operation`&&(!mT(t)||yT(t.paths?.[r.path],r.method)===void 0))return;let a=r.type===`document`?e?.auth.getAuthSelectedSchemas({type:`document`,documentName:i}):e?.auth.getAuthSelectedSchemas({type:`operation`,documentName:i,path:r.path,method:r.method});if(!a)return r.type===`document`?e?.auth.setAuthSelectedSchemas({type:`document`,documentName:i},{selectedIndex:n,selectedSchemes:[]}):e?.auth.setAuthSelectedSchemas({type:`operation`,documentName:i,path:r.path,method:r.method},{selectedIndex:n,selectedSchemes:[]});e?.auth.setAuthSelectedSchemas(r.type===`document`?{type:`document`,documentName:i}:{type:`operation`,documentName:i,path:r.path,method:r.method},{selectedIndex:n,selectedSchemes:Wc(a.selectedSchemes,{depth:null})??[]})},y_e=(e,t)=>{let n=[...Object.keys(e)].sort((e,t)=>e.localeCompare(t)),r=[...t].sort((e,t)=>e.localeCompare(t));return JSON.stringify(n)===JSON.stringify(r)},b_e=(e,t,{id:n,name:r,scopes:i,meta:a})=>{let o=L6(t);if(!o)return;let s=(a.type===`document`?e?.auth.getAuthSelectedSchemas({type:`document`,documentName:o}):e?.auth.getAuthSelectedSchemas({type:`operation`,documentName:o,path:a.path,method:a.method}))??DT(void 0,void 0,[],R6(t),n.length===1?n[0]:n),c=Wc(s.selectedSchemes,{depth:1})??[],l=c.find(e=>y_e(e,n));I6(l)&&(l[r]=i,e?.auth.setAuthSelectedSchemas(a.type===`document`?{type:`document`,documentName:o}:{type:`operation`,documentName:o,path:a.path,method:a.method},{selectedIndex:s.selectedIndex,selectedSchemes:c}))},B6=(e,t,n)=>{let r=L(R6(e)[t]);if(!r||r.type!==`oauth2`&&r.type!==`openIdConnect`)return null;let i=r.flows?.[n];return i?L(i):null},V6=(e,t,n)=>{let r=L6(t);if(!e||!r)return;let i=t=>{let r=e.auth.getAuthSelectedSchemas(t);if(!r)return;let i=Wc(r.selectedSchemes,{depth:1})??[];n(i),e.auth.setAuthSelectedSchemas(t,{selectedIndex:r.selectedIndex,selectedSchemes:i})};i({type:`document`,documentName:r}),mT(t)&&Object.entries(t.paths??{}).forEach(([e,t])=>{ST(t,t=>{i({type:`operation`,documentName:r,path:e,method:t})})})},x_e=(e,t,{name:n,flowType:r,scope:i,description:a,oldScope:o,enable:s})=>{if(!mT(t)&&!hT(t))return;let c=B6(t,n,r);if(!c)return;let l=z6(t);c[l]||(c[l]={});let u=c[l],d=!!o&&o!==i;if(d){if(!(o in u))return;delete u[o]}u[i]=a,!(!d&&!s)&&V6(e,t,e=>{e.forEach(e=>{if(!I6(e))return;let t=e[n];if(!Array.isArray(t))return;let r=t;d&&r.includes(o)&&(r=r.map(e=>e===o?i:e)),s&&!r.includes(i)&&(r=[...r,i]),r!==t&&(e[n]=r)})})},S_e=(e,t,{name:n,flowType:r,scope:i})=>{if(!mT(t)&&!hT(t))return;let a=B6(t,n,r)?.[z6(t)];a&&(delete a[i],V6(e,t,e=>{e.forEach(e=>{if(!I6(e))return;let t=e[n];!Array.isArray(t)||!t.includes(i)||(e[n]=t.filter(e=>e!==i))})}))},C_e=(e,t,{names:n})=>{if(!mT(t))return;let r=t[`x-scalar-navigation`]?.name;if(!r)return;let i=L(t.components?.securitySchemes);if(!i)return;n.forEach(e=>{delete i[e]});let a=(e,t)=>Math.max(0,Math.min(e,t-1)),o=e=>(Wc(e,{depth:1})??[]).filter(e=>!n.some(t=>Object.keys(e).includes(t))),s=e?.auth.getAuthSelectedSchemas({type:`document`,documentName:r});if(s){let t=o(s.selectedSchemes);e?.auth.setAuthSelectedSchemas({type:`document`,documentName:r},{selectedIndex:a(s.selectedIndex,t.length),selectedSchemes:t})}t.security&&=o(t.security),Object.entries(t.paths??{}).forEach(([t,n])=>{ST(n,(n,i)=>{let s=L(i);`security`in s&&s.security&&(s.security=o(s.security));let c=e?.auth.getAuthSelectedSchemas({type:`operation`,documentName:r,path:t,method:n});if(c){let i=o(c.selectedSchemes);e?.auth.setAuthSelectedSchemas({type:`operation`,documentName:r,path:t,method:n},{selectedIndex:a(c.selectedIndex,i.length),selectedSchemes:i})}})})},w_e=({document:e,store:t})=>({updateSelectedSecuritySchemes:n=>p_e(t,e,n),clearSelectedSecuritySchemes:n=>m_e(t,e,n),updateSecurityScheme:t=>h_e(e,t),updateSecuritySchemeSecrets:n=>g_e(t,e,n),clearSecuritySchemeSecrets:n=>__e(t,e,n),updateSelectedAuthTab:n=>v_e(t,e,n),updateSelectedScopes:n=>b_e(t,e,n),upsertScope:n=>x_e(t,e,n),deleteScope:n=>S_e(t,e,n),deleteSecurityScheme:n=>C_e(t,e,n)}),T_e=(e,{payload:t,index:n})=>{if(!e||hT(e))return;if(e[`x-scalar-cookies`]||=[],n!==void 0){if(n<0||n>=e[`x-scalar-cookies`].length)return;let r=wx(Qx,{...e[`x-scalar-cookies`][n],...t});return e[`x-scalar-cookies`][n]=r,r}let r=wx(Qx,t);return e[`x-scalar-cookies`].push(r),r},E_e=(e,{index:t})=>!e||hT(e)||!e[`x-scalar-cookies`]||t<0||t>=e[`x-scalar-cookies`].length?!1:(e[`x-scalar-cookies`].splice(t,1),!0),H6=({collection:e})=>({upsertCookie:t=>T_e(e,t),deleteCookie:t=>E_e(e,t)}),D_e=(e,t)=>{mT(e)&&kT(e,t)},O_e=(e,t)=>{mT(e)&&(e[`x-scalar-watch-mode`]=t)},k_e=(e,t)=>{mT(e)&&(kT(e.info,t),e[`x-scalar-navigation`]&&t.title!==void 0&&(e[`x-scalar-navigation`].title=t.title?.trim()||`Untitled Document`))},A_e=(e,t)=>{!mT(e)||!e[`x-scalar-navigation`]||(e[`x-scalar-icon`]=t,e[`x-scalar-navigation`].icon=t)},j_e=async(e,t)=>{if(e){if(e.workspace.documents[t.name]){t.callback?.(!1);return}await e.addDocument({name:t.name,document:{openapi:`3.1.0`,info:{title:t.name,version:`1.0.0`},paths:{"/":{get:{}}},"x-scalar-icon":t.icon}}),t.callback?.(!0)}},M_e=(e,t)=>{e&&e.deleteDocument(t.name)},N_e=({document:e,store:t})=>({updateDocumentExtension:t=>D_e(e,t),updateDocumentInfo:t=>k_e(e,t),updateWatchMode:t=>O_e(e,t),updateDocumentIcon:t=>A_e(e,t),createEmptyDocument:e=>j_e(t,e),deleteDocument:e=>M_e(t,e)}),P_e=(e,t,{environmentName:n,payload:r,oldEnvironmentName:i})=>{if(!t||!e||hT(t))return;t[`x-scalar-environments`]||={};let a=!t[`x-scalar-environments`][i??n],o=wx(Ox,{...Wc(t[`x-scalar-environments`][i??n],{depth:1}),...r});return t[`x-scalar-environments`][n]=o,i&&i!==n&&(delete t[`x-scalar-environments`][i],e[`x-scalar-active-environment`]===i&&(e[`x-scalar-active-environment`]=n)),a&&(e[`x-scalar-active-environment`]=n),o},F_e=(e,t,{environmentName:n})=>{!t||!e||hT(t)||delete t[`x-scalar-environments`]?.[n]},I_e=(e,{environmentName:t,variable:n,index:r})=>{if(!e||hT(e))return;if(!e[`x-scalar-environments`]?.[t]){console.error(`Environment not found`,t);return}let i=wx(Ex,n);if(r!==void 0){if(i.name===``){e[`x-scalar-environments`][t].variables.splice(r,1);return}e[`x-scalar-environments`][t].variables[r]=i}else e[`x-scalar-environments`][t].variables.push(i);return i},L_e=(e,{environmentName:t,index:n})=>{if(!(!e||hT(e))){if(!e[`x-scalar-environments`]?.[t]){console.error(`Environment not found`,t);return}e[`x-scalar-environments`][t]?.variables?.splice(n,1)}},U6=({workspace:e,collection:t})=>({upsertEnvironment:n=>P_e(e,t,n),deleteEnvironment:n=>F_e(e,t,n),upsertEnvironmentVariable:e=>I_e(t,e),deleteEnvironmentVariable:e=>L_e(t,e)}),R_e=(e,t)=>e&&e.workspace.documents[t]||null,W6=(e,t,n)=>{if(!mT(e))return null;let r=L(yT(e.paths?.[n.path],n.method));if(!r)return null;let i=L(r.requestBody);return i||=(r.requestBody={content:{}},L(r.requestBody)),i.content[t]||={},i.content[t].examples||={},i.content[t].examples[n.exampleKey]||={},L(i.content[t].examples?.[n.exampleKey])??null},z_e=(e,{meta:t,payload:n})=>{if(!mT(e))return;let r=L(yT(e.paths?.[t.path],t.method));if(!r)return;let i=L(r.requestBody);i||=(r.requestBody={content:{}},L(r.requestBody)),i[`x-scalar-selected-content-type`]||={},i[`x-scalar-selected-content-type`][t.exampleKey]=n.contentType},B_e=(e,{meta:t,payload:n,contentType:r})=>{let i=W6(e,r,t);if(!i){console.error(`Example not found`,t.exampleKey);return}i.value=n},V_e=(e,{meta:t,payload:n,contentType:r})=>{let i=W6(e,r,t);if(!i){console.error(`Example not found`,t.exampleKey);return}i.value=Wc(n,{depth:3})},H_e=(e,{meta:t,payload:n})=>{if(!mT(e))return;let r=L(yT(e.paths?.[t.path],t.method));r&&kT(r,n)},U_e=async({requestPayload:e,includeBody:t=!0,httpVersion:n=`HTTP/1.1`,bodySizeLimit:r=1048576})=>{let[i,a]=e,o=new URL(i),s=Array.from(o.searchParams.entries()).map(([e,t])=>({name:e,value:t})),c=new Headers(a.headers),l=c.get(`content-type`)?.split(`;`)[0]?.trim()??`text/plain`,{headers:u,headersSize:d,cookies:f}=q_e(c),p=await(async()=>{if(t&&a.body!=null){let e=await W_e(a.body,l);if(e.size<=r)return e}return{text:``,size:-1}})();return{method:a.method??`GET`,url:i,httpVersion:n,headers:u,cookies:f,queryString:s,headersSize:d,bodySize:p.size,postData:`params`in p?{mimeType:l,params:p.params}:{mimeType:l,text:p.text}}},W_e=async(e,t)=>e instanceof FormData?G_e(e):e instanceof URLSearchParams?K_e(e):t.includes(`application/octet-stream`)?{text:``,size:-1}:typeof e==`string`?{text:e,size:new TextEncoder().encode(e).byteLength}:e instanceof Blob?{text:await e.text(),size:e.size}:e instanceof ArrayBuffer||ArrayBuffer.isView(e)?{text:new TextDecoder().decode(e),size:e.byteLength}:{text:``,size:-1},G_e=e=>Array.from(e.entries()).reduce((e,[t,n])=>{if(n instanceof File){let r=`@${n.name}`;return e.params.push({name:t,value:r}),e.size+=r.length,e}return e.params.push({name:t,value:n}),e.size+=n.length,e},{params:[],size:0}),K_e=e=>Array.from(e.entries()).reduce((e,[t,n])=>(e.params.push({name:t,value:n}),e.size+=t.length+n.length,e),{params:[],size:0}),q_e=e=>Array.from(e.entries()).reduce((e,[t,n])=>{if(t.toLowerCase()===`cookie`){let t=J_e(n);e.cookies.push(...t.cookies)}else e.headers.push({name:t,value:n}),e.headersSize+=t.length+2+n.length+2;return e},{headers:[],headersSize:0,cookies:[]}),J_e=e=>e.split(`;`).reduce((e,t)=>{let n=t.trim(),r=n.indexOf(`=`);if(r===-1)return e;let i=n.substring(0,r).trim(),a=n.substring(r+1).trim();return e.cookies.push({name:i,value:a}),e.size+=i.length+2+a.length+2,e},{cookies:[],size:0}),Y_e=async({response:e,includeBody:t=!0,httpVersion:n=`HTTP/1.1`,bodySizeLimit:r=1048576})=>{let{headers:i,headersSize:a,cookies:o}=X_e(e),s=e.headers.get(`location`)||``,c=e.headers.get(`content-type`)??`text/plain`,l=await(async()=>{if(t&&e.body){let t=await Z_e(e.clone());if(t.size<=r)return t}return{text:``,size:-1,encoding:void 0}})();return{status:e.status,statusText:e.statusText,httpVersion:n,headers:i,cookies:o,content:{size:l.size,mimeType:c,text:l.text,encoding:l.encoding},redirectURL:s,headersSize:a,bodySize:l.size}},X_e=e=>Array.from(e.headers.entries()).reduce((e,[t,n])=>{if(e.headers.push({name:t,value:n}),e.headersSize+=t.length+2+n.length+2,t.toLowerCase()===`set-cookie`){let t=$_e(n);t&&e.cookies.push(t)}return e},{headers:[],headersSize:0,cookies:[]}),Z_e=async e=>{let t=e.headers.get(`content-type`);if(!t||!Q_e(t))return{text:``,size:-1,encoding:void 0};try{let t=await e.arrayBuffer(),n=t.byteLength;return{text:new TextDecoder(`utf-8`).decode(t),size:n,encoding:void 0}}catch{return{text:``,size:-1,encoding:void 0}}},Q_e=e=>{let t=e.toLowerCase();return!!(t.startsWith(`text/`)||t.includes(`application/json`)||t.includes(`+json`)||t.includes(`application/xml`)||t.includes(`text/xml`)||t.includes(`+xml`)||t.includes(`application/javascript`)||t.includes(`application/x-javascript`)||t.includes(`application/x-www-form-urlencoded`)||t.includes(`application/graphql`))},$_e=e=>{let t=e.split(`;`);if(t.length===0||!t[0])return null;let n=t[0].trim(),r=n.indexOf(`=`);return r===-1?null:{name:n.substring(0,r).trim(),value:n.substring(r+1).trim()}},eve=(e,t,n)=>{e.forEach(e=>{let r=L(e);pT(r)||(nve(L(e),n,!0),r.in===`path`&&(r.examples||={},r.examples[n]={value:t[r.name]??``,"x-disabled":!1}))})},tve=({harRequest:e,exampleKey:t,baseOperation:n={},pathVariables:r={}})=>{if(n.parameters||=[],eve(n.parameters,r,t),e.queryString&&e.queryString.length>0)for(let r of e.queryString){let e=G6(n.parameters,r.name,`query`);!e||pT(e)||(e.examples||={},e.examples[t]={value:r.value,"x-disabled":!1})}if(e.headers&&e.headers.length>0)for(let r of e.headers){let e=G6(n.parameters,r.name,`header`);!e||pT(e)||(e.examples||={},e.examples[t]={value:r.value,"x-disabled":!1})}if(e.cookies&&e.cookies.length>0)for(let r of e.cookies){let e=G6(n.parameters,r.name,`cookie`);!e||pT(e)||(e.examples||={},e.examples[t]={value:r.value,"x-disabled":!1})}if(e.postData){let{mimeType:r,text:i,params:a}=e.postData;n.requestBody||={content:{}};let o=L(n.requestBody);o.content[r]||(o.content[r]={schema:{type:`object`}});let s=o.content[r];if(!s)return n;s.examples||={};let c;if(a&&a.length>0){c=[];for(let e of a)c.push({name:e.name,value:e.value,"x-disabled":!1})}else c=i;s.examples[t]={value:c,"x-disabled":!1},o[`x-scalar-selected-content-type`]||={},o[`x-scalar-selected-content-type`][t]=r}return n},nve=(e,t,n)=>{pT(e)||e.examples?.[t]&&(L(e.examples[t])[`x-disabled`]=n)},G6=(e,t,n)=>{for(let r of e){let e=L(r);if(!pT(e)&&e.in===n&&(n===`header`?e.name.toLowerCase()===t.toLowerCase():e.name===t))return e}let r={name:t,in:n,schema:{type:`string`}};return e.push(r),r},rve=async(e,t,{payload:n,meta:r})=>{if(!mT(t))return;let i=t[`x-scalar-navigation`]?.name;if(!i||!n)return;let a=L(yT(t.paths?.[r.path],r.method));if(!a)return;let o=(a.parameters??[]).reduce((e,t)=>{let n=L(t);return pT(n)||n.in===`path`&&(e[n.name]=L(n.examples?.[r.exampleKey])?.value??``),e},{}),s=await U_e({requestPayload:n.requestPayload}),c=await Y_e({response:n.response});e?.history.addHistory(i,r.path,r.method,{response:c,request:s,meta:{example:r.exampleKey},time:n.duration,timestamp:n.timestamp,requestMetadata:{variables:o}})},ive=(e,t,{meta:n,index:r,callback:i})=>{if(!mT(t)){console.error(`Document not found`,n.path,n.method);return}let a=L(yT(t.paths?.[n.path],n.method));if(!a){console.error(`Operation not found`,n.path,n.method);return}let o=e?.history.getHistory(t[`x-scalar-navigation`]?.name??``,n.path,n.method)?.[r];if(!o){console.error(`History item not found`,r);return}tve({harRequest:o.request,exampleKey:`draft`,baseOperation:a,pathVariables:o.requestMetadata.variables}),i(`success`)},K6=(e,{includePath:t=!0,includeEnv:n=!0}={})=>[t&&go.PATH,n&&go.VARIABLES].flatMap(t=>t?[...e.matchAll(t)].map(e=>e[1]?.trim()).filter(e=>e!==void 0):[]),q6=(e,t)=>{let n={};for(let r of t){let t=e.indexOf(`{${r}}`);t!==-1&&(n[r]=t)}return n},J6=(e,t,n,r)=>{let i=K6(t,{includePath:!0,includeEnv:!1}).filter(e=>e!==void 0),a=K6(e,{includePath:!0,includeEnv:!1}).filter(e=>e!==void 0),o=q6(t,i),s=q6(e,a),c=Object.create(null);for(let e of n){let t=r(e);t?.in===`path`&&(c[t.name]=e)}let l=new Set,u=new Set,d=[];for(let e of a){if(c[e]){l.add(e),u.add(c[e]);continue}let t=s[e],n=i.find(e=>o[e]===t&&!l.has(e));if(n&&c[n]!==void 0){let t=c[n];t&&(r(t).name=e,u.add(t)),l.add(n);continue}d.push({in:`path`,name:e})}let f=[];for(let e of n){let t=r(e),n=Wc(e,{depth:1});if(t?.in!==`path`){f.push(n);continue}u.has(e)&&f.push(n)}return f.concat(d)},Y6=(e,t)=>{if(t)return t.type===e?t:Y6(e,t.parent)},ave=e=>e.type===`document`||e.type===`tag`||e.type===`operation`,ove=({store:e,entry:t})=>{let n=Y6(`document`,t);if(!n)return null;let r=e.workspace.documents[n.name];return r?t.type===`document`?r:mT(r)?t.type===`tag`?r.tags?.find(e=>e.name===t.name)??null:t.type===`operation`?L(yT(r.paths?.[t.path],t.method))??null:null:null:null},X6=e=>{let t=new Map,n=(e,n)=>{let r=t.get(e);r?r.push(n):t.set(e,[n])},r=(e,t)=>{if(e)for(let i of e)i.type===`operation`?n(`${i.path}|${i.method}`,{...i,parent:t}):i.type===`webhook`?n(`${i.name}|${i.method}`,{...i,parent:t}):`children`in i&&i.children&&r(i.children,{...i,parent:t})};return r(e.children,e),t},sve=e=>{let t=new Map,n=(e,n)=>{let r=t.get(e);r?r.push(n):t.set(e,[n])},r=(e,t)=>{if(e)for(let i of e)i.type===`tag`?(n(i.name,{...i,parent:t}),r(i.children,{...i,parent:t})):`children`in i&&i.children&&r(i.children,{...i,parent:t})};return r(e.children,e),t},cve=/[^\p{L}\p{M}\p{N}\s_-]/gu,lve=/[\s_-]+/g,uve=/^-+|-+$/g,dve=/\p{M}/gu,Z6=new Map,Q6=(e,t={})=>{let{allowedSpecialChars:n=``,preserveCase:r=!1,normalizationForm:i=`NFC`,stripAccents:a=!1}=t,o=(()=>{if(n.length===0)return cve;let e=Z6.get(n);if(e)return e;let t=n.replace(/[-[\]{}()*+?.,\\^$|#\s]/g,`\\$&`),r=RegExp(`[^\\p{L}\\p{M}\\p{N}\\s_\\-${t}]`,`gu`);return Z6.set(n,r),r})(),s=e.slice(0,255).trim(),c=a?s.normalize(`NFD`).replace(dve,``):s.normalize(i);return(r?c:c.toLowerCase()).replace(o,``).replace(lve,`-`).replace(uve,``)},$6=(e,t)=>{let n=t?.modelsSectionLabel??`Models`,r=Q6(n),i=n=>{let a=Q6(e);if(n.type===`text`)return t?.generateHeadingSlug?t?.generateHeadingSlug({slug:n.slug}):n.slug?`${a}/description/${n.slug}`:`${a}/`;if(n.type===`tag`){let e=n.isGroup?`tag-group`:`tag`;return t?.generateTagSlug?`${a}/${e}/${t.generateTagSlug(n.tag)}`:`${a}/${e}/${Q6(n.tag.name??``)}`}if(n.type===`asyncapi-channel`)return`${n.parentTag?`${i({type:`tag`,tag:n.parentTag.tag,parentId:n.parentTag.id})}/`:`${a}/`}asyncapi-channel/${Q6(n.channelName)}`;if(n.type===`asyncapi-message`)return`${n.parentId}/asyncapi-message/${Q6(n.messageName)}`;if(n.type===`asyncapi-operation`)return`${n.parentId}/asyncapi-operation/${Q6(n.operationName)}`;if(n.type===`operation`){let e=n.parentTag?`${i({type:`tag`,tag:n.parentTag.tag,parentId:n.parentTag.id})}/`:`${a}/`;return t?.generateOperationSlug?`${e}${t.generateOperationSlug({path:n.path,operationId:n.operation.operationId,method:n.method.toUpperCase(),summary:n.operation.summary})}`:`${e}${n.method.toUpperCase()}${n.path}`}if(n.type===`webhook`){let e=n.parentTag?`${i({type:`tag`,parentId:n.parentTag.id,tag:n.parentTag.tag})}/`:`${a}/`;return t?.generateWebhookSlug?`${e}webhook/${t.generateWebhookSlug({name:n.name,method:n.method?.toUpperCase()})}`:`${e}webhook/${n.method?.toUpperCase()}/${Q6(n.name)}`}if(n.type===`model`){if(!n.name)return`${a}/${r}`;let e=n.parentTag?`${i({type:`tag`,parentId:n.parentTag.id,tag:n.parentTag.tag})}/`:`${a}/`;return t?.generateModelSlug?`${e}${r}/${t.generateModelSlug({name:n.name})}`:`${e}${r}/${Q6(n.name,{preserveCase:!0})}`}return n.type===`example`?`${n.parentId}/example/${Q6(n.name)}`:n.type===`document`?a:(console.warn(`[WARNING]: unhandled id generation for navigation item:`,n),`unknown-id`)};return{hideModels:t?.hideModels??!1,modelsSectionLabel:n,operationsSorter:t?.operationsSorter,tagsSorter:t?.tagsSorter,operationTitleSource:t?.operationTitleSource,generateId:i}},e8=({store:e,generateId:t,...n})=>{n.entries?.forEach(r=>{if(!ave(r.parent))return;let i=ove({store:e,entry:r.parent});if(!i||!(`x-scalar-order`in i))return;let a=i[`x-scalar-order`],o=a?.indexOf(r.id);if(!Array.isArray(a)||typeof o!=`number`||o<0)return;if(`tag`in n){let i=r.id,s=t({type:`tag`,parentId:r.parent.id,tag:n.tag});if(a[o]=s,i!==s){let t=Y6(`document`,r),a=t?e.workspace.documents[t.name]:null,o=mT(a)?a.tags?.find(e=>e.name===n.tag.name):void 0,c=o?.[`x-scalar-order`];if(o&&Array.isArray(c)){let e=`${i}/`,t=`${s}/`;o[`x-scalar-order`]=c.map(n=>n.startsWith(e)?t+n.slice(e.length):n)}}return}let s=r.parent.type===`tag`&&`name`in i?{tag:i,id:r.parent.id}:void 0;a[o]=t({type:`operation`,path:n.path,method:n.method,operation:n.operation,parentId:r.parent.id,parentTag:s})})},fve=(e,t)=>{let n=e?.workspace.documents[t.documentName];if(!mT(n)){t.callback?.(!1);return}let{path:r,method:i,operation:a}=t,o=r.startsWith(`/`)?r:`/${r}`;n.paths||={},n.paths[o]||(n.paths[o]={}),fT(o),fT(i),bT(n.paths[o],i,a);let{servers:s}=a,c=Wc(s?.[0]);for(let e of s??[])n.servers?.some(t=>t.url===e.url)||(n.servers||=[],n.servers.push(Wc(e)));c&&(n[`x-scalar-selected-server`]=c.url);let l=a.parameters,u=J6(o,o,l??[],L);return(l!==void 0||u.length>0)&&(a.parameters=u),t.callback?.(!0),o},pve=(e,t,{meta:n,payload:r})=>{if(!e||!mT(t))return;let i=t[`x-scalar-navigation`]?.name;if(i===void 0)return;let a=L(yT(t.paths?.[n.path],n.method));if(!a){console.error(`Operation not found`,{meta:n,document:t});return}Object.assign(a,r),e.buildSidebar(i)},mve=(e,t,{meta:n,payload:{method:r,path:i},blurTargetSelector:a,callback:o})=>{let s=n.method!==r,c=n.path!==i;if(!s&&!c){o(`no-change`,a);return}let l=s?r:n.method,u=c?i:n.path;if(!t||!mT(e)){console.error(`Document or workspace not found`,{document:e});return}if(yT(e.paths?.[u],l)){o(`conflict`,a);return}let d=e[`x-scalar-navigation`];if(!d){console.error(`Document navigation missing`,{document:e});return}let f=L(yT(e.paths?.[n.path],n.method));if(!f){console.error(`Operation not found`,{meta:n,document:e});return}if(c){let e=K6(n.path,{includePath:!0,includeEnv:!1}).filter(e=>e!==void 0),t=K6(u,{includePath:!0,includeEnv:!1}).filter(e=>e!==void 0);if(e.length>0||t.length>0){let e=f.parameters??[];f.parameters=J6(u,n.path,e,L)}}let{generateId:p}=$6(d.name),m=X6(d).get(`${n.path}|${n.method}`);m&&e8({store:t,operation:f,generateId:p,method:l,path:u,entries:m}),e.paths||={},e.paths[u]||(e.paths[u]={}),fT(u),fT(n.path),fT(l),bT(e.paths[u],l,Wc(f)),_T(n.method)&&(xT(e.paths[n.path],n.method),CT(e.paths[n.path])&&delete e.paths[n.path]),t.history.clearOperationHistory(e[`x-scalar-navigation`]?.name??``,n.path,n.method),o(`success`,a)},hve=(e,{meta:t,documentName:n})=>{let r=e?.workspace.documents[n];mT(r)&&(fT(t.path),fT(t.method),xT(r.paths?.[t.path],t.method),CT(r.paths?.[t.path])&&delete r.paths?.[t.path])},gve=(e,{meta:{path:t,method:n},documentName:r,exampleName:i})=>{let a=e?.workspace.documents[r];if(!mT(a)){console.error(`Document not found`,{documentName:r});return}let o=L(yT(a.paths?.[t],n));if(!o){console.error(`Operation not found`,{path:t,method:n});return}o[`x-draft-examples`]??=[];let s=new Set(o[`x-draft-examples`]);s.add(i),o[`x-draft-examples`]=Array.from(s)},_ve=(e,{meta:{path:t,method:n,exampleKey:r},documentName:i})=>{let a=e?.workspace.documents[i];if(!mT(a))return;let o=L(yT(a.paths?.[t],n));if(!o)return;let s=new Set(o[`x-draft-examples`]??[]);s.delete(r),o[`x-draft-examples`]!==void 0&&(o[`x-draft-examples`]=Array.from(s)),o.parameters?.forEach(e=>{let t=L(e);`content`in t&&t.content&&Object.values(t.content).forEach(e=>{delete e.examples?.[r]}),`examples`in t&&t.examples&&delete t.examples?.[r]});let c=L(o.requestBody);c&&Object.values(c.content??{}).forEach(e=>{delete e.examples?.[r]})},vve=(e,{meta:{path:t,method:n,exampleKey:r},documentName:i,payload:a})=>{let o=e?.workspace.documents[i];if(!mT(o))return;let s=L(yT(o.paths?.[t],n));if(!s)return;let c=a.name.trim();if(!c||c===r)return;fT(c);let l=[];s.parameters?.forEach(e=>{let t=L(e);`examples`in t&&t.examples&&l.push(t.examples),`content`in t&&t.content&&Object.values(t.content).forEach(e=>{e.examples&&l.push(e.examples)})});let u=L(s.requestBody);u&&(Object.values(u.content??{}).forEach(e=>{e.examples&&l.push(e.examples)}),u[`x-scalar-selected-content-type`]&&l.push(u[`x-scalar-selected-content-type`])),!(s[`x-draft-examples`]?.includes(c)||l.some(e=>Object.hasOwn(e,c)))&&(s[`x-draft-examples`]&&=s[`x-draft-examples`].map(e=>e===r?c:e),l.forEach(e=>{Object.hasOwn(e,r)&&(e[c]=Wc(e[r]),delete e[r])}))},yve=e=>{if(!e||typeof e!=`object`)return[];if(`$ref`in e){let t=[],n=e;n.parameters!==void 0&&t.push(n);let r=L(e);return r&&t.push(r),t}return[e]},bve=(e,{meta:t,type:n,payload:r,originalParameter:i})=>{if(i){let e=i;e.name=r.name,e.examples||={},e.examples[t.exampleKey]||(e.examples[t.exampleKey]={});let n=L(e.examples[t.exampleKey]);n.value=r.value,n[`x-disabled`]=r.isDisabled;return}if(!mT(e))return;let a=L(yT(e.paths?.[t.path],t.method));if(!a){console.error(`Operation not found`,{meta:t,document:e});return}a.parameters||=[],a.parameters.push({name:r.name,in:n,required:n===`path`,examples:{[t.exampleKey]:{value:r.value,"x-disabled":!1}}})},xve=(e,{type:t,meta:n,payload:r,in:i})=>{if(!mT(e))return;let a=L(yT(e.paths?.[n.path],n.method));if(!a)return;a[`x-scalar-disable-parameters`]||={};let o={global:{cookie:`global-cookies`},default:{header:`default-headers`}}[t]?.[i];o&&(a[`x-scalar-disable-parameters`][o]||(a[`x-scalar-disable-parameters`][o]={}),a[`x-scalar-disable-parameters`][o][n.exampleKey]={...a[`x-scalar-disable-parameters`][o][n.exampleKey]??{},[n.name]:r.isDisabled??!1})},Sve=(e,{meta:t,originalParameter:n})=>{if(!mT(e))return;let r=L(yT(e.paths?.[t.path],t.method)),i=r?.parameters?.findIndex(e=>L(e)===n)??-1;if(r&&i>=0){r.parameters=Wc(r.parameters?.filter((e,t)=>t!==i),{depth:1});return}for(let r of yve(e.paths?.[t.path])){let e=r.parameters?.findIndex(e=>L(e)===n)??-1;if(e>=0){r.parameters=Wc(r.parameters?.filter((t,n)=>n!==e),{depth:1});return}}},Cve=(e,{meta:t,type:n})=>{if(!mT(e))return;let r=L(yT(e.paths?.[t.path],t.method));r&&(r.parameters=r.parameters?.filter(e=>L(e).in!==n)??[])},wve=({document:e,store:t})=>({createOperation:e=>fve(t,e),updateOperationMeta:n=>pve(t,e,n),updateOperationPathMethod:n=>mve(e,t,n),deleteOperation:e=>hve(t,e),createOperationDraftExample:e=>gve(t,e),deleteOperationExample:e=>_ve(t,e),renameOperationExample:e=>vve(t,e),updateOperationExtension:t=>H_e(e,t),updateOperationExtraParameters:t=>xve(e,t),upsertOperationParameter:t=>bve(e,t),deleteOperationParameter:t=>Sve(e,t),deleteAllOperationParameters:t=>Cve(e,t),updateOperationRequestBodyContentType:t=>z_e(e,t),updateOperationRequestBodyExample:t=>B_e(e,t),updateOperationRequestBodyFormValue:t=>V_e(e,t),addResponseToHistory:n=>rve(t,e,n),reloadOperationHistory:n=>ive(t,e,n)}),t8=(e,t)=>mT(e)?t.type===`document`?e:L(yT(e.paths?.[t.path],t.method))??null:null,Tve=(e,{meta:t})=>{let n=t8(e,t);if(!n){console.error(`Target not found`,t);return}return n.servers=[],n.servers},Eve=(e,{url:t,select:n,meta:r})=>{let i=t8(e,r);if(!i){console.error(`Target not found`,r);return}let a=wx(zC,{url:t});return i.servers||=[],i.servers.push(a),n&&(i[`x-scalar-selected-server`]=a.url),a},n8=(e,t)=>{let n={};for(let r of t){let t=e.indexOf(`{${r}}`);t!==-1&&(n[r]=t)}return n},Dve=(e,t,n)=>{let r=K6(t,{includePath:!0,includeEnv:!1}).filter(e=>e!==void 0),i=K6(e,{includePath:!0,includeEnv:!1}).filter(e=>e!==void 0),a=n8(t,r),o=n8(e,i),s=new Set,c={};for(let e of i){if(n[e]){c[e]=n[e],s.add(e);continue}let t=o[e],i=r.find(e=>a[e]===t&&!s.has(e));if(i&&n[i]){c[e]=n[i],s.add(i);continue}c[e]={default:``}}return c},Ove=(e,{index:t,server:n,meta:r})=>{let i=t8(e,r);if(!i)return;let a=Wc(i.servers?.[t],{depth:1});if(!a){console.error(`Server not found at index:`,t);return}let o=a.url,s=wx(zC,{...a,...n});if(o&&o!==s.url){let e=s.variables??{};s.variables=Dve(s.url,o,e),i[`x-scalar-selected-server`]===o&&(i[`x-scalar-selected-server`]=s.url)}return i.servers?i.servers[t]=s:i.servers=[s],s},kve=(e,{index:t,meta:n})=>{let r=t8(e,n);if(!r?.servers)return;let i=r.servers[t]?.url;r.servers.splice(t,1),r[`x-scalar-selected-server`]===i&&(r[`x-scalar-selected-server`]=r.servers[0]?.url??void 0)},Ave=(e,{meta:t})=>{let n=t8(e,t);n&&(n.servers=void 0,n[`x-scalar-selected-server`]=void 0)},jve=(e,{index:t,key:n,value:r,meta:i})=>{let a=t8(e,i)?.servers?.[t]?.variables?.[n];if(!a){console.error(`Variable not found`,n,t);return}return a.default=r,a},Mve=(e,{url:t,meta:n})=>{let r=t8(e,n);if(r)return t===``?(r[`x-scalar-selected-server`]=``,``):(r[`x-scalar-selected-server`]=r[`x-scalar-selected-server`]===t?``:t,r[`x-scalar-selected-server`])},Nve=(e,{name:t})=>{if(hT(e))return e[`x-scalar-selected-server`]=t,e[`x-scalar-selected-server`]},Pve=(e,{name:t,key:n,value:r})=>{if(!hT(e))return;let i=L(e.servers?.[t]),a=i?.variables?.[n]?L(i.variables[n]):void 0;if(!a){console.error(`Variable not found`,n,t);return}return a.default=r,a},Fve=({document:e})=>({initializeServers:t=>Tve(e,t),addServer:t=>Eve(e,t),updateServer:t=>Ove(e,t),deleteServer:t=>kve(e,t),clearServers:t=>Ave(e,t),updateServerVariables:t=>jve(e,t),updateSelectedServer:t=>Mve(e,t),updateSelectedAsyncApiServer:t=>Nve(e,t),updateAsyncApiServerVariables:t=>Pve(e,t)}),Ive=1,r8=e=>e!==null&&e[`x-scalar-tabs`]!==void 0,i8=e=>Wc(e[`x-scalar-tabs`],{depth:Ive}),a8=e=>e[`x-scalar-active-tab`]??0,Lve=(e,t)=>{e&&(t[`x-scalar-tabs`]&&(e[`x-scalar-tabs`]=t[`x-scalar-tabs`]),t[`x-scalar-active-tab`]!==void 0&&(e[`x-scalar-active-tab`]=t[`x-scalar-active-tab`]))},Rve=(e,t)=>{if(!r8(e))return!1;let n=i8(e),r=n[a8(e)];if(!r)return!1;let i=[...n,{...r}];return e[`x-scalar-tabs`]=i,e[`x-scalar-active-tab`]=i.length-1,!0},zve=(e,t)=>{let n=()=>`event`in t?t.event.code.startsWith(`Digit`)?Number.parseInt(t.event.key,10)-1:NaN:t.index;if(!r8(e))return!1;let r=n(),i=a8(e),a=i8(e).filter((e,t)=>t!==r);return a.length<=0?!1:(e[`x-scalar-tabs`]=a,e[`x-scalar-active-tab`]=r<i?i-1:Math.min(i,a.length-1),!0)},Bve=(e,t)=>{if(!r8(e))return!1;let n=i8(e);return n.length<=1?!1:(e[`x-scalar-tabs`]=n.filter((e,n)=>n===t.index),e[`x-scalar-active-tab`]=0,!0)},Vve=(e,t)=>{if(!r8(e))return!1;let n=a8(e);return n<=0?!1:(e[`x-scalar-active-tab`]=n-1,!0)},Hve=(e,t)=>{if(!r8(e))return!1;let n=i8(e),r=a8(e);return r>=n.length-1?!1:(e[`x-scalar-active-tab`]=r+1,!0)},Uve=(e,t)=>{if(!r8(e))return!1;let n=()=>`event`in t?t.event.code.startsWith(`Digit`)?Number.parseInt(t.event.key,10)-1:NaN:t.index,r=i8(e),i=n();return Number.isNaN(i)||i<0||i>=r.length?!1:(e[`x-scalar-active-tab`]=i,!0)},Wve=(e,t)=>{if(!r8(e))return!1;let n=i8(e);return n.length<=1?!1:(e[`x-scalar-active-tab`]=n.length-1,!0)},Gve=({workspace:e})=>({updateTabs:t=>Lve(e,t),addTab:t=>Rve(e,t),closeTab:t=>zve(e,t),closeOtherTabs:t=>Bve(e,t),navigatePreviousTab:t=>Vve(e,t),navigateNextTab:t=>Hve(e,t),focusTab:t=>Uve(e,t),focusLastTab:t=>Wve(e,t)}),Kve=(e,t)=>{let n=e?.workspace.documents[t.documentName];if(!mT(n)){console.error(`Document not found`,{payload:t,store:e});return}n.tags||=[],n.tags.push({name:t.name})},qve=(e,t)=>{let n=e?.workspace.documents[t.documentName];if(!e||!mT(n)){console.error(`Document not found`,{payload:t,store:e});return}let r=n[`x-scalar-navigation`];if(!r){console.error(`Document navigation missing`,{payload:t,store:e});return}let i=t.tag.name,a=t.newName;n.tags?.length&&(n.tags=n.tags.map(e=>{let t=Wc(e);return t.name===i?{...t,name:a}:t})),t.tag.children?.forEach(e=>{if(e.type===`operation`){let t=L(yT(n.paths?.[e.path],e.method));t&&`tags`in t&&(t.tags=Wc(t.tags,{depth:null})?.map(e=>e===i?a:e))}else if(e.type===`webhook`){let t=L(yT(n.webhooks?.[e.name],e.method));t&&`tags`in t&&(t.tags=Wc(t.tags,{depth:null})?.map(e=>e===i?a:e))}}),n[`x-tagGroups`]&&=Wc(n[`x-tagGroups`],{depth:null}).map(e=>({...e,tags:e.tags.map(e=>e===i?a:e)}));let{generateId:o}=$6(r.name),s=sve(r).get(i);s&&e8({store:e,tag:{name:a},generateId:o,entries:s})},Jve=(e,t)=>{let n=e?.workspace.documents[t.documentName];mT(n)&&(Object.values(n.paths??{}).forEach(e=>{ST(e,(e,n)=>{let r=L(n);`tags`in r&&(r.tags=Wc(r.tags,{depth:1})?.filter(e=>e!==t.name))})}),Object.values(n.webhooks??{}).forEach(e=>{ST(e,(e,n)=>{let r=L(n);r.tags=Wc(r.tags,{depth:1})?.filter(e=>e!==t.name)})}),n.tags=Wc(n.tags,{depth:null})?.filter(e=>e.name!==t.name))},Yve=({store:e})=>({createTag:t=>Kve(e,t),editTag:t=>qve(e,t),deleteTag:t=>Jve(e,t)}),Xve=(e,t)=>{e&&(e[`x-scalar-active-proxy`]=t)},Zve=(e,t)=>{e&&(e[`x-scalar-color-mode`]=t)},Qve=(e,t)=>{e&&(e[`x-scalar-theme`]=t)},$ve=(e,t)=>{e&&(e[`x-scalar-active-environment`]=t??void 0)},eye=(e,t)=>{e&&(e[`x-scalar-default-client`]=t)},tye=(e,t)=>{e&&(e[`x-scalar-default-example`]=t)},nye=({workspace:e})=>({updateActiveProxy:t=>Xve(e,t),updateColorMode:t=>Zve(e,t),updateTheme:t=>Qve(e,t),updateSelectedClient:t=>eye(e,t),updateSelectedExample:t=>tye(e,t),updateActiveEnvironment:t=>$ve(e,t)});function rye(e){let t=t=>({auth:w_e({store:e,document:t}),cookie:H6({collection:t}),document:N_e({document:t,store:e}),operation:wve({document:t,store:e}),server:Fve({document:t}),tag:Yve({store:e}),environment:U6({workspace:e?.workspace??null,collection:t})}),n=()=>({cookie:H6({collection:e?.workspace??null}),tabs:Gve({workspace:e?.workspace??null}),workspace:nye({workspace:e?.workspace??null}),environment:U6({workspace:e?.workspace??null,collection:e?.workspace??null})});return{workspace:()=>n(),active:()=>t(e?.workspace.activeDocument??null),doc:n=>t(R_e(e,n))}}var iye={key:1,class:`rounded border bg-b-2 p-3 text-sm`},aye={key:0,class:`mt-2 rounded border bg-b-1 p-2 font-code text-c-2`},oye=w({__name:`ScalarErrorBoundary`,setup(e){let t=A(!1),n=A();return re((e,r,i)=>(console.error(`[ERROR]`,e,i),t.value=!0,n.value=e,!1)),(e,r)=>t.value?(y(),M(`div`,iye,[r[0]||=N(`div`,{class:`p-2`},`Oops, something went wrong here.`,-1),n.value?(y(),M(`div`,aye,be(n.value?.name)+`: `+be(n.value?.message),1)):k(``,!0)])):S(e.$slots,`default`,{key:0})}});function sye(e,t){return t.reduce((e,t)=>{if(e!=null)return e[t]},e)}var cye={key:0,class:`close-button z-10 fixed right-2 top-2`},lye={};function o8(){return Be({open:!1,show(){this.open=!0},hide(){this.open=!1}})}var s8=IT(w({...lye,__name:`ScalarModal`,props:{state:{},title:{},bodyClass:{},maxWidth:{},size:{default:`md`},variant:{}},emits:[`close`],setup(e,{emit:t}){let n=t,r=dc({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`}}}),i=dc({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(t,a)=>(y(),O(T(Wi),{open:e.state.open,onClose:a[1]||=()=>{e.state.hide(),n(`close`)}},{default:E(()=>[N(`div`,{class:v(T(fc)(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`))},[D(T(Gi),{class:v(T(r)({size:e.size,variant:e.variant})),style:te({maxWidth:e.maxWidth})},{default:E(()=>[e.title?(y(),O(T(Ki),{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:E(()=>[tt(be(e.title),1)]),_:1})):k(``,!0),e.size===`full`?(y(),M(`div`,{key:1,class:v(e.bodyClass)},[S(t.$slots,`default`,{},void 0,!0)],2)):(y(),M(`div`,{key:2,class:v(T(fc)(T(i)({size:e.size,variant:e.variant}),e.bodyClass))},[S(t.$slots,`default`,{},void 0,!0)],2))]),_:3},8,[`class`,`style`]),e.size===`full`?(y(),M(`div`,cye,[D(T(L4),{class:`hover:bg-b-3 focus:outline-none`,icon:T(ho),label:`Close modal`,onClick:a[0]||=t=>e.state.hide()},null,8,[`icon`])])):k(``,!0)],2)]),_:3},8,[`open`]))}}),[[`__scopeId`,`data-v-5bb1dcc2`]]),uye={class:`text-c-2 mb-4 text-sm leading-normal`},dye={class:`flex justify-between gap-2`},fye=w({__name:`DeleteRequestAuthModal`,props:{state:{},label:{}},emits:[`close`,`delete`],setup(e,{emit:t}){let n=t,r=()=>{n(`delete`)};return(t,i)=>(y(),O(T(s8),{size:`xxs`,state:e.state,title:`Delete Security Scheme`},{default:E(()=>[N(`p`,uye,` This cannot be undone. You're about to delete the `+be(e.label)+` security scheme from the collection. `,1),N(`div`,dye,[D(T(OF),{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]||=e=>n(`close`)},{default:E(()=>[...i[1]||=[tt(` Cancel `,-1)]]),_:1}),D(T(OF),{class:`flex h-8 cursor-pointer items-center gap-1.5 px-3 shadow-none focus:outline-none`,type:`submit`,onClick:r},{default:E(()=>[tt(` Delete `+be(e.label),1)]),_:1})])]),_:1},8,[`state`]))}}),pye={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:{}}}}}},c8=e=>{let t=0,n=0,r=e.length,i=r&15,a=r-i,o=2277735313,s=1291169091,c=1390208809,l=944331445;for(let r=0;r<a;r+=16){let i=e.charCodeAt(r)&255|(e.charCodeAt(r+1)&255)<<8|(e.charCodeAt(r+2)&255)<<16|(e.charCodeAt(r+3)&255)<<24,a=e.charCodeAt(r+4)&255|(e.charCodeAt(r+5)&255)<<8|(e.charCodeAt(r+6)&255)<<16|(e.charCodeAt(r+7)&255)<<24,u=e.charCodeAt(r+8)&255|(e.charCodeAt(r+9)&255)<<8|(e.charCodeAt(r+10)&255)<<16|(e.charCodeAt(r+11)&255)<<24,d=e.charCodeAt(r+12)&255|(e.charCodeAt(r+13)&255)<<8|(e.charCodeAt(r+14)&255)<<16|(e.charCodeAt(r+15)&255)<<24;i=Math.imul(i,o),i=i<<15|i>>>17,i=Math.imul(i,s),t^=i,t=t<<13|t>>>19,t=Math.imul(t,5)+3864292196,a=Math.imul(a,s),a=a<<16|a>>>16,a=Math.imul(a,c),n^=a,n=n<<17|n>>>15,n=Math.imul(n,5)+461845907,u=Math.imul(u,c),u=u<<17|u>>>15,u=Math.imul(u,l),t^=u,t=t<<15|t>>>17,t=Math.imul(t,5)+1390208809,d=Math.imul(d,l),d=d<<18|d>>>14,d=Math.imul(d,o),n^=d,n=n<<13|n>>>19,n=Math.imul(n,5)+944331445}if(i>0){let r=0,u=0,d=0,f=0;i>=15&&(f^=(e.charCodeAt(a+14)&255)<<16),i>=14&&(f^=(e.charCodeAt(a+13)&255)<<8),i>=13&&(f^=e.charCodeAt(a+12)&255,f=Math.imul(f,l),f=f<<18|f>>>14,f=Math.imul(f,o),n^=f),i>=12&&(d^=(e.charCodeAt(a+11)&255)<<24),i>=11&&(d^=(e.charCodeAt(a+10)&255)<<16),i>=10&&(d^=(e.charCodeAt(a+9)&255)<<8),i>=9&&(d^=e.charCodeAt(a+8)&255,d=Math.imul(d,c),d=d<<17|d>>>15,d=Math.imul(d,l),t^=d),i>=8&&(u^=(e.charCodeAt(a+7)&255)<<24),i>=7&&(u^=(e.charCodeAt(a+6)&255)<<16),i>=6&&(u^=(e.charCodeAt(a+5)&255)<<8),i>=5&&(u^=e.charCodeAt(a+4)&255,u=Math.imul(u,s),u=u<<16|u>>>16,u=Math.imul(u,c),n^=u),i>=4&&(r^=(e.charCodeAt(a+3)&255)<<24),i>=3&&(r^=(e.charCodeAt(a+2)&255)<<16),i>=2&&(r^=(e.charCodeAt(a+1)&255)<<8),i>=1&&(r^=e.charCodeAt(a)&255,r=Math.imul(r,o),r=r<<15|r>>>17,r=Math.imul(r,s),t^=r)}return t^=r,n^=r,t+=n,n+=t,t^=t>>>16,t=Math.imul(t,2246822507),t^=t>>>13,t=Math.imul(t,3266489909),t^=t>>>16,n^=n>>>16,n=Math.imul(n,2246822507),n^=n>>>13,n=Math.imul(n,3266489909),n^=n>>>16,t+=n,n+=t,(t>>>0).toString(16).padStart(8,`0`)+(n>>>0).toString(16).padStart(8,`0`)},l8=e=>JSON.stringify(Object.keys(e)),u8=({name:e,value:t})=>({id:c8(JSON.stringify(t)),label:e,value:t,isDeletable:!0}),d8=e=>u8({name:Object.keys(e).join(` & `),value:e}),f8=(e,t)=>{let n=Object.keys(e);if(n.length>1)return d8(e);if(n[0])return L(t[n[0]])?u8({name:n[0],value:e}):void 0},mye=(e,t,n,r=!1)=>{let i=new Map(n.map(e=>[l8(e),e])),{requiredFormatted:a,requiredSchemeNames:o,existingIds:s}=e.reduce((e,n)=>{let r=f8(i.get(l8(n))??n,t);r&&(e.requiredFormatted.push(r),e.existingIds.add(r.id));for(let t of Object.keys(n))e.requiredSchemeNames.add(t);return e},{requiredFormatted:[],requiredSchemeNames:new Set,existingIds:new Set}),c=[];for(let[e,n]of Object.entries(t))if(!o.has(e)&&L(n)){let t=u8({name:e,value:{[e]:[]}});c.push(t),s.add(t.id)}for(let e of n){let n=f8(e,t);n&&!s.has(n.id)&&(c.push(n),s.add(n.id))}let l=[{label:`Required authentication`,options:a},{label:`Available authentication`,options:c}];return r?(l.push({label:`Add new authentication`,options:Object.entries(pye).map(([e,t])=>({id:e,label:t.label,value:{[e]:[]},payload:t.payload,isDeletable:!1}))}),l):a.length?l:c},hye=[`for`],gye={class:`relative flex min-w-0 flex-1`},_ye=[`readOnly`,`type`,`value`],vye={key:1,class:`centered-y text-orange absolute right-7 text-xs`},yye=Da(w({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}){let n=e,r=t,i=A(!0),a=A(!1),s=Oe(`codeInput`),c=()=>!a.value&&r(`inputBlur`),l=j(()=>n.type===`password`?`text`:n.type??`text`),u=()=>{!n.enum?.length&&!n.readOnly&&s.value?.focus()};return(t,a)=>(y(),O(mV,{class:v([`relative flex`,e.containerClass])},{default:E(()=>[t.$slots.default?(y(),M(`div`,{key:0,class:`text-c-1 flex items-center pr-0 pl-3`,for:e.id??``,onClick:u},[S(t.$slots,`default`,{},void 0,!0),a[6]||=tt(`: `,-1)],8,hye)):k(``,!0),N(`div`,gye,[n.enum&&n.enum.length?(y(),O(bz,{key:0,canAddCustomValue:n.canAddCustomEnumValue,modelValue:n.modelValue,value:n.enum,"onUpdate:modelValue":a[0]||=e=>r(`update:modelValue`,e)},null,8,[`canAddCustomValue`,`modelValue`,`value`])):(y(),M(Ne,{key:1},[i.value&&e.type===`password`?(y(),M(`input`,o({key:0},e.id?{...t.$attrs,id:e.id}:t.$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:a[1]||=e=>r(`update:modelValue`,e.target.value??``)}),null,16,_ye)):(y(),O(T(kV),o({key:1},t.$attrs,{id:e.id,ref_key:`codeInput`,ref:s,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:c,onFocus:a[2]||=e=>r(`inputFocus`),"onUpdate:modelValue":a[3]||=e=>r(`update:modelValue`,e)}),null,16,[`id`,`class`,`environment`,`modelValue`,`readOnly`,`required`,`type`,`withFakeData`]))],64))]),t.$slots.warning?(y(),M(`div`,vye,[S(t.$slots,`warning`,{},void 0,!0)])):k(``,!0),S(t.$slots,`icon`,{},void 0,!0),e.modelValue?(y(),O(T(L4),{key:2,class:`-ml-.25 h-6 w-6 self-center p-1.25`,icon:T(ho),label:`Clear Value`,onClick:a[4]||=e=>r(`update:modelValue`,``)},null,8,[`icon`])):k(``,!0),e.type===`password`?(y(),O(T(L4),{key:3,class:`-ml-.5 mr-1.25 h-6 w-6 self-center p-1.25`,"data-testid":`data-table-password-toggle`,icon:i.value?T(Jee):T(tte),label:i.value?`Show Password`:`Hide Password`,onClick:a[5]||=e=>i.value=!i.value},null,8,[`icon`,`label`])):k(``,!0)]),_:3},8,[`class`]))}}),[[`__scopeId`,`data-v-a6f4752a`]]),bye=[`for`],p8=w({__name:`RequestAuthDataTableInput`,props:Ie({containerClass:{},environment:{},readOnly:{type:Boolean,default:!1},required:{type:Boolean,default:!1},type:{}},{modelValue:{default:``,required:!0},modelModifiers:{}}),emits:Ie([`inputFocus`,`inputBlur`,`selectVariable`],[`update:modelValue`]),setup(e,{emit:t}){let n=t,r=le(e,`modelValue`),i=xe();return(t,a)=>(y(),O(T(yye),o({id:T(i)},t.$attrs,{modelValue:r.value,"onUpdate:modelValue":a[0]||=e=>r.value=e,canAddCustomEnumValue:!e.readOnly,containerClass:e.containerClass,environment:e.environment,readOnly:e.readOnly,required:e.required,type:e.type,onInputBlur:a[1]||=e=>n(`inputBlur`),onInputFocus:a[2]||=e=>n(`inputFocus`),onSelectVariable:a[3]||=e=>n(`selectVariable`,e)}),{default:E(()=>[N(`label`,{for:T(i)},[S(t.$slots,`default`)],8,bye)]),icon:E(()=>[S(t.$slots,`icon`)]),_:3},16,[`id`,`modelValue`,`canAddCustomEnumValue`,`containerClass`,`environment`,`readOnly`,`required`,`type`]))}}),xye={class:`flex gap-2`},Sye={class:`flex max-h-8 flex-1`},Cye=w({name:`CommandActionForm`,props:{loader:{},disabled:{type:Boolean,default:!1}},emits:[`submit`,`cancel`,`back`],setup(e,{emit:t}){let n=t,{cx:r}=pc(),i=()=>{e.disabled||n(`submit`)};return(t,n)=>(y(),M(`form`,{class:`flex w-full flex-col gap-3`,onKeydown:n[0]||=zn(Ln(()=>{},[`stop`]),[`enter`]),onSubmit:Ln(i,[`prevent`,`stop`])},[N(`div`,qe($e(T(r)(`relative flex min-h-20 flex-col rounded`))),[S(t.$slots,`default`)],16),N(`div`,xye,[N(`div`,Sye,[S(t.$slots,`options`)]),D(T(OF),{class:`max-h-8 px-3 text-xs`,disabled:e.disabled,loader:e.loader,type:`submit`},{default:E(()=>[S(t.$slots,`submit`,{},()=>[n[1]||=tt(`Continue`,-1)])]),_:3},8,[`disabled`,`loader`])])],32))}}),wye=[`placeholder`],m8=w({name:`CommandActionInput`,inheritAttrs:!1,props:{modelValue:{},placeholder:{},autofocus:{type:Boolean,default:!0}},emits:[`update:modelValue`,`delete`],setup(e,{emit:t}){let n=t,r=A(null),i=j({get:()=>e.modelValue??``,set:e=>n(`update:modelValue`,e)});ue(()=>{Pe(()=>{e.autofocus&&r.value?.focus()})});let a=e=>{if(e.shiftKey||!e.target)return;e.preventDefault();let t=e.target,n=new Event(`submit`,{cancelable:!0});t.form?.dispatchEvent(n)},s=e=>{i.value===``&&(e.preventDefault(),e.stopPropagation(),n(`delete`,e))};return(t,n)=>We((y(),M(`textarea`,o({id:`command-action-input`,ref_key:`input`,ref:r,"onUpdate:modelValue":n[0]||=e=>i.value=e,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`},t.$attrs,{onKeydown:[zn(s,[`delete`]),zn(a,[`enter`])]}),null,16,wye)),[[wn,i.value]])}}),Tye={class:`flex min-h-8 items-start gap-2 text-sm`},Eye={class:`flex min-h-8 items-start gap-2 text-sm`},Dye={key:0,class:`text-red text-xs`,role:`alert`},Oye=w({__name:`OAuthScopesAddModal`,props:{state:{},scopes:{},scope:{default:null}},emits:[`cancel`,`submit`],setup(e,{emit:t}){let n=t,r=j(()=>e.scope!==null),i=j(()=>r.value?`Edit Scope`:`Add Scope`),a=j(()=>r.value?`Save`:`Add Scope`),o=A({name:``,description:``}),s=A(!1);Xe(()=>o.value.name,()=>{s.value=!0});let c=j(()=>o.value.name.trim()),l=j(()=>!c.value||r.value&&c.value===e.scope?.name?!1:e.scopes.includes(c.value)),u=j(()=>l.value?`A scope named "${c.value}" already exists.`:s.value&&!c.value?`Scope name is required.`:null),d=j(()=>!c.value||l.value),f=()=>{d.value||(n(`submit`,{name:c.value,description:o.value.description,...r.value&&e.scope?{oldName:e.scope.name}:{}}),e.state.hide())};return Xe(()=>e.state.open,t=>{t&&(o.value=e.scope?{name:e.scope.name,description:e.scope.description}:{name:``,description:``},Pe(()=>{s.value=!1}))}),(t,r)=>(y(),O(T(s8),{bodyClass:`overflow-y-auto`,size:`xs`,state:e.state,title:i.value},{default:E(()=>[D(T(Cye),{disabled:d.value,onCancel:r[2]||=e=>n(`cancel`),onSubmit:f},{submit:E(()=>[tt(be(a.value),1)]),default:E(()=>[N(`div`,Tye,[r[3]||=tt(` Name: `,-1),D(T(m8),{modelValue:o.value.name,"onUpdate:modelValue":r[0]||=e=>o.value.name=e,autofocus:``,class:`field-sizing-content !p-0`,placeholder:`read:user`},null,8,[`modelValue`])]),N(`div`,Eye,[r[4]||=tt(` Description: `,-1),D(T(m8),{modelValue:o.value.description,"onUpdate:modelValue":r[1]||=e=>o.value.description=e,autofocus:!1,class:`field-sizing-content !p-0`,placeholder:`Read user data`},null,8,[`modelValue`])]),u.value?(y(),M(`div`,Dye,be(u.value),1)):k(``,!0)]),_:1},8,[`disabled`])]),_:1},8,[`state`,`title`]))}}),kye=[`aria-label`,`placeholder`],h8=w({inheritAttrs:!1,__name:`ScalarSearchInput`,props:Ie({loader:{},label:{},placeholder:{},clearLabel:{}},{modelValue:{},modelModifiers:{}}),emits:[`update:modelValue`],setup(e){let t=le(e,`modelValue`),n=A(null);function r(){t.value=``,n.value&&n.value.focus()}let{stylingAttrsCx:i,otherAttrs:a}=pc();return(s,c)=>(y(),M(`label`,qe($e(T(i)(`flex items-center text-lg font-medium h-10 pl-3 pr-1.5 py-2 gap-2.25`))),[D(T(lo),{class:`text-sidebar-c-search size-4`}),We(N(`input`,o({ref_key:`inputRef`,ref:n},T(a),{"onUpdate:modelValue":c[0]||=e=>t.value=e,"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,kye),[[wn,t.value]]),e.loader&&e.loader.isActive?(y(),O(T(TF),{key:0,class:`mr-1`,loader:e.loader,size:`lg`},null,8,[`loader`])):t.value?(y(),O(T(L4),{key:1,class:`-my-1`,icon:T(ho),label:e.clearLabel??`Clear Search`,size:`sm`,weight:`bold`,onClick:Ln(r,[`stop`,`prevent`])},null,8,[`icon`,`label`])):k(``,!0)],16))}}),Aye={class:`flex h-fit w-full`},jye={class:`group/scopes-accordion flex h-auto min-h-8 items-center gap-1.5 pr-2.25 pl-3 text-left`},Mye={class:`flex shrink-0 items-center gap-1.75`},Nye={class:`grid max-h-40 auto-rows-auto overflow-x-hidden overflow-y-auto`,style:{gridTemplateColumns:`1fr auto`}},Pye={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`},Fye={class:`font-code shrink-0 text-xs`},Iye={class:`whitespace-nowrap`},Lye=w({__name:`OAuthScopesInput`,props:{flowType:{},flow:{},selectedScopes:{}},emits:[`update:selectedScopes`,`upsert:scope`,`delete:scope`],setup(e,{emit:t}){let n=t,r=A(``),i=A(null),a=j(()=>Object.entries(e.flow?.scopes??{}).map(([e,t])=>({id:e,label:e,description:t}))),o=j(()=>Object.keys(e.flow?.scopes??{}).length),s=j(()=>o.value>=10),c=j(()=>{let e=s.value?r.value:``;if(!e)return a.value;let t=new RegExp(e.split(``).map(e=>e.replace(/[.*+?^${}()|[\]\\]/g,`\\$&`)).join(`.*`),`i`);return a.value.filter(({label:e,description:n})=>t.test(`${e} ${n}`))}),l=j(()=>Object.keys(e.flow?.scopes??{}).length>0),u=j(()=>e.selectedScopes.length===Object.keys(e.flow?.scopes??{}).length),d=(t,r)=>{if(r)return n(`update:selectedScopes`,{scopes:Array.from(new Set([...e.selectedScopes,t]))});n(`update:selectedScopes`,{scopes:e.selectedScopes.filter(e=>e!==t)})},f=()=>n(`update:selectedScopes`,{scopes:Object.keys(e.flow?.scopes??{})}),p=()=>n(`update:selectedScopes`,{scopes:[]}),m=o8(),h=A(0),g=A(!1);Xe(l,(e,t)=>{t&&!e&&(g.value=!1,h.value+=1)});let b=()=>{i.value=null,m.show()},ee=e=>{i.value={name:e.id,description:e.description??``},m.show()},x=async t=>{let r=!t.oldName;n(`upsert:scope`,{scope:t.name,description:t.description,flowType:e.flowType,...t.oldName?{oldScope:t.oldName}:{},...r?{enable:!0}:{}}),r&&(g.value=!0,h.value+=1,await Pe(),g.value=!1)},te=t=>{n(`delete:scope`,{scope:t,flowType:e.flowType})};return(t,n)=>(y(),O(T(mV),{class:`h-auto !max-h-[initial] min-h-8 items-center`},{default:E(()=>[N(`div`,Aye,[n[6]||=N(`div`,{class:`text-c-1 h-full items-center`},null,-1),(y(),O(T(Qi),{key:h.value,as:`div`,class:`bl flex w-full flex-col`,defaultOpen:g.value},{default:E(()=>[N(`div`,jye,[D(T($i),{class:v([`min-w-0 flex-1 text-left`,l.value?`hover:text-c-1 cursor-pointer`:`cursor-default`,(e.selectedScopes.length||0)>0?`text-c-1`:`text-c-3`]),disabled:!l.value},{default:E(()=>[l.value?(y(),M(Ne,{key:0},[tt(` Scopes Selected `+be(e.selectedScopes.length||0)+` / `+be(Object.keys(e.flow?.scopes??{}).length||0),1)],64)):(y(),M(Ne,{key:1},[tt(` No Scopes Defined `)],64))]),_:1},8,[`class`,`disabled`]),N(`div`,Mye,[D(T(OF),{class:`pr-0.75 pl-1 transition-none`,size:`sm`,variant:`ghost`,onClick:Ln(b,[`stop`])},{default:E(()=>[...n[2]||=[tt(` Add Scope `,-1)]]),_:1}),l.value&&u.value?(y(),O(T(OF),{key:0,class:`pr-0.75 pl-1 transition-none`,size:`sm`,variant:`ghost`,onClick:Ln(p,[`stop`])},{default:E(()=>[...n[3]||=[tt(` Deselect All `,-1)]]),_:1})):k(``,!0),l.value&&!u.value?(y(),O(T(OF),{key:1,class:`pr-0.75 pl-1 transition-none`,size:`sm`,variant:`ghost`,onClick:Ln(f,[`stop`])},{default:E(()=>[...n[4]||=[tt(` Select All `,-1)]]),_:1})):k(``,!0),l.value?(y(),O(T($i),{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:E(({open:e})=>[D(T(SF),{class:`group-hover/scopes-accordion:text-c-2`,icon:e?`ChevronDown`:`ChevronRight`,size:`md`},null,8,[`icon`])]),_:1})):k(``,!0)])]),D(T(ea),{as:`template`},{default:E(()=>[N(`div`,null,[s.value?(y(),O(T(h8),{key:0,modelValue:r.value,"onUpdate:modelValue":n[0]||=e=>r.value=e,class:`flex items-center text-xs`},null,8,[`modelValue`])):k(``,!0),N(`table`,Nye,[(y(!0),M(Ne,null,_(c.value,({id:t,label:r,description:i})=>(y(),O(T(vV),{key:t,class:`text-c-2 group/scope-row`,onClick:n=>d(t,!e.selectedScopes.includes(t))},{default:E(()=>[D(T(mV),{class:`box-border flex !max-h-[initial] w-full min-w-0 cursor-pointer items-stretch overflow-hidden px-0 py-0`},{default:E(()=>[N(`div`,Pye,[N(`span`,Fye,be(r),1),String(i??``).trim()?(y(),M(Ne,{key:0},[n[5]||=N(`span`,{class:`shrink-0`},`–`,-1),N(`span`,Iye,be(i),1)],64)):k(``,!0)]),N(`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:n[1]||=Ln(()=>{},[`stop`])},[D(T(L4),{icon:T(uo),label:`Edit ${r}`,size:`sm`,onClick:Ln(e=>ee({id:t,description:i??``}),[`stop`])},null,8,[`icon`,`label`,`onClick`]),D(T(L4),{icon:T(po),label:`Delete ${r}`,size:`sm`,onClick:Ln(e=>te(t),[`stop`])},null,8,[`icon`,`label`,`onClick`])])]),_:2},1024),D(T(jV),{modelValue:e.selectedScopes.includes(t),"onUpdate:modelValue":e=>d(t,e)},null,8,[`modelValue`,`onUpdate:modelValue`])]),_:2},1032,[`onClick`]))),128))])])]),_:1})]),_:1},8,[`defaultOpen`]))]),D(Oye,{scope:i.value,scopes:Object.keys(e.flow.scopes??{}),state:T(m),onSubmit:x},null,8,[`scope`,`scopes`,`state`])]),_:1}))}}),Rye=e=>{let t=new URL(e);return{searchParams:t.searchParams,hashParams:new URLSearchParams(t.hash.slice(1))}},g8=(e,t,n)=>{let r=e.get(n);if(r!==null)return{params:e,value:r};let i=t.get(n);return i===null?{params:null,value:null}:{params:t,value:i}},_8=(e,t=`access_token`)=>{try{let{searchParams:n,hashParams:r}=Rye(e()),i=g8(n,r,t),a=g8(n,r,`code`);return{accessToken:i.value,accessTokenParams:i.params,code:a.value,codeParams:a.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}}},v8=(e,t)=>{if(e!==`authorizationCode`)return!1;let n=t;if(!n)return!1;let r=n[`x-usePkce`];return r===`SHA-256`||r===`plain`},y8=(e,t={})=>mw(pw(e?.url??``,lT(e)),t),b8=(e,t={})=>{let n=y8(e,t);return n?_o(n)?typeof window>`u`?{}:{basePath:n}:{baseUrl:n}:{}},zye=()=>{let e=new Uint8Array(32);return crypto.getRandomValues(e),kw(e,!0)},Bye=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;let n=new TextEncoder().encode(e),r=await crypto.subtle.digest(`SHA-256`,n);return kw(new Uint8Array(r),!0)},Vye=async(e,t,n,r,i,a={},o,s)=>{let c=e[t];try{if(!c)return[Error(`Flow not found`),null];let l=n.join(` `);if(t===`clientCredentials`||t===`password`)return x8(e,t,l,{proxyUrl:i,customFetch:o},r,a);let u=(Math.random()+1).toString(36).substring(2,10),d=xo(e[t][`x-scalar-secret-auth-url`]??e[t].authorizationUrl,b8(r,a)),f=new URL(d),p=null;if(t===`implicit`)f.searchParams.set(`response_type`,`token`);else if(t===`authorizationCode`){let n=e[t];if(f.searchParams.set(`response_type`,`code`),n[`x-usePkce`]!==`no`){let e=zye(),t=await Bye(e,n[`x-usePkce`]);p={codeVerifier:e,codeChallenge:t,codeChallengeMethod:n[`x-usePkce`]===`SHA-256`?`S256`:`plain`},f.searchParams.set(`code_challenge`,t),f.searchParams.set(`code_challenge_method`,p.codeChallengeMethod)}}let m=e[t];if(!s)if(m[`x-scalar-secret-redirect-uri`].startsWith(`/`)){let e=y8(r,a)||window.location.origin+window.location.pathname,t=new URL(m[`x-scalar-secret-redirect-uri`],e).toString();f.searchParams.set(`redirect_uri`,t)}else f.searchParams.set(`redirect_uri`,m[`x-scalar-secret-redirect-uri`]);if(c[`x-scalar-security-query`]&&Object.keys(c[`x-scalar-security-query`]).forEach(e=>{let t=c[`x-scalar-security-query`]?.[e];t&&f.searchParams.set(e,t)}),f.searchParams.set(`client_id`,c[`x-scalar-secret-client-id`]),f.searchParams.set(`state`,u),l&&f.searchParams.set(`scope`,l),s){let[n,d]=await s({authorizationUrl:f.toString()});if(n||!d)return[n??Error(`Failed to capture the OAuth2 redirect`),null];let{accessToken:m,accessTokenParams:h,code:g,codeParams:_,error:v,errorDescription:y,refreshToken:b}=_8(()=>d.callbackUrl,c[`x-tokenName`]||`access_token`);return v?[Error(`OAuth error: ${v}${y?` (${y})`:``}`),null]:m?(h?.get(`state`)??null)===u?[null,{accessToken:m,...b?{refreshToken:b}:{}}]:[Error(`State mismatch`),null]:g&&t===`authorizationCode`?(_?.get(`state`)??null)===u?x8(e,t,l,{code:g,pkce:p,proxyUrl:i,customFetch:o,redirectUri:d.redirectUri},r,a):[Error(`State mismatch`),null]:[Error(`No authorization code or access token was returned`),null]}let h=window.open(f,`openAuth2Window`,`left=100,top=100,width=800,height=600`);return h?new Promise(n=>{let s=setInterval(()=>{let{accessToken:d,accessTokenParams:f,code:m,codeParams:g,error:_,errorDescription:v,refreshToken:y}=_8(()=>h.location.href,c[`x-tokenName`]||`access_token`);if(h.closed||d||m||_){if(clearInterval(s),h.close(),_){n([Error(`OAuth error: ${_}${v?` (${v})`:``}`),null]);return}if(d){(f?.get(`state`)??null)===u?n([null,{accessToken:d,...y?{refreshToken:y}:{}}]):n([Error(`State mismatch`),null]);return}if(m&&t===`authorizationCode`){(g?.get(`state`)??null)===u?x8(e,t,l,{code:m,pkce:p,proxyUrl:i,customFetch:o},r,a).then(n).catch(e=>{n([e instanceof Error?e:Error(`Failed to get an access token`,{cause:e}),null])}):n([Error(`State mismatch`),null]);return}n([Error(`Window was closed without granting authorization`),null])}},200)}):[Error(`Failed to open auth window`),null]}catch(e){return[e instanceof Error?e:Error(`Failed to authorize oauth2 flow`,{cause:e}),null]}},x8=async(e,t,n,{code:r,pkce:i,proxyUrl:a,customFetch:o=fetch,redirectUri:s}={},c,l={})=>{let u=e[t];if(!u)return[Error(`OAuth2 flow was not defined`),null];let d=new URLSearchParams;n&&(t===`clientCredentials`||t===`password`)&&d.set(`scope`,n);let f=u[`x-scalar-credentials-location`]===`body`,p=v8(t,u),m=!!u[`x-scalar-secret-client-secret`]&&!p;if((f||t===`authorizationCode`&&!m)&&d.set(`client_id`,u[`x-scalar-secret-client-id`]),f&&m&&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`),i&&d.set(`code_verifier`,i.codeVerifier);else if(t===`password`){let n=e[t];d.set(`grant_type`,`password`),d.set(`username`,n[`x-scalar-secret-username`]),d.set(`password`,n[`x-scalar-secret-password`])}else d.set(`grant_type`,`client_credentials`);u[`x-scalar-security-body`]&&Object.entries(u[`x-scalar-security-body`]).forEach(([e,t])=>{t!=null&&d.set(e,String(t))});try{let e={"Content-Type":`application/x-www-form-urlencoded`};!f&&m&&(e.Authorization=`Basic ${jw(`${u[`x-scalar-secret-client-id`]}:${u[`x-scalar-secret-client-secret`]}`)}`);let t=xo(u[`x-scalar-secret-token-url`]??u.tokenUrl,b8(c,l)),n=await(await o(xw(a,t)?`${a}?${new URLSearchParams([[`scalar_url`,t]]).toString()}`:t,{method:`POST`,headers:e,body:d})).json(),r=n[u[`x-tokenName`]||`access_token`],i=n.refresh_token;return r?[null,{accessToken:r,...typeof i==`string`?{refreshToken:i}:{}}]:[Error(n.error_description??n.error??`Failed to get an access token`),null]}catch(e){return[e instanceof Error?e:Error(`Failed to get an access token. Please check your credentials.`,{cause:e}),null]}},Hye=async(e,t,n,r,i={},a=fetch)=>{let o=e[t];if(!o)return[Error(`OAuth2 flow was not defined`),null];let s=o[`x-scalar-secret-refresh-token`];if(!s)return[Error(`No refresh token available`),null];let c=new URLSearchParams;c.set(`grant_type`,`refresh_token`),c.set(`refresh_token`,s);let l=o[`x-scalar-credentials-location`]===`body`,u=v8(t,o),d=!!o[`x-scalar-secret-client-secret`]&&!u;(l||t===`authorizationCode`&&!d)&&c.set(`client_id`,o[`x-scalar-secret-client-id`]),l&&d&&c.set(`client_secret`,o[`x-scalar-secret-client-secret`]),o[`x-scalar-security-body`]&&Object.entries(o[`x-scalar-security-body`]).forEach(([e,t])=>{t!=null&&c.set(e,String(t))});try{let e={"Content-Type":`application/x-www-form-urlencoded`};!l&&d&&(e.Authorization=`Basic ${jw(`${o[`x-scalar-secret-client-id`]}:${o[`x-scalar-secret-client-secret`]}`)}`);let t=xo(o.refreshUrl||o[`x-scalar-secret-token-url`]||o.tokenUrl,b8(r,i)),u=await(await a(xw(n,t)?`${n}?${new URLSearchParams([[`scalar_url`,t]]).toString()}`:t,{method:`POST`,headers:e,body:c})).json(),f=u[o[`x-tokenName`]||`access_token`],p=u.refresh_token;return f?[null,{accessToken:f,...typeof p==`string`?{refreshToken:p}:{refreshToken:s}}]:[Error(u.error_description??u.error??`Token refresh failed`),null]}catch(e){return[e instanceof Error?e:Error(`Failed to refresh the access token. Please re-authorize.`,{cause:e}),null]}},S8=e=>e.oauth2RedirectUri?e.oauth2RedirectUri:typeof window>`u`||window.location.protocol===`file:`?``:window.location.origin+window.location.pathname,Uye=Object.defineProperty,Wye=(e,t,n)=>t in e?Uye(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,C8=(e,t,n)=>Wye(e,typeof t==`symbol`?t:t+``,n);function Gye(e){if(!e||typeof document>`u`)return;function t(){let t=document.head||document.getElementsByTagName(`head`)[0];if(!t)return;let n=document.createElement(`style`);n.type=`text/css`,t.appendChild(n),n.styleSheet?n.styleSheet.cssText=e:n.appendChild(document.createTextNode(e))}document.readyState===`loading`?document.addEventListener(`DOMContentLoaded`,t):t()}Gye(`: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%)}`);var w8=0,T8=new class{constructor(){C8(this,`subscribers`),C8(this,`toasts`),C8(this,`subscribe`,e=>(this.subscribers.push(e),()=>{let t=this.subscribers.indexOf(e);this.subscribers.splice(t,1)})),C8(this,`publish`,e=>{this.subscribers.forEach(t=>t(e))}),C8(this,`addToast`,e=>{this.publish(e),this.toasts=[...this.toasts,e]}),C8(this,`create`,e=>{let{message:t,...n}=e,r=typeof e.id==`number`||e.id&&e.id?.length>0?e.id:w8++,i=this.toasts.find(e=>e.id===r),a=e.dismissible===void 0?!0:e.dismissible;return i?this.toasts=this.toasts.map(n=>n.id===r?(this.publish({...n,...e,id:r,title:t}),{...n,...e,id:r,dismissible:a,title:t}):n):this.addToast({title:t,...n,dismissible:a,id:r}),r}),C8(this,`dismiss`,e=>(e||this.toasts.forEach(e=>{this.subscribers.forEach(t=>t({id:e.id,dismiss:!0}))}),this.subscribers.forEach(t=>t({id:e,dismiss:!0})),e)),C8(this,`message`,(e,t)=>this.create({...t,message:e,type:`default`})),C8(this,`error`,(e,t)=>this.create({...t,type:`error`,message:e})),C8(this,`success`,(e,t)=>this.create({...t,type:`success`,message:e})),C8(this,`info`,(e,t)=>this.create({...t,type:`info`,message:e})),C8(this,`warning`,(e,t)=>this.create({...t,type:`warning`,message:e})),C8(this,`loading`,(e,t)=>this.create({...t,type:`loading`,message:e})),C8(this,`promise`,(e,t)=>{if(!t)return;let n;t.loading!==void 0&&(n=this.create({...t,promise:e,type:`loading`,message:t.loading,description:typeof t.description==`function`?void 0:t.description}));let r=e instanceof Promise?e:e(),i=n!==void 0,a,o=r.then(async e=>{if(a=[`resolve`,e],qye(e)&&!e.ok){i=!1;let r=typeof t.error==`function`?await t.error(`HTTP error! status: ${e.status}`):t.error,a=typeof t.description==`function`?await t.description(`HTTP error! status: ${e.status}`):t.description;this.create({id:n,type:`error`,message:r,description:a})}else if(t.success!==void 0){i=!1;let r=typeof t.success==`function`?await t.success(e):t.success,a=typeof t.description==`function`?await t.description(e):t.description;this.create({id:n,type:`success`,message:r,description:a})}}).catch(async e=>{if(a=[`reject`,e],t.error!==void 0){i=!1;let r=typeof t.error==`function`?await t.error(e):t.error,a=typeof t.description==`function`?await t.description(e):t.description;this.create({id:n,type:`error`,message:r,description:a})}}).finally(()=>{var e;i&&(this.dismiss(n),n=void 0),(e=t.finally)==null||e.call(t)}),s=()=>new Promise((e,t)=>o.then(()=>a[0]===`reject`?t(a[1]):e(a[1])).catch(t));return typeof n!=`string`&&typeof n!=`number`?{unwrap:s}:Object.assign(n,{unwrap:s})}),C8(this,`custom`,(e,t)=>{let n=t?.id||w8++;return this.publish({component:e,id:n,...t}),n}),this.subscribers=[],this.toasts=[]}};function Kye(e,t){let n=t?.id||w8++;return T8.create({message:e,id:n,type:`default`,...t}),n}var qye=e=>e&&typeof e==`object`&&`ok`in e&&typeof e.ok==`boolean`&&`status`in e&&typeof e.status==`number`,Jye=Kye,E8=Object.assign(Jye,{success:T8.success,info:T8.info,warning:T8.warning,error:T8.error,custom:T8.custom,message:T8.message,promise:T8.promise,dismiss:T8.dismiss,loading:T8.loading},{getHistory:()=>T8.toasts});function D8(e){return e.label!==void 0}function Yye(){let e=A(!1);return He(()=>{let t=()=>{e.value=document.hidden};return document.addEventListener(`visibilitychange`,t),()=>window.removeEventListener(`visibilitychange`,t)}),{isDocumentHidden:e}}var Xye=[`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`],Zye=[`aria-label`,`data-disabled`],O8=4e3,Qye=20,$ye=200,ebe=w({__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}){let n=e,r=t,i=A(!1),a=A(!1),s=A(!1),c=A(!1),l=A(!1),u=A(0),d=A(0),f=A(n.toast.duration||n.duration||O8),p=A(null),m=A(null),h=j(()=>n.index===0),g=j(()=>n.index+1<=n.visibleToasts),_=j(()=>n.toast.type),b=j(()=>n.toast.dismissible!==!1),ee=j(()=>n.toast.class||``),ne=j(()=>n.descriptionClass||``),re=n.toast.style||{},ie=j(()=>n.heights.findIndex(e=>e.toastId===n.toast.id)||0),ae=j(()=>n.toast.closeButton??n.closeButton);j(()=>n.toast.duration||n.duration||O8);let oe=A(0),C=A(0),ce=A(null),le=j(()=>n.position.split(`-`)),de=j(()=>le.value[0]),w=j(()=>le.value[1]),fe=j(()=>typeof n.toast.title!=`string`),pe=j(()=>typeof n.toast.description!=`string`),me=j(()=>n.heights.reduce((e,t,n)=>n>=ie.value?e:e+t.height,0)),he=Yye(),ge=j(()=>n.toast.invert||n.invert),_e=j(()=>_.value===`loading`),ve=j(()=>ie.value*n.gap+me.value||0);ue(()=>{if(!i.value)return;let e=m.value,t=e?.style.height;e.style.height=`auto`;let a=e.getBoundingClientRect().height;e.style.height=t,d.value=a;let o;o=n.heights.find(e=>e.toastId===n.toast.id)?n.heights.map(e=>e.toastId===n.toast.id?{...e,height:a}:e):[{toastId:n.toast.id,height:a,position:n.toast.position},...n.heights],r(`update:heights`,o)});function ye(){a.value=!0,u.value=ve.value,r(`update:heights`,n.heights.filter(e=>e.toastId!==n.toast.id)),setTimeout(()=>{r(`removeToast`,n.toast)},$ye)}function xe(){var e,t;if(_e.value||!b.value)return{};ye(),(t=(e=n.toast).onDismiss)==null||t.call(e,n.toast)}function Se(e){_e.value||!b.value||(p.value=new Date,u.value=ve.value,e.target.setPointerCapture(e.pointerId),e.target.tagName!==`BUTTON`&&(s.value=!0,ce.value={x:e.clientX,y:e.clientY}))}function Ce(){var e,t,r;if(c.value||!b)return;ce.value=null;let i=Number(m.value?.style.getPropertyValue(`--swipe-amount`).replace(`px`,``)||0),a=new Date().getTime()-p.value?.getTime(),o=Math.abs(i)/a;if(Math.abs(i)>=Qye||o>.11){u.value=ve.value,(t=(e=n.toast).onDismiss)==null||t.call(e,n.toast),ye(),c.value=!0,l.value=!1;return}(r=m.value)==null||r.style.setProperty(`--swipe-amount`,`0px`),s.value=!1}function we(e){var t;if(!ce.value||!b.value)return;let n=e.clientY-ce.value.y,r=window.getSelection()?.toString().length>0,i=de.value===`top`?Math.min(0,n):Math.max(0,n);Math.abs(i)>0&&(l.value=!0),!r&&((t=m.value)==null||t.style.setProperty(`--swipe-amount`,`${i}px`))}return He(e=>{if(n.toast.promise&&_.value===`loading`||n.toast.duration===1/0||n.toast.type===`loading`)return;let t;n.expanded||n.interacting||n.pauseWhenPageIsHidden&&he?(()=>{if(C.value<oe.value){let e=new Date().getTime()-oe.value;f.value-=e}C.value=new Date().getTime()})():f.value!==1/0&&(oe.value=new Date().getTime(),t=setTimeout(()=>{var e,t;(t=(e=n.toast).onAutoClose)==null||t.call(e,n.toast),ye()},f.value)),e(()=>{clearTimeout(t)})}),Xe(()=>n.toast.delete,()=>{n.toast.delete&&ye()},{deep:!0}),ue(()=>{if(i.value=!0,m.value){let e=m.value.getBoundingClientRect().height;d.value=e,r(`update:heights`,[{toastId:n.toast.id,height:e,position:n.toast.position},...n.heights])}}),se(()=>{m.value&&r(`update:heights`,n.heights.filter(e=>e.toastId!==n.toast.id))}),(e,t)=>{var r,l;return y(),M(`li`,{ref_key:`toastRef`,ref:m,"aria-live":e.toast.important?`assertive`:`polite`,"aria-atomic":`true`,role:`status`,tabindex:`0`,"data-sonner-toast":`true`,class:v(e.cn(n.class,ee.value,e.classes?.toast,e.toast.classes?.toast,e.classes?.[_.value],e.toast?.classes?.[_.value])),"data-rich-colors":e.toast.richColors??e.defaultRichColors,"data-styled":!(e.toast.component||(r=e.toast)!=null&&r.unstyled||e.unstyled),"data-mounted":i.value,"data-promise":!!e.toast.promise,"data-removed":a.value,"data-visible":g.value,"data-y-position":de.value,"data-x-position":w.value,"data-index":e.index,"data-front":h.value,"data-swiping":s.value,"data-dismissible":b.value,"data-type":_.value,"data-invert":ge.value,"data-swipe-out":c.value,"data-expanded":!!(e.expanded||e.expandByDefault&&i.value),style:te({"--index":e.index,"--toasts-before":e.index,"--z-index":e.toasts.length-e.index,"--offset":`${a.value?u.value:ve.value}px`,"--initial-height":e.expandByDefault?`auto`:`${d.value}px`,...e.style,...T(re)}),onPointerdown:Se,onPointerup:Ce,onPointermove:we},[ae.value&&!e.toast.component?(y(),M(`button`,{key:0,"aria-label":e.closeButtonAriaLabel||`Close toast`,"data-disabled":_e.value,"data-close-button":`true`,class:v(e.cn(e.classes?.closeButton,e.toast?.classes?.closeButton)),onClick:xe},[(l=e.icons)!=null&&l.close?(y(),O(x(e.icons?.close),{key:0})):S(e.$slots,`close-icon`,{key:1})],10,Zye)):k(``,!0),e.toast.component?(y(),O(x(e.toast.component),o({key:1},e.toast.componentProps,{onCloseToast:xe}),null,16)):(y(),M(Ne,{key:2},[_.value!==`default`||e.toast.icon||e.toast.promise?(y(),M(`div`,{key:0,"data-icon":``,class:v(e.cn(e.classes?.icon,e.toast?.classes?.icon))},[e.toast.icon?(y(),O(x(e.toast.icon),{key:0})):(y(),M(Ne,{key:1},[_.value===`loading`?S(e.$slots,`loading-icon`,{key:0}):_.value===`success`?S(e.$slots,`success-icon`,{key:1}):_.value===`error`?S(e.$slots,`error-icon`,{key:2}):_.value===`warning`?S(e.$slots,`warning-icon`,{key:3}):_.value===`info`?S(e.$slots,`info-icon`,{key:4}):k(``,!0)],64))],2)):k(``,!0),N(`div`,{"data-content":``,class:v(e.cn(e.classes?.content,e.toast?.classes?.content))},[N(`div`,{"data-title":``,class:v(e.cn(e.classes?.title,e.toast.classes?.title))},[fe.value?(y(),O(x(e.toast.title),qe(o({key:0},e.toast.componentProps)),null,16)):(y(),M(Ne,{key:1},[tt(be(e.toast.title),1)],64))],2),e.toast.description?(y(),M(`div`,{key:0,"data-description":``,class:v(e.cn(e.descriptionClass,ne.value,e.classes?.description,e.toast.classes?.description))},[pe.value?(y(),O(x(e.toast.description),qe(o({key:0},e.toast.componentProps)),null,16)):(y(),M(Ne,{key:1},[tt(be(e.toast.description),1)],64))],2)):k(``,!0)],2),e.toast.cancel?(y(),M(`button`,{key:1,style:te(e.toast.cancelButtonStyle||e.cancelButtonStyle),class:v(e.cn(e.classes?.cancelButton,e.toast.classes?.cancelButton)),"data-button":``,"data-cancel":``,onClick:t[0]||=t=>{var n,r;T(D8)(e.toast.cancel)&&b.value&&((r=(n=e.toast.cancel).onClick)==null||r.call(n,t),ye())}},be(T(D8)(e.toast.cancel)?e.toast.cancel?.label:e.toast.cancel),7)):k(``,!0),e.toast.action?(y(),M(`button`,{key:2,style:te(e.toast.actionButtonStyle||e.actionButtonStyle),class:v(e.cn(e.classes?.actionButton,e.toast.classes?.actionButton)),"data-button":``,"data-action":``,onClick:t[1]||=t=>{var n,r;T(D8)(e.toast.action)&&(t.defaultPrevented||((r=(n=e.toast.action).onClick)==null||r.call(n,t),!t.defaultPrevented&&ye()))}},be(T(D8)(e.toast.action)?e.toast.action?.label:e.toast.action),7)):k(``,!0)],64))],46,Xye)}}}),k8=(e,t)=>{let n=e.__vccOpts||e;for(let[e,r]of t)n[e]=r;return n},tbe={},nbe={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 rbe(e,t){return y(),M(`svg`,nbe,t[0]||=[N(`line`,{x1:`18`,y1:`6`,x2:`6`,y2:`18`},null,-1),N(`line`,{x1:`6`,y1:`6`,x2:`18`,y2:`18`},null,-1)])}var ibe=k8(tbe,[[`render`,rbe]]),abe=[`data-visible`],obe={class:`sonner-spinner`},sbe=w({__name:`Loader`,props:{visible:{type:Boolean}},setup(e){let t=Array(12).fill(0);return(e,n)=>(y(),M(`div`,{class:`sonner-loading-wrapper`,"data-visible":e.visible},[N(`div`,obe,[(y(!0),M(Ne,null,_(T(t),e=>(y(),M(`div`,{key:`spinner-bar-${e}`,class:`sonner-loading-bar`}))),128))])],8,abe))}}),cbe={},lbe={xmlns:`http://www.w3.org/2000/svg`,viewBox:`0 0 20 20`,fill:`currentColor`,height:`20`,width:`20`};function ube(e,t){return y(),M(`svg`,lbe,t[0]||=[N(`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)])}var dbe=k8(cbe,[[`render`,ube]]),fbe={},pbe={xmlns:`http://www.w3.org/2000/svg`,viewBox:`0 0 20 20`,fill:`currentColor`,height:`20`,width:`20`};function mbe(e,t){return y(),M(`svg`,pbe,t[0]||=[N(`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)])}var hbe=k8(fbe,[[`render`,mbe]]),gbe={},_be={xmlns:`http://www.w3.org/2000/svg`,viewBox:`0 0 24 24`,fill:`currentColor`,height:`20`,width:`20`};function vbe(e,t){return y(),M(`svg`,_be,t[0]||=[N(`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)])}var ybe=k8(gbe,[[`render`,vbe]]),bbe={},xbe={xmlns:`http://www.w3.org/2000/svg`,viewBox:`0 0 20 20`,fill:`currentColor`,height:`20`,width:`20`};function Sbe(e,t){return y(),M(`svg`,xbe,t[0]||=[N(`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)])}var Cbe=k8(bbe,[[`render`,Sbe]]),wbe=[`aria-label`],Tbe=[`dir`,`data-theme`,`data-rich-colors`,`data-y-position`,`data-x-position`,`data-lifted`],Ebe=3,A8=`32px`,Dbe=356,Obe=14,kbe=typeof window<`u`&&typeof document<`u`;function Abe(...e){return e.filter(Boolean).join(` `)}var jbe=w({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:Obe},visibleToasts:{default:Ebe},closeButton:{type:Boolean,default:!1},toastOptions:{default:()=>({})},class:{default:``},style:{default:()=>({})},offset:{default:A8},dir:{default:`auto`},icons:{},containerAriaLabel:{default:`Notifications`},pauseWhenPageIsHidden:{type:Boolean,default:!1},cn:{type:Function,default:Abe}},setup(e){let t=e;function n(){if(typeof window>`u`||typeof document>`u`)return`ltr`;let e=document.documentElement.getAttribute(`dir`);return e===`auto`||!e?window.getComputedStyle(document.documentElement).direction:e}let r=ve(),i=A([]),a=j(()=>(e,t)=>i.value.filter(n=>!n.position&&t===0||n.position===e)),s=j(()=>{let e=i.value.filter(e=>e.position).map(e=>e.position);return e.length>0?Array.from(new Set([t.position].concat(e))):[t.position]}),c=A([]),l=A(!1),u=A(!1),d=A(t.theme===`system`?typeof window<`u`&&window.matchMedia&&window.matchMedia(`(prefers-color-scheme: dark)`).matches?`dark`:`light`:t.theme),f=A(null),p=A(null),m=A(!1),h=t.hotkey.join(`+`).replace(/Key/g,``).replace(/Digit/g,``);function g(e){var t;(t=i.value.find(t=>t.id===e.id))!=null&&t.delete||T8.dismiss(e.id),i.value=i.value.filter(({id:t})=>t!==e.id)}function b(e){var t,n;m.value&&!((n=(t=e.currentTarget)?.contains)!=null&&n.call(t,e.relatedTarget))&&(m.value=!1,p.value&&=(p.value.focus({preventScroll:!0}),null))}function ee(e){e.target instanceof HTMLElement&&e.target.dataset.dismissible===`false`||m.value||(m.value=!0,p.value=e.relatedTarget)}function x(e){e.target&&e.target instanceof HTMLElement&&e.target.dataset.dismissible===`false`||(u.value=!0)}return He(e=>{e(T8.subscribe(e=>{if(e.dismiss){i.value=i.value.map(t=>t.id===e.id?{...t,delete:!0}:t);return}Pe(()=>{let t=i.value.findIndex(t=>t.id===e.id);t===-1?i.value=[e,...i.value]:i.value=[...i.value.slice(0,t),{...i.value[t],...e},...i.value.slice(t+1)]})}))}),Xe(()=>t.theme,e=>{if(e!==`system`){d.value=e;return}if(e===`system`&&(window.matchMedia&&window.matchMedia(`(prefers-color-scheme: dark)`).matches?d.value=`dark`:d.value=`light`),typeof window>`u`)return;let t=window.matchMedia(`(prefers-color-scheme: dark)`);try{t.addEventListener(`change`,({matches:e})=>{e?d.value=`dark`:d.value=`light`})}catch{t.addListener(({matches:e})=>{try{e?d.value=`dark`:d.value=`light`}catch(e){console.error(e)}})}}),He(()=>{f.value&&p.value&&(p.value.focus({preventScroll:!0}),p.value=null,m.value=!1)}),He(()=>{i.value.length<=1&&(l.value=!1)}),He(e=>{function n(e){let n=t.hotkey.every(t=>e[t]||e.code===t),r=Array.isArray(f.value)?f.value[0]:f.value;n&&(l.value=!0,r?.focus());let i=document.activeElement===f.value||r?.contains(document.activeElement);e.code===`Escape`&&i&&(l.value=!1)}kbe&&(document.addEventListener(`keydown`,n),e(()=>{document.removeEventListener(`keydown`,n)}))}),(e,d)=>(y(),M(`section`,{"aria-label":`${e.containerAriaLabel} ${T(h)}`,tabIndex:-1,"aria-live":`polite`,"aria-relevant":`additions text`,"aria-atomic":`false`},[(y(!0),M(Ne,null,_(s.value,(s,p)=>(y(),M(`ol`,o({key:s,ref_for:!0,ref_key:`listRef`,ref:f,"data-sonner-toaster":``,class:t.class,dir:e.dir===`auto`?n():e.dir,tabIndex:-1,"data-theme":e.theme,"data-rich-colors":e.richColors,"data-y-position":s.split(`-`)[0],"data-x-position":s.split(`-`)[1],"data-lifted":l.value&&i.value.length>1&&!e.expand,style:{"--front-toast-height":`${c.value[0]?.height}px`,"--offset":typeof e.offset==`number`?`${e.offset}px`:e.offset||A8,"--width":`${Dbe}px`,"--gap":`${e.gap}px`,...e.style,...T(r).style}},e.$attrs,{onBlur:b,onFocus:ee,onMouseenter:d[1]||=()=>l.value=!0,onMousemove:d[2]||=()=>l.value=!0,onMouseleave:d[3]||=()=>{u.value||(l.value=!1)},onPointerdown:x,onPointerup:d[4]||=()=>u.value=!1}),[(y(!0),M(Ne,null,_(a.value(s,p),(t,n)=>(y(),O(ebe,{key:t.id,heights:c.value.filter(e=>e.position===t.position),icons:e.icons,index:n,toast:t,defaultRichColors:e.richColors,duration:e.toastOptions?.duration??e.duration,class:v(e.toastOptions?.class??``),descriptionClass:e.toastOptions?.descriptionClass,invert:e.invert,visibleToasts:e.visibleToasts,closeButton:e.toastOptions?.closeButton??e.closeButton,interacting:u.value,position:s,style:te(e.toastOptions?.style),unstyled:e.toastOptions?.unstyled,classes:e.toastOptions?.classes,cancelButtonStyle:e.toastOptions?.cancelButtonStyle,actionButtonStyle:e.toastOptions?.actionButtonStyle,toasts:i.value.filter(e=>e.position===t.position),expandByDefault:e.expand,gap:e.gap,expanded:l.value,pauseWhenPageIsHidden:e.pauseWhenPageIsHidden,cn:e.cn,"onUpdate:heights":d[0]||=e=>{c.value=e},onRemoveToast:g},{"close-icon":E(()=>[S(e.$slots,`close-icon`,{},()=>[D(ibe)])]),"loading-icon":E(()=>[S(e.$slots,`loading-icon`,{},()=>[D(sbe,{visible:t.type===`loading`},null,8,[`visible`])])]),"success-icon":E(()=>[S(e.$slots,`success-icon`,{},()=>[D(dbe)])]),"error-icon":E(()=>[S(e.$slots,`error-icon`,{},()=>[D(Cbe)])]),"warning-icon":E(()=>[S(e.$slots,`warning-icon`,{},()=>[D(ybe)])]),"info-icon":E(()=>[S(e.$slots,`info-icon`,{},()=>[D(hbe)])]),_: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,Tbe))),128))],8,wbe))}});(function(){try{if(typeof document<`u`){var e=document.createElement(`style`);e.appendChild(document.createTextNode(`/**
230
+ * We need to be explicit to avoid !important. :)
231
+ *
232
+ * Original: https://github.com/xiaoluoboding/vue-sonner/blob/311ecc8d9a51b619f968e20f4b44992ad8412850/packages/styles.css#L91-L103
233
+ */
234
+ .scalar-toaster [data-sonner-toast][data-styled='true'] {
235
+ background: var(--scalar-background-1);
236
+ color: var(--scalar-color-1);
237
+ padding: 18px;
238
+ border: none;
239
+ border-radius: var(--scalar-radius-lg);
240
+ font-size: var(--scalar-font-size-3);
241
+ font-weight: var(--scalar-font-medium);
242
+ box-shadow: var(--scalar-shadow-2);
243
+ }
244
+ .scalar-toaster [data-sonner-toast] [data-icon] {
245
+ align-self: flex-start;
246
+ position: relative;
247
+ top: 2px;
248
+ }
249
+ .scalar-toaster [data-sonner-toast][data-styled='true'][data-expanded='true'] {
250
+ height: auto;
251
+ }
252
+ .scalar-toaster [data-sonner-toast][data-type='error'] {
253
+ background: var(--scalar-background-1);
254
+ }
255
+ .scalar-toaster [data-sonner-toast][data-type='error'] [data-icon] {
256
+ color: color-mix(in srgb, var(--scalar-color-red) 75%, var(--scalar-color-1));
257
+ }
258
+ .scalar-toaster [data-sonner-toast][data-type='warning'] {
259
+ background: var(--scalar-background-1);
260
+ }
261
+ .scalar-toaster [data-sonner-toast][data-type='warning'] [data-icon] {
262
+ color: color-mix(
263
+ in srgb,
264
+ var(--scalar-color-orange) 90%,
265
+ var(--scalar-color-1)
266
+ );
267
+ }
268
+ /*$vite$:1*/`)),document.head.appendChild(e)}}catch(e){console.error(`vite-plugin-css-injected-by-js`,e)}})();var j8={toast:()=>null};function Mbe(e){j8.toast=e}function M8(){return{initializeToasts:Mbe,toast:(e,t=`info`,n={timeout:3e3})=>{j8.toast(e,t,n)}}}var Nbe=w({__name:`ScalarToasts`,setup(e){let t=A(!1);ue(()=>t.value=!0);let n={success:E8.success,error:E8.error,warn:E8.warning,info:E8},{initializeToasts:r}=M8();return r((e,t=`info`,r={})=>{(n[t]||n.info)(e,{duration:r.timeout||3e3,description:r.description})}),(e,n)=>t.value?(y(),O(T(jbe),{key:0,class:`scalar-toaster`})):k(``,!0)}});function N8(){return Be({isValid:!1,isInvalid:!1,isLoading:!1,isActive:!1,start(){this.isLoading=!0,this.isActive=!0,this.isInvalid=!1,this.isValid=!1},validate(e={}){let{duration:t=1100,persist:n=!1}=e;this.isLoading=!1,this.isInvalid=!1,this.isValid=!0,this.isActive=!0;let r=n?t:t-300;return new Promise(e=>n?setTimeout(()=>e(),r):setTimeout(()=>this.clear().then(()=>e()),r))},invalidate(e={}){let{duration:t=1100,persist:n=!1}=e??{};this.isLoading=!1,this.isValid=!1,this.isInvalid=!0,this.isActive=!0;let r=n?t:t-300;return new Promise(e=>n?setTimeout(()=>e(),r):setTimeout(()=>this.clear().then(()=>e()),r))},clear(e={}){let{duration:t=300}=e;return this.isValid=!1,this.isInvalid=!1,this.isLoading=!1,new Promise(e=>{setTimeout(()=>{this.isActive=!1,e()},t)})}})}Object.freeze({status:`aborted`});function $(e,t,n){function r(n,r){if(n._zod||Object.defineProperty(n,`_zod`,{value:{def:r,constr:o,traits:new Set},enumerable:!1}),n._zod.traits.has(e))return;n._zod.traits.add(e),t(n,r);let i=o.prototype,a=Object.keys(i);for(let e=0;e<a.length;e++){let t=a[e];t in n||(n[t]=i[t].bind(n))}}let i=n?.Parent??Object;class a extends i{}Object.defineProperty(a,`name`,{value:e});function o(e){var t;let i=n?.Parent?new a:this;r(i,e),(t=i._zod).deferred??(t.deferred=[]);for(let e of i._zod.deferred)e();return i}return Object.defineProperty(o,`init`,{value:r}),Object.defineProperty(o,Symbol.hasInstance,{value:t=>n?.Parent&&t instanceof n.Parent?!0:t?._zod?.traits?.has(e)}),Object.defineProperty(o,`name`,{value:e}),o}var P8=class extends Error{constructor(){super(`Encountered Promise during synchronous parse. Use .parseAsync() instead.`)}},F8=class extends Error{constructor(e){super(`Encountered unidirectional transform during encode: ${e}`),this.name=`ZodEncodeError`}},I8={};function L8(e){return e&&Object.assign(I8,e),I8}function R8(e){let t=Object.values(e).filter(e=>typeof e==`number`);return Object.entries(e).filter(([e,n])=>t.indexOf(+e)===-1).map(([e,t])=>t)}function z8(e,t){return typeof t==`bigint`?t.toString():t}function B8(e){return{get value(){{let t=e();return Object.defineProperty(this,`value`,{value:t}),t}throw Error(`cached value already set`)}}}function V8(e){return e==null}function H8(e){let t=e.startsWith(`^`)?1:0,n=e.endsWith(`$`)?e.length-1:e.length;return e.slice(t,n)}function Pbe(e,t){let n=(e.toString().split(`.`)[1]||``).length,r=t.toString(),i=(r.split(`.`)[1]||``).length;if(i===0&&/\d?e-\d?/.test(r)){let e=r.match(/\d?e-(\d?)/);e?.[1]&&(i=Number.parseInt(e[1]))}let a=n>i?n:i;return Number.parseInt(e.toFixed(a).replace(`.`,``))%Number.parseInt(t.toFixed(a).replace(`.`,``))/10**a}var U8=Symbol(`evaluating`);function W8(e,t,n){let r;Object.defineProperty(e,t,{get(){if(r!==U8)return r===void 0&&(r=U8,r=n()),r},set(n){Object.defineProperty(e,t,{value:n})},configurable:!0})}function G8(e,t,n){Object.defineProperty(e,t,{value:n,writable:!0,enumerable:!0,configurable:!0})}function K8(...e){let t={};for(let n of e){let e=Object.getOwnPropertyDescriptors(n);Object.assign(t,e)}return Object.defineProperties({},t)}function q8(e){return JSON.stringify(e)}function Fbe(e){return e.toLowerCase().trim().replace(/[^\w\s-]/g,``).replace(/[\s_-]+/g,`-`).replace(/^-+|-+$/g,``)}var J8=`captureStackTrace`in Error?Error.captureStackTrace:(...e)=>{};function Y8(e){return typeof e==`object`&&!!e&&!Array.isArray(e)}var Ibe=B8(()=>{if(typeof navigator<`u`&&navigator?.userAgent?.includes(`Cloudflare`))return!1;try{return Function(``),!0}catch{return!1}});function X8(e){if(Y8(e)===!1)return!1;let t=e.constructor;if(t===void 0||typeof t!=`function`)return!0;let n=t.prototype;return!(Y8(n)===!1||Object.prototype.hasOwnProperty.call(n,`isPrototypeOf`)===!1)}function Z8(e){return X8(e)?{...e}:Array.isArray(e)?[...e]:e}var Lbe=new Set([`string`,`number`,`symbol`]);function Q8(e){return e.replace(/[.*+?^${}()|[\]\\]/g,`\\$&`)}function $8(e,t,n){let r=new e._zod.constr(t??e._zod.def);return(!t||n?.parent)&&(r._zod.parent=e),r}function e5(e){let t=e;if(!t)return{};if(typeof t==`string`)return{error:()=>t};if(t?.message!==void 0){if(t?.error!==void 0)throw 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 Rbe(e){return Object.keys(e).filter(t=>e[t]._zod.optin===`optional`&&e[t]._zod.optout===`optional`)}var zbe={safeint:[-(2**53-1),2**53-1],int32:[-2147483648,2147483647],uint32:[0,4294967295],float32:[-34028234663852886e22,34028234663852886e22],float64:[-Number.MAX_VALUE,Number.MAX_VALUE]};function Bbe(e,t){let n=e._zod.def,r=n.checks;if(r&&r.length>0)throw Error(`.pick() cannot be used on object schemas containing refinements`);return $8(e,K8(e._zod.def,{get shape(){let e={};for(let r in t){if(!(r in n.shape))throw Error(`Unrecognized key: "${r}"`);t[r]&&(e[r]=n.shape[r])}return G8(this,`shape`,e),e},checks:[]}))}function Vbe(e,t){let n=e._zod.def,r=n.checks;if(r&&r.length>0)throw Error(`.omit() cannot be used on object schemas containing refinements`);return $8(e,K8(e._zod.def,{get shape(){let r={...e._zod.def.shape};for(let e in t){if(!(e in n.shape))throw Error(`Unrecognized key: "${e}"`);t[e]&&delete r[e]}return G8(this,`shape`,r),r},checks:[]}))}function Hbe(e,t){if(!X8(t))throw Error(`Invalid input to extend: expected a plain object`);let n=e._zod.def.checks;if(n&&n.length>0){let n=e._zod.def.shape;for(let e in t)if(Object.getOwnPropertyDescriptor(n,e)!==void 0)throw Error("Cannot overwrite keys on object schemas containing refinements. Use `.safeExtend()` instead.")}return $8(e,K8(e._zod.def,{get shape(){let n={...e._zod.def.shape,...t};return G8(this,`shape`,n),n}}))}function Ube(e,t){if(!X8(t))throw Error(`Invalid input to safeExtend: expected a plain object`);return $8(e,K8(e._zod.def,{get shape(){let n={...e._zod.def.shape,...t};return G8(this,`shape`,n),n}}))}function Wbe(e,t){return $8(e,K8(e._zod.def,{get shape(){let n={...e._zod.def.shape,...t._zod.def.shape};return G8(this,`shape`,n),n},get catchall(){return t._zod.def.catchall},checks:[]}))}function Gbe(e,t,n){let r=t._zod.def.checks;if(r&&r.length>0)throw Error(`.partial() cannot be used on object schemas containing refinements`);return $8(t,K8(t._zod.def,{get shape(){let r=t._zod.def.shape,i={...r};if(n)for(let t in n){if(!(t in r))throw Error(`Unrecognized key: "${t}"`);n[t]&&(i[t]=e?new e({type:`optional`,innerType:r[t]}):r[t])}else for(let t in r)i[t]=e?new e({type:`optional`,innerType:r[t]}):r[t];return G8(this,`shape`,i),i},checks:[]}))}function Kbe(e,t,n){return $8(t,K8(t._zod.def,{get shape(){let r=t._zod.def.shape,i={...r};if(n)for(let t in n){if(!(t in i))throw Error(`Unrecognized key: "${t}"`);n[t]&&(i[t]=new e({type:`nonoptional`,innerType:r[t]}))}else for(let t in r)i[t]=new e({type:`nonoptional`,innerType:r[t]});return G8(this,`shape`,i),i}}))}function t5(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 n5(e,t){return t.map(t=>{var n;return(n=t).path??(n.path=[]),t.path.unshift(e),t})}function r5(e){return typeof e==`string`?e:e?.message}function i5(e,t,n){let r={...e,path:e.path??[]};return e.message||(r.message=r5(e.inst?._zod.def?.error?.(e))??r5(t?.error?.(e))??r5(n.customError?.(e))??r5(n.localeError?.(e))??`Invalid input`),delete r.inst,delete r.continue,t?.reportInput||delete r.input,r}function a5(e){return Array.isArray(e)?`array`:typeof e==`string`?`string`:`unknown`}function o5(...e){let[t,n,r]=e;return typeof t==`string`?{message:t,code:`custom`,input:n,inst:r}:{...t}}var s5=(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,z8,2),Object.defineProperty(e,`toString`,{value:()=>e.message,enumerable:!1})},c5=$(`$ZodError`,s5),l5=$(`$ZodError`,s5,{Parent:Error});function qbe(e,t=e=>e.message){let n={},r=[];for(let i of e.issues)i.path.length>0?(n[i.path[0]]=n[i.path[0]]||[],n[i.path[0]].push(t(i))):r.push(t(i));return{formErrors:r,fieldErrors:n}}function Jbe(e,t=e=>e.message){let n={_errors:[]},r=e=>{for(let i of e.issues)if(i.code===`invalid_union`&&i.errors.length)i.errors.map(e=>r({issues:e}));else if(i.code===`invalid_key`)r({issues:i.issues});else if(i.code===`invalid_element`)r({issues:i.issues});else if(i.path.length===0)n._errors.push(t(i));else{let e=n,r=0;for(;r<i.path.length;){let n=i.path[r];r===i.path.length-1?(e[n]=e[n]||{_errors:[]},e[n]._errors.push(t(i))):e[n]=e[n]||{_errors:[]},e=e[n],r++}}};return r(e),n}var u5=e=>(t,n,r,i)=>{let a=r?Object.assign(r,{async:!1}):{async:!1},o=t._zod.run({value:n,issues:[]},a);if(o instanceof Promise)throw new P8;if(o.issues.length){let t=new(i?.Err??e)(o.issues.map(e=>i5(e,a,L8())));throw J8(t,i?.callee),t}return o.value},d5=e=>async(t,n,r,i)=>{let a=r?Object.assign(r,{async:!0}):{async:!0},o=t._zod.run({value:n,issues:[]},a);if(o instanceof Promise&&(o=await o),o.issues.length){let t=new(i?.Err??e)(o.issues.map(e=>i5(e,a,L8())));throw J8(t,i?.callee),t}return o.value},f5=e=>(t,n,r)=>{let i=r?{...r,async:!1}:{async:!1},a=t._zod.run({value:n,issues:[]},i);if(a instanceof Promise)throw new P8;return a.issues.length?{success:!1,error:new(e??c5)(a.issues.map(e=>i5(e,i,L8())))}:{success:!0,data:a.value}},Ybe=f5(l5),p5=e=>async(t,n,r)=>{let i=r?Object.assign(r,{async:!0}):{async:!0},a=t._zod.run({value:n,issues:[]},i);return a instanceof Promise&&(a=await a),a.issues.length?{success:!1,error:new e(a.issues.map(e=>i5(e,i,L8())))}:{success:!0,data:a.value}},Xbe=p5(l5),Zbe=e=>(t,n,r)=>{let i=r?Object.assign(r,{direction:`backward`}):{direction:`backward`};return u5(e)(t,n,i)},Qbe=e=>(t,n,r)=>u5(e)(t,n,r),$be=e=>async(t,n,r)=>{let i=r?Object.assign(r,{direction:`backward`}):{direction:`backward`};return d5(e)(t,n,i)},exe=e=>async(t,n,r)=>d5(e)(t,n,r),txe=e=>(t,n,r)=>{let i=r?Object.assign(r,{direction:`backward`}):{direction:`backward`};return f5(e)(t,n,i)},nxe=e=>(t,n,r)=>f5(e)(t,n,r),rxe=e=>async(t,n,r)=>{let i=r?Object.assign(r,{direction:`backward`}):{direction:`backward`};return p5(e)(t,n,i)},ixe=e=>async(t,n,r)=>p5(e)(t,n,r),axe=/^[cC][^\s-]{8,}$/,oxe=/^[0-9a-z]+$/,sxe=/^[0-9A-HJKMNP-TV-Za-hjkmnp-tv-z]{26}$/,cxe=/^[0-9a-vA-V]{20}$/,lxe=/^[A-Za-z0-9]{27}$/,uxe=/^[a-zA-Z0-9_-]{21}$/,dxe=/^P(?:(\d+W)|(?!.*W)(?=\d|T\d)(\d+Y)?(\d+M)?(\d+D)?(T(?=\d)(\d+H)?(\d+M)?(\d+([.,]\d+)?S)?)?)$/,fxe=/^([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})$/,m5=e=>e?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)$/,pxe=/^(?!\.)(?!.*\.\.)([A-Za-z0-9_'+\-\.]*)[A-Za-z0-9_+-]@([A-Za-z0-9][A-Za-z0-9\-]*\.)+[A-Za-z]{2,}$/,mxe=`^(\\p{Extended_Pictographic}|\\p{Emoji_Component})+$`;function hxe(){return new RegExp(mxe,`u`)}var gxe=/^(?:(?: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])$/,_xe=/^(([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}|:))$/,vxe=/^((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])$/,yxe=/^(([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])$/,bxe=/^$|^(?:[0-9a-zA-Z+/]{4})*(?:(?:[0-9a-zA-Z+/]{2}==)|(?:[0-9a-zA-Z+/]{3}=))?$/,h5=/^[A-Za-z0-9_-]*$/,xxe=/^\+[1-9]\d{6,14}$/,g5=`(?:(?:\\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])))`,Sxe=RegExp(`^${g5}$`);function _5(e){let 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 Cxe(e){return RegExp(`^${_5(e)}$`)}function wxe(e){let t=_5({precision:e.precision}),n=[`Z`];e.local&&n.push(``),e.offset&&n.push(`([+-](?:[01]\\d|2[0-3]):[0-5]\\d)`);let r=`${t}(?:${n.join(`|`)})`;return RegExp(`^${g5}T(?:${r})$`)}var Txe=e=>{let t=e?`[\\s\\S]{${e?.minimum??0},${e?.maximum??``}}`:`[\\s\\S]*`;return RegExp(`^${t}$`)},Exe=/^-?\d+$/,v5=/^-?\d+(?:\.\d+)?$/,Dxe=/^(?:true|false)$/i,Oxe=/^null$/i,kxe=/^[^A-Z]*$/,Axe=/^[^a-z]*$/,y5=$(`$ZodCheck`,(e,t)=>{var n;e._zod??={},e._zod.def=t,(n=e._zod).onattach??(n.onattach=[])}),b5={number:`number`,bigint:`bigint`,object:`date`},x5=$(`$ZodCheckLessThan`,(e,t)=>{y5.init(e,t);let n=b5[typeof t.value];e._zod.onattach.push(e=>{let n=e._zod.bag,r=(t.inclusive?n.maximum:n.exclusiveMaximum)??1/0;t.value<r&&(t.inclusive?n.maximum=t.value:n.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})}}),S5=$(`$ZodCheckGreaterThan`,(e,t)=>{y5.init(e,t);let n=b5[typeof t.value];e._zod.onattach.push(e=>{let n=e._zod.bag,r=(t.inclusive?n.minimum:n.exclusiveMinimum)??-1/0;t.value>r&&(t.inclusive?n.minimum=t.value:n.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})}}),jxe=$(`$ZodCheckMultipleOf`,(e,t)=>{y5.init(e,t),e._zod.onattach.push(e=>{var n;(n=e._zod.bag).multipleOf??(n.multipleOf=t.value)}),e._zod.check=n=>{if(typeof n.value!=typeof t.value)throw Error(`Cannot mix number and bigint in multiple_of check.`);(typeof n.value==`bigint`?n.value%t.value===BigInt(0):Pbe(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})}}),Mxe=$(`$ZodCheckNumberFormat`,(e,t)=>{y5.init(e,t),t.format=t.format||`float64`;let n=t.format?.includes(`int`),r=n?`int`:`number`,[i,a]=zbe[t.format];e._zod.onattach.push(e=>{let r=e._zod.bag;r.format=t.format,r.minimum=i,r.maximum=a,n&&(r.pattern=Exe)}),e._zod.check=o=>{let 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>0?o.issues.push({input:s,code:`too_big`,maximum:2**53-1,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:-(2**53-1),note:`Integers must be within the safe integer range.`,inst:e,origin:r,inclusive:!0,continue:!t.abort});return}}s<i&&o.issues.push({origin:`number`,input:s,code:`too_small`,minimum:i,inclusive:!0,inst:e,continue:!t.abort}),s>a&&o.issues.push({origin:`number`,input:s,code:`too_big`,maximum:a,inclusive:!0,inst:e,continue:!t.abort})}}),Nxe=$(`$ZodCheckMaxLength`,(e,t)=>{var n;y5.init(e,t),(n=e._zod.def).when??(n.when=e=>{let t=e.value;return!V8(t)&&t.length!==void 0}),e._zod.onattach.push(e=>{let n=e._zod.bag.maximum??1/0;t.maximum<n&&(e._zod.bag.maximum=t.maximum)}),e._zod.check=n=>{let r=n.value;if(r.length<=t.maximum)return;let i=a5(r);n.issues.push({origin:i,code:`too_big`,maximum:t.maximum,inclusive:!0,input:r,inst:e,continue:!t.abort})}}),Pxe=$(`$ZodCheckMinLength`,(e,t)=>{var n;y5.init(e,t),(n=e._zod.def).when??(n.when=e=>{let t=e.value;return!V8(t)&&t.length!==void 0}),e._zod.onattach.push(e=>{let n=e._zod.bag.minimum??-1/0;t.minimum>n&&(e._zod.bag.minimum=t.minimum)}),e._zod.check=n=>{let r=n.value;if(r.length>=t.minimum)return;let i=a5(r);n.issues.push({origin:i,code:`too_small`,minimum:t.minimum,inclusive:!0,input:r,inst:e,continue:!t.abort})}}),Fxe=$(`$ZodCheckLengthEquals`,(e,t)=>{var n;y5.init(e,t),(n=e._zod.def).when??(n.when=e=>{let t=e.value;return!V8(t)&&t.length!==void 0}),e._zod.onattach.push(e=>{let n=e._zod.bag;n.minimum=t.length,n.maximum=t.length,n.length=t.length}),e._zod.check=n=>{let r=n.value,i=r.length;if(i===t.length)return;let a=a5(r),o=i>t.length;n.issues.push({origin:a,...o?{code:`too_big`,maximum:t.length}:{code:`too_small`,minimum:t.length},inclusive:!0,exact:!0,input:n.value,inst:e,continue:!t.abort})}}),C5=$(`$ZodCheckStringFormat`,(e,t)=>{var n,r;y5.init(e,t),e._zod.onattach.push(e=>{let n=e._zod.bag;n.format=t.format,t.pattern&&(n.patterns??=new Set,n.patterns.add(t.pattern))}),t.pattern?(n=e._zod).check??(n.check=n=>{t.pattern.lastIndex=0,!t.pattern.test(n.value)&&n.issues.push({origin:`string`,code:`invalid_format`,format:t.format,input:n.value,...t.pattern?{pattern:t.pattern.toString()}:{},inst:e,continue:!t.abort})}):(r=e._zod).check??(r.check=()=>{})}),Ixe=$(`$ZodCheckRegex`,(e,t)=>{C5.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})}}),Lxe=$(`$ZodCheckLowerCase`,(e,t)=>{t.pattern??=kxe,C5.init(e,t)}),Rxe=$(`$ZodCheckUpperCase`,(e,t)=>{t.pattern??=Axe,C5.init(e,t)}),zxe=$(`$ZodCheckIncludes`,(e,t)=>{y5.init(e,t);let n=Q8(t.includes),r=new RegExp(typeof t.position==`number`?`^.{${t.position}}${n}`:n);t.pattern=r,e._zod.onattach.push(e=>{let t=e._zod.bag;t.patterns??=new Set,t.patterns.add(r)}),e._zod.check=n=>{n.value.includes(t.includes,t.position)||n.issues.push({origin:`string`,code:`invalid_format`,format:`includes`,includes:t.includes,input:n.value,inst:e,continue:!t.abort})}}),Bxe=$(`$ZodCheckStartsWith`,(e,t)=>{y5.init(e,t);let n=RegExp(`^${Q8(t.prefix)}.*`);t.pattern??=n,e._zod.onattach.push(e=>{let t=e._zod.bag;t.patterns??=new Set,t.patterns.add(n)}),e._zod.check=n=>{n.value.startsWith(t.prefix)||n.issues.push({origin:`string`,code:`invalid_format`,format:`starts_with`,prefix:t.prefix,input:n.value,inst:e,continue:!t.abort})}}),Vxe=$(`$ZodCheckEndsWith`,(e,t)=>{y5.init(e,t);let n=RegExp(`.*${Q8(t.suffix)}$`);t.pattern??=n,e._zod.onattach.push(e=>{let t=e._zod.bag;t.patterns??=new Set,t.patterns.add(n)}),e._zod.check=n=>{n.value.endsWith(t.suffix)||n.issues.push({origin:`string`,code:`invalid_format`,format:`ends_with`,suffix:t.suffix,input:n.value,inst:e,continue:!t.abort})}}),Hxe=$(`$ZodCheckOverwrite`,(e,t)=>{y5.init(e,t),e._zod.check=e=>{e.value=t.tx(e.value)}}),Uxe=class{constructor(e=[]){this.content=[],this.indent=0,this&&(this.args=e)}indented(e){this.indent+=1,e(this),--this.indent}write(e){if(typeof e==`function`){e(this,{execution:`sync`}),e(this,{execution:`async`});return}let t=e.split(`
269
+ `).filter(e=>e),n=Math.min(...t.map(e=>e.length-e.trimStart().length)),r=t.map(e=>e.slice(n)).map(e=>` `.repeat(this.indent*2)+e);for(let e of r)this.content.push(e)}compile(){let e=Function,t=this?.args,n=[...(this?.content??[``]).map(e=>` ${e}`)];return new e(...t,n.join(`
270
+ `))}},Wxe={major:4,minor:3,patch:5},w5=$(`$ZodType`,(e,t)=>{var n;e??={},e._zod.def=t,e._zod.bag=e._zod.bag||{},e._zod.version=Wxe;let r=[...e._zod.def.checks??[]];e._zod.traits.has(`$ZodCheck`)&&r.unshift(e);for(let t of r)for(let n of t._zod.onattach)n(e);if(r.length===0)(n=e._zod).deferred??(n.deferred=[]),e._zod.deferred?.push(()=>{e._zod.run=e._zod.parse});else{let t=(e,t,n)=>{let r=t5(e),i;for(let a of t){if(a._zod.def.when){if(!a._zod.def.when(e))continue}else if(r)continue;let t=e.issues.length,o=a._zod.check(e);if(o instanceof Promise&&n?.async===!1)throw new P8;if(i||o instanceof Promise)i=(i??Promise.resolve()).then(async()=>{await o,e.issues.length!==t&&(r||=t5(e,t))});else{if(e.issues.length===t)continue;r||=t5(e,t)}}return i?i.then(()=>e):e},n=(n,i,a)=>{if(t5(n))return n.aborted=!0,n;let o=t(i,r,a);if(o instanceof Promise){if(a.async===!1)throw new P8;return o.then(t=>e._zod.parse(t,a))}return e._zod.parse(o,a)};e._zod.run=(i,a)=>{if(a.skipChecks)return e._zod.parse(i,a);if(a.direction===`backward`){let t=e._zod.parse({value:i.value,issues:[]},{...a,skipChecks:!0});return t instanceof Promise?t.then(e=>n(e,i,a)):n(t,i,a)}let o=e._zod.parse(i,a);if(o instanceof Promise){if(a.async===!1)throw new P8;return o.then(e=>t(e,r,a))}return t(o,r,a)}}W8(e,`~standard`,()=>({validate:t=>{try{let n=Ybe(e,t);return n.success?{value:n.data}:{issues:n.error?.issues}}catch{return Xbe(e,t).then(e=>e.success?{value:e.data}:{issues:e.error?.issues})}},vendor:`zod`,version:1}))}),T5=$(`$ZodString`,(e,t)=>{w5.init(e,t),e._zod.pattern=[...e?._zod.bag?.patterns??[]].pop()??Txe(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}}),E5=$(`$ZodStringFormat`,(e,t)=>{C5.init(e,t),T5.init(e,t)}),Gxe=$(`$ZodGUID`,(e,t)=>{t.pattern??=fxe,E5.init(e,t)}),Kxe=$(`$ZodUUID`,(e,t)=>{if(t.version){let e={v1:1,v2:2,v3:3,v4:4,v5:5,v6:6,v7:7,v8:8}[t.version];if(e===void 0)throw Error(`Invalid UUID version: "${t.version}"`);t.pattern??=m5(e)}else t.pattern??=m5();E5.init(e,t)}),qxe=$(`$ZodEmail`,(e,t)=>{t.pattern??=pxe,E5.init(e,t)}),Jxe=$(`$ZodURL`,(e,t)=>{E5.init(e,t),e._zod.check=n=>{try{let r=n.value.trim(),i=new URL(r);t.hostname&&(t.hostname.lastIndex=0,t.hostname.test(i.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(i.protocol.endsWith(`:`)?i.protocol.slice(0,-1):i.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=i.href:n.value=r;return}catch{n.issues.push({code:`invalid_format`,format:`url`,input:n.value,inst:e,continue:!t.abort})}}}),Yxe=$(`$ZodEmoji`,(e,t)=>{t.pattern??=hxe(),E5.init(e,t)}),Xxe=$(`$ZodNanoID`,(e,t)=>{t.pattern??=uxe,E5.init(e,t)}),Zxe=$(`$ZodCUID`,(e,t)=>{t.pattern??=axe,E5.init(e,t)}),Qxe=$(`$ZodCUID2`,(e,t)=>{t.pattern??=oxe,E5.init(e,t)}),$xe=$(`$ZodULID`,(e,t)=>{t.pattern??=sxe,E5.init(e,t)}),eSe=$(`$ZodXID`,(e,t)=>{t.pattern??=cxe,E5.init(e,t)}),tSe=$(`$ZodKSUID`,(e,t)=>{t.pattern??=lxe,E5.init(e,t)}),nSe=$(`$ZodISODateTime`,(e,t)=>{t.pattern??=wxe(t),E5.init(e,t)}),rSe=$(`$ZodISODate`,(e,t)=>{t.pattern??=Sxe,E5.init(e,t)}),iSe=$(`$ZodISOTime`,(e,t)=>{t.pattern??=Cxe(t),E5.init(e,t)}),aSe=$(`$ZodISODuration`,(e,t)=>{t.pattern??=dxe,E5.init(e,t)}),oSe=$(`$ZodIPv4`,(e,t)=>{t.pattern??=gxe,E5.init(e,t),e._zod.bag.format=`ipv4`}),sSe=$(`$ZodIPv6`,(e,t)=>{t.pattern??=_xe,E5.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})}}}),cSe=$(`$ZodCIDRv4`,(e,t)=>{t.pattern??=vxe,E5.init(e,t)}),lSe=$(`$ZodCIDRv6`,(e,t)=>{t.pattern??=yxe,E5.init(e,t),e._zod.check=n=>{let r=n.value.split(`/`);try{if(r.length!==2)throw Error();let[e,t]=r;if(!t)throw Error();let n=Number(t);if(`${n}`!==t||n<0||n>128)throw Error();new URL(`http://[${e}]`)}catch{n.issues.push({code:`invalid_format`,format:`cidrv6`,input:n.value,inst:e,continue:!t.abort})}}});function D5(e){if(e===``)return!0;if(e.length%4!=0)return!1;try{return atob(e),!0}catch{return!1}}var uSe=$(`$ZodBase64`,(e,t)=>{t.pattern??=bxe,E5.init(e,t),e._zod.bag.contentEncoding=`base64`,e._zod.check=n=>{D5(n.value)||n.issues.push({code:`invalid_format`,format:`base64`,input:n.value,inst:e,continue:!t.abort})}});function dSe(e){if(!h5.test(e))return!1;let t=e.replace(/[-_]/g,e=>e===`-`?`+`:`/`);return D5(t.padEnd(Math.ceil(t.length/4)*4,`=`))}var fSe=$(`$ZodBase64URL`,(e,t)=>{t.pattern??=h5,E5.init(e,t),e._zod.bag.contentEncoding=`base64url`,e._zod.check=n=>{dSe(n.value)||n.issues.push({code:`invalid_format`,format:`base64url`,input:n.value,inst:e,continue:!t.abort})}}),pSe=$(`$ZodE164`,(e,t)=>{t.pattern??=xxe,E5.init(e,t)});function mSe(e,t=null){try{let n=e.split(`.`);if(n.length!==3)return!1;let[r]=n;if(!r)return!1;let i=JSON.parse(atob(r));return!(`typ`in i&&i?.typ!==`JWT`||!i.alg||t&&(!(`alg`in i)||i.alg!==t))}catch{return!1}}var hSe=$(`$ZodJWT`,(e,t)=>{E5.init(e,t),e._zod.check=n=>{mSe(n.value,t.alg)||n.issues.push({code:`invalid_format`,format:`jwt`,input:n.value,inst:e,continue:!t.abort})}}),O5=$(`$ZodNumber`,(e,t)=>{w5.init(e,t),e._zod.pattern=e._zod.bag.pattern??v5,e._zod.parse=(n,r)=>{if(t.coerce)try{n.value=Number(n.value)}catch{}let i=n.value;if(typeof i==`number`&&!Number.isNaN(i)&&Number.isFinite(i))return n;let a=typeof i==`number`?Number.isNaN(i)?`NaN`:Number.isFinite(i)?void 0:`Infinity`:void 0;return n.issues.push({expected:`number`,code:`invalid_type`,input:i,inst:e,...a?{received:a}:{}}),n}}),gSe=$(`$ZodNumberFormat`,(e,t)=>{Mxe.init(e,t),O5.init(e,t)}),_Se=$(`$ZodBoolean`,(e,t)=>{w5.init(e,t),e._zod.pattern=Dxe,e._zod.parse=(n,r)=>{if(t.coerce)try{n.value=!!n.value}catch{}let i=n.value;return typeof i==`boolean`||n.issues.push({expected:`boolean`,code:`invalid_type`,input:i,inst:e}),n}}),vSe=$(`$ZodNull`,(e,t)=>{w5.init(e,t),e._zod.pattern=Oxe,e._zod.values=new Set([null]),e._zod.parse=(t,n)=>{let r=t.value;return r===null||t.issues.push({expected:`null`,code:`invalid_type`,input:r,inst:e}),t}}),ySe=$(`$ZodUnknown`,(e,t)=>{w5.init(e,t),e._zod.parse=e=>e}),bSe=$(`$ZodNever`,(e,t)=>{w5.init(e,t),e._zod.parse=(t,n)=>(t.issues.push({expected:`never`,code:`invalid_type`,input:t.value,inst:e}),t)});function k5(e,t,n){e.issues.length&&t.issues.push(...n5(n,e.issues)),t.value[n]=e.value}var xSe=$(`$ZodArray`,(e,t)=>{w5.init(e,t),e._zod.parse=(n,r)=>{let i=n.value;if(!Array.isArray(i))return n.issues.push({expected:`array`,code:`invalid_type`,input:i,inst:e}),n;n.value=Array(i.length);let a=[];for(let e=0;e<i.length;e++){let o=i[e],s=t.element._zod.run({value:o,issues:[]},r);s instanceof Promise?a.push(s.then(t=>k5(t,n,e))):k5(s,n,e)}return a.length?Promise.all(a).then(()=>n):n}});function A5(e,t,n,r,i){if(e.issues.length){if(i&&!(n in r))return;t.issues.push(...n5(n,e.issues))}e.value===void 0?n in r&&(t.value[n]=void 0):t.value[n]=e.value}function j5(e){let t=Object.keys(e.shape);for(let n of t)if(!e.shape?.[n]?._zod?.traits?.has(`$ZodType`))throw Error(`Invalid element at key "${n}": expected a Zod schema`);let n=Rbe(e.shape);return{...e,keys:t,keySet:new Set(t),numKeys:t.length,optionalKeys:new Set(n)}}function M5(e,t,n,r,i,a){let o=[],s=i.keySet,c=i.catchall._zod,l=c.def.type,u=c.optout===`optional`;for(let i in t){if(s.has(i))continue;if(l===`never`){o.push(i);continue}let a=c.run({value:t[i],issues:[]},r);a instanceof Promise?e.push(a.then(e=>A5(e,n,i,t,u))):A5(a,n,i,t,u)}return o.length&&n.issues.push({code:`unrecognized_keys`,keys:o,input:t,inst:a}),e.length?Promise.all(e).then(()=>n):n}var SSe=$(`$ZodObject`,(e,t)=>{if(w5.init(e,t),!Object.getOwnPropertyDescriptor(t,`shape`)?.get){let e=t.shape;Object.defineProperty(t,`shape`,{get:()=>{let n={...e};return Object.defineProperty(t,`shape`,{value:n}),n}})}let n=B8(()=>j5(t));W8(e._zod,`propValues`,()=>{let e=t.shape,n={};for(let t in e){let r=e[t]._zod;if(r.values){n[t]??(n[t]=new Set);for(let e of r.values)n[t].add(e)}}return n});let r=Y8,i=t.catchall,a;e._zod.parse=(t,o)=>{a??=n.value;let s=t.value;if(!r(s))return t.issues.push({expected:`object`,code:`invalid_type`,input:s,inst:e}),t;t.value={};let c=[],l=a.shape;for(let e of a.keys){let n=l[e],r=n._zod.optout===`optional`,i=n._zod.run({value:s[e],issues:[]},o);i instanceof Promise?c.push(i.then(n=>A5(n,t,e,s,r))):A5(i,t,e,s,r)}return i?M5(c,s,t,o,n.value,e):c.length?Promise.all(c).then(()=>t):t}}),CSe=$(`$ZodObjectJIT`,(e,t)=>{SSe.init(e,t);let n=e._zod.parse,r=B8(()=>j5(t)),i=e=>{let t=new Uxe([`shape`,`payload`,`ctx`]),n=r.value,i=e=>{let t=q8(e);return`shape[${t}]._zod.run({ value: input[${t}], issues: [] }, ctx)`};t.write(`const input = payload.value;`);let a=Object.create(null),o=0;for(let e of n.keys)a[e]=`key_${o++}`;t.write(`const newResult = {};`);for(let r of n.keys){let n=a[r],o=q8(r),s=e[r]?._zod?.optout===`optional`;t.write(`const ${n} = ${i(r)};`),s?t.write(`
271
+ if (${n}.issues.length) {
272
+ if (${o} in input) {
273
+ payload.issues = payload.issues.concat(${n}.issues.map(iss => ({
274
+ ...iss,
275
+ path: iss.path ? [${o}, ...iss.path] : [${o}]
276
+ })));
277
+ }
278
+ }
279
+
280
+ if (${n}.value === undefined) {
281
+ if (${o} in input) {
282
+ newResult[${o}] = undefined;
283
+ }
284
+ } else {
285
+ newResult[${o}] = ${n}.value;
286
+ }
287
+
288
+ `):t.write(`
289
+ if (${n}.issues.length) {
290
+ payload.issues = payload.issues.concat(${n}.issues.map(iss => ({
291
+ ...iss,
292
+ path: iss.path ? [${o}, ...iss.path] : [${o}]
293
+ })));
294
+ }
295
+
296
+ if (${n}.value === undefined) {
297
+ if (${o} in input) {
298
+ newResult[${o}] = undefined;
299
+ }
300
+ } else {
301
+ newResult[${o}] = ${n}.value;
302
+ }
303
+
304
+ `)}t.write(`payload.value = newResult;`),t.write(`return payload;`);let s=t.compile();return(t,n)=>s(e,t,n)},a,o=Y8,s=!I8.jitless,c=s&&Ibe.value,l=t.catchall,u;e._zod.parse=(d,f)=>{u??=r.value;let p=d.value;return o(p)?s&&c&&f?.async===!1&&f.jitless!==!0?(a||=i(t.shape),d=a(d,f),l?M5([],p,d,f,u,e):d):n(d,f):(d.issues.push({expected:`object`,code:`invalid_type`,input:p,inst:e}),d)}});function N5(e,t,n,r){for(let n of e)if(n.issues.length===0)return t.value=n.value,t;let i=e.filter(e=>!t5(e));return i.length===1?(t.value=i[0].value,i[0]):(t.issues.push({code:`invalid_union`,input:t.value,inst:n,errors:e.map(e=>e.issues.map(e=>i5(e,r,L8())))}),t)}var P5=$(`$ZodUnion`,(e,t)=>{w5.init(e,t),W8(e._zod,`optin`,()=>t.options.some(e=>e._zod.optin===`optional`)?`optional`:void 0),W8(e._zod,`optout`,()=>t.options.some(e=>e._zod.optout===`optional`)?`optional`:void 0),W8(e._zod,`values`,()=>{if(t.options.every(e=>e._zod.values))return new Set(t.options.flatMap(e=>Array.from(e._zod.values)))}),W8(e._zod,`pattern`,()=>{if(t.options.every(e=>e._zod.pattern)){let e=t.options.map(e=>e._zod.pattern);return RegExp(`^(${e.map(e=>H8(e.source)).join(`|`)})$`)}});let n=t.options.length===1,r=t.options[0]._zod.run;e._zod.parse=(i,a)=>{if(n)return r(i,a);let o=!1,s=[];for(let e of t.options){let t=e._zod.run({value:i.value,issues:[]},a);if(t instanceof Promise)s.push(t),o=!0;else{if(t.issues.length===0)return t;s.push(t)}}return o?Promise.all(s).then(t=>N5(t,i,e,a)):N5(s,i,e,a)}}),wSe=$(`$ZodDiscriminatedUnion`,(e,t)=>{t.inclusive=!1,P5.init(e,t);let n=e._zod.parse;W8(e._zod,`propValues`,()=>{let e={};for(let n of t.options){let r=n._zod.propValues;if(!r||Object.keys(r).length===0)throw Error(`Invalid discriminated union option at index "${t.options.indexOf(n)}"`);for(let[t,n]of Object.entries(r)){e[t]||(e[t]=new Set);for(let r of n)e[t].add(r)}}return e});let r=B8(()=>{let e=t.options,n=new Map;for(let r of e){let e=r._zod.propValues?.[t.discriminator];if(!e||e.size===0)throw Error(`Invalid discriminated union option at index "${t.options.indexOf(r)}"`);for(let t of e){if(n.has(t))throw Error(`Duplicate discriminator value "${String(t)}"`);n.set(t,r)}}return n});e._zod.parse=(i,a)=>{let o=i.value;if(!Y8(o))return i.issues.push({code:`invalid_type`,expected:`object`,input:o,inst:e}),i;let s=r.value.get(o?.[t.discriminator]);return s?s._zod.run(i,a):t.unionFallback?n(i,a):(i.issues.push({code:`invalid_union`,errors:[],note:`No matching discriminator`,discriminator:t.discriminator,input:o,path:[t.discriminator],inst:e}),i)}}),TSe=$(`$ZodIntersection`,(e,t)=>{w5.init(e,t),e._zod.parse=(e,n)=>{let r=e.value,i=t.left._zod.run({value:r,issues:[]},n),a=t.right._zod.run({value:r,issues:[]},n);return i instanceof Promise||a instanceof Promise?Promise.all([i,a]).then(([t,n])=>I5(e,t,n)):I5(e,i,a)}});function F5(e,t){if(e===t||e instanceof Date&&t instanceof Date&&+e==+t)return{valid:!0,data:e};if(X8(e)&&X8(t)){let n=Object.keys(t),r=Object.keys(e).filter(e=>n.indexOf(e)!==-1),i={...e,...t};for(let n of r){let r=F5(e[n],t[n]);if(!r.valid)return{valid:!1,mergeErrorPath:[n,...r.mergeErrorPath]};i[n]=r.data}return{valid:!0,data:i}}if(Array.isArray(e)&&Array.isArray(t)){if(e.length!==t.length)return{valid:!1,mergeErrorPath:[]};let n=[];for(let r=0;r<e.length;r++){let i=e[r],a=t[r],o=F5(i,a);if(!o.valid)return{valid:!1,mergeErrorPath:[r,...o.mergeErrorPath]};n.push(o.data)}return{valid:!0,data:n}}return{valid:!1,mergeErrorPath:[]}}function I5(e,t,n){let r=new Map,i;for(let n of t.issues)if(n.code===`unrecognized_keys`){i??=n;for(let e of n.keys)r.has(e)||r.set(e,{}),r.get(e).l=!0}else e.issues.push(n);for(let t of n.issues)if(t.code===`unrecognized_keys`)for(let e of t.keys)r.has(e)||r.set(e,{}),r.get(e).r=!0;else e.issues.push(t);let a=[...r].filter(([,e])=>e.l&&e.r).map(([e])=>e);if(a.length&&i&&e.issues.push({...i,keys:a}),t5(e))return e;let o=F5(t.value,n.value);if(!o.valid)throw Error(`Unmergable intersection. Error path: ${JSON.stringify(o.mergeErrorPath)}`);return e.value=o.data,e}var ESe=$(`$ZodRecord`,(e,t)=>{w5.init(e,t),e._zod.parse=(n,r)=>{let i=n.value;if(!X8(i))return n.issues.push({expected:`record`,code:`invalid_type`,input:i,inst:e}),n;let a=[],o=t.keyType._zod.values;if(o){n.value={};let s=new Set;for(let e of o)if(typeof e==`string`||typeof e==`number`||typeof e==`symbol`){s.add(typeof e==`number`?e.toString():e);let o=t.valueType._zod.run({value:i[e],issues:[]},r);o instanceof Promise?a.push(o.then(t=>{t.issues.length&&n.issues.push(...n5(e,t.issues)),n.value[e]=t.value})):(o.issues.length&&n.issues.push(...n5(e,o.issues)),n.value[e]=o.value)}let c;for(let e in i)s.has(e)||(c??=[],c.push(e));c&&c.length>0&&n.issues.push({code:`unrecognized_keys`,input:i,inst:e,keys:c})}else{n.value={};for(let o of Reflect.ownKeys(i)){if(o===`__proto__`)continue;let s=t.keyType._zod.run({value:o,issues:[]},r);if(s instanceof Promise)throw Error(`Async schemas not supported in object keys currently`);if(typeof o==`string`&&v5.test(o)&&s.issues.length&&s.issues.some(e=>e.code===`invalid_type`&&e.expected===`number`)){let e=t.keyType._zod.run({value:Number(o),issues:[]},r);if(e instanceof Promise)throw Error(`Async schemas not supported in object keys currently`);e.issues.length===0&&(s=e)}if(s.issues.length){t.mode===`loose`?n.value[o]=i[o]:n.issues.push({code:`invalid_key`,origin:`record`,issues:s.issues.map(e=>i5(e,r,L8())),input:o,path:[o],inst:e});continue}let c=t.valueType._zod.run({value:i[o],issues:[]},r);c instanceof Promise?a.push(c.then(e=>{e.issues.length&&n.issues.push(...n5(o,e.issues)),n.value[s.value]=e.value})):(c.issues.length&&n.issues.push(...n5(o,c.issues)),n.value[s.value]=c.value)}}return a.length?Promise.all(a).then(()=>n):n}}),DSe=$(`$ZodEnum`,(e,t)=>{w5.init(e,t);let n=R8(t.entries),r=new Set(n);e._zod.values=r,e._zod.pattern=RegExp(`^(${n.filter(e=>Lbe.has(typeof e)).map(e=>typeof e==`string`?Q8(e):e.toString()).join(`|`)})$`),e._zod.parse=(t,i)=>{let a=t.value;return r.has(a)||t.issues.push({code:`invalid_value`,values:n,input:a,inst:e}),t}}),OSe=$(`$ZodLiteral`,(e,t)=>{if(w5.init(e,t),t.values.length===0)throw Error(`Cannot create literal schema with no valid values`);let n=new Set(t.values);e._zod.values=n,e._zod.pattern=RegExp(`^(${t.values.map(e=>typeof e==`string`?Q8(e):e?Q8(e.toString()):String(e)).join(`|`)})$`),e._zod.parse=(r,i)=>{let a=r.value;return n.has(a)||r.issues.push({code:`invalid_value`,values:t.values,input:a,inst:e}),r}}),kSe=$(`$ZodTransform`,(e,t)=>{w5.init(e,t),e._zod.parse=(n,r)=>{if(r.direction===`backward`)throw new F8(e.constructor.name);let i=t.transform(n.value,n);if(r.async)return(i instanceof Promise?i:Promise.resolve(i)).then(e=>(n.value=e,n));if(i instanceof Promise)throw new P8;return n.value=i,n}});function L5(e,t){return e.issues.length&&t===void 0?{issues:[],value:void 0}:e}var R5=$(`$ZodOptional`,(e,t)=>{w5.init(e,t),e._zod.optin=`optional`,e._zod.optout=`optional`,W8(e._zod,`values`,()=>t.innerType._zod.values?new Set([...t.innerType._zod.values,void 0]):void 0),W8(e._zod,`pattern`,()=>{let e=t.innerType._zod.pattern;return e?RegExp(`^(${H8(e.source)})?$`):void 0}),e._zod.parse=(e,n)=>{if(t.innerType._zod.optin===`optional`){let r=t.innerType._zod.run(e,n);return r instanceof Promise?r.then(t=>L5(t,e.value)):L5(r,e.value)}return e.value===void 0?e:t.innerType._zod.run(e,n)}}),ASe=$(`$ZodExactOptional`,(e,t)=>{R5.init(e,t),W8(e._zod,`values`,()=>t.innerType._zod.values),W8(e._zod,`pattern`,()=>t.innerType._zod.pattern),e._zod.parse=(e,n)=>t.innerType._zod.run(e,n)}),jSe=$(`$ZodNullable`,(e,t)=>{w5.init(e,t),W8(e._zod,`optin`,()=>t.innerType._zod.optin),W8(e._zod,`optout`,()=>t.innerType._zod.optout),W8(e._zod,`pattern`,()=>{let e=t.innerType._zod.pattern;return e?RegExp(`^(${H8(e.source)}|null)$`):void 0}),W8(e._zod,`values`,()=>t.innerType._zod.values?new Set([...t.innerType._zod.values,null]):void 0),e._zod.parse=(e,n)=>e.value===null?e:t.innerType._zod.run(e,n)}),MSe=$(`$ZodDefault`,(e,t)=>{w5.init(e,t),e._zod.optin=`optional`,W8(e._zod,`values`,()=>t.innerType._zod.values),e._zod.parse=(e,n)=>{if(n.direction===`backward`)return t.innerType._zod.run(e,n);if(e.value===void 0)return e.value=t.defaultValue,e;let r=t.innerType._zod.run(e,n);return r instanceof Promise?r.then(e=>z5(e,t)):z5(r,t)}});function z5(e,t){return e.value===void 0&&(e.value=t.defaultValue),e}var NSe=$(`$ZodPrefault`,(e,t)=>{w5.init(e,t),e._zod.optin=`optional`,W8(e._zod,`values`,()=>t.innerType._zod.values),e._zod.parse=(e,n)=>(n.direction===`backward`||e.value===void 0&&(e.value=t.defaultValue),t.innerType._zod.run(e,n))}),PSe=$(`$ZodNonOptional`,(e,t)=>{w5.init(e,t),W8(e._zod,`values`,()=>{let e=t.innerType._zod.values;return e?new Set([...e].filter(e=>e!==void 0)):void 0}),e._zod.parse=(n,r)=>{let i=t.innerType._zod.run(n,r);return i instanceof Promise?i.then(t=>B5(t,e)):B5(i,e)}});function B5(e,t){return!e.issues.length&&e.value===void 0&&e.issues.push({code:`invalid_type`,expected:`nonoptional`,input:e.value,inst:t}),e}var FSe=$(`$ZodCatch`,(e,t)=>{w5.init(e,t),W8(e._zod,`optin`,()=>t.innerType._zod.optin),W8(e._zod,`optout`,()=>t.innerType._zod.optout),W8(e._zod,`values`,()=>t.innerType._zod.values),e._zod.parse=(e,n)=>{if(n.direction===`backward`)return t.innerType._zod.run(e,n);let r=t.innerType._zod.run(e,n);return r instanceof Promise?r.then(r=>(e.value=r.value,r.issues.length&&(e.value=t.catchValue({...e,error:{issues:r.issues.map(e=>i5(e,n,L8()))},input:e.value}),e.issues=[]),e)):(e.value=r.value,r.issues.length&&(e.value=t.catchValue({...e,error:{issues:r.issues.map(e=>i5(e,n,L8()))},input:e.value}),e.issues=[]),e)}}),ISe=$(`$ZodPipe`,(e,t)=>{w5.init(e,t),W8(e._zod,`values`,()=>t.in._zod.values),W8(e._zod,`optin`,()=>t.in._zod.optin),W8(e._zod,`optout`,()=>t.out._zod.optout),W8(e._zod,`propValues`,()=>t.in._zod.propValues),e._zod.parse=(e,n)=>{if(n.direction===`backward`){let r=t.out._zod.run(e,n);return r instanceof Promise?r.then(e=>V5(e,t.in,n)):V5(r,t.in,n)}let r=t.in._zod.run(e,n);return r instanceof Promise?r.then(e=>V5(e,t.out,n)):V5(r,t.out,n)}});function V5(e,t,n){return e.issues.length?(e.aborted=!0,e):t._zod.run({value:e.value,issues:e.issues},n)}var LSe=$(`$ZodReadonly`,(e,t)=>{w5.init(e,t),W8(e._zod,`propValues`,()=>t.innerType._zod.propValues),W8(e._zod,`values`,()=>t.innerType._zod.values),W8(e._zod,`optin`,()=>t.innerType?._zod?.optin),W8(e._zod,`optout`,()=>t.innerType?._zod?.optout),e._zod.parse=(e,n)=>{if(n.direction===`backward`)return t.innerType._zod.run(e,n);let r=t.innerType._zod.run(e,n);return r instanceof Promise?r.then(H5):H5(r)}});function H5(e){return e.value=Object.freeze(e.value),e}var RSe=$(`$ZodLazy`,(e,t)=>{w5.init(e,t),W8(e._zod,`innerType`,()=>t.getter()),W8(e._zod,`pattern`,()=>e._zod.innerType?._zod?.pattern),W8(e._zod,`propValues`,()=>e._zod.innerType?._zod?.propValues),W8(e._zod,`optin`,()=>e._zod.innerType?._zod?.optin??void 0),W8(e._zod,`optout`,()=>e._zod.innerType?._zod?.optout??void 0),e._zod.parse=(t,n)=>e._zod.innerType._zod.run(t,n)}),zSe=$(`$ZodCustom`,(e,t)=>{y5.init(e,t),w5.init(e,t),e._zod.parse=(e,t)=>e,e._zod.check=n=>{let r=n.value,i=t.fn(r);if(i instanceof Promise)return i.then(t=>U5(t,n,r,e));U5(i,n,r,e)}});function U5(e,t,n,r){if(!e){let e={code:`custom`,input:n,inst:r,path:[...r._zod.def.path??[]],continue:!r._zod.def.abort};r._zod.def.params&&(e.params=r._zod.def.params),t.issues.push(o5(e))}}var W5,BSe=class{constructor(){this._map=new WeakMap,this._idmap=new Map}add(e,...t){let n=t[0];return this._map.set(e,n),n&&typeof n==`object`&&`id`in n&&this._idmap.set(n.id,e),this}clear(){return this._map=new WeakMap,this._idmap=new Map,this}remove(e){let t=this._map.get(e);return t&&typeof t==`object`&&`id`in t&&this._idmap.delete(t.id),this._map.delete(e),this}get(e){let t=e._zod.parent;if(t){let n={...this.get(t)??{}};delete n.id;let r={...n,...this._map.get(e)};return Object.keys(r).length?r:void 0}return this._map.get(e)}has(e){return this._map.has(e)}};function VSe(){return new BSe}(W5=globalThis).__zod_globalRegistry??(W5.__zod_globalRegistry=VSe());var G5=globalThis.__zod_globalRegistry;function HSe(e,t){return new e({type:`string`,...e5(t)})}function USe(e,t){return new e({type:`string`,format:`email`,check:`string_format`,abort:!1,...e5(t)})}function K5(e,t){return new e({type:`string`,format:`guid`,check:`string_format`,abort:!1,...e5(t)})}function WSe(e,t){return new e({type:`string`,format:`uuid`,check:`string_format`,abort:!1,...e5(t)})}function GSe(e,t){return new e({type:`string`,format:`uuid`,check:`string_format`,abort:!1,version:`v4`,...e5(t)})}function KSe(e,t){return new e({type:`string`,format:`uuid`,check:`string_format`,abort:!1,version:`v6`,...e5(t)})}function qSe(e,t){return new e({type:`string`,format:`uuid`,check:`string_format`,abort:!1,version:`v7`,...e5(t)})}function JSe(e,t){return new e({type:`string`,format:`url`,check:`string_format`,abort:!1,...e5(t)})}function YSe(e,t){return new e({type:`string`,format:`emoji`,check:`string_format`,abort:!1,...e5(t)})}function XSe(e,t){return new e({type:`string`,format:`nanoid`,check:`string_format`,abort:!1,...e5(t)})}function ZSe(e,t){return new e({type:`string`,format:`cuid`,check:`string_format`,abort:!1,...e5(t)})}function QSe(e,t){return new e({type:`string`,format:`cuid2`,check:`string_format`,abort:!1,...e5(t)})}function $Se(e,t){return new e({type:`string`,format:`ulid`,check:`string_format`,abort:!1,...e5(t)})}function eCe(e,t){return new e({type:`string`,format:`xid`,check:`string_format`,abort:!1,...e5(t)})}function tCe(e,t){return new e({type:`string`,format:`ksuid`,check:`string_format`,abort:!1,...e5(t)})}function nCe(e,t){return new e({type:`string`,format:`ipv4`,check:`string_format`,abort:!1,...e5(t)})}function rCe(e,t){return new e({type:`string`,format:`ipv6`,check:`string_format`,abort:!1,...e5(t)})}function iCe(e,t){return new e({type:`string`,format:`cidrv4`,check:`string_format`,abort:!1,...e5(t)})}function aCe(e,t){return new e({type:`string`,format:`cidrv6`,check:`string_format`,abort:!1,...e5(t)})}function oCe(e,t){return new e({type:`string`,format:`base64`,check:`string_format`,abort:!1,...e5(t)})}function sCe(e,t){return new e({type:`string`,format:`base64url`,check:`string_format`,abort:!1,...e5(t)})}function cCe(e,t){return new e({type:`string`,format:`e164`,check:`string_format`,abort:!1,...e5(t)})}function lCe(e,t){return new e({type:`string`,format:`jwt`,check:`string_format`,abort:!1,...e5(t)})}function uCe(e,t){return new e({type:`string`,format:`datetime`,check:`string_format`,offset:!1,local:!1,precision:null,...e5(t)})}function dCe(e,t){return new e({type:`string`,format:`date`,check:`string_format`,...e5(t)})}function fCe(e,t){return new e({type:`string`,format:`time`,check:`string_format`,precision:null,...e5(t)})}function pCe(e,t){return new e({type:`string`,format:`duration`,check:`string_format`,...e5(t)})}function mCe(e,t){return new e({type:`number`,checks:[],...e5(t)})}function hCe(e,t){return new e({type:`number`,check:`number_format`,abort:!1,format:`safeint`,...e5(t)})}function gCe(e,t){return new e({type:`boolean`,...e5(t)})}function _Ce(e,t){return new e({type:`null`,...e5(t)})}function vCe(e){return new e({type:`unknown`})}function yCe(e,t){return new e({type:`never`,...e5(t)})}function q5(e,t){return new x5({check:`less_than`,...e5(t),value:e,inclusive:!1})}function J5(e,t){return new x5({check:`less_than`,...e5(t),value:e,inclusive:!0})}function Y5(e,t){return new S5({check:`greater_than`,...e5(t),value:e,inclusive:!1})}function X5(e,t){return new S5({check:`greater_than`,...e5(t),value:e,inclusive:!0})}function Z5(e,t){return new jxe({check:`multiple_of`,...e5(t),value:e})}function Q5(e,t){return new Nxe({check:`max_length`,...e5(t),maximum:e})}function $5(e,t){return new Pxe({check:`min_length`,...e5(t),minimum:e})}function e7(e,t){return new Fxe({check:`length_equals`,...e5(t),length:e})}function bCe(e,t){return new Ixe({check:`string_format`,format:`regex`,...e5(t),pattern:e})}function xCe(e){return new Lxe({check:`string_format`,format:`lowercase`,...e5(e)})}function SCe(e){return new Rxe({check:`string_format`,format:`uppercase`,...e5(e)})}function CCe(e,t){return new zxe({check:`string_format`,format:`includes`,...e5(t),includes:e})}function wCe(e,t){return new Bxe({check:`string_format`,format:`starts_with`,...e5(t),prefix:e})}function TCe(e,t){return new Vxe({check:`string_format`,format:`ends_with`,...e5(t),suffix:e})}function t7(e){return new Hxe({check:`overwrite`,tx:e})}function ECe(e){return t7(t=>t.normalize(e))}function DCe(){return t7(e=>e.trim())}function OCe(){return t7(e=>e.toLowerCase())}function kCe(){return t7(e=>e.toUpperCase())}function ACe(){return t7(e=>Fbe(e))}function jCe(e,t,n){return new e({type:`array`,element:t,...e5(n)})}function MCe(e,t,n){let r=e5(n);return r.abort??=!0,new e({type:`custom`,check:`custom`,fn:t,...r})}function NCe(e,t,n){return new e({type:`custom`,check:`custom`,fn:t,...e5(n)})}function PCe(e){let t=FCe(n=>(n.addIssue=e=>{if(typeof e==`string`)n.issues.push(o5(e,n.value,t._zod.def));else{let r=e;r.fatal&&(r.continue=!1),r.code??=`custom`,r.input??=n.value,r.inst??=t,r.continue??=!t._zod.def.abort,n.issues.push(o5(r))}},e(n.value,n)));return t}function FCe(e,t){let n=new y5({check:`custom`,...e5(t)});return n._zod.check=e,n}function n7(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??G5,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 r7(e,t,n={path:[],schemaPath:[]}){var r;let i=e._zod.def,a=t.seen.get(e);if(a)return a.count++,n.schemaPath.includes(e)&&(a.cycle=n.path),a.schema;let o={schema:{},count:1,cycle:void 0,path:n.path};t.seen.set(e,o);let s=e._zod.toJSONSchema?.();if(s)o.schema=s;else{let r={...n,schemaPath:[...n.schemaPath,e],path:n.path};if(e._zod.processJSONSchema)e._zod.processJSONSchema(t,o.schema,r);else{let n=o.schema,a=t.processors[i.type];if(!a)throw Error(`[toJSONSchema]: Non-representable type encountered: ${i.type}`);a(e,t,n,r)}let a=e._zod.parent;a&&(o.ref||=a,r7(a,t,r),t.seen.get(a).isParent=!0)}let c=t.metadataRegistry.get(e);return c&&Object.assign(o.schema,c),t.io===`input`&&o7(e)&&(delete o.schema.examples,delete o.schema.default),t.io===`input`&&o.schema._prefault&&((r=o.schema).default??(r.default=o.schema._prefault)),delete o.schema._prefault,t.seen.get(e).schema}function i7(e,t){let n=e.seen.get(t);if(!n)throw Error(`Unprocessed schema. This is a bug in Zod.`);let r=new Map;for(let t of e.seen.entries()){let n=e.metadataRegistry.get(t[0])?.id;if(n){let e=r.get(n);if(e&&e!==t[0])throw Error(`Duplicate schema id "${n}" detected during JSON Schema conversion. Two different schemas cannot share the same id when converted together.`);r.set(n,t[0])}}let i=t=>{let r=e.target===`draft-2020-12`?`$defs`:`definitions`;if(e.external){let n=e.external.registry.get(t[0])?.id,i=e.external.uri??(e=>e);if(n)return{ref:i(n)};let a=t[1].defId??t[1].schema.id??`schema${e.counter++}`;return t[1].defId=a,{defId:a,ref:`${i(`__shared`)}#/${r}/${a}`}}if(t[1]===n)return{ref:`#`};let i=`#/${r}/`,a=t[1].schema.id??`__schema${e.counter++}`;return{defId:a,ref:i+a}},a=e=>{if(e[1].schema.$ref)return;let t=e[1],{ref:n,defId:r}=i(e);t.def={...t.schema},r&&(t.defId=r);let a=t.schema;for(let e in a)delete a[e];a.$ref=n};if(e.cycles===`throw`)for(let t of e.seen.entries()){let e=t[1];if(e.cycle)throw Error(`Cycle detected: #/${e.cycle?.join(`/`)}/<root>
305
+
306
+ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.`)}for(let n of e.seen.entries()){let r=n[1];if(t===n[0]){a(n);continue}if(e.external){let r=e.external.registry.get(n[0])?.id;if(t!==n[0]&&r){a(n);continue}}if(e.metadataRegistry.get(n[0])?.id){a(n);continue}if(r.cycle){a(n);continue}if(r.count>1&&e.reused===`ref`){a(n);continue}}}function a7(e,t){let n=e.seen.get(t);if(!n)throw Error(`Unprocessed schema. This is a bug in Zod.`);let r=t=>{let n=e.seen.get(t);if(n.ref===null)return;let i=n.def??n.schema,a={...i},o=n.ref;if(n.ref=null,o){r(o);let n=e.seen.get(o),s=n.schema;if(s.$ref&&(e.target===`draft-07`||e.target===`draft-04`||e.target===`openapi-3.0`)?(i.allOf=i.allOf??[],i.allOf.push(s)):Object.assign(i,s),Object.assign(i,a),t._zod.parent===o)for(let e in i)e===`$ref`||e===`allOf`||e in a||delete i[e];if(s.$ref)for(let e in i)e===`$ref`||e===`allOf`||e in n.def&&JSON.stringify(i[e])===JSON.stringify(n.def[e])&&delete i[e]}let s=t._zod.parent;if(s&&s!==o){r(s);let t=e.seen.get(s);if(t?.schema.$ref&&(i.$ref=t.schema.$ref,t.def))for(let e in i)e===`$ref`||e===`allOf`||e in t.def&&JSON.stringify(i[e])===JSON.stringify(t.def[e])&&delete i[e]}e.override({zodSchema:t,jsonSchema:i,path:n.path??[]})};for(let t of[...e.seen.entries()].reverse())r(t[0]);let i={};if(e.target===`draft-2020-12`?i.$schema=`https://json-schema.org/draft/2020-12/schema`:e.target===`draft-07`?i.$schema=`http://json-schema.org/draft-07/schema#`:e.target===`draft-04`?i.$schema=`http://json-schema.org/draft-04/schema#`:e.target,e.external?.uri){let n=e.external.registry.get(t)?.id;if(!n)throw Error("Schema is missing an `id` property");i.$id=e.external.uri(n)}Object.assign(i,n.def??n.schema);let a=e.external?.defs??{};for(let t of e.seen.entries()){let e=t[1];e.def&&e.defId&&(a[e.defId]=e.def)}e.external||Object.keys(a).length>0&&(e.target===`draft-2020-12`?i.$defs=a:i.definitions=a);try{let n=JSON.parse(JSON.stringify(i));return Object.defineProperty(n,`~standard`,{value:{...t[`~standard`],jsonSchema:{input:s7(t,`input`,e.processors),output:s7(t,`output`,e.processors)}},enumerable:!1,writable:!1}),n}catch{throw Error(`Error converting schema to JSON.`)}}function o7(e,t){let n=t??{seen:new Set};if(n.seen.has(e))return!1;n.seen.add(e);let r=e._zod.def;if(r.type===`transform`)return!0;if(r.type===`array`)return o7(r.element,n);if(r.type===`set`)return o7(r.valueType,n);if(r.type===`lazy`)return o7(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 o7(r.innerType,n);if(r.type===`intersection`)return o7(r.left,n)||o7(r.right,n);if(r.type===`record`||r.type===`map`)return o7(r.keyType,n)||o7(r.valueType,n);if(r.type===`pipe`)return o7(r.in,n)||o7(r.out,n);if(r.type===`object`){for(let e in r.shape)if(o7(r.shape[e],n))return!0;return!1}if(r.type===`union`){for(let e of r.options)if(o7(e,n))return!0;return!1}if(r.type===`tuple`){for(let e of r.items)if(o7(e,n))return!0;return!!(r.rest&&o7(r.rest,n))}return!1}var ICe=(e,t={})=>n=>{let r=n7({...n,processors:t});return r7(e,r),i7(r,e),a7(r,e)},s7=(e,t,n={})=>r=>{let{libraryOptions:i,target:a}=r??{},o=n7({...i??{},target:a,io:t,processors:n});return r7(e,o),i7(o,e),a7(o,e)},LCe={guid:`uuid`,url:`uri`,datetime:`date-time`,json_string:`json-string`,regex:``},c7=(e,t,n,r)=>{let i=n;i.type=`string`;let{minimum:a,maximum:o,format:s,patterns:c,contentEncoding:l}=e._zod.bag;if(typeof a==`number`&&(i.minLength=a),typeof o==`number`&&(i.maxLength=o),s&&(i.format=LCe[s]??s,i.format===``&&delete i.format,s===`time`&&delete i.format),l&&(i.contentEncoding=l),c&&c.size>0){let e=[...c];e.length===1?i.pattern=e[0].source:e.length>1&&(i.allOf=[...e.map(e=>({...t.target===`draft-07`||t.target===`draft-04`||t.target===`openapi-3.0`?{type:`string`}:{},pattern:e.source}))])}},l7=(e,t,n,r)=>{let i=n,{minimum:a,maximum:o,format:s,multipleOf:c,exclusiveMaximum:l,exclusiveMinimum:u}=e._zod.bag;typeof s==`string`&&s.includes(`int`)?i.type=`integer`:i.type=`number`,typeof u==`number`&&(t.target===`draft-04`||t.target===`openapi-3.0`?(i.minimum=u,i.exclusiveMinimum=!0):i.exclusiveMinimum=u),typeof a==`number`&&(i.minimum=a,typeof u==`number`&&t.target!==`draft-04`&&(u>=a?delete i.minimum:delete i.exclusiveMinimum)),typeof l==`number`&&(t.target===`draft-04`||t.target===`openapi-3.0`?(i.maximum=l,i.exclusiveMaximum=!0):i.exclusiveMaximum=l),typeof o==`number`&&(i.maximum=o,typeof l==`number`&&t.target!==`draft-04`&&(l<=o?delete i.maximum:delete i.exclusiveMaximum)),typeof c==`number`&&(i.multipleOf=c)},u7=(e,t,n,r)=>{n.type=`boolean`},RCe=(e,t,n,r)=>{if(t.unrepresentable===`throw`)throw Error(`BigInt cannot be represented in JSON Schema`)},zCe=(e,t,n,r)=>{if(t.unrepresentable===`throw`)throw Error(`Symbols cannot be represented in JSON Schema`)},d7=(e,t,n,r)=>{t.target===`openapi-3.0`?(n.type=`string`,n.nullable=!0,n.enum=[null]):n.type=`null`},BCe=(e,t,n,r)=>{if(t.unrepresentable===`throw`)throw Error(`Undefined cannot be represented in JSON Schema`)},VCe=(e,t,n,r)=>{if(t.unrepresentable===`throw`)throw Error(`Void cannot be represented in JSON Schema`)},f7=(e,t,n,r)=>{n.not={}},HCe=(e,t,n,r)=>{},UCe=(e,t,n,r)=>{},WCe=(e,t,n,r)=>{if(t.unrepresentable===`throw`)throw Error(`Date cannot be represented in JSON Schema`)},p7=(e,t,n,r)=>{let i=e._zod.def,a=R8(i.entries);a.every(e=>typeof e==`number`)&&(n.type=`number`),a.every(e=>typeof e==`string`)&&(n.type=`string`),n.enum=a},m7=(e,t,n,r)=>{let i=e._zod.def,a=[];for(let e of i.values)if(e===void 0){if(t.unrepresentable===`throw`)throw Error("Literal `undefined` cannot be represented in JSON Schema")}else if(typeof e==`bigint`){if(t.unrepresentable===`throw`)throw Error(`BigInt literals cannot be represented in JSON Schema`);a.push(Number(e))}else a.push(e);if(a.length!==0)if(a.length===1){let e=a[0];n.type=e===null?`null`:typeof e,t.target===`draft-04`||t.target===`openapi-3.0`?n.enum=[e]:n.const=e}else a.every(e=>typeof e==`number`)&&(n.type=`number`),a.every(e=>typeof e==`string`)&&(n.type=`string`),a.every(e=>typeof e==`boolean`)&&(n.type=`boolean`),a.every(e=>e===null)&&(n.type=`null`),n.enum=a},GCe=(e,t,n,r)=>{if(t.unrepresentable===`throw`)throw Error(`NaN cannot be represented in JSON Schema`)},KCe=(e,t,n,r)=>{let i=n,a=e._zod.pattern;if(!a)throw Error(`Pattern not found in template literal`);i.type=`string`,i.pattern=a.source},qCe=(e,t,n,r)=>{let i=n,a={type:`string`,format:`binary`,contentEncoding:`binary`},{minimum:o,maximum:s,mime:c}=e._zod.bag;o!==void 0&&(a.minLength=o),s!==void 0&&(a.maxLength=s),c?c.length===1?(a.contentMediaType=c[0],Object.assign(i,a)):(Object.assign(i,a),i.anyOf=c.map(e=>({contentMediaType:e}))):Object.assign(i,a)},JCe=(e,t,n,r)=>{n.type=`boolean`},h7=(e,t,n,r)=>{if(t.unrepresentable===`throw`)throw Error(`Custom types cannot be represented in JSON Schema`)},YCe=(e,t,n,r)=>{if(t.unrepresentable===`throw`)throw Error(`Function types cannot be represented in JSON Schema`)},g7=(e,t,n,r)=>{if(t.unrepresentable===`throw`)throw Error(`Transforms cannot be represented in JSON Schema`)},XCe=(e,t,n,r)=>{if(t.unrepresentable===`throw`)throw Error(`Map cannot be represented in JSON Schema`)},ZCe=(e,t,n,r)=>{if(t.unrepresentable===`throw`)throw Error(`Set cannot be represented in JSON Schema`)},_7=(e,t,n,r)=>{let i=n,a=e._zod.def,{minimum:o,maximum:s}=e._zod.bag;typeof o==`number`&&(i.minItems=o),typeof s==`number`&&(i.maxItems=s),i.type=`array`,i.items=r7(a.element,t,{...r,path:[...r.path,`items`]})},v7=(e,t,n,r)=>{let i=n,a=e._zod.def;i.type=`object`,i.properties={};let o=a.shape;for(let e in o)i.properties[e]=r7(o[e],t,{...r,path:[...r.path,`properties`,e]});let s=new Set(Object.keys(o)),c=new Set([...s].filter(e=>{let n=a.shape[e]._zod;return t.io===`input`?n.optin===void 0:n.optout===void 0}));c.size>0&&(i.required=Array.from(c)),a.catchall?._zod.def.type===`never`?i.additionalProperties=!1:a.catchall?a.catchall&&(i.additionalProperties=r7(a.catchall,t,{...r,path:[...r.path,`additionalProperties`]})):t.io===`output`&&(i.additionalProperties=!1)},y7=(e,t,n,r)=>{let i=e._zod.def,a=i.inclusive===!1,o=i.options.map((e,n)=>r7(e,t,{...r,path:[...r.path,a?`oneOf`:`anyOf`,n]}));a?n.oneOf=o:n.anyOf=o},b7=(e,t,n,r)=>{let i=e._zod.def,a=r7(i.left,t,{...r,path:[...r.path,`allOf`,0]}),o=r7(i.right,t,{...r,path:[...r.path,`allOf`,1]}),s=e=>`allOf`in e&&Object.keys(e).length===1;n.allOf=[...s(a)?a.allOf:[a],...s(o)?o.allOf:[o]]},QCe=(e,t,n,r)=>{let i=n,a=e._zod.def;i.type=`array`;let o=t.target===`draft-2020-12`?`prefixItems`:`items`,s=t.target===`draft-2020-12`||t.target===`openapi-3.0`?`items`:`additionalItems`,c=a.items.map((e,n)=>r7(e,t,{...r,path:[...r.path,o,n]})),l=a.rest?r7(a.rest,t,{...r,path:[...r.path,s,...t.target===`openapi-3.0`?[a.items.length]:[]]}):null;t.target===`draft-2020-12`?(i.prefixItems=c,l&&(i.items=l)):t.target===`openapi-3.0`?(i.items={anyOf:c},l&&i.items.anyOf.push(l),i.minItems=c.length,l||(i.maxItems=c.length)):(i.items=c,l&&(i.additionalItems=l));let{minimum:u,maximum:d}=e._zod.bag;typeof u==`number`&&(i.minItems=u),typeof d==`number`&&(i.maxItems=d)},x7=(e,t,n,r)=>{let i=n,a=e._zod.def;i.type=`object`;let o=a.keyType,s=o._zod.bag?.patterns;if(a.mode===`loose`&&s&&s.size>0){let e=r7(a.valueType,t,{...r,path:[...r.path,`patternProperties`,`*`]});i.patternProperties={};for(let t of s)i.patternProperties[t.source]=e}else (t.target===`draft-07`||t.target===`draft-2020-12`)&&(i.propertyNames=r7(a.keyType,t,{...r,path:[...r.path,`propertyNames`]})),i.additionalProperties=r7(a.valueType,t,{...r,path:[...r.path,`additionalProperties`]});let c=o._zod.values;if(c){let e=[...c].filter(e=>typeof e==`string`||typeof e==`number`);e.length>0&&(i.required=e)}},S7=(e,t,n,r)=>{let i=e._zod.def,a=r7(i.innerType,t,r),o=t.seen.get(e);t.target===`openapi-3.0`?(o.ref=i.innerType,n.nullable=!0):n.anyOf=[a,{type:`null`}]},C7=(e,t,n,r)=>{let i=e._zod.def;r7(i.innerType,t,r);let a=t.seen.get(e);a.ref=i.innerType},w7=(e,t,n,r)=>{let i=e._zod.def;r7(i.innerType,t,r);let a=t.seen.get(e);a.ref=i.innerType,n.default=JSON.parse(JSON.stringify(i.defaultValue))},T7=(e,t,n,r)=>{let i=e._zod.def;r7(i.innerType,t,r);let a=t.seen.get(e);a.ref=i.innerType,t.io===`input`&&(n._prefault=JSON.parse(JSON.stringify(i.defaultValue)))},E7=(e,t,n,r)=>{let i=e._zod.def;r7(i.innerType,t,r);let a=t.seen.get(e);a.ref=i.innerType;let o;try{o=i.catchValue(void 0)}catch{throw Error(`Dynamic catch values are not supported in JSON Schema`)}n.default=o},D7=(e,t,n,r)=>{let i=e._zod.def,a=t.io===`input`?i.in._zod.def.type===`transform`?i.out:i.in:i.out;r7(a,t,r);let o=t.seen.get(e);o.ref=a},O7=(e,t,n,r)=>{let i=e._zod.def;r7(i.innerType,t,r);let a=t.seen.get(e);a.ref=i.innerType,n.readOnly=!0},$Ce=(e,t,n,r)=>{let i=e._zod.def;r7(i.innerType,t,r);let a=t.seen.get(e);a.ref=i.innerType},k7=(e,t,n,r)=>{let i=e._zod.def;r7(i.innerType,t,r);let a=t.seen.get(e);a.ref=i.innerType},A7=(e,t,n,r)=>{let i=e._zod.innerType;r7(i,t,r);let a=t.seen.get(e);a.ref=i},j7={string:c7,number:l7,boolean:u7,bigint:RCe,symbol:zCe,null:d7,undefined:BCe,void:VCe,never:f7,any:HCe,unknown:UCe,date:WCe,enum:p7,literal:m7,nan:GCe,template_literal:KCe,file:qCe,success:JCe,custom:h7,function:YCe,transform:g7,map:XCe,set:ZCe,array:_7,object:v7,union:y7,intersection:b7,tuple:QCe,record:x7,nullable:S7,nonoptional:C7,default:w7,prefault:T7,catch:E7,pipe:D7,readonly:O7,promise:$Ce,optional:k7,lazy:A7};function ewe(e,t){if(`_idmap`in e){let n=e,r=n7({...t,processors:j7}),i={};for(let e of n._idmap.entries()){let[t,n]=e;r7(n,r)}let a={};r.external={registry:n,uri:t?.uri,defs:i};for(let e of n._idmap.entries()){let[t,n]=e;i7(r,n),a[t]=a7(r,n)}return Object.keys(i).length>0&&(a.__shared={[r.target===`draft-2020-12`?`$defs`:`definitions`]:i}),{schemas:a}}let n=n7({...t,processors:j7});return r7(e,n),i7(n,e),a7(n,e)}var twe=$(`ZodISODateTime`,(e,t)=>{nSe.init(e,t),R7.init(e,t)});function nwe(e){return uCe(twe,e)}var rwe=$(`ZodISODate`,(e,t)=>{rSe.init(e,t),R7.init(e,t)});function iwe(e){return dCe(rwe,e)}var awe=$(`ZodISOTime`,(e,t)=>{iSe.init(e,t),R7.init(e,t)});function owe(e){return fCe(awe,e)}var swe=$(`ZodISODuration`,(e,t)=>{aSe.init(e,t),R7.init(e,t)});function cwe(e){return pCe(swe,e)}var M7=(e,t)=>{c5.init(e,t),e.name=`ZodError`,Object.defineProperties(e,{format:{value:t=>Jbe(e,t)},flatten:{value:t=>qbe(e,t)},addIssue:{value:t=>{e.issues.push(t),e.message=JSON.stringify(e.issues,z8,2)}},addIssues:{value:t=>{e.issues.push(...t),e.message=JSON.stringify(e.issues,z8,2)}},isEmpty:{get(){return e.issues.length===0}}})};$(`ZodError`,M7);var N7=$(`ZodError`,M7,{Parent:Error}),lwe=u5(N7),uwe=d5(N7),dwe=f5(N7),P7=p5(N7),fwe=Zbe(N7),pwe=Qbe(N7),mwe=$be(N7),hwe=exe(N7),gwe=txe(N7),_we=nxe(N7),vwe=rxe(N7),ywe=ixe(N7),F7=$(`ZodType`,(e,t)=>(w5.init(e,t),Object.assign(e[`~standard`],{jsonSchema:{input:s7(e,`input`),output:s7(e,`output`)}}),e.toJSONSchema=ICe(e,{}),e.def=t,e.type=t.type,Object.defineProperty(e,`_def`,{value:t}),e.check=(...n)=>e.clone(K8(t,{checks:[...t.checks??[],...n.map(e=>typeof e==`function`?{_zod:{check:e,def:{check:`custom`},onattach:[]}}:e)]}),{parent:!0}),e.with=e.check,e.clone=(t,n)=>$8(e,t,n),e.brand=()=>e,e.register=((t,n)=>(t.add(e,n),e)),e.parse=(t,n)=>lwe(e,t,n,{callee:e.parse}),e.safeParse=(t,n)=>dwe(e,t,n),e.parseAsync=async(t,n)=>uwe(e,t,n,{callee:e.parseAsync}),e.safeParseAsync=async(t,n)=>P7(e,t,n),e.spa=e.safeParseAsync,e.encode=(t,n)=>fwe(e,t,n),e.decode=(t,n)=>pwe(e,t,n),e.encodeAsync=async(t,n)=>mwe(e,t,n),e.decodeAsync=async(t,n)=>hwe(e,t,n),e.safeEncode=(t,n)=>gwe(e,t,n),e.safeDecode=(t,n)=>_we(e,t,n),e.safeEncodeAsync=async(t,n)=>vwe(e,t,n),e.safeDecodeAsync=async(t,n)=>ywe(e,t,n),e.refine=(t,n)=>e.check(_Te(t,n)),e.superRefine=t=>e.check(vTe(t)),e.overwrite=t=>e.check(t7(t)),e.optional=()=>n9(e),e.exactOptional=()=>nTe(e),e.nullable=()=>r9(e),e.nullish=()=>n9(r9(e)),e.nonoptional=t=>cTe(e,t),e.array=()=>G7(e),e.or=t=>Y7([e,t]),e.and=t=>Xwe(e,t),e.transform=t=>a9(e,eTe(t)),e.default=t=>aTe(e,t),e.prefault=t=>sTe(e,t),e.catch=t=>uTe(e,t),e.pipe=t=>a9(e,t),e.readonly=()=>pTe(e),e.describe=t=>{let n=e.clone();return G5.add(n,{description:t}),n},Object.defineProperty(e,`description`,{get(){return G5.get(e)?.description},configurable:!0}),e.meta=(...t)=>{if(t.length===0)return G5.get(e);let n=e.clone();return G5.add(n,t[0]),n},e.isOptional=()=>e.safeParse(void 0).success,e.isNullable=()=>e.safeParse(null).success,e.apply=t=>t(e),e)),I7=$(`_ZodString`,(e,t)=>{T5.init(e,t),F7.init(e,t),e._zod.processJSONSchema=(t,n,r)=>c7(e,t,n,r);let n=e._zod.bag;e.format=n.format??null,e.minLength=n.minimum??null,e.maxLength=n.maximum??null,e.regex=(...t)=>e.check(bCe(...t)),e.includes=(...t)=>e.check(CCe(...t)),e.startsWith=(...t)=>e.check(wCe(...t)),e.endsWith=(...t)=>e.check(TCe(...t)),e.min=(...t)=>e.check($5(...t)),e.max=(...t)=>e.check(Q5(...t)),e.length=(...t)=>e.check(e7(...t)),e.nonempty=(...t)=>e.check($5(1,...t)),e.lowercase=t=>e.check(xCe(t)),e.uppercase=t=>e.check(SCe(t)),e.trim=()=>e.check(DCe()),e.normalize=(...t)=>e.check(ECe(...t)),e.toLowerCase=()=>e.check(OCe()),e.toUpperCase=()=>e.check(kCe()),e.slugify=()=>e.check(ACe())}),bwe=$(`ZodString`,(e,t)=>{T5.init(e,t),I7.init(e,t),e.email=t=>e.check(USe(xwe,t)),e.url=t=>e.check(JSe(Swe,t)),e.jwt=t=>e.check(lCe(Lwe,t)),e.emoji=t=>e.check(YSe(Cwe,t)),e.guid=t=>e.check(K5(z7,t)),e.uuid=t=>e.check(WSe(B7,t)),e.uuidv4=t=>e.check(GSe(B7,t)),e.uuidv6=t=>e.check(KSe(B7,t)),e.uuidv7=t=>e.check(qSe(B7,t)),e.nanoid=t=>e.check(XSe(wwe,t)),e.guid=t=>e.check(K5(z7,t)),e.cuid=t=>e.check(ZSe(Twe,t)),e.cuid2=t=>e.check(QSe(Ewe,t)),e.ulid=t=>e.check($Se(Dwe,t)),e.base64=t=>e.check(oCe(Pwe,t)),e.base64url=t=>e.check(sCe(Fwe,t)),e.xid=t=>e.check(eCe(Owe,t)),e.ksuid=t=>e.check(tCe(kwe,t)),e.ipv4=t=>e.check(nCe(Awe,t)),e.ipv6=t=>e.check(rCe(jwe,t)),e.cidrv4=t=>e.check(iCe(Mwe,t)),e.cidrv6=t=>e.check(aCe(Nwe,t)),e.e164=t=>e.check(cCe(Iwe,t)),e.datetime=t=>e.check(nwe(t)),e.date=t=>e.check(iwe(t)),e.time=t=>e.check(owe(t)),e.duration=t=>e.check(cwe(t))});function L7(e){return HSe(bwe,e)}var R7=$(`ZodStringFormat`,(e,t)=>{E5.init(e,t),I7.init(e,t)}),xwe=$(`ZodEmail`,(e,t)=>{qxe.init(e,t),R7.init(e,t)}),z7=$(`ZodGUID`,(e,t)=>{Gxe.init(e,t),R7.init(e,t)}),B7=$(`ZodUUID`,(e,t)=>{Kxe.init(e,t),R7.init(e,t)}),Swe=$(`ZodURL`,(e,t)=>{Jxe.init(e,t),R7.init(e,t)}),Cwe=$(`ZodEmoji`,(e,t)=>{Yxe.init(e,t),R7.init(e,t)}),wwe=$(`ZodNanoID`,(e,t)=>{Xxe.init(e,t),R7.init(e,t)}),Twe=$(`ZodCUID`,(e,t)=>{Zxe.init(e,t),R7.init(e,t)}),Ewe=$(`ZodCUID2`,(e,t)=>{Qxe.init(e,t),R7.init(e,t)}),Dwe=$(`ZodULID`,(e,t)=>{$xe.init(e,t),R7.init(e,t)}),Owe=$(`ZodXID`,(e,t)=>{eSe.init(e,t),R7.init(e,t)}),kwe=$(`ZodKSUID`,(e,t)=>{tSe.init(e,t),R7.init(e,t)}),Awe=$(`ZodIPv4`,(e,t)=>{oSe.init(e,t),R7.init(e,t)}),jwe=$(`ZodIPv6`,(e,t)=>{sSe.init(e,t),R7.init(e,t)}),Mwe=$(`ZodCIDRv4`,(e,t)=>{cSe.init(e,t),R7.init(e,t)}),Nwe=$(`ZodCIDRv6`,(e,t)=>{lSe.init(e,t),R7.init(e,t)}),Pwe=$(`ZodBase64`,(e,t)=>{uSe.init(e,t),R7.init(e,t)}),Fwe=$(`ZodBase64URL`,(e,t)=>{fSe.init(e,t),R7.init(e,t)}),Iwe=$(`ZodE164`,(e,t)=>{pSe.init(e,t),R7.init(e,t)}),Lwe=$(`ZodJWT`,(e,t)=>{hSe.init(e,t),R7.init(e,t)}),V7=$(`ZodNumber`,(e,t)=>{O5.init(e,t),F7.init(e,t),e._zod.processJSONSchema=(t,n,r)=>l7(e,t,n,r),e.gt=(t,n)=>e.check(Y5(t,n)),e.gte=(t,n)=>e.check(X5(t,n)),e.min=(t,n)=>e.check(X5(t,n)),e.lt=(t,n)=>e.check(q5(t,n)),e.lte=(t,n)=>e.check(J5(t,n)),e.max=(t,n)=>e.check(J5(t,n)),e.int=t=>e.check(H7(t)),e.safe=t=>e.check(H7(t)),e.positive=t=>e.check(Y5(0,t)),e.nonnegative=t=>e.check(X5(0,t)),e.negative=t=>e.check(q5(0,t)),e.nonpositive=t=>e.check(J5(0,t)),e.multipleOf=(t,n)=>e.check(Z5(t,n)),e.step=(t,n)=>e.check(Z5(t,n)),e.finite=()=>e;let n=e._zod.bag;e.minValue=Math.max(n.minimum??-1/0,n.exclusiveMinimum??-1/0)??null,e.maxValue=Math.min(n.maximum??1/0,n.exclusiveMaximum??1/0)??null,e.isInt=(n.format??``).includes(`int`)||Number.isSafeInteger(n.multipleOf??.5),e.isFinite=!0,e.format=n.format??null});function Rwe(e){return mCe(V7,e)}var zwe=$(`ZodNumberFormat`,(e,t)=>{gSe.init(e,t),V7.init(e,t)});function H7(e){return hCe(zwe,e)}var Bwe=$(`ZodBoolean`,(e,t)=>{_Se.init(e,t),F7.init(e,t),e._zod.processJSONSchema=(t,n,r)=>u7(e,t,n,r)});function Vwe(e){return gCe(Bwe,e)}var Hwe=$(`ZodNull`,(e,t)=>{vSe.init(e,t),F7.init(e,t),e._zod.processJSONSchema=(t,n,r)=>d7(e,t,n,r)});function Uwe(e){return _Ce(Hwe,e)}var Wwe=$(`ZodUnknown`,(e,t)=>{ySe.init(e,t),F7.init(e,t),e._zod.processJSONSchema=(e,t,n)=>void 0});function U7(){return vCe(Wwe)}var Gwe=$(`ZodNever`,(e,t)=>{bSe.init(e,t),F7.init(e,t),e._zod.processJSONSchema=(t,n,r)=>f7(e,t,n,r)});function W7(e){return yCe(Gwe,e)}var Kwe=$(`ZodArray`,(e,t)=>{xSe.init(e,t),F7.init(e,t),e._zod.processJSONSchema=(t,n,r)=>_7(e,t,n,r),e.element=t.element,e.min=(t,n)=>e.check($5(t,n)),e.nonempty=t=>e.check($5(1,t)),e.max=(t,n)=>e.check(Q5(t,n)),e.length=(t,n)=>e.check(e7(t,n)),e.unwrap=()=>e.element});function G7(e,t){return jCe(Kwe,e,t)}var K7=$(`ZodObject`,(e,t)=>{CSe.init(e,t),F7.init(e,t),e._zod.processJSONSchema=(t,n,r)=>v7(e,t,n,r),W8(e,`shape`,()=>t.shape),e.keyof=()=>$7(Object.keys(e._zod.def.shape)),e.catchall=t=>e.clone({...e._zod.def,catchall:t}),e.passthrough=()=>e.clone({...e._zod.def,catchall:U7()}),e.loose=()=>e.clone({...e._zod.def,catchall:U7()}),e.strict=()=>e.clone({...e._zod.def,catchall:W7()}),e.strip=()=>e.clone({...e._zod.def,catchall:void 0}),e.extend=t=>Hbe(e,t),e.safeExtend=t=>Ube(e,t),e.merge=t=>Wbe(e,t),e.pick=t=>Bbe(e,t),e.omit=t=>Vbe(e,t),e.partial=(...t)=>Gbe(t9,e,t[0]),e.required=(...t)=>Kbe(i9,e,t[0])});function q7(e,t){return new K7({type:`object`,shape:e??{},...e5(t)})}function qwe(e,t){return new K7({type:`object`,shape:e,catchall:W7(),...e5(t)})}var J7=$(`ZodUnion`,(e,t)=>{P5.init(e,t),F7.init(e,t),e._zod.processJSONSchema=(t,n,r)=>y7(e,t,n,r),e.options=t.options});function Y7(e,t){return new J7({type:`union`,options:e,...e5(t)})}var Jwe=$(`ZodDiscriminatedUnion`,(e,t)=>{J7.init(e,t),wSe.init(e,t)});function X7(e,t,n){return new Jwe({type:`union`,options:t,discriminator:e,...e5(n)})}var Ywe=$(`ZodIntersection`,(e,t)=>{TSe.init(e,t),F7.init(e,t),e._zod.processJSONSchema=(t,n,r)=>b7(e,t,n,r)});function Xwe(e,t){return new Ywe({type:`intersection`,left:e,right:t})}var Zwe=$(`ZodRecord`,(e,t)=>{ESe.init(e,t),F7.init(e,t),e._zod.processJSONSchema=(t,n,r)=>x7(e,t,n,r),e.keyType=t.keyType,e.valueType=t.valueType});function Z7(e,t,n){return new Zwe({type:`record`,keyType:e,valueType:t,...e5(n)})}var Q7=$(`ZodEnum`,(e,t)=>{DSe.init(e,t),F7.init(e,t),e._zod.processJSONSchema=(t,n,r)=>p7(e,t,n,r),e.enum=t.entries,e.options=Object.values(t.entries);let n=new Set(Object.keys(t.entries));e.extract=(e,r)=>{let i={};for(let r of e)if(n.has(r))i[r]=t.entries[r];else throw Error(`Key ${r} not found in enum`);return new Q7({...t,checks:[],...e5(r),entries:i})},e.exclude=(e,r)=>{let i={...t.entries};for(let t of e)if(n.has(t))delete i[t];else throw Error(`Key ${t} not found in enum`);return new Q7({...t,checks:[],...e5(r),entries:i})}});function $7(e,t){return new Q7({type:`enum`,entries:Array.isArray(e)?Object.fromEntries(e.map(e=>[e,e])):e,...e5(t)})}var Qwe=$(`ZodLiteral`,(e,t)=>{OSe.init(e,t),F7.init(e,t),e._zod.processJSONSchema=(t,n,r)=>m7(e,t,n,r),e.values=new Set(t.values),Object.defineProperty(e,`value`,{get(){if(t.values.length>1)throw Error("This schema contains multiple valid literal values. Use `.values` instead.");return t.values[0]}})});function e9(e,t){return new Qwe({type:`literal`,values:Array.isArray(e)?e:[e],...e5(t)})}var $we=$(`ZodTransform`,(e,t)=>{kSe.init(e,t),F7.init(e,t),e._zod.processJSONSchema=(t,n,r)=>g7(e,t,n,r),e._zod.parse=(n,r)=>{if(r.direction===`backward`)throw new F8(e.constructor.name);n.addIssue=r=>{if(typeof r==`string`)n.issues.push(o5(r,n.value,t));else{let t=r;t.fatal&&(t.continue=!1),t.code??=`custom`,t.input??=n.value,t.inst??=e,n.issues.push(o5(t))}};let i=t.transform(n.value,n);return i instanceof Promise?i.then(e=>(n.value=e,n)):(n.value=i,n)}});function eTe(e){return new $we({type:`transform`,transform:e})}var t9=$(`ZodOptional`,(e,t)=>{R5.init(e,t),F7.init(e,t),e._zod.processJSONSchema=(t,n,r)=>k7(e,t,n,r),e.unwrap=()=>e._zod.def.innerType});function n9(e){return new t9({type:`optional`,innerType:e})}var tTe=$(`ZodExactOptional`,(e,t)=>{ASe.init(e,t),F7.init(e,t),e._zod.processJSONSchema=(t,n,r)=>k7(e,t,n,r),e.unwrap=()=>e._zod.def.innerType});function nTe(e){return new tTe({type:`optional`,innerType:e})}var rTe=$(`ZodNullable`,(e,t)=>{jSe.init(e,t),F7.init(e,t),e._zod.processJSONSchema=(t,n,r)=>S7(e,t,n,r),e.unwrap=()=>e._zod.def.innerType});function r9(e){return new rTe({type:`nullable`,innerType:e})}var iTe=$(`ZodDefault`,(e,t)=>{MSe.init(e,t),F7.init(e,t),e._zod.processJSONSchema=(t,n,r)=>w7(e,t,n,r),e.unwrap=()=>e._zod.def.innerType,e.removeDefault=e.unwrap});function aTe(e,t){return new iTe({type:`default`,innerType:e,get defaultValue(){return typeof t==`function`?t():Z8(t)}})}var oTe=$(`ZodPrefault`,(e,t)=>{NSe.init(e,t),F7.init(e,t),e._zod.processJSONSchema=(t,n,r)=>T7(e,t,n,r),e.unwrap=()=>e._zod.def.innerType});function sTe(e,t){return new oTe({type:`prefault`,innerType:e,get defaultValue(){return typeof t==`function`?t():Z8(t)}})}var i9=$(`ZodNonOptional`,(e,t)=>{PSe.init(e,t),F7.init(e,t),e._zod.processJSONSchema=(t,n,r)=>C7(e,t,n,r),e.unwrap=()=>e._zod.def.innerType});function cTe(e,t){return new i9({type:`nonoptional`,innerType:e,...e5(t)})}var lTe=$(`ZodCatch`,(e,t)=>{FSe.init(e,t),F7.init(e,t),e._zod.processJSONSchema=(t,n,r)=>E7(e,t,n,r),e.unwrap=()=>e._zod.def.innerType,e.removeCatch=e.unwrap});function uTe(e,t){return new lTe({type:`catch`,innerType:e,catchValue:typeof t==`function`?t:()=>t})}var dTe=$(`ZodPipe`,(e,t)=>{ISe.init(e,t),F7.init(e,t),e._zod.processJSONSchema=(t,n,r)=>D7(e,t,n,r),e.in=t.in,e.out=t.out});function a9(e,t){return new dTe({type:`pipe`,in:e,out:t})}var fTe=$(`ZodReadonly`,(e,t)=>{LSe.init(e,t),F7.init(e,t),e._zod.processJSONSchema=(t,n,r)=>O7(e,t,n,r),e.unwrap=()=>e._zod.def.innerType});function pTe(e){return new fTe({type:`readonly`,innerType:e})}var mTe=$(`ZodLazy`,(e,t)=>{RSe.init(e,t),F7.init(e,t),e._zod.processJSONSchema=(t,n,r)=>A7(e,t,n,r),e.unwrap=()=>e._zod.def.getter()});function hTe(e){return new mTe({type:`lazy`,getter:e})}var o9=$(`ZodCustom`,(e,t)=>{zSe.init(e,t),F7.init(e,t),e._zod.processJSONSchema=(t,n,r)=>h7(e,t,n,r)});function gTe(e,t){return MCe(o9,e??(()=>!0),t)}function _Te(e,t={}){return NCe(o9,e,t)}function vTe(e){return PCe(e)}function yTe(e,t={}){let n=new o9({type:`custom`,check:`custom`,fn:t=>t instanceof e,abort:!0,...e5(t)});return n._zod.bag.Class=e,n._zod.check=t=>{t.value instanceof e||t.issues.push({code:`invalid_type`,expected:e.name,input:t.value,inst:n,path:[...n._zod.def.path??[]]})},n}var bTe=L7().min(7).default(()=>uV()),s9=q7({description:L7().optional()}),c9=q7({uid:bTe.brand(),nameKey:L7().optional().default(``)}),l9=s9.extend({type:e9(`apiKey`),name:L7().optional().default(``),in:$7([`query`,`header`,`cookie`]).optional().default(`header`).catch(`header`)}),xTe=q7({value:L7().default(``)}),STe=l9.merge(c9).merge(xTe),u9=s9.extend({type:e9(`http`),scheme:L7().toLowerCase().pipe($7([`basic`,`bearer`])).optional().default(`basic`),bearerFormat:Y7([e9(`JWT`),L7()]).optional().default(`JWT`)}),CTe=q7({username:L7().default(``),password:L7().default(``),token:L7().default(``)}),wTe=u9.merge(c9).merge(CTe),d9=s9.extend({type:e9(`openIdConnect`),openIdConnectUrl:L7().optional().default(``)}),TTe=d9.merge(c9),f9=L7().default(``),p9=L7().default(``),m9=q7({refreshUrl:L7().optional().default(``),scopes:Z7(L7(),L7().optional().default(``)).optional().default({}).catch({}),selectedScopes:G7(L7()).optional().default([]),"x-scalar-client-id":L7().optional().default(``),token:L7().default(``),"x-scalar-security-query":Z7(L7(),L7()).optional(),"x-scalar-security-body":Z7(L7(),L7()).optional(),"x-tokenName":L7().optional()}),h9=typeof window<`u`?window.location.origin+window.location.pathname:``,g9=[`SHA-256`,`plain`,`no`],_9=$7([`header`,`body`]).optional(),v9=s9.extend({type:e9(`oauth2`),"x-default-scopes":G7(L7()).optional(),flows:q7({implicit:m9.extend({type:e9(`implicit`).default(`implicit`),authorizationUrl:f9,"x-scalar-redirect-uri":L7().optional().default(h9)}),password:m9.extend({type:e9(`password`).default(`password`),tokenUrl:p9,clientSecret:L7().default(``),username:L7().default(``),password:L7().default(``),"x-scalar-credentials-location":_9}),clientCredentials:m9.extend({type:e9(`clientCredentials`).default(`clientCredentials`),tokenUrl:p9,clientSecret:L7().default(``),"x-scalar-credentials-location":_9}),authorizationCode:m9.extend({type:e9(`authorizationCode`).default(`authorizationCode`),authorizationUrl:f9,"x-usePkce":$7(g9).optional().default(`no`),"x-scalar-redirect-uri":L7().optional().default(h9),tokenUrl:p9,clientSecret:L7().default(``),"x-scalar-credentials-location":_9})}).partial().default({implicit:{selectedScopes:[],scopes:{},"x-scalar-client-id":``,refreshUrl:``,token:``,type:`implicit`,authorizationUrl:`http://localhost:8080`,"x-scalar-redirect-uri":h9}})}),ETe=v9.merge(c9);Z7(L7(),G7(L7()).optional().default([])),Y7([l9,u9,v9,d9]),X7(`type`,[STe,wTe,TTe,ETe]).transform(e=>(e.type===`oauth2`&&e[`x-default-scopes`]?.length&&Object.keys(e.flows).forEach(t=>{e.flows[t]?.selectedScopes&&e[`x-default-scopes`]&&(e.flows[t].selectedScopes=[e[`x-default-scopes`]].flat())}),e));var DTe={class:`flex h-8 items-center justify-end gap-2 border-t`},OTe={class:`flex h-8 w-full items-center justify-end border-t`},kTe=w({__name:`OAuth2`,props:{environment:{},flows:{},type:{},selectedScopes:{},scheme:{},server:{},proxyUrl:{},name:{},eventBus:{},options:{default:()=>({})}},emits:[`update:selectedScopes`,`upsert:scope`,`delete:scope`],setup(e,{emit:t}){let n=t,r=N8(),{toast:i}=M8(),a=j(()=>e.flows[e.type]),o=j(()=>{let t=a.value.scopes;return t?e.selectedScopes.filter(e=>Object.hasOwn(t,e)):[]}),s=j(()=>{if(!(`x-scalar-secret-client-secret`in a.value))return!1;let e=`x-usePkce`in a.value?a.value[`x-usePkce`]:void 0;return e!==`SHA-256`&&e!==`plain`}),c=j(()=>a.value[`x-scalar-secret-client-secret`]??``),l=t=>{if(e.scheme.type===`openIdConnect`)return u(t);e.eventBus.emit(`auth:update:security-scheme`,{payload:{type:e.scheme.type,flows:{[e.type]:t}},name:e.name})},u=t=>e.eventBus.emit(`auth:update:security-scheme-secrets`,{payload:{type:e.scheme.type,[e.type]:t},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=A(null),m=A(!1),h=t=>JSON.stringify({type:e.type,authorizationUrl:t&&`authorizationUrl`in t?t.authorizationUrl:``,tokenUrl:t&&`tokenUrl`in t?t.tokenUrl:``,refreshUrl:t?.refreshUrl??``,scopes:Object.keys(t?.scopes??{})});Xe(()=>a.value,t=>{if(!t||!(`x-scalar-secret-redirect-uri`in t))return;let n=h(t);if(p.value!==n&&(p.value=n,m.value=!1),m.value)return;let r=t[`x-scalar-secret-redirect-uri`],i=S8(e.options);m.value=!0,!(r||!i||e.options.captureOAuth2Callback)&&u({"x-scalar-secret-redirect-uri":i})},{immediate:!0});let g=async()=>{if(r.isLoading)return;r.start();let[t,n]=await Vye(e.flows,e.type,o.value,e.server,e.proxyUrl,sT(e.environment),e.options.customFetch,e.options.captureOAuth2Callback);await r.clear(),n?.accessToken?u({"x-scalar-secret-token":n.accessToken,...n.refreshToken?{"x-scalar-secret-refresh-token":n.refreshToken}:{}}):(console.error(t),i(t?.message??`Failed to authorize`,`error`))},_=j(()=>e.type!==`implicit`),v=j(()=>`tokenUrl`in a.value&&a.value.tokenUrl?a.value.tokenUrl:`https://galaxy.scalar.com/oauth/refresh`),b=async()=>{if(r.isLoading||e.type===`implicit`)return;r.start();let[t,n]=await Hye(e.flows,e.type,e.proxyUrl,e.server,sT(e.environment),e.options.customFetch);await r.clear(),n?.accessToken?u({"x-scalar-secret-token":n.accessToken,...n.refreshToken?{"x-scalar-secret-refresh-token":n.refreshToken}:{}}):(console.error(t),i(t?.message??`Failed to refresh token`,`error`))},ee=t=>{let n=t===`body`?`body`:`header`;e.scheme.type!==`openIdConnect`&&l({"x-scalar-credentials-location":n}),u({"x-scalar-credentials-location":n})};return(t,i)=>a.value[`x-scalar-secret-token`]?(y(),M(Ne,{key:0},[D(T(vV),null,{default:E(()=>[D(p8,{class:`border-r-transparent`,environment:e.environment,modelValue:a.value[`x-scalar-secret-token`],placeholder:`QUxMIFlPVVIgQkFTRSBBUkUgQkVMT05HIFRPIFVT`,type:`password`,"onUpdate:modelValue":i[0]||=e=>u({"x-scalar-secret-token":e})},{default:E(()=>[...i[14]||=[tt(` Access Token `,-1)]]),_:1},8,[`environment`,`modelValue`])]),_:1}),_.value?(y(),O(T(vV),{key:0},{default:E(()=>[D(p8,{class:`border-r-transparent`,environment:e.environment,modelValue:a.value.refreshUrl??``,placeholder:v.value,"onUpdate:modelValue":i[1]||=e=>l({refreshUrl:e})},{default:E(()=>[...i[15]||=[tt(` Refresh URL `,-1)]]),_:1},8,[`environment`,`modelValue`,`placeholder`])]),_:1})):k(``,!0),D(T(vV),{class:`min-w-full`},{default:E(()=>[N(`div`,DTe,[_.value?(y(),O(T(OF),{key:0,class:`p-0 px-2 py-0.5`,loader:T(r),size:`sm`,variant:`outlined`,onClick:b},{default:E(()=>[...i[16]||=[tt(` Refresh `,-1)]]),_:1},8,[`loader`])):k(``,!0),D(T(OF),{class:`mr-1 p-0 px-2 py-0.5`,disabled:T(r).isLoading,size:`sm`,variant:`outlined`,onClick:f},{default:E(()=>[...i[17]||=[tt(` Clear `,-1)]]),_:1},8,[`disabled`])])]),_:1})],64)):(y(),M(Ne,{key:1},[D(T(vV),null,{default:E(()=>[`authorizationUrl`in a.value?(y(),O(p8,{key:0,containerClass:`border-r-0`,environment:e.environment,modelValue:a.value[`x-scalar-secret-auth-url`]??``,placeholder:`https://galaxy.scalar.com/authorize`,"onUpdate:modelValue":i[2]||=e=>{u({"x-scalar-secret-auth-url":e}),l({authorizationUrl:e})}},{default:E(()=>[...i[18]||=[tt(` Auth URL `,-1)]]),_:1},8,[`environment`,`modelValue`])):k(``,!0),`tokenUrl`in a.value?(y(),O(p8,{key:1,environment:e.environment,modelValue:a.value[`x-scalar-secret-token-url`]??``,placeholder:`https://galaxy.scalar.com/token`,"onUpdate:modelValue":i[3]||=e=>{u({"x-scalar-secret-token-url":e}),l({tokenUrl:e})}},{default:E(()=>[...i[19]||=[tt(` Token URL `,-1)]]),_:1},8,[`environment`,`modelValue`])):k(``,!0)]),_:1}),`x-scalar-secret-redirect-uri`in a.value?(y(),O(T(vV),{key:0},{default:E(()=>[D(p8,{environment:e.environment,modelValue:a.value[`x-scalar-secret-redirect-uri`],placeholder:e.options.captureOAuth2Callback?`${T(S8)(e.options)||`http://127.0.0.1`} (handled automatically)`:`Optional redirect URL`,"onUpdate:modelValue":i[4]||=e=>{m.value=!0,u({"x-scalar-secret-redirect-uri":e})}},{default:E(()=>[...i[20]||=[tt(` Redirect URL `,-1)]]),_:1},8,[`environment`,`modelValue`,`placeholder`])]),_:1})):k(``,!0),`x-scalar-secret-username`in a.value&&`x-scalar-secret-password`in a.value?(y(),M(Ne,{key:1},[D(T(vV),null,{default:E(()=>[D(p8,{class:`text-c-2`,environment:e.environment,modelValue:a.value[`x-scalar-secret-username`],placeholder:`janedoe`,"onUpdate:modelValue":i[5]||=e=>u({"x-scalar-secret-username":e})},{default:E(()=>[...i[21]||=[tt(` Username `,-1)]]),_:1},8,[`environment`,`modelValue`])]),_:1}),D(T(vV),null,{default:E(()=>[D(p8,{environment:e.environment,modelValue:a.value[`x-scalar-secret-password`],placeholder:`********`,type:`password`,"onUpdate:modelValue":i[6]||=e=>u({"x-scalar-secret-password":e})},{default:E(()=>[...i[22]||=[tt(` Password `,-1)]]),_:1},8,[`environment`,`modelValue`])]),_:1})],64)):k(``,!0),D(T(vV),null,{default:E(()=>[D(p8,{environment:e.environment,modelValue:a.value[`x-scalar-secret-client-id`],placeholder:`12345`,"onUpdate:modelValue":i[7]||=e=>u({"x-scalar-secret-client-id":e})},{default:E(()=>[...i[23]||=[tt(` Client ID `,-1)]]),_:1},8,[`environment`,`modelValue`])]),_:1}),s.value?(y(),O(T(vV),{key:2},{default:E(()=>[D(p8,{environment:e.environment,modelValue:c.value,placeholder:`XYZ123`,type:`password`,"onUpdate:modelValue":i[8]||=e=>u({"x-scalar-secret-client-secret":e})},{default:E(()=>[...i[24]||=[tt(` Client Secret `,-1)]]),_:1},8,[`environment`,`modelValue`])]),_:1})):k(``,!0),`x-usePkce`in a.value?(y(),O(T(vV),{key:3},{default:E(()=>[D(p8,{enum:T(g9),environment:e.environment,modelValue:a.value[`x-usePkce`],readOnly:``,"onUpdate:modelValue":i[9]||=e=>l({"x-usePkce":e})},{default:E(()=>[...i[25]||=[tt(` Use PKCE `,-1)]]),_:1},8,[`enum`,`environment`,`modelValue`])]),_:1})):k(``,!0),e.type===`implicit`?k(``,!0):(y(),O(T(vV),{key:4},{default:E(()=>[D(p8,{enum:[`header`,`body`],environment:e.environment,modelValue:a.value[`x-scalar-credentials-location`]||`header`,placeholder:`header`,readOnly:``,"onUpdate:modelValue":i[10]||=e=>ee(e)},{default:E(()=>[...i[26]||=[tt(` Credentials Location `,-1)]]),_:1},8,[`environment`,`modelValue`])]),_:1})),D(T(vV),null,{default:E(()=>[D(Lye,{flow:a.value,flowType:e.type,selectedScopes:o.value,"onUpdate:selectedScopes":i[11]||=e=>n(`update:selectedScopes`,e),"onUpsert:scope":i[12]||=e=>n(`upsert:scope`,e),"onDelete:scope":i[13]||=e=>n(`delete:scope`,e)},null,8,[`flow`,`flowType`,`selectedScopes`])]),_:1}),D(T(vV),{class:`min-w-full`},{default:E(()=>[N(`div`,OTe,[e.scheme.type===`openIdConnect`?(y(),O(T(OF),{key:0,class:`mr-1 p-0 px-2 py-0.5`,disabled:T(r).isLoading,size:`sm`,variant:`outlined`,onClick:d},{default:E(()=>[...i[27]||=[tt(` Clear `,-1)]]),_:1},8,[`disabled`])):k(``,!0),D(T(OF),{class:`mr-0.75 p-0 px-2 py-0.5`,loader:T(r),size:`sm`,variant:`outlined`,onClick:g},{default:E(()=>[...i[28]||=[tt(` Authorize `,-1)]]),_:1},8,[`loader`])])]),_:1})],64))}}),ATe=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()))}),jTe=async(e,t,n=fetch)=>{try{let r=e.trim();if(!r)return[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`);let i=await n(bw(t,r));if(!i.ok)return[Error(`Failed to fetch OpenID Connect discovery document: ${i.status} ${i.statusText}`),null];let a=wx(ATe,await i.json());return!a.authorization_endpoint&&!a.token_endpoint?[Error(`Invalid OpenID Connect discovery document: missing required endpoints`),null]:[null,a]}catch(e){return e instanceof Error?[e,null]:[Error(`Failed to fetch OpenID Connect discovery document`),null]}},MTe=Yv(V.Object({type:V.Literal(`apiKey`)}),dC),NTe=Yv(V.Object({type:V.Literal(`http`)}),dC,fC),y9=Yv(yre,dC,mre),PTe=V.Object({implicit:V.Optional(Yv(y9,mC)),password:V.Optional(Yv(y9,fC,pC,uC)),clientCredentials:V.Optional(Yv(y9,pC,uC)),authorizationCode:V.Optional(Yv(y9,pC,mC,uC))}),FTe=Yv(V.Object({type:V.Literal(`oauth2`)}),PTe),b9=V.Object({type:V.Literal(`openIdConnect`),implicit:V.Optional(Yv(gC,y9,mC)),password:V.Optional(Yv(_C,y9,fC,pC,uC)),clientCredentials:V.Optional(Yv(vC,y9,pC,uC)),authorizationCode:V.Optional(Yv(yC,y9,pC,mC,uC))}),x9=V.Union([MTe,NTe,FTe,b9]),ITe=V.Record(V.String(),x9),S9=V.Object({selectedIndex:V.Number(),selectedSchemes:V.Array(qie)}),C9=V.Object({secrets:ITe,selected:V.Object({document:V.Optional(S9),path:V.Optional(V.Record(V.String(),V.Record(V.String(),V.Optional(S9))))})}),LTe=V.Record(V.String(),C9);function RTe(e){return e.startsWith(`#`)}var w9=(e,t)=>{Object.assign(e,t)},zTe=({hooks:e}={})=>{let t=Be({});return{clearAuthSelectedSchemas:n=>{let r=t[n.documentName];if(!r)return;if(n.type===`document`){delete r.selected.document,e?.onAuthChange?.(n.documentName);return}fT(n.method),fT(n.path);let i=r.selected.path?.[n.path];i&&(delete i[n.method],e?.onAuthChange?.(n.documentName))},getAuthSecrets:(e,n)=>t[e]?.secrets?.[n],setAuthSecrets:(n,r,i)=>{t[n]||={secrets:{},selected:{document:void 0,path:void 0}},t[n].secrets[r]=wx(x9,i),e?.onAuthChange?.(n)},clearAuthSecrets:(n,r)=>{delete t[n]?.secrets?.[r],e?.onAuthChange?.(n)},getAuthSelectedSchemas:e=>e.type===`document`?t[e.documentName]?.selected?.document:t[e.documentName]?.selected?.path?.[e.path]?.[e.method],setAuthSelectedSchemas:(n,r)=>{t[n.documentName]||={secrets:{},selected:{document:void 0,path:void 0}};let i=t[n.documentName];if(n.type===`document`)i.selected.document=r;else{fT(n.path),fT(n.method),i.selected.path||={},i.selected.path[n.path]||={};let e=i.selected.path[n.path];e[n.method]=r}e?.onAuthChange?.(n.documentName)},clearDocumentAuth:n=>{delete t[n],e?.onAuthChange?.(n)},load:n=>{w9(t,wx(LTe,n)),Object.keys(n).forEach(t=>{e?.onAuthChange?.(t)})},export:()=>Wc(t)}},BTe=e=>{let t=Object.fromEntries((e.scopes_supported??[]).map(e=>[e,``])),n=new Set(e.grant_types_supported??[`authorization_code`,`implicit`]),r=e.authorization_endpoint,i=e.token_endpoint,a=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`)&&i&&(o.password={tokenUrl:i,refreshUrl:i,scopes:t}),n.has(`client_credentials`)&&i&&(o.clientCredentials={tokenUrl:i,refreshUrl:i,scopes:t}),n.has(`authorization_code`)&&r&&i&&(o.authorizationCode={authorizationUrl:r,tokenUrl:i,refreshUrl:i,"x-usePkce":a,scopes:t}),wx(b9,o)},VTe={class:`flex h-8 w-full items-center justify-end border-t`},HTe=w({__name:`OpenIDConnect`,props:{environment:{},eventBus:{},getStaticBorderClass:{type:Function},name:{},proxyUrl:{},scheme:{},customFetch:{}},setup(e){let t=N8(),{toast:n}=M8(),r=async()=>{if(t.isLoading||!e.scheme.openIdConnectUrl)return;t.start();let[r,i]=await jTe(e.scheme.openIdConnectUrl,e.proxyUrl,e.customFetch);if(await t.clear(),r){console.error(r),n(r?.message??`Failed to fetch OpenID Connect configuration`,`error`);return}let a=BTe(i);e.eventBus.emit(`auth:update:security-scheme-secrets`,{payload:a,name:e.name,overwrite:!0})},i=t=>e.eventBus.emit(`auth:update:security-scheme`,{payload:{type:`openIdConnect`,openIdConnectUrl:t},name:e.name});return(n,a)=>(y(),M(Ne,null,[D(T(vV),null,{default:E(()=>[D(p8,{containerClass:e.getStaticBorderClass(),environment:e.environment,modelValue:e.scheme.openIdConnectUrl,placeholder:`https://example.com/.well-known/openid-configuration`,required:``,"onUpdate:modelValue":i},{default:E(()=>[...a[0]||=[tt(` Discovery URL `,-1)]]),_:1},8,[`containerClass`,`environment`,`modelValue`])]),_:1}),D(T(vV),{class:`min-w-full`},{default:E(()=>[N(`div`,VTe,[D(T(OF),{class:`mr-0.75 p-0 px-2 py-0.5`,disabled:!e.scheme.openIdConnectUrl,loader:T(t),size:`sm`,variant:`outlined`,onClick:r},{default:E(()=>[...a[1]||=[tt(` Fetch Configuration `,-1)]]),_:1},8,[`disabled`,`loader`])])]),_:1})],64))}}),UTe={class:`bg-b-1 min-w-0 flex-1 px-3 py-1.25`},WTe={class:`text-c-1 leading-5.5 font-medium`},GTe={class:`flex min-h-8 border-t text-base`},KTe={class:`flex h-8 max-w-full gap-2.5 overflow-x-auto px-3`},qTe=[`onClick`],JTe={class:`relative z-10`},YTe={key:5,class:`text-c-3 flex items-center justify-center border-t p-4 px-4 text-center text-xs text-balance`},XTe={key:6,class:`text-c-3 flex items-center justify-center border-t p-4 px-4 text-center text-xs text-balance`},ZTe=w({__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}){let n=j(()=>gT(e.documentType)),r=t,i=j(()=>Object.entries(e.selectedSecuritySchemas).map(([t,n=[]])=>({scheme:L(e.securitySchemes[t]),name:t,scopes:n}))),a=A(``),o=j(()=>i.value.flatMap(({scheme:e})=>e?.type!==`oauth2`&&e?.type!==`openIdConnect`?[]:Object.keys(e.flows??{})).includes(a.value)?a.value:``),s=e=>{a.value=e},c=j(()=>i.value.length>1),l=(e,t)=>{let n=C(e);switch(t.type){case`apiKey`:return`${n}: ${t.in}`;case`openIdConnect`:case`oauth2`:{let e=Object.keys(t.flows??{})[0],r=o.value||e;return r?`${n}: ${r}`:n}case`http`:return`${n}: ${t.scheme}`;default:return n}},u=e=>e.in!==`user`&&e.in!==`password`,d=e=>e?.type,f=(e,t)=>o.value===e||t===0&&!o.value,p=()=>e.isStatic&&`border-t`,m=(t,n)=>e.eventBus.emit(`auth:update:security-scheme-secrets`,{payload:{type:`http`,...t},name:n}),h=(t,n)=>e.eventBus.emit(`auth:update:security-scheme-secrets`,{payload:{type:`apiKey`,...t},name:n}),g=(t,n)=>e.eventBus.emit(`auth:update:security-scheme`,{payload:{type:`apiKey`,...t},name:n}),b=(t,n)=>{r(`update:selectedScopes`,{id:Object.keys(e.selectedSecuritySchemas),name:t,...n})},ee=(e,t)=>{r(`upsert:scope`,{...t,name:e})},x=(e,t)=>{r(`delete:scope`,{...t,name:e})},te=(t,n)=>{let r=`floating-bg text-c-3 relative cursor-pointer border-b border-transparent py-1 text-base font-medium`;return f(t,n)?`${r} !text-c-1 !rounded-none border-b !border-current ${e.isStatic?`opacity-100`:``}`:r};return(t,r)=>(y(!0),M(Ne,null,_(i.value,({scheme:t,name:i,scopes:a})=>(y(),M(Ne,{key:i},[c.value&&t?(y(),O(T(vV),{key:0},{default:E(()=>[D(T(mV),{"aria-label":l(i,t),class:`max-h-[auto]`},{default:E(()=>[N(`div`,UTe,[N(`p`,WTe,be(l(i,t)),1),t.description?(y(),O(T(I4),{key:0,class:`auth-description text-c-2 w-full`,value:t.description},null,8,[`value`])):k(``,!0)])]),_:2},1032,[`aria-label`])]),_:2},1024)):k(``,!0),t?.description&&!c.value?(y(),O(T(vV),{key:1},{default:E(()=>[D(T(mV),{"aria-label":t.description,class:`max-h-[auto]`},{default:E(()=>[D(T(I4),{class:`auth-description bg-b-1 text-c-2 min-w-0 flex-1 px-3 py-1.25`,value:t.description},null,8,[`value`])]),_:2},1032,[`aria-label`])]),_:2},1024)):k(``,!0),t?.type===`http`?(y(),M(Ne,{key:2},[t.scheme===`bearer`?(y(),O(T(vV),{key:0},{default:E(()=>[D(p8,{containerClass:p(),environment:e.environment,modelValue:t[`x-scalar-secret-token`],placeholder:`Token`,type:`password`,"onUpdate:modelValue":e=>m({"x-scalar-secret-token":e},i)},{default:E(()=>[...r[0]||=[tt(` Bearer Token `,-1)]]),_:1},8,[`containerClass`,`environment`,`modelValue`,`onUpdate:modelValue`])]),_:2},1024)):t?.scheme===`basic`?(y(),M(Ne,{key:1},[D(T(vV),null,{default:E(()=>[D(p8,{class:`text-c-2`,environment:e.environment,modelValue:t[`x-scalar-secret-username`],placeholder:`janedoe`,required:``,"onUpdate:modelValue":e=>m({"x-scalar-secret-username":e},i)},{default:E(()=>[...r[1]||=[tt(` Username `,-1)]]),_:1},8,[`environment`,`modelValue`,`onUpdate:modelValue`])]),_:2},1024),D(T(vV),null,{default:E(()=>[D(p8,{environment:e.environment,modelValue:t[`x-scalar-secret-password`],placeholder:`********`,type:`password`,"onUpdate:modelValue":e=>m({"x-scalar-secret-password":e},i)},{default:E(()=>[...r[2]||=[tt(` Password `,-1)]]),_:1},8,[`environment`,`modelValue`,`onUpdate:modelValue`])]),_:2},1024)],64)):k(``,!0)],64)):t?.type===`apiKey`?(y(),M(Ne,{key:3},[u(t)?(y(),O(T(vV),{key:0},{default:E(()=>[D(p8,{containerClass:p(),environment:e.environment,modelValue:t.name,placeholder:`api-key`,"onUpdate:modelValue":e=>g({name:e},i)},{default:E(()=>[...r[3]||=[tt(` Name `,-1)]]),_:1},8,[`containerClass`,`environment`,`modelValue`,`onUpdate:modelValue`])]),_:2},1024)):k(``,!0),D(T(vV),null,{default:E(()=>[D(p8,{containerClass:u(t)?void 0:p(),environment:e.environment,modelValue:t[`x-scalar-secret-token`],placeholder:`QUxMIFlPVVIgQkFTRSBBUkUgQkVMT05HIFRPIFVT`,type:`password`,"onUpdate:modelValue":e=>h({"x-scalar-secret-token":e},i)},{default:E(()=>[...r[4]||=[tt(` Value `,-1)]]),_:1},8,[`containerClass`,`environment`,`modelValue`,`onUpdate:modelValue`])]),_:2},1024)],64)):t?.type===`oauth2`||t?.type===`openIdConnect`?(y(),M(Ne,{key:4},[t?.type===`openIdConnect`&&!Object.keys(t.flows??{}).length?(y(),O(HTe,{key:0,customFetch:e.options?.customFetch,environment:e.environment,eventBus:e.eventBus,getStaticBorderClass:p,name:i,proxyUrl:e.proxyUrl,scheme:t},null,8,[`customFetch`,`environment`,`eventBus`,`name`,`proxyUrl`,`scheme`])):k(``,!0),Object.keys(t.flows??{}).length>1?(y(),O(T(vV),{key:1},{default:E(()=>[N(`div`,GTe,[N(`div`,KTe,[(y(!0),M(Ne,null,_(t.flows,(e,t,n)=>(y(),M(`button`,{key:t,class:v(te(t,n)),type:`button`,onClick:e=>s(t)},[N(`span`,JTe,be(t),1)],10,qTe))),128))])])]),_:2},1024)):k(``,!0),(y(!0),M(Ne,null,_(t.flows,(n,r,o)=>(y(),M(Ne,{key:r},[t.flows&&f(r,o)?(y(),O(kTe,{key:0,environment:e.environment,eventBus:e.eventBus,flows:t.flows,name:i,options:e.options,proxyUrl:e.proxyUrl,scheme:t,selectedScopes:a,server:e.server,type:r,"onDelete:scope":e=>x(i,e),"onUpdate:selectedScopes":e=>b(i,e),"onUpsert:scope":e=>ee(i,e)},null,8,[`environment`,`eventBus`,`flows`,`name`,`options`,`proxyUrl`,`scheme`,`selectedScopes`,`server`,`type`,`onDelete:scope`,`onUpdate:selectedScopes`,`onUpsert:scope`])):k(``,!0)],64))),128))],64)):d(t)?(y(),M(`div`,YTe,[r[5]||=tt(` The `,-1),N(`code`,null,be(d(t)),1),r[6]||=tt(` security scheme type is not supported yet. `,-1)])):(y(),M(`div`,XTe,` The security scheme is missing a type, please double check your `+be(n.value)+` document or Authentication Configuration `,1))],64))),128))}}),QTe=[`onClick`],$Te={class:`relative z-10 font-medium whitespace-nowrap`},eEe={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`},tEe=w({__name:`RequestAuthDataTable`,props:{environment:{},isStatic:{type:Boolean},selectedSchemeOptions:{},activeAuthIndex:{},proxyUrl:{},securitySchemes:{default:()=>({})},server:{},eventBus:{},meta:{},options:{},documentType:{}},setup(e,{expose:t}){let n=j(()=>e.selectedSchemeOptions[e.activeAuthIndex]),r=j(()=>e.selectedSchemeOptions.length>1),i=t=>e.eventBus.emit(`auth:update:active-index`,{index:t,meta:e.meta}),a=t=>e.eventBus.emit(`auth:update:selected-scopes`,{...t,meta:e.meta}),o=t=>e.eventBus.emit(`auth:upsert:scopes`,t),s=t=>e.eventBus.emit(`auth:delete:scopes`,t),c=t=>e.activeAuthIndex===t;return t({activeScheme:n}),(t,l)=>(y(),M(`form`,{onSubmit:l[0]||=Ln(()=>{},[`prevent`])},[r.value?(y(),M(`div`,{key:0,class:v([`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`},[(y(!0),M(Ne,null,_(e.selectedSchemeOptions,(e,t)=>(y(),M(`div`,{key:e.id,class:`relative z-1 -mb-[var(--scalar-border-width)] flex h-8`},[N(`button`,{class:v([`floating-bg relative cursor-pointer border-b border-transparent py-1 text-sm font-medium transition-colors`,c(t)?`text-c-1`:`text-c-3`]),type:`button`,onClick:e=>i(t)},[N(`span`,$Te,be(e.label),1)],10,QTe),c(t)?(y(),M(`div`,eEe)):k(``,!0)]))),128))],2)):k(``,!0),n.value?(y(),O(T(pV),{key:1,class:v([`flex-1`,{"bg-b-1 rounded-b-lg border-x border-b":e.isStatic}]),columns:[``],presentational:``},{default:E(()=>[D(ZTe,{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":a,"onUpsert:scope":o},null,8,[`documentType`,`environment`,`eventBus`,`isStatic`,`options`,`proxyUrl`,`securitySchemes`,`selectedSecuritySchemas`,`server`])]),_:1},8,[`class`])):(y(),M(`div`,{key:2,class:v([`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))}}),nEe=[`id`],rEe={class:`min-w-0 flex-1 truncate`},iEe=w({__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}){let n=xe(),r=A(null),i=A(!1),a=o8(),o=A(null),s=j(()=>{if(!e.securityRequirements?.length)return null;let t=TT(e.securityRequirements);return{icon:t?`Unlock`:`Lock`,text:t?`Optional`:`Required`}}),c=j(()=>mye(e.securityRequirements??[],e.securitySchemes??{},e.selectedSecurity?.selectedSchemes??[],e.createAnySecurityScheme)),l=j(()=>{let t=e.selectedSecurity?.selectedSchemes;return t?.length?t.flatMap(t=>{let n=Object.keys(t);if(n.length===0)return[];if(n.length>1)return d8(t);let r=n[0];return!r||!L(e.securitySchemes?.[r])?[]:u8({name:r,value:t})}):[]}),u=e=>{i.value&&e.stopPropagation(),r.value?.$el.click()},d=t=>{let n=t.filter(e=>e.payload===void 0).map(e=>Wc(e.value,{depth:2})),r=t.filter(e=>e.payload!==void 0).map(e=>({name:e.label,scheme:e.payload}));e.eventBus.emit(`auth:update:selected-security-schemes`,{selectedRequirements:n,newSchemes:r,meta:e.meta})},f=e=>{o.value={label:e.label,payload:e.value},a.show()},p=()=>{o.value&&(e.eventBus.emit(`auth:delete:security-scheme`,{names:Object.keys(o.value.payload)}),o.value=null,a.hide())};return t({authIndicator:s,selectedSchemeOptions:l,schemeOptions:c}),(t,m)=>(y(),O(T(z4),{class:`group/params relative`,defaultOpen:e.defaultOpen,isStatic:e.isStatic,itemCount:l.value.length,"onUpdate:modelValue":m[1]||=e=>i.value=e},{title:E(()=>[N(`div`,{id:T(n),class:`inline-flex items-center gap-0.5 leading-[20px]`},[N(`span`,null,be(e.title),1),s.value?(y(),M(`span`,{key:0,class:v([`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},be(s.value.text),3)):k(``,!0)],8,nEe)]),actions:E(()=>[D(T(cR),{class:`w-72 text-xs`,modelValue:l.value,multiple:``,options:c.value,placement:`bottom-end`,teleport:``,onDelete:f,"onUpdate:modelValue":d},{option:E(({option:t,selected:n})=>[D(T(MF),{multiselect:``,selected:n},null,8,[`selected`]),N(`div`,rEe,be(t.label),1),t.isDeletable&&e.canDeleteSchemes?(y(),O(T(L4),{key:0,class:`-m-0.5 shrink-0 p-0.5 opacity-0 group-hover/item:opacity-100`,icon:T(po),label:`Delete ${t.label}`,size:`xs`,onClick:Ln(e=>f(t),[`stop`])},null,8,[`icon`,`label`,`onClick`])):k(``,!0)]),default:E(()=>[D(T(OF),{ref_key:`comboboxButtonRef`,ref:r,"aria-describedby":T(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:E(()=>[l.value.length===1?(y(),M(Ne,{key:0},[m[2]||=N(`span`,{class:`sr-only`},`Selected Auth Type:`,-1),tt(` `+be(l.value[0]?.label),1)],64)):l.value.length>1?(y(),M(Ne,{key:1},[m[3]||=tt(` Multiple `,-1),m[4]||=N(`span`,{class:`sr-only`},`Auth Types Selected`,-1)],64)):(y(),M(Ne,{key:2},[m[5]||=N(`span`,{class:`sr-only`},`Select`,-1),m[6]||=tt(` Auth Type `,-1)],64)),D(T(Xa),{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:E(()=>[D(tEe,{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:l.value,server:e.server},null,8,[`activeAuthIndex`,`documentType`,`environment`,`eventBus`,`isStatic`,`meta`,`options`,`proxyUrl`,`securitySchemes`,`selectedSchemeOptions`,`server`]),o.value?(y(),O(fye,{key:0,label:o.value.label,scheme:o.value,state:T(a),onClose:m[0]||=e=>T(a).hide(),onDelete:p},null,8,[`label`,`scheme`,`state`])):k(``,!0)]),_:1},8,[`defaultOpen`,`isStatic`,`itemCount`]))}}),T9={parse:e=>{let t=r(e,{merge:!0,maxAliasCount:1e4});if(typeof t!=`object`)throw Error(`Invalid YAML object`);return t},parseSafe(e,t){try{return T9.parse(e)}catch(e){return typeof t==`function`?t(e):t}},stringify:t},E9={parse:e=>{let t=JSON.parse(e);if(typeof t!=`object`)throw Error(`Invalid JSON object`);return t},parseSafe(e,t){try{return E9.parse(e)}catch(e){return typeof t==`function`?t(e):t}},stringify:e=>JSON.stringify(e)};function aEe(e){let t=e.trim();if(t[0]!==`{`&&t[0]!==`[`)return e;try{return JSON.stringify(JSON.parse(e),null,2)}catch{return e}}var oEe=e=>{if(typeof e!=`string`)return e;let t=E9.parseSafe(e,null);if(t)return t;if(e.length>0&&[`{`,`[`].includes(e[0]??``))throw Error(`Invalid JSON or YAML`);return T9.parseSafe(e,e=>{throw Error(e)})},sEe={key:0,class:`sr-only`},cEe=w({__name:`ServerVariablesSelect`,props:{enum:{},value:{},controls:{}},emits:[`change`],setup(e,{emit:t}){let n=e,r=t,i=j(()=>n.enum.map(e=>({id:e,label:e}))),a=j({get:()=>i.value.find(e=>e.id===n.value),set:e=>r(`change`,e?.id??``)});return(t,n)=>(y(),O(T(B4),{modelValue:a.value,"onUpdate:modelValue":n[0]||=e=>a.value=e,options:i.value},{default:E(()=>[D(T(OF),{"aria-controls":e.controls,class:`group/button h-8 gap-1.5 p-1.5 text-base font-normal`,variant:`ghost`},{default:E(()=>[N(`span`,{class:v({"text-c-1":e.value})},[e.value?(y(),M(`span`,sEe,` Selected: `)):k(``,!0),tt(` `+be(e.value||`Select value`),1)],2),D(T(Xa),{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`]))}}),lEe=w({__name:`ServerVariablesTextbox`,props:{value:{},controls:{}},emits:[`change`],setup(e,{emit:t}){let n=e,r=t,i=j({get:()=>n.value,set:e=>r(`change`,e)});return(t,n)=>We((y(),M(`input`,o({"onUpdate:modelValue":n[0]||=e=>i.value=e},e.controls?{...t.$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)),[[wn,i.value]])}}),uEe=[`for`],dEe=w({__name:`ServerVariablesForm`,props:{variables:{},values:{},controls:{},layout:{default:`client`}},emits:[`update:variable`],setup(e,{emit:t}){let n=t,r=xe();function i(e,t){n(`update:variable`,e,t)}let a=t=>(e.values?.[t]??e.variables?.[t]?.default??``).toString();return(t,n)=>e.variables&&Object.keys(e.variables??{}).length?(y(!0),M(Ne,{key:0},_(Object.keys(e.variables),t=>(y(),M(`div`,{key:t,class:v([`group/label flex h-8 w-full`,e.layout===`reference`&&`items-center border-x border-b last:rounded-b-lg`])},[N(`label`,{class:`flex items-center py-2 pl-3 group-has-[input]/label:mr-0 after:content-[':']`,for:`${T(r)}-${t}`},be(t),9,uEe),e.variables?.[t]?.enum?.length?(y(),O(cEe,{key:0,id:`${T(r)}-${t}`,controls:e.controls,enum:e.variables[t]?.enum?.map(e=>`${e}`)??[],value:a(t),onChange:e=>i(t,e)},null,8,[`id`,`controls`,`enum`,`value`,`onChange`])):(y(),O(lEe,{key:1,id:`${T(r)}-${t}`,controls:e.controls,value:a(t),onChange:e=>i(t,e)},null,8,[`id`,`controls`,`value`,`onChange`]))],2))),128)):k(``,!0)}}),fEe={path:/[\/\.-]/,property:/[A-Z\_\.-]/},pEe={key:0},D9=w({inheritAttrs:!1,__name:`ScalarWrappingText`,props:{text:{default:``},preset:{default:`path`},regex:{}},setup(e){let t=j(()=>{let t=new RegExp(e.regex??fEe[e.preset],`g`);return e.text.replace(t,`⁠$&`).split(`⁠`).filter(Boolean)});return(e,n)=>(y(!0),M(Ne,null,_(t.value,(e,t)=>(y(),M(Ne,{key:t},[t===0?k(``,!0):(y(),M(`wbr`,pEe)),tt(be(e),1)],64))),128))}}),mEe=e=>e===void 0?`undefined`:typeof e==`string`?e:JSON.stringify(e);function hEe(e={}){let{notify:t=e=>n(e,`info`)}=e,{toast:n}=M8();async function r(e){try{let n=mEe(e);await navigator.clipboard.writeText(n),t(`Copied to the clipboard`)}catch(e){let n=e;console.error(n.message),t(`Failed to copy to clipboard`)}}return{copyToClipboard:r}}var O9=`scalar-app`,k9=`headlessui-portal-root`,gEe=e=>e!==null&&e instanceof HTMLElement,A9=e=>{!e||e.classList.contains(O9)||e.classList.add(O9)},_Ee=()=>{A9(document.getElementById(k9));let e=new MutationObserver(e=>e.forEach(({addedNodes:e})=>e.forEach(e=>{gEe(e)&&e.id===k9&&A9(e)})));return e.observe(document.body,{childList:!0}),e},vEe=w({inheritAttrs:!1,__name:`ScalarSidebar`,setup(e){let{cx:t}=pc();return(e,n)=>(y(),M(`aside`,qe($e(T(t)(`flex flex-col border-r bg-sidebar-b-1 border-sidebar-border w-72`))),[S(e.$slots,`default`)],16))}}),j9=IT(w({inheritAttrs:!1,__name:`ScalarSidebarIndent`,props:{indent:{default:0},selected:{type:Boolean,default:!1},disabled:{type:Boolean}},setup(e){let t=j(()=>Array.from({length:e.indent},(e,t)=>t)),{cx:n}=pc();return(r,i)=>(y(),M(`div`,qe($e(T(n)(`scalar-sidebar-indent flex justify-center`,{"mr-[calc(20px-var(--scalar-sidebar-indent))]":e.indent>0,"scalar-sidebar-indent-selected":e.selected}))),[(y(!0),M(Ne,null,_(t.value,(n,r)=>(y(),M(`div`,{key:n,class:`relative w-[var(--scalar-sidebar-indent)]`},[i[0]||=N(`div`,{class:`scalar-sidebar-indent-border absolute left-2 inset-y-0 w-border bg-sidebar-indent-border`},null,-1),r===t.value.length-1?(y(),M(`div`,{key:0,class:v([`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)):k(``,!0)]))),128))],16))}}),[[`__scopeId`,`data-v-3e080c68`]]),yEe={key:0,class:`h-lh *:size-4 mr-1 flex items-center`},bEe={class:`group/button-label flex-1 min-w-0`},M9=w({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){let t=dc({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}=pc();return(r,i)=>(y(),O(x(e.is),o({"aria-selected":e.selected,type:e.is===`button`?`button`:void 0},T(n)(T(t)({selected:e.selected,disabled:e.disabled,active:e.active}))),{default:E(()=>[S(r.$slots,`indent`,{},()=>[D(j9,{class:`-my-2`,disabled:e.disabled,indent:e.indent,selected:e.selected},null,8,[`disabled`,`indent`,`selected`])]),e.icon||r.$slots.icon?(y(),M(`div`,yEe,[S(r.$slots,`icon`,{},()=>[e.icon?(y(),O(T(CF),{key:0,icon:e.icon},null,8,[`icon`])):k(``,!0)])])):k(``,!0),N(`div`,bEe,[S(r.$slots,`default`)]),S(r.$slots,`aside`)]),_:3},16,[`aria-selected`,`type`]))}}),xEe={class:`sr-only`},N9=w({inheritAttrs:!1,__name:`ScalarSidebarGroupToggle`,props:{is:{default:`div`},open:{type:Boolean,default:!1},icon:{type:[Object,Function]}},setup(e){let t=dc({base:`size-4 flex items-center justify-center transition-transform duration-100`,variants:{open:{true:`rotate-90`}},defaultVariants:{open:!1}}),{cx:n}=pc();return(r,i)=>(y(),O(x(e.is),o({type:e.is===`button`?`button`:void 0},T(n)(T(t)({open:e.open}))),{default:E(()=>[S(r.$slots,`default`,{open:e.open},()=>[e.icon?(y(),O(T(CF),{key:0,icon:e.icon},null,8,[`icon`])):(y(),O(T(ro),{key:1,class:`size-3`,weight:`bold`}))]),N(`span`,xEe,[S(r.$slots,`label`,{open:e.open},()=>[tt(be(e.open?`Close`:`Open`)+` Group `,1)])])]),_:3},16,[`type`]))}}),P9=Symbol(),F9=(e={})=>{let{increment:t=!1,reset:n=!1}=e,r=f(P9,0);return n?pe(P9,0):t&&r<6?pe(P9,r+1):pe(P9,r),{level:r}},I9=w({inheritAttrs:!1,__name:`ScalarSidebarItem`,props:{is:{},icon:{type:[Object,Function]},active:{type:Boolean},selected:{type:Boolean},disabled:{type:Boolean},indent:{}},setup(e){let t=e,{level:n}=F9(),{cx:r}=pc();return(i,a)=>(y(),M(`li`,qe($e(T(r)(`group/item flex flex-col text-base`))),[S(i.$slots,`before`),S(i.$slots,`button`,{level:T(n)},()=>[D(M9,o(t,{indent:e.indent??T(n)}),Ce({_:2},[i.$slots.default?{name:`default`,fn:E(()=>[S(i.$slots,`default`)]),key:`0`}:void 0,i.$slots.icon?{name:`icon`,fn:E(()=>[S(i.$slots,`icon`)]),key:`1`}:void 0,i.$slots.aside?{name:`aside`,fn:E(()=>[S(i.$slots,`aside`)]),key:`2`}:void 0]),1040,[`indent`])]),S(i.$slots,`after`)],16))}}),L9=w({__name:`ScalarSidebarLoading`,props:{items:{default:4}},setup(e){return(t,n)=>(y(!0),M(Ne,null,_(e.items,e=>(y(),O(I9,{key:e,class:`pointer-events-none`},{default:E(()=>[...n[0]||=[N(`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))}}),SEe={class:`group/group-button relative flex flex-col text-base`},CEe={key:0,class:`size-4`},wEe=[`aria-expanded`],TEe={key:0,class:`group/items flex flex-col gap-px`},EEe=w({inheritAttrs:!1,__name:`ScalarSidebarGroup`,props:Ie({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:Ie([`click`,`toggle`],[`update:open`]),setup(e,{emit:t}){let n=t,r=le(e,`open`),{level:i}=F9({increment:!0}),{cx:a}=pc(),o=t=>{n(`click`,t),!e.controlled&&!e.discrete&&(r.value=!r.value)},s=t=>{n(`toggle`,t),!e.controlled&&e.discrete&&(r.value=!r.value)};return(t,n)=>(y(),O(x(e.is),qe($e(T(a)(`group/item flex flex-col gap-px`))),{default:E(()=>[N(`div`,SEe,[S(t.$slots,`before`,{open:r.value}),S(t.$slots,`button`,{level:T(i),open:r.value},()=>[D(M9,{is:`button`,active:e.active,"aria-expanded":r.value,disabled:e.disabled,icon:e.icon,indent:T(i),selected:e.selected,onClick:o},Ce({indent:E(()=>[D(j9,{class:`mr-0 -my-2`,indent:T(i),selected:e.selected},null,8,[`indent`,`selected`])]),aside:E(()=>[S(t.$slots,`aside`,{open:r.value}),e.discrete?(y(),M(`div`,CEe)):S(t.$slots,`toggle`,{key:1,open:r.value},()=>[D(N9,{class:`text-sidebar-c-2`,open:r.value},null,8,[`open`])])]),default:E(()=>[S(t.$slots,`default`,{open:r.value})]),_:2},[t.$slots.icon?{name:`icon`,fn:E(()=>[S(t.$slots,`icon`,{open:r.value})]),key:`0`}:void 0]),1032,[`active`,`aria-expanded`,`disabled`,`icon`,`indent`,`selected`]),e.discrete?(y(),M(`button`,{key:0,"aria-expanded":r.value,class:v([`absolute top-[1lh] -translate-y-1/2 p-0.75 rounded right-1.25 text-sidebar-c-2`,e.selected?`hover:bg-sidebar-b-1 hover:text-sidebar-c-1`:`hover:bg-sidebar-b-hover hover:text-sidebar-c-hover`]),type:`button`,onClick:s},[S(t.$slots,`toggle`,{open:r.value},()=>[D(N9,{open:r.value},{label:E(()=>[tt(be(r.value?`Close`:`Open`)+` `,1),S(t.$slots,`default`,{open:r.value})]),_:3},8,[`open`])])],10,wEe)):k(``,!0)]),S(t.$slots,`after`,{open:r.value})]),r.value?(y(),M(`ul`,TEe,[e.loading?(y(),O(L9,{key:0})):S(t.$slots,`items`,{key:1,open:r.value})])):k(``,!0)]),_:3},16))}}),DEe=Symbol(),OEe=()=>{let e=we(new Set),t=j(()=>{for(let t of e)if(t())return!0;return!1});return pe(DEe,e),{open:t}},kEe=w({inheritAttrs:!1,__name:`ScalarSidebarItems`,props:{is:{default:`ul`}},setup(e){let{open:t}=OEe(),{cx:n}=pc();return(r,i)=>(y(),O(x(e.is),qe($e(T(n)(`group/items relative flex flex-col p-(--scalar-sidebar-padding) gap-px transition-transform duration-300`,T(t)?`-translate-x-full`:`translate-x-0`))),{default:E(()=>[S(r.$slots,`default`)]),_:3},16))}}),R9=w({inheritAttrs:!1,__name:`ScalarSidebarSpacer`,props:{indent:{default:0}},setup(e){let{cx:t}=pc();return(n,r)=>(y(),M(`div`,qe($e(T(t)(`flex px-2 h-1`))),[D(j9,{indent:e.indent},null,8,[`indent`])],16))}}),AEe={class:`flex flex-col gap-px`},z9=w({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){let{level:t}=F9({increment:!1}),{cx:n}=pc();return(r,i)=>(y(),O(x(e.is),qe($e(T(n)(`group/item group/sidebar-section contents`))),{default:E(()=>[D(R9,{class:`group/spacer-before h-3`,indent:T(t)},null,8,[`indent`]),r.$slots.default?(y(),O(M9,{key:0,is:`div`,class:`text-sm/4 py-1.75 font-bold`,disabled:``,icon:e.icon,indent:T(t)},{default:E(()=>[S(r.$slots,`default`)]),_:3},8,[`icon`,`indent`])):k(``,!0),N(`ul`,AEe,[e.loading?(y(),O(L9,{key:0})):S(r.$slots,`items`,{key:1})]),D(R9,{class:`group/spacer-after h-3`,indent:T(t)},null,8,[`indent`])]),_:3},16))}}),B9=w({__name:`HttpMethod`,props:{as:{},property:{},short:{type:Boolean},method:{}},setup(e){let t=e,n=j(()=>E6(String(t.method||``))),r=j(()=>O6(t.method));return(t,i)=>(y(),O(x(e.as??`span`),{class:`uppercase`,style:te({[e.property||`color`]:n.value.colorVar})},{default:E(()=>[S(t.$slots,`default`),tt(` `+be(e.short?n.value.short:r.value),1)]),_:3},8,[`style`]))}}),jEe=new Set([`document`,`operation`,`example`,`tag`]),V9=(e,t,n)=>n&&t.length===1&&t[0]?.type===`example`&&t[0]?.name===`default`?[]:e===`reference`?t:t.filter(e=>jEe.has(e.type)),MEe=(e,t)=>{let n=!1;return(...r)=>{n||(e(...r),n=!0,setTimeout(()=>n=!1,t))}},NEe=dc({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`}}}),H9=A(null),U9=A(null);function PEe(e){let{ceiling:t=.8,floor:n=.2,isDraggable:r=!0,isDroppable:i=!0,parentIds:a=[],id:o,onDragStart:s,onDragEnd:c}=e,l=j(()=>a.at(-1)??null),u=e=>typeof i==`function`?i(H9.value,{id:o,parentId:l.value,offset:e}):d(i),f=e=>{if(!d(r)||!e.dataTransfer||!(e.target instanceof HTMLElement))return;e.target.setAttribute(`data-dragging`,`true`),e.dataTransfer.dropEffect=`move`,e.dataTransfer.effectAllowed=`move`;let t={id:o,parentId:l.value};H9.value=t,s?.(t)},p=MEe(e=>{if(!H9.value||H9.value.id===o||a.includes(H9.value?.id??``))return;let r=U9.value?.offset,i=e.target.offsetHeight,s=n*i,c=t*i,d=null;e.offsetY<=0&&r&&r!==`after`?d=r:e.offsetY<=s?d=`before`:e.offsetY>=c?d=`after`:e.offsetY>s&&e.offsetY<c&&(d=`into`),u(d)&&(U9.value={id:o,parentId:l.value,offset:d})},25),m=()=>{if(!U9.value||!H9.value)return;let e={...H9.value},t={...U9.value};H9.value=null,U9.value=null,document.querySelectorAll(`[data-dragging]`).forEach(e=>e.removeAttribute(`data-dragging`)),e.id!==t.id&&c?.(e,t)},h=j(()=>{let e=o===U9.value?.id?U9.value.offset:void 0;return e?NEe({position:e}):``});return{draggableAttrs:j(()=>({class:h.value||void 0,draggable:d(r)?!0:void 0})),draggableEvents:{dragend:m,dragover:e=>{e.preventDefault(),e.stopPropagation(),p(e)},dragstart:e=>{e.stopPropagation(),f(e)}},draggingItem:H9,hoveredItem:U9}}var W9=(e,t)=>{let n=e.__vccOpts||e;for(let[e,r]of t)n[e]=r;return n},FEe={class:`sr-only`},G9=W9(w({__name:`SidebarHttpBadge`,props:{method:{},active:{type:Boolean},label:{},webhook:{type:Boolean}},setup(e){return(t,n)=>(y(),O(B9,{class:v([`sidebar-heading-type`,`sidebar-heading-type--${e.method.toLowerCase()}`,{"sidebar-heading-type-active":e.active}]),method:e.method,property:`--method-color`,short:``},{default:E(()=>[N(`span`,FEe,be(e.label??`HTTP Method`)+`:\xA0`,1),S(t.$slots,`default`,{},()=>[e.webhook?(y(),O(T(mo),{key:0,style:te({color:T(E6)(e.method).colorVar}),weight:`bold`},null,8,[`style`])):k(``,!0)],!0)]),_:3},8,[`class`,`method`]))}}),[[`__scopeId`,`data-v-bdef8365`]]),K9={},IEe={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 LEe(e,t){return y(),M(`div`,IEe,[S(e.$slots,`default`)])}var q9=W9(K9,[[`render`,LEe]]),J9=e=>`children`in e&&Array.isArray(e.children)&&e.children.length>0,REe=(e,t,n,r)=>J9(t)?r&&t.type===`operation`&&t.children?.length===1&&t.children[0]?.type===`example`&&t.children[0]?.name===`default`?!1:e===`client`?!0:e===`reference`?t.type!==`operation`&&t.type!==`webhook`:!1:e===`client`&&n?t.type===`document`||t.type===`tag`:!1,Y9=w({__name:`SidebarItemLabel`,props:{item:{},operationTitleSource:{}},setup(e){return(t,n)=>e.item.type===`model`||e.item.type===`example`?(y(),O(T(D9),{key:0,preset:`property`,text:e.item.title},null,8,[`text`])):(y(),O(T(D9),{key:1,text:e.operationTitleSource===`path`&&`path`in e.item?e.item.path:e.item.title},null,8,[`text`]))}}),X9=Object.assign({"./icons/basic-shape-diamond.svg":()=>import(`./basic-shape-diamond.svg-BTEOT1FL.js`),"./icons/basic-shape-hexagon.svg":()=>import(`./basic-shape-hexagon.svg-BSPzaCgF.js`),"./icons/basic-shape-primary-circle-ellipse-round.svg":()=>import(`./basic-shape-primary-circle-ellipse-round.svg-DKmZ8UUU.js`),"./icons/basic-shape-primary-square-rectangle.svg":()=>import(`./basic-shape-primary-square-rectangle.svg-n2YRykHD.js`),"./icons/basic-shape-shield.svg":()=>import(`./basic-shape-shield.svg-Bec9cJDA.js`),"./icons/computer-device-desktop-monitor.svg":()=>import(`./computer-device-desktop-monitor.svg-m6j893Hb.js`),"./icons/computer-device-desktop.svg":()=>import(`./computer-device-desktop.svg-Dk1VVO7k.js`),"./icons/computer-device-laptop.svg":()=>import(`./computer-device-laptop.svg-BNGVUCYS.js`),"./icons/computer-device-mobile-phone-android-samsung-back.svg":()=>import(`./computer-device-mobile-phone-android-samsung-back.svg-CC4UUTFw.js`),"./icons/computer-device-mobile-phone-android-samsung.svg":()=>import(`./computer-device-mobile-phone-android-samsung.svg-D8ExpMpL.js`),"./icons/computer-device-mobile-phone-iphone-x-back.svg":()=>import(`./computer-device-mobile-phone-iphone-x-back.svg-CLm7sgMM.js`),"./icons/computer-device-mobile-phone-iphone-x.svg":()=>import(`./computer-device-mobile-phone-iphone-x.svg-Xrttg6_7.js`),"./icons/computer-device-mobile-tablet-touch.svg":()=>import(`./computer-device-mobile-tablet-touch.svg-DQ2oTvOG.js`),"./icons/computer-device-mobile-tablet.svg":()=>import(`./computer-device-mobile-tablet.svg-DCr0XlRc.js`),"./icons/computer-device-network-ethernet-cat6.svg":()=>import(`./computer-device-network-ethernet-cat6.svg-AK9l0iOl.js`),"./icons/computer-device-network-lan-www.svg":()=>import(`./computer-device-network-lan-www.svg-gUIdFBlE.js`),"./icons/computer-device-network-wifi-connection.svg":()=>import(`./computer-device-network-wifi-connection.svg-Be-EMm4e.js`),"./icons/computer-device-network-wifi-router.svg":()=>import(`./computer-device-network-wifi-router.svg-Dc2VzyqK.js`),"./icons/ecology-science-erlenmeyer-flask.svg":()=>import(`./ecology-science-erlenmeyer-flask.svg-DHgy7Jfd.js`),"./icons/image-flash-lightning.svg":()=>import(`./image-flash-lightning.svg-EETR_y1q.js`),"./icons/image-picture-flower.svg":()=>import(`./image-picture-flower.svg-DN1AYzJU.js`),"./icons/interface-alert-exclamation-diamond.svg":()=>import(`./interface-alert-exclamation-diamond.svg-C5NozMV_.js`),"./icons/interface-alert-exclamation-triangle-warning.svg":()=>import(`./interface-alert-exclamation-triangle-warning.svg-DaAg2fF5.js`),"./icons/interface-alert-information-circle.svg":()=>import(`./interface-alert-information-circle.svg-ckkkt9Mv.js`),"./icons/interface-award-crown.svg":()=>import(`./interface-award-crown.svg-pjvn9hY-.js`),"./icons/interface-bookmark-tag.svg":()=>import(`./interface-bookmark-tag.svg-r2r-lQq4.js`),"./icons/interface-bookmark.svg":()=>import(`./interface-bookmark.svg-BK9HKQBT.js`),"./icons/interface-calendar-date-one.svg":()=>import(`./interface-calendar-date-one.svg-DNnF0M1I.js`),"./icons/interface-content-book-open-pages.svg":()=>import(`./interface-content-book-open-pages.svg-CQj_w9Vp.js`),"./icons/interface-content-book-page.svg":()=>import(`./interface-content-book-page.svg-DppoeJRe.js`),"./icons/interface-content-file.svg":()=>import(`./interface-content-file.svg-CvcD7OiY.js`),"./icons/interface-content-folder.svg":()=>import(`./interface-content-folder.svg-BmtS5I9A.js`).then(e=>e.n),"./icons/interface-copy-clipboard.svg":()=>import(`./interface-copy-clipboard.svg-Be6EI50X.js`),"./icons/interface-edit-attachment.svg":()=>import(`./interface-edit-attachment.svg-G5TKzpWX.js`),"./icons/interface-edit-binocular.svg":()=>import(`./interface-edit-binocular.svg-jzL-DvGB.js`),"./icons/interface-edit-magic-wand.svg":()=>import(`./interface-edit-magic-wand.svg-BOTlymvp.js`),"./icons/interface-edit-tool-paint-roller.svg":()=>import(`./interface-edit-tool-paint-roller.svg-s9dwryx7.js`),"./icons/interface-edit-tool-pencil.svg":()=>import(`./interface-edit-tool-pencil.svg-C7v0dbB3.js`),"./icons/interface-favorite-award.svg":()=>import(`./interface-favorite-award.svg-CYHUgUG0.js`),"./icons/interface-favorite-flag.svg":()=>import(`./interface-favorite-flag.svg-C10zlKOb.js`),"./icons/interface-favorite-heart.svg":()=>import(`./interface-favorite-heart.svg-eoduXxlz.js`),"./icons/interface-favorite-star.svg":()=>import(`./interface-favorite-star.svg-BSmxJetr.js`),"./icons/interface-favorite-stars-sparkles.svg":()=>import(`./interface-favorite-stars-sparkles.svg-JTFLj3Ls.js`),"./icons/interface-hierarchy-flowchart.svg":()=>import(`./interface-hierarchy-flowchart.svg-Cg_Wy0kN.js`),"./icons/interface-home-house.svg":()=>import(`./interface-home-house.svg-DytoGRnv.js`),"./icons/interface-hyperlink.svg":()=>import(`./interface-hyperlink.svg-CuEfmmQI.js`),"./icons/interface-lighting-brightness.svg":()=>import(`./interface-lighting-brightness.svg-DSK0h_Pa.js`),"./icons/interface-lock-closed.svg":()=>import(`./interface-lock-closed.svg-Cn6TaLYv.js`),"./icons/interface-lock-open-unlock.svg":()=>import(`./interface-lock-open-unlock.svg-CVkG5-9W.js`),"./icons/interface-login-key.svg":()=>import(`./interface-login-key.svg-y-cwwXjN.js`),"./icons/interface-search.svg":()=>import(`./interface-search.svg-S-puVFJB.js`),"./icons/interface-setting-cog.svg":()=>import(`./interface-setting-cog.svg-CTH4_lLg.js`),"./icons/interface-share-megaphone-bullhorn.svg":()=>import(`./interface-share-megaphone-bullhorn.svg-Pbp39MyC.js`),"./icons/interface-share-rocket.svg":()=>import(`./interface-share-rocket.svg-BgCsIRZO.js`),"./icons/interface-share-satellite.svg":()=>import(`./interface-share-satellite.svg-DAMN9d5G.js`),"./icons/interface-share-space-ship.svg":()=>import(`./interface-share-space-ship.svg-Dt-Mejxk.js`),"./icons/interface-share.svg":()=>import(`./interface-share.svg-vFYTXSti.js`),"./icons/interface-signal-square.svg":()=>import(`./interface-signal-square.svg-DNG4LpAe.js`),"./icons/interface-time-clock-circle.svg":()=>import(`./interface-time-clock-circle.svg-Bpz-nLxo.js`),"./icons/interface-time-hour-glass.svg":()=>import(`./interface-time-hour-glass.svg-D7agfKsH.js`),"./icons/interface-users-multiple.svg":()=>import(`./interface-users-multiple.svg-CkPJBBnG.js`),"./icons/interface-weather-moon.svg":()=>import(`./interface-weather-moon.svg-CaTZFMPO.js`),"./icons/mail-chat-bubble-square.svg":()=>import(`./mail-chat-bubble-square.svg-DC8RIihp.js`),"./icons/mail-send-email-paper-airplane.svg":()=>import(`./mail-send-email-paper-airplane.svg-D8OLs9jz.js`),"./icons/mail-send-envelope.svg":()=>import(`./mail-send-envelope.svg-CV33h5Sx.js`),"./icons/money-cashier-receipt.svg":()=>import(`./money-cashier-receipt.svg-CJL8C2gs.js`),"./icons/money-currency-dollar-pay.svg":()=>import(`./money-currency-dollar-pay.svg-VdBplCTx.js`),"./icons/money-graph-arrow-increase.svg":()=>import(`./money-graph-arrow-increase.svg-DcRov3zk.js`),"./icons/money-graph-bar-chart-increase.svg":()=>import(`./money-graph-bar-chart-increase.svg-Cc7KxjX-.js`),"./icons/nature-ecology-leaf.svg":()=>import(`./nature-ecology-leaf.svg-DR3cTZxt.js`),"./icons/phone-telephone.svg":()=>import(`./phone-telephone.svg-DyY0gUlk.js`),"./icons/programming-bug.svg":()=>import(`./programming-bug.svg-BHLT-Qhp.js`),"./icons/programming-cloud.svg":()=>import(`./programming-cloud.svg-B6YW33ba.js`),"./icons/programming-computer-database-server.svg":()=>import(`./programming-computer-database-server.svg-B6o5Sdn-.js`),"./icons/programming-computer-database.svg":()=>import(`./programming-computer-database.svg-Cl7OVtpJ.js`),"./icons/programming-module-four-layout.svg":()=>import(`./programming-module-four-layout.svg-BQrerL1x.js`),"./icons/programming-module-three.svg":()=>import(`./programming-module-three.svg-B2KTQzBM.js`),"./icons/programming-module.svg":()=>import(`./programming-module.svg-CiID7kPm.js`),"./icons/programming-script-code.svg":()=>import(`./programming-script-code.svg-D1M5rtkN.js`),"./icons/shopping-cart.svg":()=>import(`./shopping-cart.svg-BEegiIR9.js`),"./icons/shopping-gift-present.svg":()=>import(`./shopping-gift-present.svg-BUHwuLix.js`),"./icons/shopping-shipping-box-parcel-package.svg":()=>import(`./shopping-shipping-box-parcel-package.svg-D6fxWdYx.js`),"./icons/tag-new-circle.svg":()=>import(`./tag-new-circle.svg-jsg1bGs0.js`),"./icons/travel-map-earth-globe.svg":()=>import(`./travel-map-earth-globe.svg-ClbMiU-f.js`)}),Z9=Object.assign({"./icons/interface-content-folder.svg":rt})[`./icons/interface-content-folder.svg`];Object.keys(X9).map(e=>e.replace(`./icons/`,``).replace(`.svg`,``)).map(e=>({src:e,title:e.replaceAll(`-`,` `),tags:[]}));var Q9=new Map;Z9?.default&&Q9.set(`interface-content-folder`,ke(Z9.default));async function zEe(e){let t=Q9.get(e);if(t)return t;let n=X9[`./icons/${e}.svg`];if(!n)return;let r=await n(),i=ke(r.default??r);return Q9.set(e,i),i}var BEe=w({__name:`LibraryIcon`,props:{src:{}},setup(e){let t=e,n=nt();return He(async()=>{n.value=await zEe(t.src)}),(e,t)=>n.value?(y(),O(x(n.value),{key:0})):k(``,!0)}}),VEe={key:0,class:`line-through`},HEe={key:0,class:`line-through`},UEe=w({__name:`SidebarItem`,props:{item:{},layout:{},isSelected:{type:Function},isExpanded:{type:Function},options:{},isDraggable:{},isDroppable:{type:Function}},emits:[`selectItem`,`onDragEnd`,`toggleGroup`],setup(e,{emit:t}){let n=t,r=a(),i=e=>`isGroup`in e&&e.isGroup,s=e=>(`isDeprecated`in e&&e.isDeprecated)??!1,c=(e,t)=>{n(`onDragEnd`,e,t)},{draggableAttrs:l,draggableEvents:u}=PEe({id:e.item.id,isDraggable:e.isDraggable,isDroppable:e.isDroppable,onDragEnd:c}),d=j(()=>J9(e.item)?V9(e.layout,e.item.children,e.options?.hideOperationDefaultExamples):[]);return(t,a)=>{let f=Ke(`SidebarItem`,!0);return d.value.length>0&&i(e.item)?(y(),O(T(z9),o({key:0,"data-sidebar-id":e.item.id},T(l),ye(T(u))),{items:E(()=>[(y(!0),M(Ne,null,_(d.value,i=>(y(),O(f,{key:i.id,isDraggable:e.isDraggable,isDroppable:e.isDroppable,isExpanded:e.isExpanded,isSelected:e.isSelected,item:i,layout:e.layout,options:e.options,onOnDragEnd:c,onSelectItem:a[0]||=e=>n(`selectItem`,e),onToggleGroup:a[1]||=e=>n(`toggleGroup`,e)},Ce({_:2},[r.decorator?{name:`decorator`,fn:E(e=>[S(t.$slots,`decorator`,o({ref_for:!0},e))]),key:`0`}:void 0,r.empty?{name:`empty`,fn:E(e=>[S(t.$slots,`empty`,o({ref_for:!0},e))]),key:`1`}:void 0,r.icon?{name:`icon`,fn:E(e=>[S(t.$slots,`icon`,o({ref_for:!0},e))]),key:`2`}:void 0]),1032,[`isDraggable`,`isDroppable`,`isExpanded`,`isSelected`,`item`,`layout`,`options`]))),128))]),default:E(()=>[tt(be(e.item.title)+` `,1)]),_:3},16,[`data-sidebar-id`])):T(REe)(e.layout,e.item,r.empty!==void 0,e.options?.hideOperationDefaultExamples??!1)?(y(),O(T(EEe),o({key:1,active:e.isSelected(e.item.id),class:`relative`,controlled:``,"data-sidebar-id":e.item.id},T(l),{discrete:e.layout===`reference`&&e.item.type===`text`,open:e.isExpanded(e.item.id)},ye(T(u)),{onClick:a[4]||=()=>n(`selectItem`,e.item.id),onToggle:a[5]||=()=>n(`toggleGroup`,e.item.id)}),Ce({items:E(()=>[(y(!0),M(Ne,null,_(d.value,i=>(y(),O(f,{key:i.id,isDraggable:e.isDraggable,isDroppable:e.isDroppable,isExpanded:e.isExpanded,isSelected:e.isSelected,item:i,layout:e.layout,options:e.options,parentIds:[],onOnDragEnd:c,onSelectItem:a[2]||=e=>n(`selectItem`,e),onToggleGroup:a[3]||=e=>n(`toggleGroup`,e)},Ce({_:2},[r.decorator?{name:`decorator`,fn:E(e=>[S(t.$slots,`decorator`,o({ref_for:!0},e))]),key:`0`}:void 0,r.empty?{name:`empty`,fn:E(e=>[S(t.$slots,`empty`,o({ref_for:!0},e))]),key:`1`}:void 0,r.icon?{name:`icon`,fn:E(e=>[S(t.$slots,`icon`,o({ref_for:!0},e))]),key:`2`}:void 0]),1032,[`isDraggable`,`isDroppable`,`isExpanded`,`isSelected`,`item`,`layout`,`options`]))),128)),r.empty&&(e.item.children?.length??0)===0?S(t.$slots,`empty`,{key:0,item:e.item}):k(``,!0)]),default:E(()=>[s(e.item)?(y(),M(`span`,VEe,[D(Y9,{item:e.item,operationTitleSource:e.options?.operationTitleSource},null,8,[`item`,`operationTitleSource`])])):(y(),O(Y9,{key:1,item:e.item,operationTitleSource:e.options?.operationTitleSource},null,8,[`item`,`operationTitleSource`]))]),_:2},[e.item.type===`document`?{name:`icon`,fn:E(({open:n})=>[S(t.$slots,`icon`,{item:e.item,open:n},()=>[D(T(BEe),{class:`block`,src:`icon`in e.item&&e.item.icon||`interface-content-folder`},null,8,[`src`])])]),key:`0`}:void 0,`method`in e.item?{name:`aside`,fn:E(()=>[D(G9,{active:e.isSelected(e.item.id),class:v([`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,`method`in e.item?{name:`toggle`,fn:E(()=>[a[7]||=N(`span`,{class:`hidden`},null,-1)]),key:`2`}:{name:`toggle`,fn:E(({open:t})=>[D(T(N9),{class:`text-sidebar-c-2`,open:t},{label:E(()=>[tt(be(t?e.options?.labels?.closeGroup??`Close Group`:e.options?.labels?.openGroup??`Open Group`),1)]),_:2},1032,[`open`])]),key:`3`},r.decorator?{name:`after`,fn:E(()=>[D(q9,null,{default:E(()=>[S(t.$slots,`decorator`,{item:e.item})]),_:3})]),key:`4`}:void 0]),1040,[`active`,`data-sidebar-id`,`discrete`,`open`])):(y(),O(T(I9),o({key:2,is:`button`},T(l),{class:`relative`,"data-sidebar-id":e.item.id,selected:e.isSelected(e.item.id)},ye(T(u)),{onClick:a[6]||=()=>n(`selectItem`,e.item.id)}),Ce({default:E(()=>[s(e.item)?(y(),M(`span`,HEe,[D(Y9,{item:e.item,operationTitleSource:e.options?.operationTitleSource},null,8,[`item`,`operationTitleSource`])])):(y(),O(Y9,{key:1,item:e.item,operationTitleSource:e.options?.operationTitleSource},null,8,[`item`,`operationTitleSource`]))]),_:2},[r.icon?{name:`icon`,fn:E(()=>[S(t.$slots,`icon`,{item:e.item,open:!0})]),key:`0`}:void 0,`method`in e.item?{name:`aside`,fn:E(()=>[`method`in e.item?(y(),O(G9,{key:0,active:e.isSelected(e.item.id),class:v([`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`])):k(``,!0)]),key:`1`}:void 0,r.decorator?{name:`after`,fn:E(()=>[D(q9,null,{default:E(()=>[S(t.$slots,`decorator`,{item:e.item})]),_:3})]),key:`2`}:void 0]),1040,[`data-sidebar-id`,`selected`]))}}}),WEe=w({__name:`ScalarSidebar`,props:{layout:{},items:{},isSelected:{type:Function},isExpanded:{type:Function},options:{},indent:{default:20},isDraggable:{},isDroppable:{type:Function}},emits:[`reorder`,`selectItem`,`toggleGroup`],setup(e,{emit:t}){let n=t,r=a(),i=(e,t)=>{n(`reorder`,e,t)};return(t,a)=>(y(),O(T(vEe),{class:`flex min-h-0 flex-col`,style:te({"--scalar-sidebar-indent":e.indent+`px`})},{default:E(()=>[S(t.$slots,`header`),S(t.$slots,`default`,{},()=>[D(T(kEe),{class:`custom-scroll`},{default:E(()=>[S(t.$slots,`before`),(y(!0),M(Ne,null,_(T(V9)(e.layout,e.items),s=>(y(),O(UEe,{key:s.id,isDraggable:e.isDraggable??e.layout===`client`,isDroppable:e.isDroppable,isExpanded:e.isExpanded,isSelected:e.isSelected,item:s,layout:e.layout,options:e.options,onOnDragEnd:i,onSelectItem:a[0]||=e=>n(`selectItem`,e),onToggleGroup:a[1]||=e=>n(`toggleGroup`,e)},Ce({_:2},[r.decorator?{name:`decorator`,fn:E(e=>[S(t.$slots,`decorator`,o({ref_for:!0},e))]),key:`0`}:void 0,r.empty?{name:`empty`,fn:E(e=>[S(t.$slots,`empty`,o({ref_for:!0},e))]),key:`1`}:void 0,r.icon?{name:`icon`,fn:E(e=>[S(t.$slots,`icon`,o({ref_for:!0},e))]),key:`2`}:void 0]),1032,[`isDraggable`,`isDroppable`,`isExpanded`,`isSelected`,`item`,`layout`,`options`]))),128))]),_:3}),S(t.$slots,`spacer`,{},()=>[a[2]||=N(`div`,{class:`flex-1`},null,-1)])]),S(t.$slots,`footer`)]),_:3},8,[`style`]))}}),$9=({items:e,nestedKey:t=`children`,filter:n=()=>!0,getId:r=e=>e.id})=>{let i=new Map,a=e=>{n(e)&&i.set(r(e),e),t in e&&Array.isArray(e[t])&&e[t]?.forEach(t=>a({...t,parent:e}))};return e.forEach(a),i},GEe=(e,t)=>{let n=j(()=>$9({items:d(e),nestedKey:t?.key??`children`})),r=A({}),i=A({}),a=A(null);return{items:j(()=>d(e)),index:n,selectedItems:r,expandedItems:i,selectedItem:a,setSelected:e=>{let i=e=>{e&&(r.value[e.id]=!0,`parent`in e&&e.parent&&i(e.parent))};t?.hooks?.onBeforeSelect&&t.hooks.onBeforeSelect(e),r.value={},a.value=e,e!==null&&i(n.value.get(e)),t?.hooks?.onAfterSelect&&t.hooks.onAfterSelect(e)},setExpanded:(e,r)=>{let a=e=>{e&&(i.value[e.id]=!0,`parent`in e&&e.parent&&a(e.parent))};t?.hooks?.onBeforeExpand&&t.hooks.onBeforeExpand(e),r===!1?i.value[e]=!1:a(n.value.get(e)),t?.hooks?.onAfterExpand&&t.hooks.onAfterExpand(e)},isExpanded:e=>i.value[e]??!1,isSelected:e=>r.value[e]??!1,getEntryById:e=>n.value.get(e),reset:()=>{r.value={},i.value={}}}},KEe=e=>{if(e===!0)return[];if(!e||Array.isArray(e)&&e.length===0)return H4;let t=new Set(H4);if(Array.isArray(e))for(let n of e){let e=V4[n];if(e)for(let r of e)t.delete(`${n}/${r}`);else if(n.includes(`/`))t.delete(n);else for(let e of wT(V4))t.delete(`${e}/${n}`)}else if(typeof e==`object`){for(let[n,r]of Object.entries(e))if(r===!0){let e=V4[n];if(e)for(let r of e)t.delete(`${n}/${r}`)}else if(Array.isArray(r))for(let e of r)t.delete(e),t.delete(`${n}/${e}`)}return Array.from(t)};export{I6 as $,Wr as $a,Jc as $i,Tse as $n,vre as $r,ZR as $t,q7 as A,go as Aa,Rd as Ai,Hse as An,On as Ao,Kie as Ar,Cpe as At,M8 as B,so as Ba,zl as Bi,vT as Bn,ht as Bo,iie as Br,cV as Bt,Vwe as C,Zte as Ca,wx as Ci,OF as Cn,Zn as Co,aw as Cr,B4 as Ct,e9 as D,qte as Da,V as Di,IT as Dn,mee as Do,sw as Dr,Ope as Dt,hTe as E,wo as Ea,$v as Ei,SF as En,Wn as Eo,iw as Er,L4 as Et,U7 as F,uo as Fa,z as Fi,wT as Fn,lt as Fo,_ie as Fr,kV as Ft,sye as G,ka as Ga,wl as Gi,hT as Gn,pt as Go,Bre as Gr,bz as Gt,c8 as H,Xa as Ha,El as Hi,Nse as Hn,gt as Ho,Jre as Hr,aV as Ht,P7 as I,lo as Ia,Kl as Ii,Fse as In,dt as Io,hie as Ir,vV as It,$6 as J,Qi as Ja,Tl as Ji,Ase as Jn,P as Jo,Ere as Jr,lz as Jt,oye as K,Da as Ka,Fl as Ki,mT as Kn,F as Ko,Rre as Kr,mz as Kt,ewe as L,cte as La,Wl as Li,Pse as Ln,st as Lo,pie as Lr,mV as Lt,qwe as M,mo as Ma,jd as Mi,OT as Mn,Wt as Mo,Mie as Mr,wpe as Mt,L7 as N,po as Na,kd as Ni,DT as Nn,zn as No,xie as Nr,P4 as Nt,W7 as O,yo as Oa,rg as Oi,Jse as On,Tn as Oo,nw as Or,I4 as Ot,Y7 as P,fo as Pa,Od as Pi,Ise as Pn,Ln as Po,yie as Pr,jV as Pt,J6 as Q,qr as Qa,Pl as Qi,fT as Qn,at as Qo,gre as Qr,YR as Qt,N8 as R,Vee as Ra,Nl as Ri,ST as Rn,vt as Ro,die as Rr,pV as Rt,G7 as S,$te as Sa,Tx as Si,MF as Sn,Xn as So,lw as Sr,H4 as St,X7 as T,To as Ta,Cy as Ti,CF as Tn,At as To,cw as Tr,R4 as Tt,s8 as U,Ua,Vl as Ui,Mse as Un,ct as Uo,Kre as Ur,GB as Ut,h8 as V,ro as Va,Il as Vi,_T as Vn,_t as Vo,Zre as Vr,sV as Vt,o8 as W,Ia as Wa,Rl as Wi,gT as Wn,ot as Wo,Gre as Wr,RB as Wt,X6 as X,ea as Xa,Hl as Xi,jse as Xn,ut as Xo,Cre as Xr,LR as Xt,Q6 as Y,$i as Ya,Bl as Yi,Dse as Yn,mt as Yo,Tre as Yr,cz as Yt,Y6 as Z,Kr as Za,Al as Zi,kse as Zn,it as Zo,xre as Zr,qR as Zt,w9 as _,gc as _a,zx as _i,YL as _n,_r as _o,mw as _r,h6 as _t,B9 as a,Vc as aa,Kne as ai,hR as an,jr as ao,rT as ar,M6 as at,yTe as b,dc as ba,Nx as bi,KL as bn,Qn as bo,dw as br,Tge as bt,_Ee as c,Nc as ca,aS as ci,dR as cn,Or as co,mse as cr,O6 as ct,dEe as d,wc as da,Qx as di,iR as dn,ar as do,eT as dr,Jge as dt,Qc as ea,pre as ei,tz as en,Vr as eo,dT as er,d_e as et,aEe as f,xc as fa,Zx as fi,eR as fn,gr as fo,Mw as fr,qge as ft,RTe as g,L as ga,Ux as gi,qL as gn,lr as go,vw as gr,Dge as gt,zTe as h,vc as ha,Gx as hi,GL as hn,dr as ho,yw as hr,b6 as ht,WEe as i,Wc as ia,ere as ii,OR as in,Rr as io,oT as ir,N6 as it,Z7 as j,ho as ja,Md as ji,kT as jn,wn as jo,Vie as jr,A4 as jt,Rwe as k,bo as ka,am as ki,Use as kn,Mn as ko,BC as kr,F4 as kt,hEe as l,Tc as la,rS as li,sR as ln,Er as lo,$w as lr,T6 as lt,iEe as m,_c as ma,qx as mi,HL as mn,or as mo,bw as mr,Bge as mt,GEe as n,qc as na,lre as ni,oz as nn,Ur as no,cT as nr,u_e as nt,z9 as o,Ic as oa,uS as oi,kR as on,kr as oo,aT as or,A6 as ot,oEe as p,bc as pa,Yx as pi,rR as pn,vr as po,jw as pr,Uge as pt,rye as q,ia as qa,Ll as qi,Ose as qn,ft as qo,Are as qr,pz as qt,$9 as r,Gc as ra,ire as ri,_R as rn,zr as ro,sT as rr,i_e as rt,M9 as s,jc as sa,lS as si,MR as sn,Ir as so,gse as sr,k6 as st,KEe as t,$c as ta,dre as ti,XR as tn,Hr as to,lT as tr,P6 as tt,D9 as u,Sc as ua,tS as ui,aR as un,wr as uo,Qw as ur,E6 as ut,C9 as v,mc as va,Lx as vi,UL as vn,ur as vo,pw as vr,Ege as vt,gTe as w,Eo as wa,lb as wi,TF as wn,qn as wo,ow as wr,z4 as wt,Uwe as x,fc as xa,jx as xi,GF as xn,I as xo,rw as xr,wge as xt,$7 as y,pc as ya,Fx as yi,WL as yn,rr as yo,fw as yr,m6 as yt,Nbe as z,co as za,Cl as zi,yT as zn,nee as zo,lie as zr,uV as zt};