orbitchat 2.13.0 → 2.14.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +272 -219
- package/bin/dev-server.js +0 -3
- package/bin/orbitchat.js +146 -82
- package/dist/assets/_baseUniq-BRKsqoH--68FUaYxk.js +1 -0
- package/dist/assets/{arc-pab_su9s-5Fj8gaRD.js → arc-pab_su9s-BuY-VRZt.js} +1 -1
- package/dist/assets/{architectureDiagram-VXUJARFQ-DqQ8r_6g-CUv_1hwH.js → architectureDiagram-VXUJARFQ-DqQ8r_6g-C5b5VsO8.js} +1 -1
- package/dist/assets/{blockDiagram-VD42YOAC-B-dKfcH3-C5C8ioHy.js → blockDiagram-VD42YOAC-B-dKfcH3-DVjqMJ-3.js} +4 -4
- package/dist/assets/{c4Diagram-YG6GDRKO-DMUPaBEl-C9aRvbUH.js → c4Diagram-YG6GDRKO-DMUPaBEl-o6ghjFV9.js} +1 -1
- package/dist/assets/channel-HKsfPa5q-rOME8XF8.js +1 -0
- package/dist/assets/{chunk-4BX2VUAB-CX67kh_B-Dg-FCFRz.js → chunk-4BX2VUAB-CX67kh_B-Dl0Loq_e.js} +1 -1
- package/dist/assets/{chunk-55IACEB6-BocSyyvr-DLl0J2Y8.js → chunk-55IACEB6-BocSyyvr-DYW83vZR.js} +1 -1
- package/dist/assets/{chunk-B4BG7PRW-CO8QAyfE-CA70cVW0.js → chunk-B4BG7PRW-CO8QAyfE-CsF1OX4R.js} +1 -1
- package/dist/assets/{chunk-DI55MBZ5-Dw1L6Eos-D9NxRcb0.js → chunk-DI55MBZ5-Dw1L6Eos-Dl1shJzL.js} +3 -3
- package/dist/assets/{chunk-FMBD7UC4-dPK7Boav-BnBNSo2K.js → chunk-FMBD7UC4-dPK7Boav-Cz7OoDLR.js} +1 -1
- package/dist/assets/{chunk-QN33PNHL-vP2PqfVG-CPmEgt7H.js → chunk-QN33PNHL-vP2PqfVG-BuQNN8G2.js} +1 -1
- package/dist/assets/{chunk-QZHKN3VN-Bcidzu63-D5oprccq.js → chunk-QZHKN3VN-Bcidzu63-Bud1NKOb.js} +1 -1
- package/dist/assets/{chunk-TZMSLE5B-BtljMjlg-BMaQANUN.js → chunk-TZMSLE5B-BtljMjlg-BKLxPJ-x.js} +1 -1
- package/dist/assets/{classDiagram-2ON5EDUG-C7cYN9hv-BJ55vfJP.js → classDiagram-2ON5EDUG-C7cYN9hv-BHg-LSxQ.js} +1 -1
- package/dist/assets/{classDiagram-v2-WZHVMYZB-C7cYN9hv-BJ55vfJP.js → classDiagram-v2-WZHVMYZB-C7cYN9hv-BHg-LSxQ.js} +1 -1
- package/dist/assets/clone-DoPb9X13-DejjKfXe.js +1 -0
- package/dist/assets/{cose-bilkent-S5V4N54A-BGzO4EsH-C4qWHBkh.js → cose-bilkent-S5V4N54A-BGzO4EsH-rofdToAx.js} +1 -1
- package/dist/assets/{dagre-6UL2VRFP-TzNvXCds-DHQFOEg9.js → dagre-6UL2VRFP-TzNvXCds-Ls1mVyc7.js} +1 -1
- package/dist/assets/{diagram-PSM6KHXK-BqY4RpUg-B5PMaM9_.js → diagram-PSM6KHXK-BqY4RpUg-BJmYXUei.js} +1 -1
- package/dist/assets/{diagram-QEK2KX5R-CTjgBsne-BxRfYCvV.js → diagram-QEK2KX5R-CTjgBsne-dz-VLadE.js} +1 -1
- package/dist/assets/{diagram-S2PKOQOG-BqrhTIpA-lHz0Lv72.js → diagram-S2PKOQOG-BqrhTIpA-ikxUE9Dj.js} +2 -2
- package/dist/assets/{erDiagram-Q2GNP2WA-B2hsi_Tl-CA9gC_Sq.js → erDiagram-Q2GNP2WA-B2hsi_Tl-B5gu6Jrx.js} +1 -1
- package/dist/assets/{flowDiagram-NV44I4VS-C03vtt_F-D_0d3iIN.js → flowDiagram-NV44I4VS-C03vtt_F-C9LVdVvn.js} +1 -1
- package/dist/assets/{ganttDiagram-JELNMOA3-B3hAg964-DBmhALRX.js → ganttDiagram-JELNMOA3-B3hAg964-CYO6ZcQ8.js} +1 -1
- package/dist/assets/{gitGraphDiagram-NY62KEGX-ByhMH0yZ-CPYXuiML.js → gitGraphDiagram-NY62KEGX-ByhMH0yZ-BvO0WGzP.js} +3 -3
- package/dist/assets/{graph-BmNkcFEM-KNWsAmWF.js → graph-BmNkcFEM-Bl2fiTgr.js} +1 -1
- package/dist/assets/{index-BXexqYFc-B__qmzrN.js → index-BXexqYFc-CFPIFV8r.js} +1 -1
- package/dist/assets/index-KsGsuMGp.css +1 -0
- package/dist/assets/{index-BW8v6af7.js → index-nqhgVFEP.js} +219 -239
- package/dist/assets/infoDiagram-WHAUD3N6-is6Ho4-T-D6tHdi3J.js +2 -0
- package/dist/assets/{journeyDiagram-XKPGCS4Q-CRTOL26C-LR6WJTSP.js → journeyDiagram-XKPGCS4Q-CRTOL26C-CL4DFaQP.js} +1 -1
- package/dist/assets/{kanban-definition-3W4ZIXB7-CNnO_t6O-DtmYC3pq.js → kanban-definition-3W4ZIXB7-CNnO_t6O-DZBlsSao.js} +6 -6
- package/dist/assets/{layout-C0kZPebx-B_46-FEA.js → layout-C0kZPebx-DiUdszUx.js} +1 -1
- package/dist/assets/min-7Gb0pNxh-DsojA8pm.js +1 -0
- package/dist/assets/{mindmap-definition-VGOIOE7T-CJZ2wTTa-CQ5XhAm3.js → mindmap-definition-VGOIOE7T-CJZ2wTTa-Cd46k2jT.js} +1 -1
- package/dist/assets/{pieDiagram-ADFJNKIX-C9OSknjr-Zjsm8zCu.js → pieDiagram-ADFJNKIX-C9OSknjr-BGVcHmss.js} +2 -2
- package/dist/assets/{quadrantDiagram-AYHSOK5B-CW8yuAqv-CewG7Ps5.js → quadrantDiagram-AYHSOK5B-CW8yuAqv-CrCYjmJT.js} +3 -3
- package/dist/assets/{requirementDiagram-UZGBJVZJ-nGPhruO1-CmwzlmWj.js → requirementDiagram-UZGBJVZJ-nGPhruO1-BzOGHXGi.js} +1 -1
- package/dist/assets/{sankeyDiagram-TZEHDZUN-CmL90u-m-DyQmhLGo.js → sankeyDiagram-TZEHDZUN-CmL90u-m-BWp9STLO.js} +3 -3
- package/dist/assets/{sequenceDiagram-WL72ISMW-B02VRcnM-B2VD9p2E.js → sequenceDiagram-WL72ISMW-B02VRcnM-DB4Adljk.js} +7 -7
- package/dist/assets/{stateDiagram-FKZM4ZOC-DjoyLUdz-CJrUh4uS.js → stateDiagram-FKZM4ZOC-DjoyLUdz-pDyQ50aU.js} +1 -1
- package/dist/assets/{stateDiagram-v2-4FDKWEC3-Bq76BTB7-B5yHWv_e.js → stateDiagram-v2-4FDKWEC3-Bq76BTB7-C3j4gDpN.js} +1 -1
- package/dist/assets/{timeline-definition-IT6M3QCI-CTn0Gm3T-DHkXiL9a.js → timeline-definition-IT6M3QCI-CTn0Gm3T-O1FhSixZ.js} +1 -1
- package/dist/assets/{treemap-KMMF4GRG-BjgLKKyi-D9LFxDnG.js → treemap-KMMF4GRG-BjgLKKyi-DG8IQefJ.js} +1 -1
- package/dist/assets/{xychartDiagram-PRI3JC2R-Cgg6Uija-D8sQ8SWv.js → xychartDiagram-PRI3JC2R-Cgg6Uija-CPVch5-l.js} +4 -4
- package/dist/index.html +2 -2
- package/package.json +2 -2
- package/dist/assets/__vite-browser-external-BIHI7g3E.js +0 -1
- package/dist/assets/_baseUniq-BRKsqoH--DGdgNAAC.js +0 -1
- package/dist/assets/api-BHF9IxKN.js +0 -1
- package/dist/assets/api-BrcFa20y.js +0 -2
- package/dist/assets/channel-HKsfPa5q-nerGd90z.js +0 -1
- package/dist/assets/clone-DoPb9X13-BYjj6fv1.js +0 -1
- package/dist/assets/index-Cox333Kd.css +0 -1
- package/dist/assets/infoDiagram-WHAUD3N6-is6Ho4-T-Dq-eketn.js +0 -2
- package/dist/assets/min-7Gb0pNxh-DKsTGhJ-.js +0 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{y as fs}from"./index-BW8v6af7.js";function ps(M,b){for(var v=0;v<b.length;v++){const l=b[v];if(typeof l!="string"&&!Array.isArray(l)){for(const r in l)if(r!=="default"&&!(r in M)){const i=Object.getOwnPropertyDescriptor(l,r);i&&Object.defineProperty(M,r,i.get?i:{enumerable:!0,get:()=>l[r]})}}}return Object.freeze(Object.defineProperty(M,Symbol.toStringTag,{value:"Module"}))}var Ye,Rr;function ms(){if(Rr)return Ye;Rr=1;var M="6.6.0";return Ye=M,Ye}var We,qr;function Pr(){if(qr)return We;qr=1;var M=function(v,l){var r=this;if(l||(l={}),r.qpm=l.qpm?parseInt(l.qpm,10):null,!r.qpm){var i=v.metaText?v.metaText.tempo:null;r.qpm=v.getBpm(i)}r.extraMeasuresAtBeginning=l.extraMeasuresAtBeginning?parseInt(l.extraMeasuresAtBeginning,10):0,r.beatCallback=l.beatCallback,r.eventCallback=l.eventCallback,r.lineEndCallback=l.lineEndCallback,r.lineEndAnticipation=l.lineEndAnticipation?parseInt(l.lineEndAnticipation,10):0,r.beatSubdivisions=l.beatSubdivisions?parseInt(l.beatSubdivisions,10):1,r.beatSubdivisions||(r.beatSubdivisions=1),r.joggerTimer=null,r.replaceTarget=function(s){if(r.noteTimings=s.setTiming(r.qpm,r.extraMeasuresAtBeginning),s.noteTimings.length===0&&(r.noteTimings=s.setTiming(0,0)),r.lineEndCallback&&(r.lineEndTimings=b(s.noteTimings,r.lineEndAnticipation)),r.startTime=null,r.currentBeat=0,r.currentEvent=0,r.currentLine=0,r.currentTime=0,r.isPaused=!1,r.isRunning=!1,r.pausedPercent=null,r.justUnpaused=!1,r.newSeekPercent=0,r.lastTimestamp=0,r.noteTimings.length!==0){r.millisecondsPerBeat=1e3/(r.qpm/60)/r.beatSubdivisions,r.lastMoment=r.noteTimings[r.noteTimings.length-1].milliseconds;var c=s.getMeter(),f="";if(c&&c.type==="specified"&&c.value&&c.value.length>0&&c.value[0].num.indexOf("+")>0&&(f=c.value[0].num),r.beatStarts=[],f){for(var h=r.noteTimings[r.noteTimings.length-1].millisecondsPerMeasure,d=r.lastMoment/h,n=f.split("+"),t=0;t<n.length;t++)n[t]=parseInt(n[t],10)/2;for(var a=0,e=0,u=0;u<d;u++)for(var g=u*h,p=0,k=0;k<n.length;k++){var x=n[k];if(r.beatSubdivisions===1)r.beatSubdivisions===1&&a<r.lastMoment&&r.beatStarts.push({b:e,ts:a}),a+=x*r.millisecondsPerBeat;else for(var T=x*r.beatSubdivisions,j=0;j<Math.floor(T);j++){var O=j/T,m=Math.round(g+p*r.millisecondsPerBeat);m<r.lastMoment&&r.beatStarts.push({b:e+O,ts:m}),p++}e++}r.beatStarts.push({b:d*n.length,ts:r.lastMoment}),r.totalBeats=r.beatStarts.length}else{r.totalBeats=Math.round(r.lastMoment/r.millisecondsPerBeat);for(var E=0;E<r.totalBeats+1;E++)r.beatStarts.push({b:E/r.beatSubdivisions,ts:Math.round(E*r.millisecondsPerBeat)})}}},r.replaceTarget(v),r.doTiming=function(s){if(r.lastTimestamp!==s&&(r.lastTimestamp=s,!r.isPaused&&r.isRunning)){for(r.startTime||(r.startTime=s),r.currentTime=s-r.startTime,r.currentTime+=16;r.noteTimings.length>r.currentEvent&&r.noteTimings[r.currentEvent].milliseconds<r.currentTime;){if(r.eventCallback&&r.noteTimings[r.currentEvent].type==="event"){var c=r.startTime;r.eventCallback(r.noteTimings[r.currentEvent]),c!==r.startTime&&(r.currentTime=s-r.startTime)}r.currentEvent++}if(r.lineEndCallback&&r.lineEndTimings.length>r.currentLine&&r.lineEndTimings[r.currentLine].milliseconds<r.currentTime&&r.currentEvent<r.noteTimings.length){var f=r.noteTimings[r.currentEvent].milliseconds===r.currentTime?r.noteTimings[r.currentEvent]:r.noteTimings[r.currentEvent-1];r.lineEndCallback(r.lineEndTimings[r.currentLine],f,{line:r.currentLine,endTimings:r.lineEndTimings,currentTime:r.currentTime}),r.currentLine++}if(r.currentTime<r.lastMoment){if(requestAnimationFrame(r.doTiming),r.currentBeat<r.beatStarts.length&&r.beatStarts[r.currentBeat].ts<=r.currentTime){var h=r.doBeatCallback(s);r.currentBeat++,h!==null&&(r.currentTime=h)}}else if(r.currentBeat<=r.totalBeats&&r.beatCallback){var d=r.doBeatCallback(s);r.currentBeat++,d!==null&&(r.currentTime=d),requestAnimationFrame(r.doTiming)}if(r.currentTime>=r.lastMoment)if(r.eventCallback){var n=r.eventCallback(null);r.shouldStop(n).then(function(t){t&&r.stop()})}else r.stop()}},r.shouldStop=function(s){return new Promise(function(c){if(!s)return c(!0);if(s==="continue")return c(!1);s.then&&s.then(function(f){c(f!=="continue")})})},r.doBeatCallback=function(s){if(r.beatCallback){for(var c=r.currentEvent;c<r.noteTimings.length&&r.noteTimings[c].left===null;)c++;var f,h;if(c<r.noteTimings.length){for(f=r.noteTimings[c].milliseconds,c=Math.max(0,r.currentEvent-1);c>=0&&r.noteTimings[c].left===null;)c--;h=r.noteTimings[c]}var d={},n={};if(h){d.top=h.top,d.height=h.height;var t=Math.max(0,s-r.startTime-h.milliseconds),a=f-h.milliseconds,e=h.endX-h.left,u=a?t*e/a:0;d.left=h.left+u,r.currentEvent===0&&h.milliseconds>s-r.startTime&&(d.left=void 0),n={timestamp:s,startTime:r.startTime,ev:h,endMs:f,offMs:t,offPx:u,gapMs:a,gapPx:e}}else n={timestamp:s,startTime:r.startTime};var g=r.startTime;if(r.beatCallback(r.beatStarts[r.currentBeat].b,r.totalBeats/r.beatSubdivisions,r.lastMoment,d,n),g!==r.startTime)return s-r.startTime}return null};var o=60;r.animationJogger=function(){r.isRunning&&(r.doTiming(performance.now()),r.joggerTimer=setTimeout(r.animationJogger,o))},r.start=function(s,c){if(r.isRunning=!0,r.isPaused&&(r.isPaused=!1,s===void 0&&(r.justUnpaused=!0)),s)r.setProgress(s,c);else if(s===0)r.reset();else if(r.pausedPercent!==null){var f=performance.now();r.currentTime=r.lastMoment*r.pausedPercent,r.startTime=f-r.currentTime,r.pausedPercent=null,r.reportNext=!0}requestAnimationFrame(r.doTiming),r.joggerTimer=setTimeout(r.animationJogger,o)},r.pause=function(){r.isPaused=!0;var s=performance.now();r.pausedPercent=(s-r.startTime)/r.lastMoment,r.isRunning=!1,r.joggerTimer&&(clearTimeout(r.joggerTimer),r.joggerTimer=null)},r.currentMillisecond=function(){return r.currentTime},r.reset=function(){r.currentBeat=0,r.currentEvent=0,r.currentLine=0,r.startTime=null,r.pausedPercent=null},r.stop=function(){r.pause(),r.reset()},r.setProgress=function(s,c){var f;switch(c){case"seconds":r.currentTime=s*1e3,r.currentTime<0&&(r.currentTime=0),r.currentTime>r.lastMoment&&(r.currentTime=r.lastMoment),f=r.currentTime/r.lastMoment;break;case"beats":r.currentTime=s*r.millisecondsPerBeat*r.beatSubdivisions,r.currentTime<0&&(r.currentTime=0),r.currentTime>r.lastMoment&&(r.currentTime=r.lastMoment),f=r.currentTime/r.lastMoment;break;default:f=s,f<0&&(f=0),f>1&&(f=1),r.currentTime=r.lastMoment*f;break}r.isRunning||(r.pausedPercent=f);var h=performance.now();for(r.startTime=h-r.currentTime,r.currentEvent=0;r.noteTimings.length>r.currentEvent&&r.noteTimings[r.currentEvent].milliseconds<r.currentTime;)r.currentEvent++;if(r.lineEndCallback)for(r.currentLine=0;r.lineEndTimings.length>r.currentLine&&r.lineEndTimings[r.currentLine].milliseconds+r.lineEndAnticipation<r.currentTime;)r.currentLine++;var d=r.currentBeat;for(r.currentBeat=0;r.currentBeat<r.beatStarts.length&&!(r.beatStarts[r.currentBeat].ts>r.currentTime);r.currentBeat++);r.currentBeat--,r.beatCallback&&d!==r.currentBeat&&(r.doBeatCallback(r.startTime+r.currentTime),r.currentBeat++),r.eventCallback&&r.currentEvent>=0&&r.noteTimings[r.currentEvent].type==="event"&&r.eventCallback(r.noteTimings[r.currentEvent]),r.lineEndCallback&&r.lineEndCallback(r.lineEndTimings[r.currentLine],r.noteTimings[r.currentEvent],{line:r.currentLine,endTimings:r.lineEndTimings}),r.joggerTimer=setTimeout(r.animationJogger,o)}};function b(v,l){for(var r=[],i=null,o=0;o<v.length;o++){var s=v[o];s.type!=="end"&&s.top!==i&&(r.push({measureNumber:s.measureNumber,milliseconds:s.milliseconds-l,top:s.top,bottom:s.top+s.height}),i=s.top)}return r}return We=M,We}var Re,Ur;function gs(){if(Ur)return Re;Ur=1;var M=Pr(),b={};return function(){var v,l;b.startAnimation=function(r,i,o){v&&(v.stop(),v=void 0),o.showCursor&&(l=r.querySelector(".abcjs-cursor"),l||(l=document.createElement("DIV"),l.className="abcjs-cursor cursor",l.style.position="absolute",r.appendChild(l),r.style.position="relative"));function s(a){for(var e=0;e<a.length;e++){var u=a[e];u.classList.contains("abcjs-bar")||(u.style.display="none")}}var c;function f(a){if(c){var e=r.querySelectorAll(c);s(e)}c=a}function h(a){var e=r.querySelectorAll(a);s(e)}function d(a){o.hideCurrentMeasure?h(a):o.hideFinishedMeasures&&f(a)}function n(a){return".abcjs-l"+a.line+".abcjs-m"+a.measureNumber}function t(a){if(a){if(a.measureStart){var e=n(a);e&&d(e)}l&&(l.style.left=a.left+"px",l.style.top=a.top+"px",l.style.width=a.width+"px",l.style.height=a.height+"px")}else v.stop(),v=void 0}v=new M(i,{qpm:o.bpm,eventCallback:t}),v.start()},b.pauseAnimation=function(r){v&&(r?v.pause():v.start())},b.stopAnimation=function(){v&&(v.stop(),v=void 0)}}(),Re=b,Re}var qe,Xr;function Ce(){if(Xr)return qe;Xr=1;var M={};return M.cloneArray=function(b){for(var v=[],l=0;l<b.length;l++)v.push(Object.assign({},b[l]));return v},M.cloneHashOfHash=function(b){var v={};for(var l in b)b.hasOwnProperty(l)&&(v[l]=Object.assign({},b[l]));return v},M.cloneHashOfArrayOfHash=function(b){var v={};for(var l in b)b.hasOwnProperty(l)&&(v[l]=M.cloneArray(b[l]));return v},M.strip=function(b){return b.replace(/^\s+/,"").replace(/\s+$/,"")},M.startsWith=function(b,v){return b.indexOf(v)===0},M.endsWith=function(b,v){var l=b.length-v.length;return l>=0&&b.lastIndexOf(v)===l},M.last=function(b){return b.length===0?null:b[b.length-1]},qe=M,qe}var Ue,Kr;function Br(){if(Kr)return Ue;Kr=1;var M=Ce(),b={};return function(){var v,l,r,i,o;b.initialize=function(y,w,C,L,F){v=y,l=w,r=C,i=L,o=F,s()};function s(){r.annotationfont={face:"Helvetica",size:12,weight:"normal",style:"normal",decoration:"none"},r.gchordfont={face:"Helvetica",size:12,weight:"normal",style:"normal",decoration:"none"},r.historyfont={face:'"Times New Roman"',size:16,weight:"normal",style:"normal",decoration:"none"},r.infofont={face:'"Times New Roman"',size:14,weight:"normal",style:"italic",decoration:"none"},r.measurefont={face:'"Times New Roman"',size:14,weight:"normal",style:"italic",decoration:"none"},r.partsfont={face:'"Times New Roman"',size:15,weight:"normal",style:"normal",decoration:"none"},r.repeatfont={face:'"Times New Roman"',size:13,weight:"normal",style:"normal",decoration:"none"},r.textfont={face:'"Times New Roman"',size:16,weight:"normal",style:"normal",decoration:"none"},r.tripletfont={face:"Times",size:11,weight:"normal",style:"italic",decoration:"none"},r.vocalfont={face:'"Times New Roman"',size:13,weight:"bold",style:"normal",decoration:"none"},r.wordsfont={face:'"Times New Roman"',size:16,weight:"normal",style:"normal",decoration:"none"},i.formatting.composerfont={face:'"Times New Roman"',size:14,weight:"normal",style:"italic",decoration:"none"},i.formatting.subtitlefont={face:'"Times New Roman"',size:16,weight:"normal",style:"normal",decoration:"none"},i.formatting.tempofont={face:'"Times New Roman"',size:15,weight:"bold",style:"normal",decoration:"none"},i.formatting.titlefont={face:'"Times New Roman"',size:20,weight:"normal",style:"normal",decoration:"none"},i.formatting.footerfont={face:'"Times New Roman"',size:12,weight:"normal",style:"normal",decoration:"none"},i.formatting.headerfont={face:'"Times New Roman"',size:12,weight:"normal",style:"normal",decoration:"none"},i.formatting.voicefont={face:'"Times New Roman"',size:13,weight:"bold",style:"normal",decoration:"none"},i.formatting.tablabelfont={face:'"Trebuchet MS"',size:16,weight:"normal",style:"normal",decoration:"none"},i.formatting.tabnumberfont={face:'"Arial"',size:11,weight:"normal",style:"normal",decoration:"none"},i.formatting.tabgracefont={face:'"Arial"',size:8,weight:"normal",style:"normal",decoration:"none"},i.formatting.annotationfont=r.annotationfont,i.formatting.gchordfont=r.gchordfont,i.formatting.historyfont=r.historyfont,i.formatting.infofont=r.infofont,i.formatting.measurefont=r.measurefont,i.formatting.partsfont=r.partsfont,i.formatting.repeatfont=r.repeatfont,i.formatting.textfont=r.textfont,i.formatting.tripletfont=r.tripletfont,i.formatting.vocalfont=r.vocalfont,i.formatting.wordsfont=r.wordsfont}var c={gchordfont:!0,measurefont:!0,partsfont:!0,annotationfont:!0,composerfont:!0,historyfont:!0,infofont:!0,subtitlefont:!0,textfont:!0,titlefont:!0,voicefont:!0},f=function(y){switch(y){case"Arial-Italic":return{face:"Arial",weight:"normal",style:"italic",decoration:"none"};case"Arial-Bold":return{face:"Arial",weight:"bold",style:"normal",decoration:"none"};case"Bookman-Demi":return{face:"Bookman,serif",weight:"bold",style:"normal",decoration:"none"};case"Bookman-DemiItalic":return{face:"Bookman,serif",weight:"bold",style:"italic",decoration:"none"};case"Bookman-Light":return{face:"Bookman,serif",weight:"normal",style:"normal",decoration:"none"};case"Bookman-LightItalic":return{face:"Bookman,serif",weight:"normal",style:"italic",decoration:"none"};case"Courier":return{face:'"Courier New"',weight:"normal",style:"normal",decoration:"none"};case"Courier-Oblique":return{face:'"Courier New"',weight:"normal",style:"italic",decoration:"none"};case"Courier-Bold":return{face:'"Courier New"',weight:"bold",style:"normal",decoration:"none"};case"Courier-BoldOblique":return{face:'"Courier New"',weight:"bold",style:"italic",decoration:"none"};case"AvantGarde-Book":return{face:"AvantGarde,Arial",weight:"normal",style:"normal",decoration:"none"};case"AvantGarde-BookOblique":return{face:"AvantGarde,Arial",weight:"normal",style:"italic",decoration:"none"};case"AvantGarde-Demi":case"Avant-Garde-Demi":return{face:"AvantGarde,Arial",weight:"bold",style:"normal",decoration:"none"};case"AvantGarde-DemiOblique":return{face:"AvantGarde,Arial",weight:"bold",style:"italic",decoration:"none"};case"Helvetica-Oblique":return{face:"Helvetica",weight:"normal",style:"italic",decoration:"none"};case"Helvetica-Bold":return{face:"Helvetica",weight:"bold",style:"normal",decoration:"none"};case"Helvetica-BoldOblique":return{face:"Helvetica",weight:"bold",style:"italic",decoration:"none"};case"Helvetica-Narrow":return{face:'"Helvetica Narrow",Helvetica',weight:"normal",style:"normal",decoration:"none"};case"Helvetica-Narrow-Oblique":return{face:'"Helvetica Narrow",Helvetica',weight:"normal",style:"italic",decoration:"none"};case"Helvetica-Narrow-Bold":return{face:'"Helvetica Narrow",Helvetica',weight:"bold",style:"normal",decoration:"none"};case"Helvetica-Narrow-BoldOblique":return{face:'"Helvetica Narrow",Helvetica',weight:"bold",style:"italic",decoration:"none"};case"Palatino-Roman":return{face:"Palatino",weight:"normal",style:"normal",decoration:"none"};case"Palatino-Italic":return{face:"Palatino",weight:"normal",style:"italic",decoration:"none"};case"Palatino-Bold":return{face:"Palatino",weight:"bold",style:"normal",decoration:"none"};case"Palatino-BoldItalic":return{face:"Palatino",weight:"bold",style:"italic",decoration:"none"};case"NewCenturySchlbk-Roman":return{face:'"New Century",serif',weight:"normal",style:"normal",decoration:"none"};case"NewCenturySchlbk-Italic":return{face:'"New Century",serif',weight:"normal",style:"italic",decoration:"none"};case"NewCenturySchlbk-Bold":return{face:'"New Century",serif',weight:"bold",style:"normal",decoration:"none"};case"NewCenturySchlbk-BoldItalic":return{face:'"New Century",serif',weight:"bold",style:"italic",decoration:"none"};case"Times":case"Times-Roman":case"Times-Narrow":case"Times-Courier":case"Times-New-Roman":return{face:'"Times New Roman"',weight:"normal",style:"normal",decoration:"none"};case"Times-Italic":case"Times-Italics":return{face:'"Times New Roman"',weight:"normal",style:"italic",decoration:"none"};case"Times-Bold":return{face:'"Times New Roman"',weight:"bold",style:"normal",decoration:"none"};case"Times-BoldItalic":return{face:'"Times New Roman"',weight:"bold",style:"italic",decoration:"none"};case"ZapfChancery-MediumItalic":return{face:'"Zapf Chancery",cursive,serif',weight:"normal",style:"normal",decoration:"none"};default:return null}},h=function(y,w,C,L,F){function V(){var de=parseInt(y[0].token);return y.shift(),w?y.length===0?{face:w.face,weight:w.weight,style:w.style,decoration:w.decoration,size:de}:y.length===1&&y[0].token==="box"&&c[F]?{face:w.face,weight:w.weight,style:w.style,decoration:w.decoration,size:de,box:!0}:(l("Extra parameters in font definition.",C,L),{face:w.face,weight:w.weight,style:w.style,decoration:w.decoration,size:de}):(l("Can't set just the size of the font since there is no default value.",C,L),{face:'"Times New Roman"',weight:"normal",style:"normal",decoration:"none",size:de})}if(y[0].token==="*"){if(y.shift(),y[0].type==="number")return V();l("Expected font size number after *.",C,L)}if(y[0].type==="number")return V();for(var H=[],U,Q="normal",R="normal",te="none",ee=!1,se="face",X=!1;y.length;){var ie=y.shift(),$=ie.token.toLowerCase();switch(se){case"face":X||$!=="utf"&&ie.type!=="number"&&$!=="bold"&&$!=="italic"&&$!=="underline"&&$!=="box"?H.length>0&&ie.token==="-"?(X=!0,H[H.length-1]=H[H.length-1]+ie.token):X?(X=!1,H[H.length-1]=H[H.length-1]+ie.token):H.push(ie.token):ie.type==="number"?(U?l("Font size specified twice in font definition.",C,L):U=ie.token,se="modifier"):$==="bold"?Q="bold":$==="italic"?R="italic":$==="underline"?te="underline":$==="box"?(c[F]?ee=!0:l(`This font style doesn't support "box"`,C,L),se="finished"):$==="utf"?(ie=y.shift(),se="size"):l("Unknown parameter "+ie.token+" in font definition.",C,L);break;case"size":ie.type==="number"?U?l("Font size specified twice in font definition.",C,L):U=ie.token:l("Expected font size in font definition.",C,L),se="modifier";break;case"modifier":$==="bold"?Q="bold":$==="italic"?R="italic":$==="underline"?te="underline":$==="box"?(c[F]?ee=!0:l(`This font style doesn't support "box"`,C,L),se="finished"):l("Unknown parameter "+ie.token+" in font definition.",C,L);break;case"finished":l('Extra characters found after "box" in font definition.',C,L);break}}U===void 0?w?U=w.size:(l("Must specify the size of the font since there is no default value.",C,L),U=12):U=parseFloat(U),H=H.join(" "),H===""&&(w?H=w.face:(l("Must specify the name of the font since there is no default value.",C,L),H="sans-serif"));var oe=f(H),ce={};return oe?(ce.face=oe.face,ce.weight=oe.weight,ce.style=oe.style,ce.decoration=oe.decoration,ce.size=U,ee&&(ce.box=!0),ce):(ce.face=H,ce.weight=Q,ce.style=R,ce.decoration=te,ce.size=U,ee&&(ce.box=!0),ce)},d=function(y,w,C){return w.length===0?'Directive "'+y+'" requires a font as a parameter.':(r[y]=h(w,r[y],C,0,y),r.is_in_header&&(i.formatting[y]=r[y]),null)},n=function(y,w,C){return w.length===0?'Directive "'+y+'" requires a font as a parameter.':(i.formatting[y]=h(w,i.formatting[y],C,0,y),null)},t=function(y,w){var C="";w.forEach(function(F){C+=F.token});var L=parseFloat(C);if(isNaN(L)||L===0)return'Directive "'+y+'" requires a number as a parameter.';i.formatting.scale=L},a=["acoustic-bass-drum","bass-drum-1","side-stick","acoustic-snare","hand-clap","electric-snare","low-floor-tom","closed-hi-hat","high-floor-tom","pedal-hi-hat","low-tom","open-hi-hat","low-mid-tom","hi-mid-tom","crash-cymbal-1","high-tom","ride-cymbal-1","chinese-cymbal","ride-bell","tambourine","splash-cymbal","cowbell","crash-cymbal-2","vibraslap","ride-cymbal-2","hi-bongo","low-bongo","mute-hi-conga","open-hi-conga","low-conga","high-timbale","low-timbale","high-agogo","low-agogo","cabasa","maracas","short-whistle","long-whistle","short-guiro","long-guiro","claves","hi-wood-block","low-wood-block","mute-cuica","open-cuica","mute-triangle","open-triangle"],e=function(y){var w=y.split(/\s+/);if(w.length!==2&&w.length!==3)return{error:'Expected parameters "abc-note", "drum-sound", and optionally "note-head"'};var C=w[0],L=parseInt(w[1],10);if((isNaN(L)||L<35||L>81)&&w[1]&&(L=a.indexOf(w[1].toLowerCase())+35),isNaN(L)||L<35||L>81)return{error:'Expected drum name, received "'+w[1]+'"'};var F={sound:L};return w.length===3&&(F.noteHead=w[2]),{key:C,value:F}},u=function(y,w){var C=v.getMeasurement(w);return C.used===0||w.length!==0?{error:'Directive "'+y+'" requires a measurement as a parameter.'}:C.value},g=function(y,w){var C=v.getMeasurement(w);return C.used===0||w.length!==0?'Directive "'+y+'" requires a measurement as a parameter.':(i.formatting[y]=C.value,null)},p=function(y,w,C,L,F){if(C.length!==1||C[0].type!=="number")return'Directive "'+w+'" requires a number as a parameter.';var V=C[0].intt;return L!==void 0&&V<L?'Directive "'+w+'" requires a number greater than or equal to '+L+" as a parameter.":F!==void 0&&V>F?'Directive "'+w+'" requires a number less than or equal to '+F+" as a parameter.":(r[y]=V,null)},k=function(y,w,C){if(C.length===1&&(C[0].token==="true"||C[0].token==="false"))return r[y]=C[0].token==="true",null;var L=p(y,w,C,0,1);return L!==null?L:(r[y]=r[y]===1,null)},x=function(y,w,C,L){if(C.length!==1)return'Directive "'+w+'" requires one of [ '+L.join(", ")+" ] as a parameter.";for(var F=C[0].token,V=!1,H=0;!V&&H<L.length;H++)L[H]===F&&(V=!0);return V?(r[y]=F,null):'Directive "'+w+'" requires one of [ '+L.join(", ")+" ] as a parameter."},T=["nobarlines","barlines","beataccents","nobeataccents","droneon","droneoff","drumon","drumoff","fermatafixed","fermataproportional","gchordon","gchordoff","controlcombo","temperamentnormal","noportamento"],j=["gchord","ptstress","beatstring"],O=["bassvol","chordvol","c","channel","beatmod","deltaloudness","drumbars","gracedivider","makechordchannels","randomchordattack","chordattack","stressmodel","transpose","rtranspose","vol","volinc","gchordbars"],m=["program"],E=["ratio","snt","bendvelocity","pitchbend","control","temperamentlinear"],P=["beat"],A=["drone"],N=["portamento"],D=["expand","grace","trim"],_=["drum","chordname"],S=["bassprog","chordprog"],B=function(y,w,C){var L=y.shift().token,F=[];if(T.indexOf(L)>=0)y.length!==0&&l("Unexpected parameter in MIDI "+L,C,0);else if(j.indexOf(L)>=0)y.length!==1?l("Expected one parameter in MIDI "+L,C,0):F.push(y[0].token);else if(O.indexOf(L)>=0)y.length!==1?l("Expected one parameter in MIDI "+L,C,0):y[0].type!=="number"?l("Expected one integer parameter in MIDI "+L,C,0):F.push(y[0].intt);else if(m.indexOf(L)>=0)y.length!==1&&y.length!==2?l("Expected one or two parameters in MIDI "+L,C,0):y[0].type!=="number"||y.length===2&&y[1].type!=="number"?l("Expected integer parameter in MIDI "+L,C,0):(F.push(y[0].intt),y.length===2&&F.push(y[1].intt));else if(E.indexOf(L)>=0)y.length!==2?l("Expected two parameters in MIDI "+L,C,0):y[0].type!=="number"||y[1].type!=="number"?l("Expected two integer parameters in MIDI "+L,C,0):(F.push(y[0].intt),F.push(y[1].intt));else if(N.indexOf(L)>=0)y.length!==2?l("Expected two parameters in MIDI "+L,C,0):y[0].type!=="alpha"||y[1].type!=="number"?l("Expected one string and one integer parameters in MIDI "+L,C,0):(F.push(y[0].token),F.push(y[1].intt));else if(L==="drummap")y.length===2&&y[0].type==="alpha"&&y[1].type==="number"?(w.formatting||(w.formatting={}),w.formatting.midi||(w.formatting.midi={}),w.formatting.midi.drummap||(w.formatting.midi.drummap={}),w.formatting.midi.drummap[y[0].token]=y[1].intt,F=w.formatting.midi.drummap):y.length===3&&y[0].type==="punct"&&y[1].type==="alpha"&&y[2].type==="number"?(w.formatting||(w.formatting={}),w.formatting.midi||(w.formatting.midi={}),w.formatting.midi.drummap||(w.formatting.midi.drummap={}),w.formatting.midi.drummap[y[0].token+y[1].token]=y[2].intt,F=w.formatting.midi.drummap):l("Expected one note name and one integer parameter in MIDI "+L,C,0);else if(D.indexOf(L)>=0)y.length!==3||y[0].type!=="number"||y[1].token!=="/"||y[2].type!=="number"?l("Expected fraction parameter in MIDI "+L,C,0):(F.push(y[0].intt),F.push(y[2].intt));else if(P.indexOf(L)>=0)y.length!==4?l("Expected four parameters in MIDI "+L,C,0):y[0].type!=="number"||y[1].type!=="number"||y[2].type!=="number"||y[3].type!=="number"?l("Expected four integer parameters in MIDI "+L,C,0):(F.push(y[0].intt),F.push(y[1].intt),F.push(y[2].intt),F.push(y[3].intt));else if(A.indexOf(L)>=0)y.length!==5?l("Expected five parameters in MIDI "+L,C,0):y[0].type!=="number"||y[1].type!=="number"||y[2].type!=="number"||y[3].type!=="number"||y[4].type!=="number"?l("Expected five integer parameters in MIDI "+L,C,0):(F.push(y[0].intt),F.push(y[1].intt),F.push(y[2].intt),F.push(y[3].intt),F.push(y[4].intt));else if(m.indexOf(L)>=0)y.length!==1||y.length!==4?l("Expected one or two parameters in MIDI "+L,C,0):y[0].type!=="number"?l("Expected integer parameter in MIDI "+L,C,0):y.length===4?(y[1].token!=="octave"&&l("Expected octave parameter in MIDI "+L,C,0),y[2].token!=="="&&l("Expected octave parameter in MIDI "+L,C,0),y[3].type!=="number"&&l("Expected integer parameter for octave in MIDI "+L,C,0)):(F.push(y[0].intt),y.length===4&&F.push(y[3].intt));else if(_.indexOf(L)>=0)if(y.length<2)l("Expected string parameter and at least one integer parameter in MIDI "+L,C,0);else if(y[0].type!=="alpha")l("Expected string parameter and at least one integer parameter in MIDI "+L,C,0);else{var V=y.shift();for(F.push(V.token);y.length>0;)V=y.shift(),V.type!=="number"&&l("Expected integer parameter in MIDI "+L,C,0),F.push(V.intt)}else if(S.indexOf(L)>=0){if(y.length!==1&&y.length!==2)l("Expected one or two parameters in MIDI "+L,C,0);else if(y[0].type!=="number")l("Expected integer parameter in MIDI "+L,C,0);else if(y.length===2&&y[1].type!=="alpha")l("Expected alpha parameter in MIDI "+L,C,0);else if(F.push(y[0].intt),y.length===2){var H=y[1].token;H.indexOf("octave=")!=-1?(H=H.replace("octave=",""),H=parseInt(H),isNaN(H)?l("Expected octave value in MIDI"+L):(H<-1&&(l("Expected octave= in MIDI "+L+" to be >= -1 (recv:"+H+")"),H=-1),H>3&&(l("Expected octave= in MIDI "+L+" to be <= 3 (recv:"+H+")"),H=3),F.push(H))):l("Expected octave= in MIDI"+L)}}o.hasBeginMusic()?o.appendElement("midi",-1,-1,{cmd:L,params:F}):(w.formatting.midi===void 0&&(w.formatting.midi={}),w.formatting.midi[L]=F)};b.parseFontChangeLine=function(y){y=y.replace(/\$\$/g,"");var w=y.split("$");if(w.length>1&&r.setfont){var C=[];w[0]!==""&&C.push({text:w[0]});for(var L=1;L<w.length;L++)if(w[L][0]==="0")C.push({text:w[L].substring(1).replace(/\x03/g,"$$")});else{var F=parseInt(w[L][0],10);r.setfont[F]?C.push({font:r.setfont[F],text:w[L].substring(1).replace(/\x03/g,"$$")}):C[C.length-1].text+="$"+w[L].replace(/\x03/g,"$$")}return C}return y.replace(/\x03/g,"$$")};var I=["auto","above","below","hidden"];b.addDirective=function(y){var w=v.tokenize(y,0,y.length);if(w.length===0||w[0].type!=="alpha")return null;var C=y.substring(y.indexOf(w[0].token)+w[0].token.length);C=v.stripComment(C);var L=w.shift().token.toLowerCase(),F="",V;switch(L){case"bagpipes":i.formatting.bagpipes=!0;break;case"flatbeams":i.formatting.flatbeams=!0;break;case"jazzchords":i.formatting.jazzchords=!0;break;case"accentAbove":i.formatting.accentAbove=!0;break;case"germanAlphabet":i.formatting.germanAlphabet=!0;break;case"landscape":r.landscape=!0;break;case"papersize":r.papersize=C;break;case"graceslurs":if(w.length!==1)return"Directive graceslurs requires one parameter: 0 or 1";if(w[0].token==="0"||w[0].token==="false")i.formatting.graceSlurs=!1;else if(w[0].token==="1"||w[0].token==="true")i.formatting.graceSlurs=!0;else return"Directive graceslurs requires one parameter: 0 or 1 (received "+w[0].token+")";break;case"lineThickness":var H=z(w);if(H.value!==void 0&&(i.formatting.lineThickness=H.value),H.error)return H.error;break;case"stretchlast":var U=z(w);if(U.value!==void 0&&(i.formatting.stretchlast=U.value),U.error)return U.error;break;case"titlecaps":r.titlecaps=!0;break;case"titleleft":i.formatting.titleleft=!0;break;case"measurebox":i.formatting.measurebox=!0;break;case"vocal":return x("vocalPosition",L,w,I);case"dynamic":return x("dynamicPosition",L,w,I);case"gchord":return x("chordPosition",L,w,I);case"ornament":return x("ornamentPosition",L,w,I);case"volume":return x("volumePosition",L,w,I);case"botmargin":case"botspace":case"composerspace":case"indent":case"leftmargin":case"linesep":case"musicspace":case"partsspace":case"pageheight":case"pagewidth":case"rightmargin":case"stafftopmargin":case"staffsep":case"staffwidth":case"subtitlespace":case"sysstaffsep":case"systemsep":case"textspace":case"titlespace":case"topmargin":case"topspace":case"vocalspace":case"wordsspace":return g(L,w);case"voicescale":if(w.length!==1||w[0].type!=="number")return"voicescale requires one float as a parameter";var Q=w.shift();return r.currentVoice&&(r.currentVoice.scale=Q.floatt,o.changeVoiceScale(r.currentVoice.scale)),null;case"voicecolor":if(w.length!==1)return"voicecolor requires one string as a parameter";var R=w.shift();return r.currentVoice&&(r.currentVoice.color=R.token,o.changeVoiceColor(r.currentVoice.color)),null;case"vskip":var te=Math.round(u(L,w));return te.error?te.error:(o.addSpacing(te),null);case"scale":t(L,w);break;case"sep":if(w.length===0)o.addSeparator(14,14,85,{startChar:r.iChar,endChar:r.iChar+5});else{var ee=v.getMeasurement(w);if(ee.used===0)return'Directive "'+L+'" requires 3 numbers: space above, space below, length of line';var se=ee.value;if(ee=v.getMeasurement(w),ee.used===0)return'Directive "'+L+'" requires 3 numbers: space above, space below, length of line';var X=ee.value;if(ee=v.getMeasurement(w),ee.used===0||w.length!==0)return'Directive "'+L+'" requires 3 numbers: space above, space below, length of line';var ie=ee.value;o.addSeparator(se,X,ie,{startChar:r.iChar,endChar:r.iChar+C.length})}break;case"barsperstaff":if(F=p("barsperstaff",L,w),F!==null)return F;break;case"staffnonote":if(w.length!==1)return"Directive staffnonote requires one parameter: 0 or 1";if(w[0].token==="0")r.staffnonote=!0;else if(w[0].token==="1")r.staffnonote=!1;else return"Directive staffnonote requires one parameter: 0 or 1 (received "+w[0].token+")";break;case"printtempo":if(F=k("printTempo",L,w),F!==null)return F;break;case"partsbox":if(F=k("partsBox",L,w),F!==null)return F;r.partsfont.box=r.partsBox;break;case"freegchord":if(F=k("freegchord",L,w),F!==null)return F;break;case"measurenb":case"barnumbers":if(F=p("barNumbers",L,w),F!==null)return F;break;case"setbarnb":if(w.length!==1||w[0].type!=="number")return"Directive setbarnb requires a number as a parameter.";r.currBarNumber=o.setBarNumberImmediate(w[0].intt);break;case"keywarn":if(w.length!==1||w[0].type!=="number"||w[0].intt!==1&&w[0].intt!==0)return"Directive "+L+" requires 0 or 1 as a parameter.";r[L]=w[0].intt===1;break;case"begintext":var $="";for(V=v.nextLine();V&&V.indexOf("%%endtext")!==0;){if(M.startsWith(V,"%%")){var oe=V.substring(2);oe=oe.trim()+`
|
|
1
|
+
import{y as fs}from"./index-nqhgVFEP.js";function ps(M,b){for(var v=0;v<b.length;v++){const l=b[v];if(typeof l!="string"&&!Array.isArray(l)){for(const r in l)if(r!=="default"&&!(r in M)){const i=Object.getOwnPropertyDescriptor(l,r);i&&Object.defineProperty(M,r,i.get?i:{enumerable:!0,get:()=>l[r]})}}}return Object.freeze(Object.defineProperty(M,Symbol.toStringTag,{value:"Module"}))}var Ye,Rr;function ms(){if(Rr)return Ye;Rr=1;var M="6.6.0";return Ye=M,Ye}var We,qr;function Pr(){if(qr)return We;qr=1;var M=function(v,l){var r=this;if(l||(l={}),r.qpm=l.qpm?parseInt(l.qpm,10):null,!r.qpm){var i=v.metaText?v.metaText.tempo:null;r.qpm=v.getBpm(i)}r.extraMeasuresAtBeginning=l.extraMeasuresAtBeginning?parseInt(l.extraMeasuresAtBeginning,10):0,r.beatCallback=l.beatCallback,r.eventCallback=l.eventCallback,r.lineEndCallback=l.lineEndCallback,r.lineEndAnticipation=l.lineEndAnticipation?parseInt(l.lineEndAnticipation,10):0,r.beatSubdivisions=l.beatSubdivisions?parseInt(l.beatSubdivisions,10):1,r.beatSubdivisions||(r.beatSubdivisions=1),r.joggerTimer=null,r.replaceTarget=function(s){if(r.noteTimings=s.setTiming(r.qpm,r.extraMeasuresAtBeginning),s.noteTimings.length===0&&(r.noteTimings=s.setTiming(0,0)),r.lineEndCallback&&(r.lineEndTimings=b(s.noteTimings,r.lineEndAnticipation)),r.startTime=null,r.currentBeat=0,r.currentEvent=0,r.currentLine=0,r.currentTime=0,r.isPaused=!1,r.isRunning=!1,r.pausedPercent=null,r.justUnpaused=!1,r.newSeekPercent=0,r.lastTimestamp=0,r.noteTimings.length!==0){r.millisecondsPerBeat=1e3/(r.qpm/60)/r.beatSubdivisions,r.lastMoment=r.noteTimings[r.noteTimings.length-1].milliseconds;var c=s.getMeter(),f="";if(c&&c.type==="specified"&&c.value&&c.value.length>0&&c.value[0].num.indexOf("+")>0&&(f=c.value[0].num),r.beatStarts=[],f){for(var h=r.noteTimings[r.noteTimings.length-1].millisecondsPerMeasure,d=r.lastMoment/h,n=f.split("+"),t=0;t<n.length;t++)n[t]=parseInt(n[t],10)/2;for(var a=0,e=0,u=0;u<d;u++)for(var g=u*h,p=0,k=0;k<n.length;k++){var x=n[k];if(r.beatSubdivisions===1)r.beatSubdivisions===1&&a<r.lastMoment&&r.beatStarts.push({b:e,ts:a}),a+=x*r.millisecondsPerBeat;else for(var T=x*r.beatSubdivisions,j=0;j<Math.floor(T);j++){var O=j/T,m=Math.round(g+p*r.millisecondsPerBeat);m<r.lastMoment&&r.beatStarts.push({b:e+O,ts:m}),p++}e++}r.beatStarts.push({b:d*n.length,ts:r.lastMoment}),r.totalBeats=r.beatStarts.length}else{r.totalBeats=Math.round(r.lastMoment/r.millisecondsPerBeat);for(var E=0;E<r.totalBeats+1;E++)r.beatStarts.push({b:E/r.beatSubdivisions,ts:Math.round(E*r.millisecondsPerBeat)})}}},r.replaceTarget(v),r.doTiming=function(s){if(r.lastTimestamp!==s&&(r.lastTimestamp=s,!r.isPaused&&r.isRunning)){for(r.startTime||(r.startTime=s),r.currentTime=s-r.startTime,r.currentTime+=16;r.noteTimings.length>r.currentEvent&&r.noteTimings[r.currentEvent].milliseconds<r.currentTime;){if(r.eventCallback&&r.noteTimings[r.currentEvent].type==="event"){var c=r.startTime;r.eventCallback(r.noteTimings[r.currentEvent]),c!==r.startTime&&(r.currentTime=s-r.startTime)}r.currentEvent++}if(r.lineEndCallback&&r.lineEndTimings.length>r.currentLine&&r.lineEndTimings[r.currentLine].milliseconds<r.currentTime&&r.currentEvent<r.noteTimings.length){var f=r.noteTimings[r.currentEvent].milliseconds===r.currentTime?r.noteTimings[r.currentEvent]:r.noteTimings[r.currentEvent-1];r.lineEndCallback(r.lineEndTimings[r.currentLine],f,{line:r.currentLine,endTimings:r.lineEndTimings,currentTime:r.currentTime}),r.currentLine++}if(r.currentTime<r.lastMoment){if(requestAnimationFrame(r.doTiming),r.currentBeat<r.beatStarts.length&&r.beatStarts[r.currentBeat].ts<=r.currentTime){var h=r.doBeatCallback(s);r.currentBeat++,h!==null&&(r.currentTime=h)}}else if(r.currentBeat<=r.totalBeats&&r.beatCallback){var d=r.doBeatCallback(s);r.currentBeat++,d!==null&&(r.currentTime=d),requestAnimationFrame(r.doTiming)}if(r.currentTime>=r.lastMoment)if(r.eventCallback){var n=r.eventCallback(null);r.shouldStop(n).then(function(t){t&&r.stop()})}else r.stop()}},r.shouldStop=function(s){return new Promise(function(c){if(!s)return c(!0);if(s==="continue")return c(!1);s.then&&s.then(function(f){c(f!=="continue")})})},r.doBeatCallback=function(s){if(r.beatCallback){for(var c=r.currentEvent;c<r.noteTimings.length&&r.noteTimings[c].left===null;)c++;var f,h;if(c<r.noteTimings.length){for(f=r.noteTimings[c].milliseconds,c=Math.max(0,r.currentEvent-1);c>=0&&r.noteTimings[c].left===null;)c--;h=r.noteTimings[c]}var d={},n={};if(h){d.top=h.top,d.height=h.height;var t=Math.max(0,s-r.startTime-h.milliseconds),a=f-h.milliseconds,e=h.endX-h.left,u=a?t*e/a:0;d.left=h.left+u,r.currentEvent===0&&h.milliseconds>s-r.startTime&&(d.left=void 0),n={timestamp:s,startTime:r.startTime,ev:h,endMs:f,offMs:t,offPx:u,gapMs:a,gapPx:e}}else n={timestamp:s,startTime:r.startTime};var g=r.startTime;if(r.beatCallback(r.beatStarts[r.currentBeat].b,r.totalBeats/r.beatSubdivisions,r.lastMoment,d,n),g!==r.startTime)return s-r.startTime}return null};var o=60;r.animationJogger=function(){r.isRunning&&(r.doTiming(performance.now()),r.joggerTimer=setTimeout(r.animationJogger,o))},r.start=function(s,c){if(r.isRunning=!0,r.isPaused&&(r.isPaused=!1,s===void 0&&(r.justUnpaused=!0)),s)r.setProgress(s,c);else if(s===0)r.reset();else if(r.pausedPercent!==null){var f=performance.now();r.currentTime=r.lastMoment*r.pausedPercent,r.startTime=f-r.currentTime,r.pausedPercent=null,r.reportNext=!0}requestAnimationFrame(r.doTiming),r.joggerTimer=setTimeout(r.animationJogger,o)},r.pause=function(){r.isPaused=!0;var s=performance.now();r.pausedPercent=(s-r.startTime)/r.lastMoment,r.isRunning=!1,r.joggerTimer&&(clearTimeout(r.joggerTimer),r.joggerTimer=null)},r.currentMillisecond=function(){return r.currentTime},r.reset=function(){r.currentBeat=0,r.currentEvent=0,r.currentLine=0,r.startTime=null,r.pausedPercent=null},r.stop=function(){r.pause(),r.reset()},r.setProgress=function(s,c){var f;switch(c){case"seconds":r.currentTime=s*1e3,r.currentTime<0&&(r.currentTime=0),r.currentTime>r.lastMoment&&(r.currentTime=r.lastMoment),f=r.currentTime/r.lastMoment;break;case"beats":r.currentTime=s*r.millisecondsPerBeat*r.beatSubdivisions,r.currentTime<0&&(r.currentTime=0),r.currentTime>r.lastMoment&&(r.currentTime=r.lastMoment),f=r.currentTime/r.lastMoment;break;default:f=s,f<0&&(f=0),f>1&&(f=1),r.currentTime=r.lastMoment*f;break}r.isRunning||(r.pausedPercent=f);var h=performance.now();for(r.startTime=h-r.currentTime,r.currentEvent=0;r.noteTimings.length>r.currentEvent&&r.noteTimings[r.currentEvent].milliseconds<r.currentTime;)r.currentEvent++;if(r.lineEndCallback)for(r.currentLine=0;r.lineEndTimings.length>r.currentLine&&r.lineEndTimings[r.currentLine].milliseconds+r.lineEndAnticipation<r.currentTime;)r.currentLine++;var d=r.currentBeat;for(r.currentBeat=0;r.currentBeat<r.beatStarts.length&&!(r.beatStarts[r.currentBeat].ts>r.currentTime);r.currentBeat++);r.currentBeat--,r.beatCallback&&d!==r.currentBeat&&(r.doBeatCallback(r.startTime+r.currentTime),r.currentBeat++),r.eventCallback&&r.currentEvent>=0&&r.noteTimings[r.currentEvent].type==="event"&&r.eventCallback(r.noteTimings[r.currentEvent]),r.lineEndCallback&&r.lineEndCallback(r.lineEndTimings[r.currentLine],r.noteTimings[r.currentEvent],{line:r.currentLine,endTimings:r.lineEndTimings}),r.joggerTimer=setTimeout(r.animationJogger,o)}};function b(v,l){for(var r=[],i=null,o=0;o<v.length;o++){var s=v[o];s.type!=="end"&&s.top!==i&&(r.push({measureNumber:s.measureNumber,milliseconds:s.milliseconds-l,top:s.top,bottom:s.top+s.height}),i=s.top)}return r}return We=M,We}var Re,Ur;function gs(){if(Ur)return Re;Ur=1;var M=Pr(),b={};return function(){var v,l;b.startAnimation=function(r,i,o){v&&(v.stop(),v=void 0),o.showCursor&&(l=r.querySelector(".abcjs-cursor"),l||(l=document.createElement("DIV"),l.className="abcjs-cursor cursor",l.style.position="absolute",r.appendChild(l),r.style.position="relative"));function s(a){for(var e=0;e<a.length;e++){var u=a[e];u.classList.contains("abcjs-bar")||(u.style.display="none")}}var c;function f(a){if(c){var e=r.querySelectorAll(c);s(e)}c=a}function h(a){var e=r.querySelectorAll(a);s(e)}function d(a){o.hideCurrentMeasure?h(a):o.hideFinishedMeasures&&f(a)}function n(a){return".abcjs-l"+a.line+".abcjs-m"+a.measureNumber}function t(a){if(a){if(a.measureStart){var e=n(a);e&&d(e)}l&&(l.style.left=a.left+"px",l.style.top=a.top+"px",l.style.width=a.width+"px",l.style.height=a.height+"px")}else v.stop(),v=void 0}v=new M(i,{qpm:o.bpm,eventCallback:t}),v.start()},b.pauseAnimation=function(r){v&&(r?v.pause():v.start())},b.stopAnimation=function(){v&&(v.stop(),v=void 0)}}(),Re=b,Re}var qe,Xr;function Ce(){if(Xr)return qe;Xr=1;var M={};return M.cloneArray=function(b){for(var v=[],l=0;l<b.length;l++)v.push(Object.assign({},b[l]));return v},M.cloneHashOfHash=function(b){var v={};for(var l in b)b.hasOwnProperty(l)&&(v[l]=Object.assign({},b[l]));return v},M.cloneHashOfArrayOfHash=function(b){var v={};for(var l in b)b.hasOwnProperty(l)&&(v[l]=M.cloneArray(b[l]));return v},M.strip=function(b){return b.replace(/^\s+/,"").replace(/\s+$/,"")},M.startsWith=function(b,v){return b.indexOf(v)===0},M.endsWith=function(b,v){var l=b.length-v.length;return l>=0&&b.lastIndexOf(v)===l},M.last=function(b){return b.length===0?null:b[b.length-1]},qe=M,qe}var Ue,Kr;function Br(){if(Kr)return Ue;Kr=1;var M=Ce(),b={};return function(){var v,l,r,i,o;b.initialize=function(y,w,C,L,F){v=y,l=w,r=C,i=L,o=F,s()};function s(){r.annotationfont={face:"Helvetica",size:12,weight:"normal",style:"normal",decoration:"none"},r.gchordfont={face:"Helvetica",size:12,weight:"normal",style:"normal",decoration:"none"},r.historyfont={face:'"Times New Roman"',size:16,weight:"normal",style:"normal",decoration:"none"},r.infofont={face:'"Times New Roman"',size:14,weight:"normal",style:"italic",decoration:"none"},r.measurefont={face:'"Times New Roman"',size:14,weight:"normal",style:"italic",decoration:"none"},r.partsfont={face:'"Times New Roman"',size:15,weight:"normal",style:"normal",decoration:"none"},r.repeatfont={face:'"Times New Roman"',size:13,weight:"normal",style:"normal",decoration:"none"},r.textfont={face:'"Times New Roman"',size:16,weight:"normal",style:"normal",decoration:"none"},r.tripletfont={face:"Times",size:11,weight:"normal",style:"italic",decoration:"none"},r.vocalfont={face:'"Times New Roman"',size:13,weight:"bold",style:"normal",decoration:"none"},r.wordsfont={face:'"Times New Roman"',size:16,weight:"normal",style:"normal",decoration:"none"},i.formatting.composerfont={face:'"Times New Roman"',size:14,weight:"normal",style:"italic",decoration:"none"},i.formatting.subtitlefont={face:'"Times New Roman"',size:16,weight:"normal",style:"normal",decoration:"none"},i.formatting.tempofont={face:'"Times New Roman"',size:15,weight:"bold",style:"normal",decoration:"none"},i.formatting.titlefont={face:'"Times New Roman"',size:20,weight:"normal",style:"normal",decoration:"none"},i.formatting.footerfont={face:'"Times New Roman"',size:12,weight:"normal",style:"normal",decoration:"none"},i.formatting.headerfont={face:'"Times New Roman"',size:12,weight:"normal",style:"normal",decoration:"none"},i.formatting.voicefont={face:'"Times New Roman"',size:13,weight:"bold",style:"normal",decoration:"none"},i.formatting.tablabelfont={face:'"Trebuchet MS"',size:16,weight:"normal",style:"normal",decoration:"none"},i.formatting.tabnumberfont={face:'"Arial"',size:11,weight:"normal",style:"normal",decoration:"none"},i.formatting.tabgracefont={face:'"Arial"',size:8,weight:"normal",style:"normal",decoration:"none"},i.formatting.annotationfont=r.annotationfont,i.formatting.gchordfont=r.gchordfont,i.formatting.historyfont=r.historyfont,i.formatting.infofont=r.infofont,i.formatting.measurefont=r.measurefont,i.formatting.partsfont=r.partsfont,i.formatting.repeatfont=r.repeatfont,i.formatting.textfont=r.textfont,i.formatting.tripletfont=r.tripletfont,i.formatting.vocalfont=r.vocalfont,i.formatting.wordsfont=r.wordsfont}var c={gchordfont:!0,measurefont:!0,partsfont:!0,annotationfont:!0,composerfont:!0,historyfont:!0,infofont:!0,subtitlefont:!0,textfont:!0,titlefont:!0,voicefont:!0},f=function(y){switch(y){case"Arial-Italic":return{face:"Arial",weight:"normal",style:"italic",decoration:"none"};case"Arial-Bold":return{face:"Arial",weight:"bold",style:"normal",decoration:"none"};case"Bookman-Demi":return{face:"Bookman,serif",weight:"bold",style:"normal",decoration:"none"};case"Bookman-DemiItalic":return{face:"Bookman,serif",weight:"bold",style:"italic",decoration:"none"};case"Bookman-Light":return{face:"Bookman,serif",weight:"normal",style:"normal",decoration:"none"};case"Bookman-LightItalic":return{face:"Bookman,serif",weight:"normal",style:"italic",decoration:"none"};case"Courier":return{face:'"Courier New"',weight:"normal",style:"normal",decoration:"none"};case"Courier-Oblique":return{face:'"Courier New"',weight:"normal",style:"italic",decoration:"none"};case"Courier-Bold":return{face:'"Courier New"',weight:"bold",style:"normal",decoration:"none"};case"Courier-BoldOblique":return{face:'"Courier New"',weight:"bold",style:"italic",decoration:"none"};case"AvantGarde-Book":return{face:"AvantGarde,Arial",weight:"normal",style:"normal",decoration:"none"};case"AvantGarde-BookOblique":return{face:"AvantGarde,Arial",weight:"normal",style:"italic",decoration:"none"};case"AvantGarde-Demi":case"Avant-Garde-Demi":return{face:"AvantGarde,Arial",weight:"bold",style:"normal",decoration:"none"};case"AvantGarde-DemiOblique":return{face:"AvantGarde,Arial",weight:"bold",style:"italic",decoration:"none"};case"Helvetica-Oblique":return{face:"Helvetica",weight:"normal",style:"italic",decoration:"none"};case"Helvetica-Bold":return{face:"Helvetica",weight:"bold",style:"normal",decoration:"none"};case"Helvetica-BoldOblique":return{face:"Helvetica",weight:"bold",style:"italic",decoration:"none"};case"Helvetica-Narrow":return{face:'"Helvetica Narrow",Helvetica',weight:"normal",style:"normal",decoration:"none"};case"Helvetica-Narrow-Oblique":return{face:'"Helvetica Narrow",Helvetica',weight:"normal",style:"italic",decoration:"none"};case"Helvetica-Narrow-Bold":return{face:'"Helvetica Narrow",Helvetica',weight:"bold",style:"normal",decoration:"none"};case"Helvetica-Narrow-BoldOblique":return{face:'"Helvetica Narrow",Helvetica',weight:"bold",style:"italic",decoration:"none"};case"Palatino-Roman":return{face:"Palatino",weight:"normal",style:"normal",decoration:"none"};case"Palatino-Italic":return{face:"Palatino",weight:"normal",style:"italic",decoration:"none"};case"Palatino-Bold":return{face:"Palatino",weight:"bold",style:"normal",decoration:"none"};case"Palatino-BoldItalic":return{face:"Palatino",weight:"bold",style:"italic",decoration:"none"};case"NewCenturySchlbk-Roman":return{face:'"New Century",serif',weight:"normal",style:"normal",decoration:"none"};case"NewCenturySchlbk-Italic":return{face:'"New Century",serif',weight:"normal",style:"italic",decoration:"none"};case"NewCenturySchlbk-Bold":return{face:'"New Century",serif',weight:"bold",style:"normal",decoration:"none"};case"NewCenturySchlbk-BoldItalic":return{face:'"New Century",serif',weight:"bold",style:"italic",decoration:"none"};case"Times":case"Times-Roman":case"Times-Narrow":case"Times-Courier":case"Times-New-Roman":return{face:'"Times New Roman"',weight:"normal",style:"normal",decoration:"none"};case"Times-Italic":case"Times-Italics":return{face:'"Times New Roman"',weight:"normal",style:"italic",decoration:"none"};case"Times-Bold":return{face:'"Times New Roman"',weight:"bold",style:"normal",decoration:"none"};case"Times-BoldItalic":return{face:'"Times New Roman"',weight:"bold",style:"italic",decoration:"none"};case"ZapfChancery-MediumItalic":return{face:'"Zapf Chancery",cursive,serif',weight:"normal",style:"normal",decoration:"none"};default:return null}},h=function(y,w,C,L,F){function V(){var de=parseInt(y[0].token);return y.shift(),w?y.length===0?{face:w.face,weight:w.weight,style:w.style,decoration:w.decoration,size:de}:y.length===1&&y[0].token==="box"&&c[F]?{face:w.face,weight:w.weight,style:w.style,decoration:w.decoration,size:de,box:!0}:(l("Extra parameters in font definition.",C,L),{face:w.face,weight:w.weight,style:w.style,decoration:w.decoration,size:de}):(l("Can't set just the size of the font since there is no default value.",C,L),{face:'"Times New Roman"',weight:"normal",style:"normal",decoration:"none",size:de})}if(y[0].token==="*"){if(y.shift(),y[0].type==="number")return V();l("Expected font size number after *.",C,L)}if(y[0].type==="number")return V();for(var H=[],U,Q="normal",R="normal",te="none",ee=!1,se="face",X=!1;y.length;){var ie=y.shift(),$=ie.token.toLowerCase();switch(se){case"face":X||$!=="utf"&&ie.type!=="number"&&$!=="bold"&&$!=="italic"&&$!=="underline"&&$!=="box"?H.length>0&&ie.token==="-"?(X=!0,H[H.length-1]=H[H.length-1]+ie.token):X?(X=!1,H[H.length-1]=H[H.length-1]+ie.token):H.push(ie.token):ie.type==="number"?(U?l("Font size specified twice in font definition.",C,L):U=ie.token,se="modifier"):$==="bold"?Q="bold":$==="italic"?R="italic":$==="underline"?te="underline":$==="box"?(c[F]?ee=!0:l(`This font style doesn't support "box"`,C,L),se="finished"):$==="utf"?(ie=y.shift(),se="size"):l("Unknown parameter "+ie.token+" in font definition.",C,L);break;case"size":ie.type==="number"?U?l("Font size specified twice in font definition.",C,L):U=ie.token:l("Expected font size in font definition.",C,L),se="modifier";break;case"modifier":$==="bold"?Q="bold":$==="italic"?R="italic":$==="underline"?te="underline":$==="box"?(c[F]?ee=!0:l(`This font style doesn't support "box"`,C,L),se="finished"):l("Unknown parameter "+ie.token+" in font definition.",C,L);break;case"finished":l('Extra characters found after "box" in font definition.',C,L);break}}U===void 0?w?U=w.size:(l("Must specify the size of the font since there is no default value.",C,L),U=12):U=parseFloat(U),H=H.join(" "),H===""&&(w?H=w.face:(l("Must specify the name of the font since there is no default value.",C,L),H="sans-serif"));var oe=f(H),ce={};return oe?(ce.face=oe.face,ce.weight=oe.weight,ce.style=oe.style,ce.decoration=oe.decoration,ce.size=U,ee&&(ce.box=!0),ce):(ce.face=H,ce.weight=Q,ce.style=R,ce.decoration=te,ce.size=U,ee&&(ce.box=!0),ce)},d=function(y,w,C){return w.length===0?'Directive "'+y+'" requires a font as a parameter.':(r[y]=h(w,r[y],C,0,y),r.is_in_header&&(i.formatting[y]=r[y]),null)},n=function(y,w,C){return w.length===0?'Directive "'+y+'" requires a font as a parameter.':(i.formatting[y]=h(w,i.formatting[y],C,0,y),null)},t=function(y,w){var C="";w.forEach(function(F){C+=F.token});var L=parseFloat(C);if(isNaN(L)||L===0)return'Directive "'+y+'" requires a number as a parameter.';i.formatting.scale=L},a=["acoustic-bass-drum","bass-drum-1","side-stick","acoustic-snare","hand-clap","electric-snare","low-floor-tom","closed-hi-hat","high-floor-tom","pedal-hi-hat","low-tom","open-hi-hat","low-mid-tom","hi-mid-tom","crash-cymbal-1","high-tom","ride-cymbal-1","chinese-cymbal","ride-bell","tambourine","splash-cymbal","cowbell","crash-cymbal-2","vibraslap","ride-cymbal-2","hi-bongo","low-bongo","mute-hi-conga","open-hi-conga","low-conga","high-timbale","low-timbale","high-agogo","low-agogo","cabasa","maracas","short-whistle","long-whistle","short-guiro","long-guiro","claves","hi-wood-block","low-wood-block","mute-cuica","open-cuica","mute-triangle","open-triangle"],e=function(y){var w=y.split(/\s+/);if(w.length!==2&&w.length!==3)return{error:'Expected parameters "abc-note", "drum-sound", and optionally "note-head"'};var C=w[0],L=parseInt(w[1],10);if((isNaN(L)||L<35||L>81)&&w[1]&&(L=a.indexOf(w[1].toLowerCase())+35),isNaN(L)||L<35||L>81)return{error:'Expected drum name, received "'+w[1]+'"'};var F={sound:L};return w.length===3&&(F.noteHead=w[2]),{key:C,value:F}},u=function(y,w){var C=v.getMeasurement(w);return C.used===0||w.length!==0?{error:'Directive "'+y+'" requires a measurement as a parameter.'}:C.value},g=function(y,w){var C=v.getMeasurement(w);return C.used===0||w.length!==0?'Directive "'+y+'" requires a measurement as a parameter.':(i.formatting[y]=C.value,null)},p=function(y,w,C,L,F){if(C.length!==1||C[0].type!=="number")return'Directive "'+w+'" requires a number as a parameter.';var V=C[0].intt;return L!==void 0&&V<L?'Directive "'+w+'" requires a number greater than or equal to '+L+" as a parameter.":F!==void 0&&V>F?'Directive "'+w+'" requires a number less than or equal to '+F+" as a parameter.":(r[y]=V,null)},k=function(y,w,C){if(C.length===1&&(C[0].token==="true"||C[0].token==="false"))return r[y]=C[0].token==="true",null;var L=p(y,w,C,0,1);return L!==null?L:(r[y]=r[y]===1,null)},x=function(y,w,C,L){if(C.length!==1)return'Directive "'+w+'" requires one of [ '+L.join(", ")+" ] as a parameter.";for(var F=C[0].token,V=!1,H=0;!V&&H<L.length;H++)L[H]===F&&(V=!0);return V?(r[y]=F,null):'Directive "'+w+'" requires one of [ '+L.join(", ")+" ] as a parameter."},T=["nobarlines","barlines","beataccents","nobeataccents","droneon","droneoff","drumon","drumoff","fermatafixed","fermataproportional","gchordon","gchordoff","controlcombo","temperamentnormal","noportamento"],j=["gchord","ptstress","beatstring"],O=["bassvol","chordvol","c","channel","beatmod","deltaloudness","drumbars","gracedivider","makechordchannels","randomchordattack","chordattack","stressmodel","transpose","rtranspose","vol","volinc","gchordbars"],m=["program"],E=["ratio","snt","bendvelocity","pitchbend","control","temperamentlinear"],P=["beat"],A=["drone"],N=["portamento"],D=["expand","grace","trim"],_=["drum","chordname"],S=["bassprog","chordprog"],B=function(y,w,C){var L=y.shift().token,F=[];if(T.indexOf(L)>=0)y.length!==0&&l("Unexpected parameter in MIDI "+L,C,0);else if(j.indexOf(L)>=0)y.length!==1?l("Expected one parameter in MIDI "+L,C,0):F.push(y[0].token);else if(O.indexOf(L)>=0)y.length!==1?l("Expected one parameter in MIDI "+L,C,0):y[0].type!=="number"?l("Expected one integer parameter in MIDI "+L,C,0):F.push(y[0].intt);else if(m.indexOf(L)>=0)y.length!==1&&y.length!==2?l("Expected one or two parameters in MIDI "+L,C,0):y[0].type!=="number"||y.length===2&&y[1].type!=="number"?l("Expected integer parameter in MIDI "+L,C,0):(F.push(y[0].intt),y.length===2&&F.push(y[1].intt));else if(E.indexOf(L)>=0)y.length!==2?l("Expected two parameters in MIDI "+L,C,0):y[0].type!=="number"||y[1].type!=="number"?l("Expected two integer parameters in MIDI "+L,C,0):(F.push(y[0].intt),F.push(y[1].intt));else if(N.indexOf(L)>=0)y.length!==2?l("Expected two parameters in MIDI "+L,C,0):y[0].type!=="alpha"||y[1].type!=="number"?l("Expected one string and one integer parameters in MIDI "+L,C,0):(F.push(y[0].token),F.push(y[1].intt));else if(L==="drummap")y.length===2&&y[0].type==="alpha"&&y[1].type==="number"?(w.formatting||(w.formatting={}),w.formatting.midi||(w.formatting.midi={}),w.formatting.midi.drummap||(w.formatting.midi.drummap={}),w.formatting.midi.drummap[y[0].token]=y[1].intt,F=w.formatting.midi.drummap):y.length===3&&y[0].type==="punct"&&y[1].type==="alpha"&&y[2].type==="number"?(w.formatting||(w.formatting={}),w.formatting.midi||(w.formatting.midi={}),w.formatting.midi.drummap||(w.formatting.midi.drummap={}),w.formatting.midi.drummap[y[0].token+y[1].token]=y[2].intt,F=w.formatting.midi.drummap):l("Expected one note name and one integer parameter in MIDI "+L,C,0);else if(D.indexOf(L)>=0)y.length!==3||y[0].type!=="number"||y[1].token!=="/"||y[2].type!=="number"?l("Expected fraction parameter in MIDI "+L,C,0):(F.push(y[0].intt),F.push(y[2].intt));else if(P.indexOf(L)>=0)y.length!==4?l("Expected four parameters in MIDI "+L,C,0):y[0].type!=="number"||y[1].type!=="number"||y[2].type!=="number"||y[3].type!=="number"?l("Expected four integer parameters in MIDI "+L,C,0):(F.push(y[0].intt),F.push(y[1].intt),F.push(y[2].intt),F.push(y[3].intt));else if(A.indexOf(L)>=0)y.length!==5?l("Expected five parameters in MIDI "+L,C,0):y[0].type!=="number"||y[1].type!=="number"||y[2].type!=="number"||y[3].type!=="number"||y[4].type!=="number"?l("Expected five integer parameters in MIDI "+L,C,0):(F.push(y[0].intt),F.push(y[1].intt),F.push(y[2].intt),F.push(y[3].intt),F.push(y[4].intt));else if(m.indexOf(L)>=0)y.length!==1||y.length!==4?l("Expected one or two parameters in MIDI "+L,C,0):y[0].type!=="number"?l("Expected integer parameter in MIDI "+L,C,0):y.length===4?(y[1].token!=="octave"&&l("Expected octave parameter in MIDI "+L,C,0),y[2].token!=="="&&l("Expected octave parameter in MIDI "+L,C,0),y[3].type!=="number"&&l("Expected integer parameter for octave in MIDI "+L,C,0)):(F.push(y[0].intt),y.length===4&&F.push(y[3].intt));else if(_.indexOf(L)>=0)if(y.length<2)l("Expected string parameter and at least one integer parameter in MIDI "+L,C,0);else if(y[0].type!=="alpha")l("Expected string parameter and at least one integer parameter in MIDI "+L,C,0);else{var V=y.shift();for(F.push(V.token);y.length>0;)V=y.shift(),V.type!=="number"&&l("Expected integer parameter in MIDI "+L,C,0),F.push(V.intt)}else if(S.indexOf(L)>=0){if(y.length!==1&&y.length!==2)l("Expected one or two parameters in MIDI "+L,C,0);else if(y[0].type!=="number")l("Expected integer parameter in MIDI "+L,C,0);else if(y.length===2&&y[1].type!=="alpha")l("Expected alpha parameter in MIDI "+L,C,0);else if(F.push(y[0].intt),y.length===2){var H=y[1].token;H.indexOf("octave=")!=-1?(H=H.replace("octave=",""),H=parseInt(H),isNaN(H)?l("Expected octave value in MIDI"+L):(H<-1&&(l("Expected octave= in MIDI "+L+" to be >= -1 (recv:"+H+")"),H=-1),H>3&&(l("Expected octave= in MIDI "+L+" to be <= 3 (recv:"+H+")"),H=3),F.push(H))):l("Expected octave= in MIDI"+L)}}o.hasBeginMusic()?o.appendElement("midi",-1,-1,{cmd:L,params:F}):(w.formatting.midi===void 0&&(w.formatting.midi={}),w.formatting.midi[L]=F)};b.parseFontChangeLine=function(y){y=y.replace(/\$\$/g,"");var w=y.split("$");if(w.length>1&&r.setfont){var C=[];w[0]!==""&&C.push({text:w[0]});for(var L=1;L<w.length;L++)if(w[L][0]==="0")C.push({text:w[L].substring(1).replace(/\x03/g,"$$")});else{var F=parseInt(w[L][0],10);r.setfont[F]?C.push({font:r.setfont[F],text:w[L].substring(1).replace(/\x03/g,"$$")}):C[C.length-1].text+="$"+w[L].replace(/\x03/g,"$$")}return C}return y.replace(/\x03/g,"$$")};var I=["auto","above","below","hidden"];b.addDirective=function(y){var w=v.tokenize(y,0,y.length);if(w.length===0||w[0].type!=="alpha")return null;var C=y.substring(y.indexOf(w[0].token)+w[0].token.length);C=v.stripComment(C);var L=w.shift().token.toLowerCase(),F="",V;switch(L){case"bagpipes":i.formatting.bagpipes=!0;break;case"flatbeams":i.formatting.flatbeams=!0;break;case"jazzchords":i.formatting.jazzchords=!0;break;case"accentAbove":i.formatting.accentAbove=!0;break;case"germanAlphabet":i.formatting.germanAlphabet=!0;break;case"landscape":r.landscape=!0;break;case"papersize":r.papersize=C;break;case"graceslurs":if(w.length!==1)return"Directive graceslurs requires one parameter: 0 or 1";if(w[0].token==="0"||w[0].token==="false")i.formatting.graceSlurs=!1;else if(w[0].token==="1"||w[0].token==="true")i.formatting.graceSlurs=!0;else return"Directive graceslurs requires one parameter: 0 or 1 (received "+w[0].token+")";break;case"lineThickness":var H=z(w);if(H.value!==void 0&&(i.formatting.lineThickness=H.value),H.error)return H.error;break;case"stretchlast":var U=z(w);if(U.value!==void 0&&(i.formatting.stretchlast=U.value),U.error)return U.error;break;case"titlecaps":r.titlecaps=!0;break;case"titleleft":i.formatting.titleleft=!0;break;case"measurebox":i.formatting.measurebox=!0;break;case"vocal":return x("vocalPosition",L,w,I);case"dynamic":return x("dynamicPosition",L,w,I);case"gchord":return x("chordPosition",L,w,I);case"ornament":return x("ornamentPosition",L,w,I);case"volume":return x("volumePosition",L,w,I);case"botmargin":case"botspace":case"composerspace":case"indent":case"leftmargin":case"linesep":case"musicspace":case"partsspace":case"pageheight":case"pagewidth":case"rightmargin":case"stafftopmargin":case"staffsep":case"staffwidth":case"subtitlespace":case"sysstaffsep":case"systemsep":case"textspace":case"titlespace":case"topmargin":case"topspace":case"vocalspace":case"wordsspace":return g(L,w);case"voicescale":if(w.length!==1||w[0].type!=="number")return"voicescale requires one float as a parameter";var Q=w.shift();return r.currentVoice&&(r.currentVoice.scale=Q.floatt,o.changeVoiceScale(r.currentVoice.scale)),null;case"voicecolor":if(w.length!==1)return"voicecolor requires one string as a parameter";var R=w.shift();return r.currentVoice&&(r.currentVoice.color=R.token,o.changeVoiceColor(r.currentVoice.color)),null;case"vskip":var te=Math.round(u(L,w));return te.error?te.error:(o.addSpacing(te),null);case"scale":t(L,w);break;case"sep":if(w.length===0)o.addSeparator(14,14,85,{startChar:r.iChar,endChar:r.iChar+5});else{var ee=v.getMeasurement(w);if(ee.used===0)return'Directive "'+L+'" requires 3 numbers: space above, space below, length of line';var se=ee.value;if(ee=v.getMeasurement(w),ee.used===0)return'Directive "'+L+'" requires 3 numbers: space above, space below, length of line';var X=ee.value;if(ee=v.getMeasurement(w),ee.used===0||w.length!==0)return'Directive "'+L+'" requires 3 numbers: space above, space below, length of line';var ie=ee.value;o.addSeparator(se,X,ie,{startChar:r.iChar,endChar:r.iChar+C.length})}break;case"barsperstaff":if(F=p("barsperstaff",L,w),F!==null)return F;break;case"staffnonote":if(w.length!==1)return"Directive staffnonote requires one parameter: 0 or 1";if(w[0].token==="0")r.staffnonote=!0;else if(w[0].token==="1")r.staffnonote=!1;else return"Directive staffnonote requires one parameter: 0 or 1 (received "+w[0].token+")";break;case"printtempo":if(F=k("printTempo",L,w),F!==null)return F;break;case"partsbox":if(F=k("partsBox",L,w),F!==null)return F;r.partsfont.box=r.partsBox;break;case"freegchord":if(F=k("freegchord",L,w),F!==null)return F;break;case"measurenb":case"barnumbers":if(F=p("barNumbers",L,w),F!==null)return F;break;case"setbarnb":if(w.length!==1||w[0].type!=="number")return"Directive setbarnb requires a number as a parameter.";r.currBarNumber=o.setBarNumberImmediate(w[0].intt);break;case"keywarn":if(w.length!==1||w[0].type!=="number"||w[0].intt!==1&&w[0].intt!==0)return"Directive "+L+" requires 0 or 1 as a parameter.";r[L]=w[0].intt===1;break;case"begintext":var $="";for(V=v.nextLine();V&&V.indexOf("%%endtext")!==0;){if(M.startsWith(V,"%%")){var oe=V.substring(2);oe=oe.trim()+`
|
|
2
2
|
`,$+=oe}else $+=V.trim()+`
|
|
3
3
|
`;V=v.nextLine()}o.addText($,{startChar:r.iChar,endChar:r.iChar+$.length+7});break;case"continueall":r.continueall=!0;break;case"beginps":for(V=v.nextLine();V&&V.indexOf("%%endps")!==0;)v.nextLine();l("Postscript ignored",y,0);break;case"deco":C.length>0&&r.ignoredDecorations.push(C.substring(0,C.indexOf(" "))),l("Decoration redefinition ignored",y,0);break;case"text":var ce=v.translateString(C);o.addText(b.parseFontChangeLine(ce),{startChar:r.iChar,endChar:r.iChar+C.length+7});break;case"center":var de=v.translateString(C);o.addCentered(b.parseFontChangeLine(de));break;case"font":break;case"setfont":var he=v.tokenize(C,0,C.length);if(he.length>=4&&he[0].token==="-"&&he[1].type==="number"){var ve=parseInt(he[1].token);ve>=1&&ve<=9&&(r.setfont||(r.setfont=[]),he.shift(),he.shift(),r.setfont[ve]=h(he,r.setfont[ve],y,0,"setfont"))}break;case"gchordfont":case"partsfont":case"tripletfont":case"vocalfont":case"textfont":case"annotationfont":case"historyfont":case"infofont":case"measurefont":case"repeatfont":case"wordsfont":return d(L,w,y);case"composerfont":case"subtitlefont":case"tempofont":case"titlefont":case"voicefont":case"footerfont":case"headerfont":return n(L,w,y);case"barlabelfont":case"barnumberfont":case"barnumfont":return d("measurefont",w,y);case"staves":case"score":r.score_is_present=!0;for(var ge=function(ze,us,Yr,Wr,ds){(us||r.staves.length===0)&&r.staves.push({index:r.staves.length,numVoices:0});var Pe=M.last(r.staves);Yr!==void 0&&Pe.bracket===void 0&&(Pe.bracket=Yr),Wr!==void 0&&Pe.brace===void 0&&(Pe.brace=Wr),ds&&(Pe.connectBarLines="end"),r.voices[ze]===void 0&&(r.voices[ze]={staffNum:Pe.index,index:Pe.numVoices},Pe.numVoices++)},ye=!1,Y=!1,q=!1,G=!1,W=!1,K=!1,J=!1,re,le=function(){if(J=!0,re){var ze="start";re.staffNum>0&&(r.staves[re.staffNum-1].connectBarLines==="start"||r.staves[re.staffNum-1].connectBarLines==="continue")&&(ze="continue"),r.staves[re.staffNum].connectBarLines=ze}};w.length;){var Z=w.shift();switch(Z.token){case"(":ye?l("Can't nest parenthesis in %%score",y,Z.start):(ye=!0,G=!0);break;case")":!ye||G?l("Unexpected close parenthesis in %%score",y,Z.start):ye=!1;break;case"[":Y?l("Can't nest brackets in %%score",y,Z.start):(Y=!0,W=!0);break;case"]":!Y||W?l("Unexpected close bracket in %%score",y,Z.start):(Y=!1,r.staves[re.staffNum].bracket="end");break;case"{":q?l("Can't nest braces in %%score",y,Z.start):(q=!0,K=!0);break;case"}":!q||K?l("Unexpected close brace in %%score",y,Z.start):(q=!1,r.staves[re.staffNum].brace="end");break;case"|":le();break;default:for(var ae="";(Z.type==="alpha"||Z.type==="number")&&(ae+=Z.token,Z.continueId);)Z=w.shift();var pe=!ye||G,me=W?"start":Y?"continue":void 0,ne=K?"start":q?"continue":void 0;ge(ae,pe,me,ne,J),G=!1,W=!1,K=!1,J=!1,re=r.voices[ae],L==="staves"&&le();break}}break;case"maxstaves":var fe=v.getInt(C);fe.digits===0?l("Expected number of staves in maxstaves"):fe.value>0&&(i.formatting.maxStaves=fe.value);break;case"newpage":var be=v.getInt(C);o.addNewPage(be.digits===0?-1:be.value);break;case"abc":var ue=C.split(" ");switch(ue[0]){case"-copyright":case"-creator":case"-edited-by":case"-version":case"-charset":var _e=ue.shift();o.addMetaText(L+_e,ue.join(" "),{startChar:r.iChar,endChar:r.iChar+C.length+5});break;default:return"Unknown directive: "+L+ue[0]}break;case"header":case"footer":var xe=v.getMeat(C,0,C.length);xe=C.substring(xe.start,xe.end),xe[0]==='"'&&xe[xe.length-1]==='"'&&(xe=xe.substring(1,xe.length-1));var ke=xe.split(" "),Oe={};ke.length===1?Oe={left:"",center:ke[0],right:""}:ke.length===2?Oe={left:ke[0],center:ke[1],right:""}:Oe={left:ke[0],center:ke[1],right:ke[2]},ke.length>3&&l("Too many tabs in "+L+": "+ke.length+" found.",C,0),o.addMetaTextObj(L,Oe,{startChar:r.iChar,endChar:r.iChar+y.length});break;case"midi":var Ee=v.tokenize(C,0,C.length,!0);Ee.length>0&&Ee[0].token==="="&&Ee.shift(),Ee.length===0?l("Expected midi command",C,0):B(Ee,i,C);break;case"percmap":var Ae=e(C);Ae.error?l(Ae.error,y,8):(i.formatting.percmap||(i.formatting.percmap={}),i.formatting.percmap[Ae.key]=Ae.value);break;case"visualtranspose":var De=v.getInt(C);De.digits===0?l("Expected number of half steps in visualTranspose"):r.globalTranspose=De.value;break;case"map":case"playtempo":case"auquality":case"continuous":case"nobarcheck":i.formatting[L]=C;break;default:return"Unknown directive: "+L}return null},b.globalFormatting=function(y){for(var w in y)if(y.hasOwnProperty(w)){var C=""+y[w],L=v.tokenize(C,0,C.length),F;switch(w){case"titlefont":case"gchordfont":case"composerfont":case"footerfont":case"headerfont":case"historyfont":case"infofont":case"measurefont":case"partsfont":case"repeatfont":case"subtitlefont":case"tempofont":case"textfont":case"voicefont":case"tripletfont":case"vocalfont":case"wordsfont":case"annotationfont":case"tablabelfont":case"tabnumberfont":case"tabgracefont":d(w,L,C);break;case"scale":t(w,L);break;case"partsbox":F=k("partsBox",w,L),F!==null&&l(F),r.partsfont.box=r.partsBox;break;case"freegchord":F=k("freegchord",w,L),F!==null&&l(F);break;case"fontboxpadding":(L.length!==1||L[0].type!=="number")&&l('Directive "'+w+'" requires a number as a parameter.'),i.formatting.fontboxpadding=L[0].floatt;break;case"stafftopmargin":(L.length!==1||L[0].type!=="number")&&l('Directive "'+w+'" requires a number as a parameter.'),i.formatting.stafftopmargin=L[0].floatt;break;case"stretchlast":var V=z(L);if(V.value!==void 0&&(i.formatting.stretchlast=V.value),V.error)return V.error;break;default:l("Formatting directive unrecognized: ",w,0)}}};function z(y){if(y.length===0)return{value:1};if(y.length===1)if(y[0].type==="number"){if(y[0].floatt>=0||y[0].floatt<=1)return{value:y[0].floatt}}else{if(y[0].token==="false")return{value:0};if(y[0].token==="true")return{value:1}}return{error:"Directive stretchlast requires zero or one parameter: false, true, or number between 0 and 1 (received "+y[0].token+")"}}}(),Ue=b,Ue}var Xe,$r;function vs(){if($r)return Xe;$r=1;var M={};const b=["C,,,","D,,,","E,,,","F,,,","G,,,","A,,,","B,,,","C,,","D,,","E,,","F,,","G,,","A,,","B,,","C,","D,","E,","F,","G,","A,","B,","C","D","E","F","G","A","B","c","d","e","f","g","a","b","c'","d'","e'","f'","g'","a'","b'","c''","d''","e''","f''","g''","a''","b''","c'''","d'''","e'''","f'''","g'''","a'''","b'''"];return M.pitchIndex=function(v){return b.indexOf(v)},M.noteName=function(v){return b[v]},Xe=M,Xe}var Ke,Qr;function Li(){if(Qr)return Ke;Qr=1;var M=["C","C♯","D","D♯","E","F","F♯","G","G♯","A","A♯","B"],b=["C","D♭","D","E♭","E","F","G♭","G","A♭","A","B♭","B"],v=["C","C#","D","D#","E","F","F#","G","G#","A","A#","B"],l=["C","Db","D","Eb","E","F","Gb","G","Ab","A","Bb","B"];function r(i,o,s,c){if(!o||o%12===0)return i;for(;o<0;)o+=12;o>11&&(o=o%12);var f=i.match(/^([A-G][b#♭♯]?)([^\/]+)?\/?([A-G][b#♭♯]?)?(.+)?/);if(!f)return i;var h=f[1],d=f[2],n=f[3],t=f[4],a=M.indexOf(h);if(a<0&&(a=b.indexOf(h)),a<0&&(a=v.indexOf(h)),a<0&&(a=l.indexOf(h)),a<0)return i;a+=o,a=a%12,s?c?i=l[a]:i=b[a]:c?i=v[a]:i=M[a];var e=d&&(d.indexOf("dim")>=0||d.indexOf("°")>=0);if(e&&i==="A#"&&(i="Bb"),e&&i==="D#"&&(i="Eb"),e&&i==="A♯"&&(i="B♭"),e&&i==="D♯"&&(i="E♭"),d&&(i+=d),n){var a=M.indexOf(n);a<0&&(a=b.indexOf(n)),a<0&&(a=v.indexOf(n)),a<0&&(a=l.indexOf(n)),i+="/",a>=0?(a+=o,a=a%12,s?c?i+=l[a]:i+=b[a]:c?i+=v[a]:i+=M[a]):i+=n}return t&&(i+=t),i}return Ke=r,Ke}var $e,Jr;function ji(){if(Jr)return $e;Jr=1;var M={C:{modes:["CMaj","CIon","Amin","AAeo","Am","GMix","DDor","EPhr","FLyd","BLoc"],stepsFromC:0},Db:{modes:["DbMaj","DbIon","Bbmin","BbAeo","Bbm","AbMix","EbDor","FPhr","GbLyd","CLoc"],stepsFromC:1},D:{modes:["DMaj","DIon","Bmin","BAeo","Bm","AMix","EDor","F#Phr","GLyd","C#Loc"],stepsFromC:2},Eb:{modes:["EbMaj","EbIon","Cmin","CAeo","Cm","BbMix","FDor","GPhr","AbLyd","DLoc"],stepsFromC:3},E:{modes:["EMaj","EIon","C#min","C#Aeo","C#m","BMix","F#Dor","G#Phr","ALyd","D#Loc"],stepsFromC:4},F:{modes:["FMaj","FIon","Dmin","DAeo","Dm","CMix","GDor","APhr","BbLyd","ELoc"],stepsFromC:5},Gb:{modes:["GbMaj","GbIon","Ebmin","EbAeo","Ebm","DbMix","AbDor","BbPhr","CbLyd","FLoc"],stepsFromC:6},G:{modes:["GMaj","GIon","Emin","EAeo","Em","DMix","ADor","BPhr","CLyd","F#Loc"],stepsFromC:7},Ab:{modes:["AbMaj","AbIon","Fmin","FAeo","Fm","EbMix","BbDor","CPhr","DbLyd","GLoc"],stepsFromC:8},A:{modes:["AMaj","AIon","F#min","F#Aeo","F#m","EMix","BDor","C#Phr","DLyd","G#Loc"],stepsFromC:9},Bb:{modes:["BbMaj","BbIon","Gmin","GAeo","Gm","FMix","CDor","DPhr","EbLyd","ALoc"],stepsFromC:10},B:{modes:["BMaj","BIon","G#min","G#Aeo","G#m","F#Mix","C#Dor","D#Phr","ELyd","A#Loc"],stepsFromC:11},"C#":{modes:["C#Maj","C#Ion","A#min","A#Aeo","A#m","G#Mix","D#Dor","E#Phr","F#Lyd","B#Loc"],stepsFromC:1},"F#":{modes:["F#Maj","F#Ion","D#min","D#Aeo","D#m","C#Mix","G#Dor","A#Phr","BLyd","E#Loc"],stepsFromC:6},Cb:{modes:["CbMaj","CbIon","Abmin","AbAeo","Abm","GbMix","DbDor","EbPhr","FbLyd","BbLoc"],stepsFromC:11}},b=["maj","ion","min","aeo","m","mix","dor","phr","lyd","loc"];function v(c){return b.indexOf(c.toLowerCase())>=0}var l=null;function r(){l={};for(var c=Object.keys(M),f=0;f<c.length;f++){var h=M[c[f]];l[c[f].toLowerCase()]=c[f];for(var d=0;d<h.modes.length;d++){var n=h.modes[d].toLowerCase();l[n]=c[f]}}}function i(c){l||r();var f=c.toLowerCase().match(/([a-g][b#]?)(maj|ion|min|aeo|mix|dor|phr|lyd|loc|m)?/);if(!f||!f[2])return c;f=f[1]+f[2];var h=l[f];return h||c}function o(c,f){var h=M[c];if(!h||f==="")return c;var d=f.toLowerCase().match(/^(maj|ion|min|aeo|mix|dor|phr|lyd|loc|m)/);if(!d)return c;for(var n=d[1],t=0;t<h.modes.length;t++){var a=h.modes[t],e=a.toLowerCase().indexOf(n);if(e!==-1&&e===a.length-n.length)return a.substring(0,a.length-n.length)}return c}function s(c,f){var h=M[c];if(!h)return c;for(;f<0;)f+=12;for(var d=(h.stepsFromC+f)%12,n=0;n<Object.keys(M).length;n++){var t=Object.keys(M)[n];if(M[t].stepsFromC===d)return t}return c}return $e={relativeMajor:i,relativeMode:o,transposeKey:s,isLegalMode:v},$e}var Qe,Zr;function Ii(){if(Zr)return Qe;Zr=1;var{relativeMajor:M}=ji(),b={acc:"sharp",note:"f"},v={acc:"sharp",note:"c"},l={acc:"sharp",note:"g"},r={acc:"sharp",note:"d"},i={acc:"sharp",note:"A"},o={acc:"sharp",note:"e"},s={acc:"sharp",note:"B"},c={acc:"flat",note:"B"},f={acc:"flat",note:"e"},h={acc:"flat",note:"A"},d={acc:"flat",note:"d"},n={acc:"flat",note:"G"},t={acc:"flat",note:"c"},a={acc:"flat",note:"F"},e={"C#":[b,v,l,r,i,o,s],"F#":[b,v,l,r,i,o],B:[b,v,l,r,i],E:[b,v,l,r],A:[b,v,l],D:[b,v],G:[b],C:[],F:[c],Bb:[c,f],Eb:[c,f,h],Cm:[c,f,h],Ab:[c,f,h,d],Db:[c,f,h,d,n],Gb:[c,f,h,d,n,t],Cb:[c,f,h,d,n,t,a],"A#":[c,f],"B#":[],"D#":[c,f,h],"E#":[c],"G#":[c,f,h,d],none:[]};function u(g){var p=e[M(g)];return p?JSON.parse(JSON.stringify(p)):null}return Qe=u,Qe}var Je,en;function Di(){if(en)return Je;en=1;var M=vs(),b=Li(),v=Ii(),l={},r={C:0,"C#":1,Db:1,D:2,"D#":3,Eb:3,E:4,F:5,"F#":6,Gb:6,G:7,"G#":8,Ab:8,A:9,"A#":10,Bb:10,B:11},i=["C","Db","D","Eb","E","F","F#","G","Ab","A","Bb","B"],o=["C","C#","D","D#","E","F","F#","G","G#","A","Bb","B"];l.keySignature=function(n,t,a,e,u){if(n.clef.type==="perc"||n.clef.type==="none")return{accidentals:v(t),root:a,acc:e};u||(u=0),n.localTransposeVerticalMovement=0,n.localTransposePreferFlats=!1;var g=v(t);if(!g)return n.key;if(n.localTranspose=(n.globalTranspose?n.globalTranspose:0)+u,!n.localTranspose)return{accidentals:g,root:a,acc:e};if(n.globalTransposeOrigKeySig=g,n.localTranspose%12===0)return n.localTransposeVerticalMovement=n.localTranspose/12*7,{accidentals:g,root:a,acc:e};var p=t[0];t[1]==="b"||t[1]==="#"?(p+=t[1],t=t.substr(2)):t=t.substr(1);var k=r[p],x=k!==void 0;x||(k=0,p="C",t="");for(var T=k+n.localTranspose;T<0;)T+=12;T>11&&(T=T%12);var j=t[0]==="m"?o[T]:i[T],O=j+t,m=v(O);(m.length===0||m[0].acc==="flat")&&(n.localTransposePreferFlats=!0);var E=O.charCodeAt(0)-p.charCodeAt(0);return n.localTranspose>0?(E<0||E===0&&(p[1]==="#"||O[1]==="b"))&&(E+=7):n.localTranspose<0&&(E>0||E===0&&(p[1]==="b"||O[1]==="#"))&&(E-=7),n.localTranspose>0?n.localTransposeVerticalMovement=E+Math.floor(n.localTranspose/12)*7:n.localTransposeVerticalMovement=E+Math.ceil(n.localTranspose/12)*7,x?{accidentals:m,root:j[0],acc:j.length>1?j[1]:""}:{accidentals:[],root:a,acc:e}},l.chordName=function(n,t){return b(t,n.localTranspose,n.localTransposePreferFlats,n.freegchord)};var s=["c","d","e","f","g","a","b"];function c(n,t,a,e,u){for(var g=s[(n+49)%7],p=0,k=0;k<e.length;k++)e[k].note.toLowerCase()===g&&(p=f[e[k].acc]);for(var x=f[a],T=x-p,j=s[(t+49)%7],O=0,m=0;m<u.accidentals.length;m++)u.accidentals[m].note.toLowerCase()===j&&(O=f[u.accidentals[m].acc]);var E=T+O;return E<-2&&(t--,E+=j==="c"||j==="f"?1:2),E>2&&(t++,E-=j==="b"||j==="e"?1:2),[t,E]}var f={dblflat:-2,flat:-1,natural:0,sharp:1,dblsharp:2},h={"-2":"dblflat","-1":"flat",0:"natural",1:"sharp",2:"dblsharp"},d={"-2":"__","-1":"_",0:"=",1:"^",2:"^^"};return l.note=function(n,t){if(!(!n.localTranspose||n.clef.type==="perc")){var a=t.pitch;if(n.localTransposeVerticalMovement&&(t.pitch=t.pitch+n.localTransposeVerticalMovement,t.name)){var e=t.accidental?t.name.substring(1):t.name,u=t.accidental?t.name[0]:"",g=M.pitchIndex(e);t.name=u+M.noteName(g+n.localTransposeVerticalMovement)}if(t.accidental){var p=c(a,t.pitch,t.accidental,n.globalTransposeOrigKeySig,n.targetKey);t.pitch=p[0],t.accidental=h[p[1]],t.name&&(t.name=d[p[1]]+t.name.replace(/[_^=]/g,""))}}},Je=l,Je}var Ze,tn;function Nr(){if(tn)return Ze;tn=1;var M=Br(),b=Di(),v={};return function(){var l,r,i,o;v.initialize=function(t,a,e,u,g){l=t,r=a,i=e,o=g},v.standardKey=function(t,a,e,u){return b.keySignature(i,t,a,e,u)};var s={treble:{clef:"treble",pitch:4,mid:0},"treble+8":{clef:"treble+8",pitch:4,mid:0},"treble-8":{clef:"treble-8",pitch:4,mid:0},"treble^8":{clef:"treble+8",pitch:4,mid:0},treble_8:{clef:"treble-8",pitch:4,mid:0},treble1:{clef:"treble",pitch:2,mid:2},treble2:{clef:"treble",pitch:4,mid:0},treble3:{clef:"treble",pitch:6,mid:-2},treble4:{clef:"treble",pitch:8,mid:-4},treble5:{clef:"treble",pitch:10,mid:-6},perc:{clef:"perc",pitch:6,mid:0},none:{clef:"none",mid:0},bass:{clef:"bass",pitch:8,mid:-12},"bass+8":{clef:"bass+8",pitch:8,mid:-12},"bass-8":{clef:"bass-8",pitch:8,mid:-12},"bass^8":{clef:"bass+8",pitch:8,mid:-12},bass_8:{clef:"bass-8",pitch:8,mid:-12},"bass+16":{clef:"bass",pitch:8,mid:-12},"bass-16":{clef:"bass",pitch:8,mid:-12},"bass^16":{clef:"bass",pitch:8,mid:-12},bass_16:{clef:"bass",pitch:8,mid:-12},bass1:{clef:"bass",pitch:2,mid:-6},bass2:{clef:"bass",pitch:4,mid:-8},bass3:{clef:"bass",pitch:6,mid:-10},bass4:{clef:"bass",pitch:8,mid:-12},bass5:{clef:"bass",pitch:10,mid:-14},tenor:{clef:"alto",pitch:8,mid:-8},tenor1:{clef:"alto",pitch:2,mid:-2},tenor2:{clef:"alto",pitch:4,mid:-4},tenor3:{clef:"alto",pitch:6,mid:-6},tenor4:{clef:"alto",pitch:8,mid:-8},tenor5:{clef:"alto",pitch:10,mid:-10},alto:{clef:"alto",pitch:6,mid:-6},alto1:{clef:"alto",pitch:2,mid:-2},alto2:{clef:"alto",pitch:4,mid:-4},alto3:{clef:"alto",pitch:6,mid:-6},alto4:{clef:"alto",pitch:8,mid:-8},alto5:{clef:"alto",pitch:10,mid:-10},"alto+8":{clef:"alto+8",pitch:6,mid:-6},"alto-8":{clef:"alto-8",pitch:6,mid:-6},"alto^8":{clef:"alto+8",pitch:6,mid:-6},alto_8:{clef:"alto-8",pitch:6,mid:-6}},c=function(t,a){var e=s[t],u=e?e.mid:0;return u+a};v.fixClef=function(t){var a=s[t.type];a&&(t.clefPos=a.pitch,t.type=a.clef)},v.deepCopyKey=function(t){var a={accidentals:[],root:t.root,acc:t.acc,mode:t.mode};return t.accidentals.forEach(function(e){a.accidentals.push(Object.assign({},e))}),a};var f={A:5,B:6,C:0,D:1,E:2,F:3,G:4,a:12,b:13,c:7,d:8,e:9,f:10,g:11};v.addPosToKey=function(t,a){var e=t.verticalPos;a.accidentals.forEach(function(u){var g=f[u.note];g=g-e,u.verticalPos=g}),a.impliedNaturals&&a.impliedNaturals.forEach(function(u){var g=f[u.note];g=g-e,u.verticalPos=g}),e<-10?(a.accidentals.forEach(function(u){u.verticalPos-=7,(u.verticalPos>=11||u.verticalPos===10&&u.acc==="flat")&&(u.verticalPos-=7),u.note==="A"&&u.acc==="sharp"&&(u.verticalPos-=7),(u.note==="G"||u.note==="F")&&u.acc==="flat"&&(u.verticalPos-=7)}),a.impliedNaturals&&a.impliedNaturals.forEach(function(u){u.verticalPos-=7,(u.verticalPos>=11||u.verticalPos===10&&u.acc==="flat")&&(u.verticalPos-=7),u.note==="A"&&u.acc==="sharp"&&(u.verticalPos-=7),(u.note==="G"||u.note==="F")&&u.acc==="flat"&&(u.verticalPos-=7)})):e<-4?(a.accidentals.forEach(function(u){u.verticalPos-=7,e===-8&&(u.note==="f"||u.note==="g")&&u.acc==="sharp"&&(u.verticalPos-=7)}),a.impliedNaturals&&a.impliedNaturals.forEach(function(u){u.verticalPos-=7,e===-8&&(u.note==="f"||u.note==="g")&&u.acc==="sharp"&&(u.verticalPos-=7)})):e>=7&&(a.accidentals.forEach(function(u){u.verticalPos+=7}),a.impliedNaturals&&a.impliedNaturals.forEach(function(u){u.verticalPos+=7}))},v.fixKey=function(t,a){var e=Object.assign({},a);return v.addPosToKey(t,e),e};var h=function(t){var a=0,e=t[a++];(e==="^"||e==="_")&&(e=t[a++]);var u=f[e];for(u===void 0&&(u=6);a<t.length;a++)if(t[a]===",")u-=7;else if(t[a]==="'")u+=7;else break;return{mid:u-6,str:t.substring(a)}},d=function(t){for(var a=0;a<t.length;a++)t[a].note==="b"?t[a].note="B":t[a].note==="a"?t[a].note="A":t[a].note==="F"?t[a].note="f":t[a].note==="E"?t[a].note="e":t[a].note==="D"?t[a].note="d":t[a].note==="C"?t[a].note="c":t[a].note==="G"&&t[a].acc==="sharp"?t[a].note="g":t[a].note==="g"&&t[a].acc==="flat"&&(t[a].note="G")};v.parseKey=function(t,a){t.length===0&&(t="none");var e=l.tokenize(t,0,t.length),u={};if(e.length===0)return r("Must pass in key signature.",t,0),u;switch(e[0].token){case"HP":M.addDirective("bagpipes"),i.key={root:"HP",accidentals:[],acc:"",mode:""},u.foundKey=!0,e.shift();break;case"Hp":M.addDirective("bagpipes"),i.key={root:"Hp",accidentals:[{acc:"natural",note:"g"},{acc:"sharp",note:"f"},{acc:"sharp",note:"c"}],acc:"",mode:""},u.foundKey=!0,e.shift();break;case"none":i.key={root:"none",accidentals:[],acc:"",mode:""},u.foundKey=!0,e.shift();break;default:var g=l.getKeyPitch(e[0].token);if(g.len>0){u.foundKey=!0;var p="",k="";e[0].token.length>1?e[0].token=e[0].token.substring(1):e.shift();var x=g.token;if(e.length>0){var T=l.getSharpFlat(e[0].token);if(T.len>0&&(e[0].token.length>1?e[0].token=e[0].token.substring(1):e.shift(),x+=T.token,p=T.token),e.length>0){var j=l.getMode(e[0].token);j.len>0&&(e.shift(),x+=j.token,k=j.token)}if(v.standardKey(x,g.token,p,0)===void 0)return r("Unsupported key signature: "+x,t,0),u}var O=v.deepCopyKey(i.key),m=!a&&i.globalTranspose?-i.globalTranspose:0,E;if(a&&(E=i.globalTransposeOrigKeySig),i.key=v.deepCopyKey(v.standardKey(x,g.token,p,m)),a&&(i.globalTransposeOrigKeySig=E),i.key.mode=k,O&&i.keywarn!==!1){for(var P,A=0;A<i.key.accidentals.length;A++)for(P=0;P<O.accidentals.length;P++)O.accidentals[P].note&&i.key.accidentals[A].note.toLowerCase()===O.accidentals[P].note.toLowerCase()&&(O.accidentals[P].note=null);for(P=0;P<O.accidentals.length;P++)O.accidentals[P].note&&(i.key.impliedNaturals||(i.key.impliedNaturals=[]),i.key.impliedNaturals.push({acc:"natural",note:O.accidentals[P].note}))}}break}if(e.length===0||(e[0].token==="exp"&&e.shift(),e.length===0)||(e[0].token==="oct"&&e.shift(),e.length===0))return u;var N=l.getKeyAccidentals2(e);if(N.warn&&r(N.warn,t,0),N.accs){u.foundKey||(u.foundKey=!0,i.key={root:"none",acc:"",mode:"",accidentals:[]}),d(N.accs);for(var D=0;D<N.accs.length;D++){for(var _=!1,S=0;S<i.key.accidentals.length&&!_;S++)i.key.accidentals[S].note===N.accs[D].note&&(_=!0,i.key.accidentals[S].acc!==N.accs[D].acc&&(i.key.accidentals[S].acc=N.accs[D].acc,i.key.explicitAccidentals||(i.key.explicitAccidentals=[]),i.key.explicitAccidentals.push(N.accs[D])));if(!_&&(i.key.explicitAccidentals||(i.key.explicitAccidentals=[]),i.key.explicitAccidentals.push(N.accs[D]),i.key.accidentals.push(N.accs[D]),i.key.impliedNaturals))for(var B=0;B<i.key.impliedNaturals.length;B++)i.key.impliedNaturals[B].note===N.accs[D].note&&i.key.impliedNaturals.splice(B,1)}}for(var I;e.length>0;)switch(e[0].token){case"m":case"middle":if(e.shift(),e.length===0)return r("Expected = after middle",t,0),u;if(I=e.shift(),I.token!=="="){r("Expected = after middle",t,I.start);break}if(e.length===0)return r("Expected parameter after middle=",t,0),u;var z=l.getPitchFromTokens(e);z.warn&&r(z.warn,t,0),z.position&&(i.clef.verticalPos=z.position-6);break;case"transpose":if(e.shift(),e.length===0)return r("Expected = after transpose",t,0),u;if(I=e.shift(),I.token!=="="){r("Expected = after transpose",t,I.start);break}if(e.length===0)return r("Expected parameter after transpose=",t,0),u;if(e[0].type!=="number"){r("Expected number after transpose",t,e[0].start);break}i.clef.transpose=e[0].intt,e.shift();break;case"stafflines":if(e.shift(),e.length===0)return r("Expected = after stafflines",t,0),u;if(I=e.shift(),I.token!=="="){r("Expected = after stafflines",t,I.start);break}if(e.length===0)return r("Expected parameter after stafflines=",t,0),u;if(e[0].type!=="number"){r("Expected number after stafflines",t,e[0].start);break}i.clef.stafflines=e[0].intt,e.shift();break;case"staffscale":if(e.shift(),e.length===0)return r("Expected = after staffscale",t,0),u;if(I=e.shift(),I.token!=="="){r("Expected = after staffscale",t,I.start);break}if(e.length===0)return r("Expected parameter after staffscale=",t,0),u;if(e[0].type!=="number"){r("Expected number after staffscale",t,e[0].start);break}i.clef.staffscale=e[0].floatt,e.shift();break;case"octave":if(e.shift(),e.length===0)return r("Expected = after octave",t,0),u;if(I=e.shift(),I.token!=="="){r("Expected = after octave",t,I.start);break}if(e.length===0)return r("Expected parameter after octave=",t,0),u;if(e[0].type!=="number"){r("Expected number after octave",t,e[0].start);break}i.octave=e[0].intt,e.shift();break;case"style":if(e.shift(),e.length===0)return r("Expected = after style",t,0),u;if(I=e.shift(),I.token!=="="){r("Expected = after style",t,I.start);break}if(e.length===0)return r("Expected parameter after style=",t,0),u;switch(e[0].token){case"normal":case"harmonic":case"rhythm":case"x":case"triangle":i.style=e[0].token,e.shift();break;default:r("error parsing style element: "+e[0].token,t,e[0].start);break}break;case"clef":if(e.shift(),e.length===0)return r("Expected = after clef",t,0),u;if(I=e.shift(),I.token!=="="){r("Expected = after clef",t,I.start);break}if(e.length===0)return r("Expected parameter after clef=",t,0),u;case"treble":case"bass":case"alto":case"tenor":case"perc":case"none":var y=e.shift();switch(y.token){case"treble":case"tenor":case"alto":case"bass":case"perc":case"none":break;case"C":y.token="alto";break;case"F":y.token="bass";break;case"G":y.token="treble";break;case"c":y.token="alto";break;case"f":y.token="bass";break;case"g":y.token="treble";break;default:r("Expected clef name. Found "+y.token,t,y.start);break}e.length>0&&e[0].type==="number"&&(y.token+=e[0].token,e.shift()),e.length>1&&(e[0].token==="-"||e[0].token==="+"||e[0].token==="^"||e[0].token==="_")&&e[1].token==="8"&&(y.token+=e[0].token+e[1].token,e.shift(),e.shift()),i.clef={type:y.token,verticalPos:c(y.token,0)},i.currentVoice&&i.currentVoice.transpose!==void 0&&(i.clef.transpose=i.currentVoice.transpose),u.foundClef=!0;break;default:r("Unknown parameter: "+e[0].token,t,e[0].start),e.shift()}return u};var n=function(t){var a=i.voices[t];if(!(i.currentVoice&&i.currentVoice.index===a.index&&i.currentVoice.staffNum===a.staffNum))return i.currentVoice=a,o.setCurrentVoice(a.staffNum,a.index,t)};v.parseVoice=function(t,a,e){var u=l.getMeat(t,a,e),g=u.start,p=u.end,k=l.getToken(t,g,p);if(k.length===0){r("Expected a voice id",t,g);return}var x=!1;i.voices[k]===void 0&&(i.voices[k]={},x=!0,i.score_is_present&&r("Can't have an unknown V: id when the %score directive is present",t,g)),g+=k.length,g+=l.eatWhiteSpace(t,g);for(var T={startStaff:x},j=function(z){var y=l.getVoiceToken(t,g,p);y.warn!==void 0?r("Expected value for "+z+" in voice: "+y.warn,t,g):y.err!==void 0?r("Expected value for "+z+" in voice: "+y.err,t,g):y.token.length===0&&t[g]!=='"'?r("Expected value for "+z+" in voice",t,g):T[z]=y.token,g+=y.len},O=function(z,y,w){var C=l.getVoiceToken(t,g,p);C.warn!==void 0?r("Expected value for "+y+" in voice: "+C.warn,t,g):C.err!==void 0?r("Expected value for "+y+" in voice: "+C.err,t,g):C.token.length===0&&t[g]!=='"'?r("Expected value for "+y+" in voice",t,g):(C.token=parseFloat(C.token),i.voices[z][y]=C.token),g+=C.len},m=function(z,y){var w=l.getVoiceToken(t,g,p);if(w.warn!==void 0)r("Expected value for "+z+" in voice: "+w.warn,t,g);else if(w.err!==void 0)r("Expected value for "+z+" in voice: "+w.err,t,g);else if(w.token.length===0&&t[g]!=='"')r("Expected value for "+z+" in voice",t,g);else return w.token;g+=w.len},E=function(z,y){var w={_B:2,_E:9,_b:-10,_e:-3},C=l.getVoiceToken(t,g,p);if(C.warn!==void 0)r("Expected one of (_B, _E, _b, _e) for "+y+" in voice: "+C.warn,t,g);else if(C.token.length===0&&t[g]!=='"')r("Expected one of (_B, _E, _b, _e) for "+y+" in voice",t,g);else{var L=w[C.token];L?i.voices[z][y]=L:r("Expected one of (_B, _E, _b, _e) for "+y+" in voice",t,g)}g+=C.len};g<p;){var P=l.getVoiceToken(t,g,p);if(g+=P.len,P.warn)r("Error parsing voice: "+P.warn,t,g);else{var A=null;switch(P.token){case"clef":case"cl":j("clef");var N=0;T.clef!==void 0&&(T.clef=T.clef.replace(/[',]/g,""),T.clef.indexOf("+16")!==-1&&(N+=14,T.clef=T.clef.replace("+16","")),T.verticalPos=c(T.clef,N));break;case"treble":case"bass":case"tenor":case"alto":case"perc":case"none":case"treble'":case"bass'":case"tenor'":case"alto'":case"none'":case"treble''":case"bass''":case"tenor''":case"alto''":case"none''":case"treble,":case"bass,":case"tenor,":case"alto,":case"none,":case"treble,,":case"bass,,":case"tenor,,":case"alto,,":case"none,,":case"treble+8":case"treble-8":case"treble^8":case"treble_8":case"treble1":case"treble2":case"treble3":case"treble4":case"treble5":case"bass+8":case"bass-8":case"bass^8":case"bass_8":case"bass+16":case"bass-16":case"bass^16":case"bass_16":case"bass1":case"bass2":case"bass3":case"bass4":case"bass5":case"tenor1":case"tenor2":case"tenor3":case"tenor4":case"tenor5":case"alto1":case"alto2":case"alto3":case"alto4":case"alto5":case"alto+8":case"alto-8":case"alto^8":case"alto_8":var D=0;T.clef=P.token.replace(/[',]/g,""),T.verticalPos=c(T.clef,D),i.voices[k].clef=P.token;break;case"staves":case"stave":case"stv":j("staves");break;case"brace":case"brc":j("brace");break;case"bracket":case"brk":j("bracket");break;case"name":case"nm":j("name");break;case"subname":case"sname":case"snm":j("subname");break;case"merge":T.startStaff=!1;break;case"stem":case"stems":A=l.getVoiceToken(t,g,p),A.warn!==void 0?r("Expected value for stems in voice: "+A.warn,t,g):A.err!==void 0?r("Expected value for stems in voice: "+A.err,t,g):A.token==="up"||A.token==="down"?i.voices[k].stem=A.token:r("Expected up or down for voice stem",t,g),g+=A.len;break;case"up":case"down":i.voices[k].stem=P.token;break;case"middle":case"m":j("verticalPos"),T.verticalPos=h(T.verticalPos).mid;break;case"gchords":case"gch":i.voices[k].suppressChords=!0,A=l.getVoiceToken(t,g,p),A.token==="0"&&(g=g+A.len);break;case"space":case"spc":j("spacing");break;case"scale":O(k,"scale");break;case"score":E(k,"scoreTranspose");break;case"transpose":O(k,"transpose");break;case"stafflines":O(k,"stafflines");break;case"staffscale":O(k,"staffscale");break;case"octave":O(k,"octave");break;case"volume":O(k,"volume");break;case"cue":var _=m("cue");_==="on"?i.voices[k].scale=.6:i.voices[k].scale=1;break;case"style":A=l.getVoiceToken(t,g,p),A.warn!==void 0?r("Expected value for style in voice: "+A.warn,t,g):A.err!==void 0?r("Expected value for style in voice: "+A.err,t,g):A.token==="normal"||A.token==="harmonic"||A.token==="rhythm"||A.token==="x"||A.token==="triangle"?i.voices[k].style=A.token:r("Expected one of [normal, harmonic, rhythm, x, triangle] for voice style",t,g),g+=A.len;break}}g+=l.eatWhiteSpace(t,g)}if((T.startStaff||i.staves.length===0)&&(i.staves.push({index:i.staves.length,meter:i.origMeter}),i.score_is_present||(i.staves[i.staves.length-1].numVoices=0)),i.voices[k].staffNum===void 0){i.voices[k].staffNum=i.staves.length-1;var S=0;for(var B in i.voices)i.voices.hasOwnProperty(B)&&i.voices[B].staffNum===i.voices[k].staffNum&&S++;i.voices[k].index=S-1}var I=i.staves[i.voices[k].staffNum];return i.score_is_present||I.numVoices++,T.clef&&(I.clef={type:T.clef,verticalPos:T.verticalPos}),T.spacing&&(I.spacing_below_offset=T.spacing),T.verticalPos&&(I.verticalPos=T.verticalPos),T.name&&(I.name?I.name.push(T.name):I.name=[T.name]),T.subname&&(I.subname?I.subname.push(T.subname):I.subname=[T.subname]),n(k)}}(),Ze=v,Ze}var et,rn;function bs(){if(rn)return et;rn=1;var M=Ce(),b=Br(),v=Nr(),l=function(r,i,o,s,c){this.reset=function(d,n,t,a){v.initialize(d,n,t,a,c),b.initialize(d,n,t,a,c)},this.reset(r,i,o,s),this.setTitle=function(d,n){o.hasMainTitle?c.addSubtitle(d,{startChar:o.iChar,endChar:o.iChar+n+2}):(c.addMetaText("title",d,{startChar:o.iChar,endChar:o.iChar+n+2}),o.hasMainTitle=!0)},this.setMeter=function(d){if(d=r.stripComment(d),d==="C")return o.havent_set_length===!0&&(o.default_length=.125,o.havent_set_length=!1),{type:"common_time"};if(d==="C|")return o.havent_set_length===!0&&(o.default_length=.125,o.havent_set_length=!1),{type:"cut_time"};if(d==="o")return o.havent_set_length===!0&&(o.default_length=.125,o.havent_set_length=!1),{type:"tempus_perfectum"};if(d==="c")return o.havent_set_length===!0&&(o.default_length=.125,o.havent_set_length=!1),{type:"tempus_imperfectum"};if(d==="o.")return o.havent_set_length===!0&&(o.default_length=.125,o.havent_set_length=!1),{type:"tempus_perfectum_prolatio"};if(d==="c.")return o.havent_set_length===!0&&(o.default_length=.125,o.havent_set_length=!1),{type:"tempus_imperfectum_prolatio"};if(d.length===0||d.toLowerCase()==="none")return o.havent_set_length===!0&&(o.default_length=.125,o.havent_set_length=!1),null;var n=r.tokenize(d,0,d.length);try{var t=function(){var k={value:0,num:""},x=n.shift();for(x.token==="("&&(x=n.shift());;){if(x.type!=="number")throw"Expected top number of meter";if(k.value+=parseInt(x.token),k.num+=x.token,n.length===0||n[0].token==="/")return k;if(x=n.shift(),x.token===")"){if(n.length===0||n[0].token==="/")return k;throw"Unexpected paren in meter"}if(x.token!=="."&&x.token!=="+"||(k.num+=x.token,n.length===0))throw"Expected top number of meter";x=n.shift()}return k},a=function(){var k=t();if(n.length===0)return k;var x=n.shift();if(x.token!=="/")throw"Expected slash in meter";if(x=n.shift(),x.type!=="number")throw"Expected bottom number of meter";return k.den=x.token,k.value=k.value/parseInt(k.den),k};if(n.length===0)throw"Expected meter definition in M: line";for(var e={type:"specified",value:[]},u=0;;){var g=a();u+=g.value;var p={num:g.num};if(g.den!==void 0&&(p.den=g.den),e.value.push(p),n.length===0)break}return o.havent_set_length===!0&&(o.default_length=u<.75?.0625:.125,o.havent_set_length=!1),e}catch(k){i(k,d,0)}return null},this.calcTempo=function(d){var n=.25;o.meter&&o.meter.type==="specified"?n=1/parseInt(o.meter.value[0].den):o.origMeter&&o.origMeter.type==="specified"&&(n=1/parseInt(o.origMeter.value[0].den));for(var t=0;t<d.duration;t++)d.duration[t]=n*d.duration[t];return d},this.resolveTempo=function(){o.tempo&&(this.calcTempo(o.tempo),s.metaText.tempo=o.tempo,delete o.tempo)},this.addUserDefinition=function(d,n,t){var a=d.indexOf("=",n);if(a===-1){i("Need an = in a macro definition",d,n);return}var e=M.strip(d.substring(n,a)),u=M.strip(d.substring(a+1));if(e.length!==1){i("Macro definitions can only be one character",d,n);return}var g="HIJKLMNOPQRSTUVWXYhijklmnopqrstuvw~";if(g.indexOf(e)===-1){i("Macro definitions must be H-Y, h-w, or tilde",d,n);return}if(u.length===0){i("Missing macro definition",d,n);return}o.macros===void 0&&(o.macros={}),o.macros[e]=u},this.setDefaultLength=function(d,n,t){var a=d.substring(n,t).replace(/ /g,""),e=a.split("/");if(e.length===2){var u=parseInt(e[0]),g=parseInt(e[1]);g>0&&(o.default_length=u/g,o.havent_set_length=!1)}else e.length===1&&e[0]==="1"&&(o.default_length=1,o.havent_set_length=!1)};var f={larghissimo:20,adagissimo:24,sostenuto:28,grave:32,largo:40,lento:50,larghetto:60,adagio:68,adagietto:74,andante:80,andantino:88,"marcia moderato":84,"andante moderato":100,moderato:112,allegretto:116,"allegro moderato":120,allegro:126,animato:132,agitato:140,veloce:148,"mosso vivo":156,vivace:164,vivacissimo:172,allegrissimo:176,presto:184,prestissimo:210};this.setTempo=function(d,n,t,a){try{var e=r.tokenize(d,n,t);if(e.length===0)throw"Missing parameter in Q: field";var u={startChar:a+n-2,endChar:a+t},g=!0,p=e.shift();if(p.type==="quote"&&(u.preString=p.token,p=e.shift(),e.length===0))return f[u.preString.toLowerCase()]&&(u.bpm=f[u.preString.toLowerCase()],u.suppressBpm=!0),{type:"immediate",tempo:u};if(p.type==="alpha"&&p.token==="C"){if(e.length===0)throw"Missing tempo after C in Q: field";if(p=e.shift(),p.type==="punct"&&p.token==="="){if(e.length===0)throw"Missing tempo after = in Q: field";if(p=e.shift(),p.type!=="number")throw"Expected number after = in Q: field";u.duration=[1],u.bpm=parseInt(p.token)}else if(p.type==="number"){if(u.duration=[parseInt(p.token)],e.length===0)throw"Missing = after duration in Q: field";if(p=e.shift(),p.type!=="punct"||p.token!=="=")throw"Expected = after duration in Q: field";if(e.length===0)throw"Missing tempo after = in Q: field";if(p=e.shift(),p.type!=="number")throw"Expected number after = in Q: field";u.bpm=parseInt(p.token)}else throw"Expected number or equal after C in Q: field"}else if(p.type==="number"){var k=parseInt(p.token);if(e.length===0||e[0].type==="quote")u.duration=[1],u.bpm=k;else{if(g=!1,p=e.shift(),p.type!=="punct"&&p.token!=="/"||(p=e.shift(),p.type!=="number"))throw"Expected fraction in Q: field";var x=parseInt(p.token);for(u.duration=[k/x];e.length>0&&e[0].token!=="="&&e[0].type!=="quote";){if(p=e.shift(),p.type!=="number"||(k=parseInt(p.token),p=e.shift(),p.type!=="punct"&&p.token!=="/")||(p=e.shift(),p.type!=="number"))throw"Expected fraction in Q: field";x=parseInt(p.token),u.duration.push(k/x)}if(p=e.shift(),p.type!=="punct"&&p.token!=="=")throw"Expected = in Q: field";if(p=e.shift(),p.type!=="number")throw"Expected tempo in Q: field";u.bpm=parseInt(p.token)}}else throw"Unknown value in Q: field";if(e.length!==0&&(p=e.shift(),p.type==="quote"&&(u.postString=p.token,p=e.shift()),e.length!==0))throw"Unexpected string at end of Q: field";return o.printTempo===!1&&(u.suppress=!0),{type:g?"delaySet":"immediate",tempo:u}}catch(T){return i(T,d,n),{type:"none"}}},this.letter_to_inline_header=function(d,n,t){var a=!1,e=r.eatWhiteSpace(d,n);if(n+=e,d.length>=n+5&&d[n]==="["&&d[n+2]===":"){var u=d.indexOf("]",n),g=o.iChar+n,p=o.iChar+u+1;switch(d.substring(n,n+3)){case"[I:":var k=b.addDirective(d.substring(n+3,u));return k&&i(k,d,n),[u-n+1+e];case"[M:":var x=this.setMeter(d.substring(n+3,u));return c.hasBeginMusic()&&x?c.appendStartingElement("meter",g,p,x):o.meter=x,[u-n+1+e];case"[K:":var T=v.parseKey(d.substring(n+3,u),!0);return T.foundClef&&c.hasBeginMusic()&&c.appendStartingElement("clef",g,p,o.clef),T.foundKey&&c.hasBeginMusic()&&c.appendStartingElement("key",g,p,v.fixKey(o.clef,o.key)),[u-n+1+e];case"[P:":var j=b.parseFontChangeLine(d.substring(n+3,u));return t||s.lines.length<=s.lineNum?o.partForNextLine={title:j,startChar:g,endChar:p}:c.appendElement("part",g,p,{title:j}),[u-n+1+e];case"[L:":return this.setDefaultLength(d,n+3,u),[u-n+1+e];case"[Q:":if(u>0){var O=this.setTempo(d,n+3,u,o.iChar);return O.type==="delaySet"?c.hasBeginMusic()?c.appendElement("tempo",g,p,this.calcTempo(O.tempo)):o.tempoForNextLine=["tempo",g,p,this.calcTempo(O.tempo)]:O.type==="immediate"&&(!t&&c.hasBeginMusic()?c.appendElement("tempo",g,p,O.tempo):o.tempoForNextLine=["tempo",g,p,O.tempo]),[u-n+1+e,d[n+1],d.substring(n+3,u)]}break;case"[V:":if(u>0)return a=v.parseVoice(d,n+3,u),[u-n+1+e,d[n+1],d.substring(n+3,u),a];break;case"[r:":return[u-n+1+e]}}return[0]},this.letter_to_body_header=function(d,n){var t=!1;if(d.length>=n+3)switch(d.substring(n,n+2)){case"I:":var a=b.addDirective(d.substring(n+2));return a&&i(a,d,n),[d.length];case"M:":var e=this.setMeter(d.substring(n+2));return c.hasBeginMusic()&&e&&c.appendStartingElement("meter",o.iChar+n,o.iChar+d.length,e),[d.length];case"K:":var u=v.parseKey(d.substring(n+2),c.hasBeginMusic());return u.foundClef&&c.hasBeginMusic()&&o.keywarn!==!1&&c.appendStartingElement("clef",o.iChar+n,o.iChar+d.length,o.clef),u.foundKey&&c.hasBeginMusic()&&o.keywarn!==!1&&c.appendStartingElement("key",o.iChar+n,o.iChar+d.length,v.fixKey(o.clef,o.key)),[d.length];case"P:":return c.hasBeginMusic()&&c.appendElement("part",o.iChar+n,o.iChar+d.length,{title:d.substring(n+2)}),[d.length];case"L:":return this.setDefaultLength(d,n+2,d.length),[d.length];case"Q:":var g=d.indexOf("",n+2);g===-1&&(g=d.length);var p=this.setTempo(d,n+2,g,o.iChar);return p.type==="delaySet"?c.appendElement("tempo",o.iChar+n,o.iChar+d.length,this.calcTempo(p.tempo)):p.type==="immediate"&&c.appendElement("tempo",o.iChar+n,o.iChar+d.length,p.tempo),[g,d[n],M.strip(d.substring(n+2))];case"V:":return t=v.parseVoice(d,n+2,d.length),[d.length,d[n],M.strip(d.substring(n+2)),t]}return[0]};var h={A:"author",B:"book",C:"composer",D:"discography",F:"url",G:"group",I:"instruction",N:"notes",O:"origin",R:"rhythm",S:"source",W:"unalignedWords",Z:"transcription"};this.parseHeader=function(d){var n=h[d[0]],t=d.length-2,a=r.translateString(r.stripComment(d.substring(2)));if(n==="unalignedWords"||n==="notes")c.addMetaTextArray(n,b.parseFontChangeLine(a),{startChar:o.iChar,endChar:o.iChar+d.length});else if(n!==void 0)c.addMetaText(n,b.parseFontChangeLine(a),{startChar:o.iChar,endChar:o.iChar+d.length});else{var e=o.iChar,u=e+d.length;switch(d[0]){case"H":for(c.addMetaTextArray("history",b.parseFontChangeLine(a),{startChar:o.iChar,endChar:o.iChar+d.length}),d=r.peekLine();d&&d[1]!==":";)r.nextLine(),c.addMetaTextArray("history",b.parseFontChangeLine(r.translateString(r.stripComment(d))),{startChar:o.iChar,endChar:o.iChar+d.length}),d=r.peekLine();break;case"K":this.resolveTempo();var g=v.parseKey(d.substring(2),!1);!o.is_in_header&&c.hasBeginMusic()&&o.keywarn!==!1&&(g.foundClef&&c.appendStartingElement("clef",e,u,o.clef),g.foundKey&&c.appendStartingElement("key",e,u,v.fixKey(o.clef,o.key))),o.is_in_header=!1;break;case"L":this.setDefaultLength(d,2,d.length);break;case"M":o.origMeter=o.meter=this.setMeter(d.substring(2));break;case"P":o.is_in_header?c.addMetaText("partOrder",b.parseFontChangeLine(a),{startChar:o.iChar,endChar:o.iChar+d.length}):o.partForNextLine={title:a,startChar:e,endChar:u};break;case"Q":var p=this.setTempo(d,2,d.length,o.iChar);p.type==="delaySet"?o.tempo=p.tempo:p.type==="immediate"&&(s.metaText.tempo?o.tempoForNextLine=["tempo",e,u,p.tempo]:s.metaText.tempo=p.tempo);break;case"T":o.titlecaps&&(a=a.toUpperCase()),this.setTitle(b.parseFontChangeLine(r.theReverser(a)),t);break;case"U":this.addUserDefinition(d,2,d.length);break;case"V":if(v.parseVoice(d,2,d.length),!o.is_in_header)return{newline:!0};break;case"s":return{symbols:!0};case"w":return{words:!0};case"X":break;case"E":case"m":i("Ignored header",d,0);break;default:return{regular:!0}}}return{}}};return et=l,et}var Te={},nn;function ys(){return nn||(nn=1,Te.legalAccents=["trill","trillh","lowermordent","uppermordent","mordent","pralltriller","accent","fermata","invertedfermata","tenuto","0","1","2","3","4","5","+","wedge","open","thumb","snap","turn","roll","breath","shortphrase","mediumphrase","longphrase","segno","coda","D.S.","D.C.","fine","beambr1","beambr2","slide","marcato","upbow","downbow","/","//","///","////","trem1","trem2","trem3","trem4","turnx","invertedturn","invertedturnx","trill(","trill)","arpeggio","xstem","mark","umarcato","style=normal","style=harmonic","style=rhythm","style=x","style=triangle","D.C.alcoda","D.C.alfine","D.S.alcoda","D.S.alfine","editorial","courtesy"],Te.volumeDecorations=["p","pp","f","ff","mf","mp","ppp","pppp","fff","ffff","sfz"],Te.dynamicDecorations=["crescendo(","crescendo)","diminuendo(","diminuendo)","glissando(","glissando)","~(","~)"],Te.accentPseudonyms=[["<","accent"],[">","accent"],["tr","trill"],["plus","+"],["emphasis","accent"],["^","umarcato"],["marcato","umarcato"]],Te.accentDynamicPseudonyms=[["<(","crescendo("],["<)","crescendo)"],[">(","diminuendo("],[">)","diminuendo)"]],Te.nonDecorations="ABCDEFGabcdefgxyzZ[]|^_{",Te.durations=[.5,.75,.875,.9375,.96875,.984375,.25,.375,.4375,.46875,.484375,.4921875,.125,.1875,.21875,.234375,.2421875,.24609375,.0625,.09375,.109375,.1171875,.12109375,.123046875,.03125,.046875,.0546875,.05859375,.060546875,.0615234375,.015625,.0234375,.02734375,.029296875,.0302734375,.03076171875],Te.pitches={A:5,B:6,C:0,D:1,E:2,F:3,G:4,a:12,b:13,c:7,d:8,e:9,f:10,g:11},Te.rests={x:"invisible",X:"invisible-multimeasure",y:"spacer",z:"rest",Z:"multimeasure"},Te.accMap={dblflat:"__",flat:"_",natural:"=",sharp:"^",dblsharp:"^^",quarterflat:"_/",quartersharp:"^/"},Te.tripletQ={2:3,3:2,4:3,5:2,6:2,7:2,8:3,9:2}),Te}var tt,an;function ks(){if(an)return tt;an=1;var M=Nr(),b=Di(),v,l,r,i,o,s,{legalAccents:c,volumeDecorations:f,dynamicDecorations:h,accentPseudonyms:d,accentDynamicPseudonyms:n,nonDecorations:t,durations:a,pitches:e,rests:u,accMap:g,tripletQ:p}=ys(),k=function(y,w,C,L,F,V){v=y,l=w,r=C,i=L,o=F,s=V,this.lineContinuation=!1},x=function(y,w,C){if(y.inTie[w]===void 0)return!1;var L=y.currentVoice?y.currentVoice.staffNum*100+y.currentVoice.index:0;return!!(y.inTie[w][L]&&(C.pitches!==void 0||C.rest.type!=="spacer"))},T={};k.prototype.parseMusic=function(y){s.resolveTempo(),r.is_in_header=!1;for(var w=0,C=r.iChar;v.isWhiteSpace(y[w])&&w<y.length;)w++;if(!(w===y.length||y[w]==="%")){var L=r.start_new_line;r.continueall===void 0?r.start_new_line=!0:r.start_new_line=!1;var F=0,V=s.letter_to_body_header(y,w);V[0]>0&&(w+=V[0],V[1]==="V"&&this.startNewLine());for(var H=0;w<y.length;){var U=w;if(y[w]==="%")break;var Q=s.letter_to_inline_header(y,w,L);if(Q[0]>0)w+=Q[0],Q[1]==="V"&&(L=!0);else{(!o.hasBeginMusic()||L&&!this.lineContinuation)&&(this.startNewLine(),L=!1);for(var R;;)if(R=v.eatWhiteSpace(y,w),R>0&&(w+=R),w>0&&y[w-1]===""&&(R=s.letter_to_body_header(y,w),R[0]>0&&(R[1]==="V"&&this.startNewLine(),w=R[0],r.start_new_line=!1)),R=N(y,w),R[0]>0&&(w+=R[0]),R=O(y,w),R[0]>0){T.chord||(T.chord=[]);var te=v.translateString(R[1]);te=te.replace(/;/g,`
|
|
4
4
|
`);for(var ee=!1,se=0;se<T.chord.length;se++)T.chord[se].position===R[2]&&(ee=!0,T.chord[se].name+=`
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
.orbit-gradient-logo{filter:brightness(0) saturate(100%);filter:drop-shadow(0 0 8px rgba(59,130,246,.5));background:linear-gradient(135deg,#3b82f6,#8b5cf6);-webkit-background-clip:text;background-clip:text;mix-blend-mode:screen}.message-list{--thread-panel-bg: #f6f7fb;--thread-panel-border: rgba(15, 23, 42, .08);--thread-panel-shadow: 0 30px 60px -38px rgba(15, 23, 42, .45);--thread-panel-heading: #1f2937;--thread-panel-button-border: rgba(15, 23, 42, .18);--thread-panel-button-text: #1f2937;--thread-panel-button-hover: rgba(15, 23, 42, .08);--thread-avatar-assistant-bg: #e7e9fb;--thread-avatar-assistant-text: #252c53;--thread-avatar-user-bg: #e6f4ef;--thread-avatar-user-text: #0f5f47;scroll-behavior:auto;overflow-anchor:auto}.dark .message-list{--thread-panel-bg: #1a1c24;--thread-panel-border: rgba(255, 255, 255, .12);--thread-panel-shadow: 0 35px 60px -40px rgba(0, 0, 0, .9);--thread-panel-heading: #eef1ff;--thread-panel-button-border: rgba(255, 255, 255, .2);--thread-panel-button-text: #eef1ff;--thread-panel-button-hover: rgba(255, 255, 255, .08);--thread-avatar-assistant-bg: rgba(83, 99, 164, .45);--thread-avatar-assistant-text: #e5e8ff;--thread-avatar-user-bg: rgba(16, 163, 127, .35);--thread-avatar-user-text: #d7fff3}.message-list :where(.thread-panel){background-color:var(--thread-panel-bg)!important;border-color:var(--thread-panel-border)!important;box-shadow:var(--thread-panel-shadow)!important;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px)}.message-list :where(.thread-panel) .text-blue-900,.message-list :where(.thread-panel) .dark\:text-\[\#c5d7ff\]{color:var(--thread-panel-heading)!important}.message-list :where(.thread-panel) .border-blue-200\/80,.message-list :where(.thread-panel) .dark\:border-\[\#233449\]{border-color:var(--thread-panel-button-border)!important}.message-list :where(.thread-panel) button.inline-flex.items-center.gap-2.rounded-full.border{color:var(--thread-panel-button-text)!important;background-color:transparent;transition:background-color .2s ease,border-color .2s ease}.message-list :where(.thread-panel) button.inline-flex.items-center.gap-2.rounded-full.border:hover{background-color:var(--thread-panel-button-hover)!important}.message-list :where(.flex.h-7.w-7.flex-shrink-0.items-center.justify-center.rounded-full.bg-blue-100){background-color:var(--thread-avatar-assistant-bg)!important;color:var(--thread-avatar-assistant-text)!important}.message-list :where(.flex.h-7.w-7.flex-shrink-0.items-center.justify-center.rounded-full.bg-emerald-100){background-color:var(--thread-avatar-user-bg)!important;color:var(--thread-avatar-user-text)!important}.message-list .message-bubble{width:100%;max-width:960px}@media (min-width: 1280px){.message-list .message-bubble{max-width:900px}}.message-list .message-markdown{width:100%;max-width:100%;min-width:0;margin-left:auto;margin-right:auto;overflow-x:auto;-webkit-overflow-scrolling:touch}@media (max-width: 767px){.message-list .message-markdown{scrollbar-width:thin;scrollbar-color:rgba(128,128,128,.3) transparent}.message-list .message-markdown::-webkit-scrollbar{height:4px}.message-list .message-markdown::-webkit-scrollbar-track{background:transparent}.message-list .message-markdown::-webkit-scrollbar-thumb{background-color:#8080804d;border-radius:2px}.message-list .message-markdown pre,.message-list .message-markdown table,.message-list .message-markdown .recharts-wrapper,.message-list .message-markdown svg{max-width:100%;overflow-x:auto}.message-list .message-markdown .recharts-wrapper{min-width:300px}}@media (min-width: 768px){.message-list .message-markdown{max-width:840px;overflow-x:visible}}@media (min-width: 1280px){.message-list .message-markdown{max-width:880px}}.thread-markdown-wrapper{width:100%;min-width:0;overflow-x:auto;-webkit-overflow-scrolling:touch;scrollbar-width:thin;scrollbar-color:rgba(0,0,0,.3) transparent}.thread-markdown-wrapper::-webkit-scrollbar{height:6px}.thread-markdown-wrapper::-webkit-scrollbar-track{background:transparent;border-radius:3px}.thread-markdown-wrapper::-webkit-scrollbar-thumb{background-color:#0000004d;border-radius:3px}.dark .thread-markdown-wrapper::-webkit-scrollbar-thumb{background-color:#ffffff4d}.thread-markdown-wrapper table{width:-moz-max-content;width:max-content;min-width:100%;table-layout:auto}.thread-markdown-wrapper th,.thread-markdown-wrapper td{min-width:12rem;vertical-align:top}.thread-markdown-wrapper .prose{max-width:100%}*,:before,:after{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }::backdrop{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }*,:before,:after{box-sizing:border-box;border-width:0;border-style:solid;border-color:#e5e7eb}:before,:after{--tw-content: ""}html,:host{line-height:1.5;-webkit-text-size-adjust:100%;-moz-tab-size:4;-o-tab-size:4;tab-size:4;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,Noto Sans,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol;font-feature-settings:normal;font-variation-settings:normal;-webkit-tap-highlight-color:transparent}body{margin:0;line-height:inherit}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-feature-settings:normal;font-variation-settings:normal;font-size:1em}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}button,input,optgroup,select,textarea{font-family:inherit;font-feature-settings:inherit;font-variation-settings:inherit;font-size:100%;font-weight:inherit;line-height:inherit;letter-spacing:inherit;color:inherit;margin:0;padding:0}button,select{text-transform:none}button,input:where([type=button]),input:where([type=reset]),input:where([type=submit]){-webkit-appearance:button;background-color:transparent;background-image:none}:-moz-focusring{outline:auto}:-moz-ui-invalid{box-shadow:none}progress{vertical-align:baseline}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}summary{display:list-item}blockquote,dl,dd,h1,h2,h3,h4,h5,h6,hr,figure,p,pre{margin:0}fieldset{margin:0;padding:0}legend{padding:0}ol,ul,menu{list-style:none;margin:0;padding:0}dialog{padding:0}textarea{resize:vertical}input::-moz-placeholder,textarea::-moz-placeholder{opacity:1;color:#9ca3af}input::placeholder,textarea::placeholder{opacity:1;color:#9ca3af}button,[role=button]{cursor:pointer}:disabled{cursor:default}img,svg,video,canvas,audio,iframe,embed,object{display:block;vertical-align:middle}img,video{max-width:100%;height:auto}[hidden]:where(:not([hidden=until-found])){display:none}*{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,Noto Sans,sans-serif,"Apple Color Emoji","Segoe UI Emoji",Segoe UI Symbol;-webkit-tap-highlight-color:transparent}html{font-size:1rem;line-height:1.5rem;scroll-behavior:smooth;overscroll-behavior-y:contain}body{--tw-bg-opacity: 1;background-color:rgb(255 255 255 / var(--tw-bg-opacity, 1));--tw-text-opacity: 1;color:rgb(53 55 64 / var(--tw-text-opacity, 1))}body:is(.dark *){--tw-bg-opacity: 1;background-color:rgb(33 33 33 / var(--tw-bg-opacity, 1));--tw-text-opacity: 1;color:rgb(236 236 241 / var(--tw-text-opacity, 1))}body{line-height:1.75}#root{min-height:100vh;min-height:100dvh;display:flex;flex-direction:column}textarea{border:none!important;outline:none!important;box-shadow:none!important;-webkit-appearance:none!important;-moz-appearance:none!important;appearance:none!important}textarea:focus{border:none!important;outline:none!important;box-shadow:none!important;ring:none!important}.\!container{width:100%!important}.container{width:100%}@media (min-width: 640px){.\!container{max-width:640px!important}.container{max-width:640px}}@media (min-width: 768px){.\!container{max-width:768px!important}.container{max-width:768px}}@media (min-width: 1024px){.\!container{max-width:1024px!important}.container{max-width:1024px}}@media (min-width: 1280px){.\!container{max-width:1280px!important}.container{max-width:1280px}}@media (min-width: 1536px){.\!container{max-width:1536px!important}.container{max-width:1536px}}.prose{--tw-text-opacity: 1;color:rgb(15 23 42 / var(--tw-text-opacity, 1))}.prose:is(.dark *){--tw-text-opacity: 1;color:rgb(241 245 249 / var(--tw-text-opacity, 1))}.prose p{font-weight:400;line-height:1.75rem;--tw-text-opacity: 1;color:rgb(53 55 64 / var(--tw-text-opacity, 1))}.prose p:is(.dark *){--tw-text-opacity: 1;color:rgb(236 236 241 / var(--tw-text-opacity, 1))}.prose p{font-size:15px;margin-top:.75rem;margin-bottom:.75rem}.prose p:first-child{margin-top:0}.prose p:last-child{margin-bottom:0}.prose h1,.prose h2,.prose h3,.prose h4,.prose h5,.prose h6{font-weight:600;--tw-text-opacity: 1;color:rgb(53 55 64 / var(--tw-text-opacity, 1))}.prose h1:is(.dark *),.prose h2:is(.dark *),.prose h3:is(.dark *),.prose h4:is(.dark *),.prose h5:is(.dark *),.prose h6:is(.dark *){--tw-text-opacity: 1;color:rgb(236 236 241 / var(--tw-text-opacity, 1))}.prose h1,.prose h2,.prose h3,.prose h4,.prose h5,.prose h6{margin-top:1.5rem;margin-bottom:.75rem}.prose h1{font-size:1.5rem;line-height:2rem}.prose h2{font-size:1.25rem;line-height:1.75rem}.prose h3{font-size:1.125rem;line-height:1.75rem}.prose ul,.prose ol{margin-top:1rem;margin-bottom:1rem;margin-left:1.5rem}.prose li{margin-top:.5rem;margin-bottom:.5rem;line-height:1.75rem;font-size:15px}.prose strong{font-weight:600}.prose em{font-style:italic}.prose a{--tw-text-opacity: 1;color:rgb(37 99 235 / var(--tw-text-opacity, 1));text-decoration-line:underline}.prose a:is(.dark *){--tw-text-opacity: 1;color:rgb(96 165 250 / var(--tw-text-opacity, 1))}.prose pre{border-radius:.5rem;--tw-bg-opacity: 1;background-color:rgb(243 244 246 / var(--tw-bg-opacity, 1));--tw-text-opacity: 1;color:rgb(53 55 64 / var(--tw-text-opacity, 1))}.prose pre:is(.dark *){--tw-bg-opacity: 1;background-color:rgb(32 33 35 / var(--tw-bg-opacity, 1));--tw-text-opacity: 1;color:rgb(236 236 241 / var(--tw-text-opacity, 1))}.prose code{border-radius:.25rem;--tw-bg-opacity: 1;background-color:rgb(243 244 246 / var(--tw-bg-opacity, 1));padding:.125rem .375rem;font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-size:.875rem;line-height:1.25rem;--tw-text-opacity: 1;color:rgb(53 55 64 / var(--tw-text-opacity, 1))}.prose code:is(.dark *){--tw-bg-opacity: 1;background-color:rgb(32 33 35 / var(--tw-bg-opacity, 1));--tw-text-opacity: 1;color:rgb(236 236 241 / var(--tw-text-opacity, 1))}.prose blockquote{margin-top:1rem;margin-bottom:1rem;border-top-right-radius:.5rem;border-bottom-right-radius:.5rem;border-left-width:4px;--tw-border-opacity: 1;border-color:rgb(229 231 235 / var(--tw-border-opacity, 1));--tw-bg-opacity: 1;background-color:rgb(249 250 251 / var(--tw-bg-opacity, 1));padding-top:1rem;padding-bottom:1rem;padding-left:1.5rem;--tw-text-opacity: 1;color:rgb(53 55 64 / var(--tw-text-opacity, 1))}.prose blockquote:is(.dark *){--tw-bg-opacity: 1;background-color:rgb(32 33 35 / var(--tw-bg-opacity, 1));--tw-text-opacity: 1;color:rgb(236 236 241 / var(--tw-text-opacity, 1))}.prose table{margin-top:1rem;margin-bottom:1rem;border-collapse:collapse;font-size:.875rem;line-height:1.25rem;width:-moz-max-content;width:max-content;min-width:100%;table-layout:auto}.prose thead{--tw-bg-opacity: 1;background-color:rgb(243 244 246 / var(--tw-bg-opacity, 1))}.prose thead:is(.dark *){--tw-bg-opacity: 1;background-color:rgb(42 43 50 / var(--tw-bg-opacity, 1))}.prose th{border-width:1px;--tw-border-opacity: 1;border-color:rgb(229 231 235 / var(--tw-border-opacity, 1));padding:.5rem 1rem;text-align:left;font-weight:600;--tw-text-opacity: 1;color:rgb(53 55 64 / var(--tw-text-opacity, 1))}.prose th:is(.dark *){--tw-border-opacity: 1;border-color:rgb(60 63 74 / var(--tw-border-opacity, 1));--tw-text-opacity: 1;color:rgb(236 236 241 / var(--tw-text-opacity, 1))}.prose th{min-width:12rem;white-space:nowrap}.prose td{border-width:1px;--tw-border-opacity: 1;border-color:rgb(229 231 235 / var(--tw-border-opacity, 1));padding:.5rem 1rem;--tw-text-opacity: 1;color:rgb(53 55 64 / var(--tw-text-opacity, 1))}.prose td:is(.dark *){--tw-border-opacity: 1;border-color:rgb(60 63 74 / var(--tw-border-opacity, 1));--tw-text-opacity: 1;color:rgb(236 236 241 / var(--tw-text-opacity, 1))}.prose td{min-width:12rem;vertical-align:top}.prose tbody tr:nth-child(2n){--tw-bg-opacity: 1;background-color:rgb(249 250 251 / var(--tw-bg-opacity, 1))}.prose tbody tr:nth-child(2n):is(.dark *){--tw-bg-opacity: 1;background-color:rgb(32 33 35 / var(--tw-bg-opacity, 1))}.prose tbody tr:hover{--tw-bg-opacity: 1;background-color:rgb(243 244 246 / var(--tw-bg-opacity, 1))}.prose tbody tr:hover:is(.dark *){--tw-bg-opacity: 1;background-color:rgb(42 43 50 / var(--tw-bg-opacity, 1))}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border-width:0}.pointer-events-none{pointer-events:none}.visible{visibility:visible}.invisible{visibility:hidden}.static{position:static}.fixed{position:fixed}.absolute{position:absolute}.relative{position:relative}.sticky{position:sticky}.inset-0{top:0;right:0;bottom:0;left:0}.inset-x-0{left:0;right:0}.-right-3{right:-.75rem}.bottom-0{bottom:0}.bottom-3{bottom:.75rem}.left-1\/2{left:50%}.left-3{left:.75rem}.top-0{top:0}.top-1\/2{top:50%}.top-\[max\(env\(safe-area-inset-top\)\,0\.75rem\)\]{top:max(env(safe-area-inset-top),.75rem)}.z-10{z-index:10}.z-20{z-index:20}.z-50{z-index:50}.order-1{order:1}.order-2{order:2}.-mx-4{margin-left:-1rem;margin-right:-1rem}.mx-auto{margin-left:auto;margin-right:auto}.-mt-2{margin-top:-.5rem}.mb-1{margin-bottom:.25rem}.mb-2{margin-bottom:.5rem}.mb-3{margin-bottom:.75rem}.mb-4{margin-bottom:1rem}.ml-1{margin-left:.25rem}.ml-4{margin-left:1rem}.ml-auto{margin-left:auto}.mt-0\.5{margin-top:.125rem}.mt-1{margin-top:.25rem}.mt-2{margin-top:.5rem}.mt-3{margin-top:.75rem}.mt-4{margin-top:1rem}.mt-6{margin-top:1.5rem}.mt-auto{margin-top:auto}.line-clamp-2{overflow:hidden;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2}.line-clamp-3{overflow:hidden;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:3}.block{display:block}.inline-block{display:inline-block}.inline{display:inline}.flex{display:flex}.inline-flex{display:inline-flex}.grid{display:grid}.hidden{display:none}.h-1\.5{height:.375rem}.h-10{height:2.5rem}.h-11{height:2.75rem}.h-14{height:3.5rem}.h-2{height:.5rem}.h-2\.5{height:.625rem}.h-3{height:.75rem}.h-3\.5{height:.875rem}.h-4{height:1rem}.h-5{height:1.25rem}.h-6{height:1.5rem}.h-7{height:1.75rem}.h-8{height:2rem}.h-\[96px\]{height:96px}.h-full{height:100%}.max-h-64{max-height:16rem}.max-h-72{max-height:18rem}.max-h-96{max-height:24rem}.max-h-\[90vh\]{max-height:90vh}.min-h-0{min-height:0px}.min-h-screen{min-height:100vh}.w-10{width:2.5rem}.w-11{width:2.75rem}.w-2{width:.5rem}.w-2\.5{width:.625rem}.w-3{width:.75rem}.w-3\.5{width:.875rem}.w-4{width:1rem}.w-5{width:1.25rem}.w-6{width:1.5rem}.w-7{width:1.75rem}.w-8{width:2rem}.w-\[min\(18rem\,85vw\)\]{width:min(18rem,85vw)}.w-full{width:100%}.min-w-0{min-width:0px}.max-w-3xl{max-width:48rem}.max-w-5xl{max-width:64rem}.max-w-\[150px\]{max-width:150px}.max-w-full{max-width:100%}.max-w-lg{max-width:32rem}.max-w-md{max-width:28rem}.max-w-none{max-width:none}.max-w-sm{max-width:24rem}.flex-1{flex:1 1 0%}.flex-shrink{flex-shrink:1}.flex-shrink-0,.shrink-0{flex-shrink:0}.-translate-x-1\/2{--tw-translate-x: -50%;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.-translate-y-1\/2{--tw-translate-y: -50%;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.translate-x-1{--tw-translate-x: .25rem;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.translate-x-6{--tw-translate-x: 1.5rem;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.rotate-180{--tw-rotate: 180deg;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.transform{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}@keyframes bounce{0%,to{transform:translateY(-25%);animation-timing-function:cubic-bezier(.8,0,1,1)}50%{transform:none;animation-timing-function:cubic-bezier(0,0,.2,1)}}.animate-bounce{animation:bounce 1s infinite}@keyframes pulse{50%{opacity:.5}}.animate-pulse{animation:pulse 2s cubic-bezier(.4,0,.6,1) infinite}@keyframes spin{to{transform:rotate(360deg)}}.animate-spin{animation:spin 1s linear infinite}.cursor-not-allowed{cursor:not-allowed}.cursor-pointer{cursor:pointer}.resize-none{resize:none}.resize{resize:both}.list-disc{list-style-type:disc}.grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}.flex-col{flex-direction:column}.flex-wrap{flex-wrap:wrap}.items-start{align-items:flex-start}.items-center{align-items:center}.items-stretch{align-items:stretch}.justify-start{justify-content:flex-start}.justify-end{justify-content:flex-end}.justify-center{justify-content:center}.justify-between{justify-content:space-between}.gap-0{gap:0px}.gap-1{gap:.25rem}.gap-1\.5{gap:.375rem}.gap-2{gap:.5rem}.gap-2\.5{gap:.625rem}.gap-3{gap:.75rem}.gap-4{gap:1rem}.gap-6{gap:1.5rem}.space-y-1>:not([hidden])~:not([hidden]){--tw-space-y-reverse: 0;margin-top:calc(.25rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(.25rem * var(--tw-space-y-reverse))}.space-y-2>:not([hidden])~:not([hidden]){--tw-space-y-reverse: 0;margin-top:calc(.5rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(.5rem * var(--tw-space-y-reverse))}.space-y-3>:not([hidden])~:not([hidden]){--tw-space-y-reverse: 0;margin-top:calc(.75rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(.75rem * var(--tw-space-y-reverse))}.space-y-4>:not([hidden])~:not([hidden]){--tw-space-y-reverse: 0;margin-top:calc(1rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(1rem * var(--tw-space-y-reverse))}.space-y-5>:not([hidden])~:not([hidden]){--tw-space-y-reverse: 0;margin-top:calc(1.25rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(1.25rem * var(--tw-space-y-reverse))}.space-y-6>:not([hidden])~:not([hidden]){--tw-space-y-reverse: 0;margin-top:calc(1.5rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(1.5rem * var(--tw-space-y-reverse))}.self-start{align-self:flex-start}.overflow-auto{overflow:auto}.overflow-hidden{overflow:hidden}.overflow-x-auto{overflow-x:auto}.overflow-y-auto{overflow-y:auto}.truncate{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.whitespace-nowrap{white-space:nowrap}.whitespace-pre-wrap{white-space:pre-wrap}.break-words{overflow-wrap:break-word}.rounded{border-radius:.25rem}.rounded-2xl{border-radius:1rem}.rounded-3xl{border-radius:1.5rem}.rounded-full{border-radius:9999px}.rounded-lg{border-radius:.5rem}.rounded-md{border-radius:.375rem}.rounded-xl{border-radius:.75rem}.rounded-b-2xl{border-bottom-right-radius:1rem;border-bottom-left-radius:1rem}.rounded-t-\[28px\]{border-top-left-radius:28px;border-top-right-radius:28px}.rounded-t-\[32px\]{border-top-left-radius:32px;border-top-right-radius:32px}.border{border-width:1px}.border-2{border-width:2px}.border-x{border-left-width:1px;border-right-width:1px}.border-b{border-bottom-width:1px}.border-r{border-right-width:1px}.border-t{border-top-width:1px}.border-dashed{border-style:dashed}.border-none{border-style:none}.border-\[\#343541\]{--tw-border-opacity: 1;border-color:rgb(52 53 65 / var(--tw-border-opacity, 1))}.border-amber-200{--tw-border-opacity: 1;border-color:rgb(253 230 138 / var(--tw-border-opacity, 1))}.border-blue-100{--tw-border-opacity: 1;border-color:rgb(219 234 254 / var(--tw-border-opacity, 1))}.border-blue-100\/80{border-color:#dbeafecc}.border-blue-100\/90{border-color:#dbeafee6}.border-blue-200{--tw-border-opacity: 1;border-color:rgb(191 219 254 / var(--tw-border-opacity, 1))}.border-blue-200\/80{border-color:#bfdbfecc}.border-blue-500{--tw-border-opacity: 1;border-color:rgb(59 130 246 / var(--tw-border-opacity, 1))}.border-emerald-100{--tw-border-opacity: 1;border-color:rgb(209 250 229 / var(--tw-border-opacity, 1))}.border-emerald-500{--tw-border-opacity: 1;border-color:rgb(16 185 129 / var(--tw-border-opacity, 1))}.border-gray-100{--tw-border-opacity: 1;border-color:rgb(243 244 246 / var(--tw-border-opacity, 1))}.border-gray-200{--tw-border-opacity: 1;border-color:rgb(229 231 235 / var(--tw-border-opacity, 1))}.border-gray-200\/90{border-color:#e5e7ebe6}.border-gray-300{--tw-border-opacity: 1;border-color:rgb(209 213 219 / var(--tw-border-opacity, 1))}.border-gray-400{--tw-border-opacity: 1;border-color:rgb(156 163 175 / var(--tw-border-opacity, 1))}.border-green-200{--tw-border-opacity: 1;border-color:rgb(187 247 208 / var(--tw-border-opacity, 1))}.border-red-100{--tw-border-opacity: 1;border-color:rgb(254 226 226 / var(--tw-border-opacity, 1))}.border-red-200{--tw-border-opacity: 1;border-color:rgb(254 202 202 / var(--tw-border-opacity, 1))}.border-red-300{--tw-border-opacity: 1;border-color:rgb(252 165 165 / var(--tw-border-opacity, 1))}.border-slate-200{--tw-border-opacity: 1;border-color:rgb(226 232 240 / var(--tw-border-opacity, 1))}.border-slate-200\/70{border-color:#e2e8f0b3}.border-slate-200\/80{border-color:#e2e8f0cc}.border-slate-300{--tw-border-opacity: 1;border-color:rgb(203 213 225 / var(--tw-border-opacity, 1))}.border-transparent{border-color:transparent}.border-white{--tw-border-opacity: 1;border-color:rgb(255 255 255 / var(--tw-border-opacity, 1))}.border-white\/40{border-color:#fff6}.border-white\/50{border-color:#ffffff80}.border-white\/70{border-color:#ffffffb3}.border-t-transparent{border-top-color:transparent}.bg-\[\#11121a\]\/90{background-color:#11121ae6}.bg-amber-100{--tw-bg-opacity: 1;background-color:rgb(254 243 199 / var(--tw-bg-opacity, 1))}.bg-amber-50{--tw-bg-opacity: 1;background-color:rgb(255 251 235 / var(--tw-bg-opacity, 1))}.bg-amber-600{--tw-bg-opacity: 1;background-color:rgb(217 119 6 / var(--tw-bg-opacity, 1))}.bg-black{--tw-bg-opacity: 1;background-color:rgb(0 0 0 / var(--tw-bg-opacity, 1))}.bg-black\/50{background-color:#00000080}.bg-black\/60{background-color:#0009}.bg-black\/70{background-color:#000000b3}.bg-blue-100{--tw-bg-opacity: 1;background-color:rgb(219 234 254 / var(--tw-bg-opacity, 1))}.bg-blue-50{--tw-bg-opacity: 1;background-color:rgb(239 246 255 / var(--tw-bg-opacity, 1))}.bg-blue-50\/70{background-color:#eff6ffb3}.bg-blue-50\/80{background-color:#eff6ffcc}.bg-blue-500{--tw-bg-opacity: 1;background-color:rgb(59 130 246 / var(--tw-bg-opacity, 1))}.bg-blue-600{--tw-bg-opacity: 1;background-color:rgb(37 99 235 / var(--tw-bg-opacity, 1))}.bg-emerald-50{--tw-bg-opacity: 1;background-color:rgb(236 253 245 / var(--tw-bg-opacity, 1))}.bg-emerald-500{--tw-bg-opacity: 1;background-color:rgb(16 185 129 / var(--tw-bg-opacity, 1))}.bg-emerald-600{--tw-bg-opacity: 1;background-color:rgb(5 150 105 / var(--tw-bg-opacity, 1))}.bg-gray-100{--tw-bg-opacity: 1;background-color:rgb(243 244 246 / var(--tw-bg-opacity, 1))}.bg-gray-200{--tw-bg-opacity: 1;background-color:rgb(229 231 235 / var(--tw-bg-opacity, 1))}.bg-gray-300{--tw-bg-opacity: 1;background-color:rgb(209 213 219 / var(--tw-bg-opacity, 1))}.bg-gray-400{--tw-bg-opacity: 1;background-color:rgb(156 163 175 / var(--tw-bg-opacity, 1))}.bg-gray-50{--tw-bg-opacity: 1;background-color:rgb(249 250 251 / var(--tw-bg-opacity, 1))}.bg-green-50{--tw-bg-opacity: 1;background-color:rgb(240 253 244 / var(--tw-bg-opacity, 1))}.bg-green-500{--tw-bg-opacity: 1;background-color:rgb(34 197 94 / var(--tw-bg-opacity, 1))}.bg-red-100{--tw-bg-opacity: 1;background-color:rgb(254 226 226 / var(--tw-bg-opacity, 1))}.bg-red-200{--tw-bg-opacity: 1;background-color:rgb(254 202 202 / var(--tw-bg-opacity, 1))}.bg-red-50{--tw-bg-opacity: 1;background-color:rgb(254 242 242 / var(--tw-bg-opacity, 1))}.bg-red-500{--tw-bg-opacity: 1;background-color:rgb(239 68 68 / var(--tw-bg-opacity, 1))}.bg-red-600{--tw-bg-opacity: 1;background-color:rgb(220 38 38 / var(--tw-bg-opacity, 1))}.bg-slate-100{--tw-bg-opacity: 1;background-color:rgb(241 245 249 / var(--tw-bg-opacity, 1))}.bg-slate-200{--tw-bg-opacity: 1;background-color:rgb(226 232 240 / var(--tw-bg-opacity, 1))}.bg-slate-50{--tw-bg-opacity: 1;background-color:rgb(248 250 252 / var(--tw-bg-opacity, 1))}.bg-slate-950{--tw-bg-opacity: 1;background-color:rgb(2 6 23 / var(--tw-bg-opacity, 1))}.bg-transparent{background-color:transparent}.bg-white{--tw-bg-opacity: 1;background-color:rgb(255 255 255 / var(--tw-bg-opacity, 1))}.bg-white\/10{background-color:#ffffff1a}.bg-white\/40{background-color:#fff6}.bg-white\/60{background-color:#fff9}.bg-white\/70{background-color:#ffffffb3}.bg-white\/80{background-color:#fffc}.bg-white\/90{background-color:#ffffffe6}.bg-white\/95{background-color:#fffffff2}.bg-gradient-to-b{background-image:linear-gradient(to bottom,var(--tw-gradient-stops))}.from-transparent{--tw-gradient-from: transparent var(--tw-gradient-from-position);--tw-gradient-to: rgb(0 0 0 / 0) var(--tw-gradient-to-position);--tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to)}.from-white{--tw-gradient-from: #fff var(--tw-gradient-from-position);--tw-gradient-to: rgb(255 255 255 / 0) var(--tw-gradient-to-position);--tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to)}.via-gray-50{--tw-gradient-to: rgb(249 250 251 / 0) var(--tw-gradient-to-position);--tw-gradient-stops: var(--tw-gradient-from), #f9fafb var(--tw-gradient-via-position), var(--tw-gradient-to)}.to-gray-100{--tw-gradient-to: #f3f4f6 var(--tw-gradient-to-position)}.to-slate-50\/80{--tw-gradient-to: rgb(248 250 252 / .8) var(--tw-gradient-to-position)}.to-white{--tw-gradient-to: #fff var(--tw-gradient-to-position)}.fill-current{fill:currentColor}.p-1{padding:.25rem}.p-1\.5{padding:.375rem}.p-2{padding:.5rem}.p-2\.5{padding:.625rem}.p-3{padding:.75rem}.p-4{padding:1rem}.p-6{padding:1.5rem}.px-0{padding-left:0;padding-right:0}.px-1{padding-left:.25rem;padding-right:.25rem}.px-1\.5{padding-left:.375rem;padding-right:.375rem}.px-2{padding-left:.5rem;padding-right:.5rem}.px-2\.5{padding-left:.625rem;padding-right:.625rem}.px-3{padding-left:.75rem;padding-right:.75rem}.px-3\.5{padding-left:.875rem;padding-right:.875rem}.px-4{padding-left:1rem;padding-right:1rem}.py-0{padding-top:0;padding-bottom:0}.py-0\.5{padding-top:.125rem;padding-bottom:.125rem}.py-1{padding-top:.25rem;padding-bottom:.25rem}.py-1\.5{padding-top:.375rem;padding-bottom:.375rem}.py-12{padding-top:3rem;padding-bottom:3rem}.py-2{padding-top:.5rem;padding-bottom:.5rem}.py-2\.5{padding-top:.625rem;padding-bottom:.625rem}.py-3{padding-top:.75rem;padding-bottom:.75rem}.py-3\.5{padding-top:.875rem;padding-bottom:.875rem}.py-4{padding-top:1rem;padding-bottom:1rem}.py-6{padding-top:1.5rem;padding-bottom:1.5rem}.pb-3{padding-bottom:.75rem}.pb-4{padding-bottom:1rem}.pb-6{padding-bottom:1.5rem}.pb-\[max\(env\(safe-area-inset-bottom\)\,0\.75rem\)\]{padding-bottom:max(env(safe-area-inset-bottom),.75rem)}.pl-4{padding-left:1rem}.pl-9{padding-left:2.25rem}.pr-1{padding-right:.25rem}.pr-3{padding-right:.75rem}.pt-2{padding-top:.5rem}.pt-3{padding-top:.75rem}.pt-4{padding-top:1rem}.pt-\[max\(env\(safe-area-inset-top\)\,1rem\)\]{padding-top:max(env(safe-area-inset-top),1rem)}.text-left{text-align:left}.text-center{text-align:center}.\!text-sm{font-size:.875rem!important;line-height:1.25rem!important}.text-2xl{font-size:1.5rem;line-height:2rem}.text-\[10px\]{font-size:10px}.text-\[11px\]{font-size:11px}.text-base{font-size:1rem;line-height:1.5rem}.text-lg{font-size:1.125rem;line-height:1.75rem}.text-sm{font-size:.875rem;line-height:1.25rem}.text-xl{font-size:1.25rem;line-height:1.75rem}.text-xs{font-size:.75rem;line-height:1rem}.\!font-semibold{font-weight:600!important}.font-bold{font-weight:700}.font-medium{font-weight:500}.font-semibold{font-weight:600}.uppercase{text-transform:uppercase}.normal-case{text-transform:none}.leading-6{line-height:1.5rem}.leading-none{line-height:1}.leading-relaxed{line-height:1.625}.tracking-tight{letter-spacing:-.025em}.tracking-wide{letter-spacing:.025em}.tracking-wider{letter-spacing:.05em}.tracking-widest{letter-spacing:.1em}.\!text-gray-700{--tw-text-opacity: 1 !important;color:rgb(55 65 81 / var(--tw-text-opacity, 1))!important}.text-\[\#0f172a\]{--tw-text-opacity: 1;color:rgb(15 23 42 / var(--tw-text-opacity, 1))}.text-\[\#11111b\]{--tw-text-opacity: 1;color:rgb(17 17 27 / var(--tw-text-opacity, 1))}.text-\[\#11121a\]{--tw-text-opacity: 1;color:rgb(17 18 26 / var(--tw-text-opacity, 1))}.text-\[\#1c3226\]{--tw-text-opacity: 1;color:rgb(28 50 38 / var(--tw-text-opacity, 1))}.text-\[\#1f1f21\]{--tw-text-opacity: 1;color:rgb(31 31 33 / var(--tw-text-opacity, 1))}.text-\[\#1f2937\]{--tw-text-opacity: 1;color:rgb(31 41 55 / var(--tw-text-opacity, 1))}.text-\[\#353740\]{--tw-text-opacity: 1;color:rgb(53 55 64 / var(--tw-text-opacity, 1))}.text-\[\#4a4c5a\]{--tw-text-opacity: 1;color:rgb(74 76 90 / var(--tw-text-opacity, 1))}.text-amber-300{--tw-text-opacity: 1;color:rgb(252 211 77 / var(--tw-text-opacity, 1))}.text-amber-500{--tw-text-opacity: 1;color:rgb(245 158 11 / var(--tw-text-opacity, 1))}.text-amber-600{--tw-text-opacity: 1;color:rgb(217 119 6 / var(--tw-text-opacity, 1))}.text-amber-700{--tw-text-opacity: 1;color:rgb(180 83 9 / var(--tw-text-opacity, 1))}.text-amber-900{--tw-text-opacity: 1;color:rgb(120 53 15 / var(--tw-text-opacity, 1))}.text-blue-500{--tw-text-opacity: 1;color:rgb(59 130 246 / var(--tw-text-opacity, 1))}.text-blue-600{--tw-text-opacity: 1;color:rgb(37 99 235 / var(--tw-text-opacity, 1))}.text-blue-700{--tw-text-opacity: 1;color:rgb(29 78 216 / var(--tw-text-opacity, 1))}.text-blue-800{--tw-text-opacity: 1;color:rgb(30 64 175 / var(--tw-text-opacity, 1))}.text-blue-900{--tw-text-opacity: 1;color:rgb(30 58 138 / var(--tw-text-opacity, 1))}.text-blue-900\/70{color:#1e3a8ab3}.text-blue-900\/80{color:#1e3a8acc}.text-current{color:currentColor}.text-emerald-600{--tw-text-opacity: 1;color:rgb(5 150 105 / var(--tw-text-opacity, 1))}.text-emerald-700{--tw-text-opacity: 1;color:rgb(4 120 87 / var(--tw-text-opacity, 1))}.text-gray-300{--tw-text-opacity: 1;color:rgb(209 213 219 / var(--tw-text-opacity, 1))}.text-gray-400{--tw-text-opacity: 1;color:rgb(156 163 175 / var(--tw-text-opacity, 1))}.text-gray-500{--tw-text-opacity: 1;color:rgb(107 114 128 / var(--tw-text-opacity, 1))}.text-gray-600{--tw-text-opacity: 1;color:rgb(75 85 99 / var(--tw-text-opacity, 1))}.text-gray-700{--tw-text-opacity: 1;color:rgb(55 65 81 / var(--tw-text-opacity, 1))}.text-gray-800{--tw-text-opacity: 1;color:rgb(31 41 55 / var(--tw-text-opacity, 1))}.text-gray-900{--tw-text-opacity: 1;color:rgb(17 24 39 / var(--tw-text-opacity, 1))}.text-green-700{--tw-text-opacity: 1;color:rgb(21 128 61 / var(--tw-text-opacity, 1))}.text-red-500{--tw-text-opacity: 1;color:rgb(239 68 68 / var(--tw-text-opacity, 1))}.text-red-600{--tw-text-opacity: 1;color:rgb(220 38 38 / var(--tw-text-opacity, 1))}.text-red-600\/60{color:#dc262699}.text-red-700{--tw-text-opacity: 1;color:rgb(185 28 28 / var(--tw-text-opacity, 1))}.text-slate-300{--tw-text-opacity: 1;color:rgb(203 213 225 / var(--tw-text-opacity, 1))}.text-slate-400{--tw-text-opacity: 1;color:rgb(148 163 184 / var(--tw-text-opacity, 1))}.text-slate-500{--tw-text-opacity: 1;color:rgb(100 116 139 / var(--tw-text-opacity, 1))}.text-slate-600{--tw-text-opacity: 1;color:rgb(71 85 105 / var(--tw-text-opacity, 1))}.text-slate-700{--tw-text-opacity: 1;color:rgb(51 65 85 / var(--tw-text-opacity, 1))}.text-slate-900{--tw-text-opacity: 1;color:rgb(15 23 42 / var(--tw-text-opacity, 1))}.text-white{--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity, 1))}.text-white\/60{color:#fff9}.text-yellow-500{--tw-text-opacity: 1;color:rgb(234 179 8 / var(--tw-text-opacity, 1))}.placeholder-gray-400::-moz-placeholder{--tw-placeholder-opacity: 1;color:rgb(156 163 175 / var(--tw-placeholder-opacity, 1))}.placeholder-gray-400::placeholder{--tw-placeholder-opacity: 1;color:rgb(156 163 175 / var(--tw-placeholder-opacity, 1))}.placeholder-slate-500::-moz-placeholder{--tw-placeholder-opacity: 1;color:rgb(100 116 139 / var(--tw-placeholder-opacity, 1))}.placeholder-slate-500::placeholder{--tw-placeholder-opacity: 1;color:rgb(100 116 139 / var(--tw-placeholder-opacity, 1))}.placeholder-transparent::-moz-placeholder{color:transparent}.placeholder-transparent::placeholder{color:transparent}.accent-gray-600{accent-color:#4b5563}.opacity-0{opacity:0}.opacity-50{opacity:.5}.opacity-65{opacity:.65}.shadow-2xl{--tw-shadow: 0 25px 50px -12px rgb(0 0 0 / .25);--tw-shadow-colored: 0 25px 50px -12px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.shadow-\[0_-12px_45px_rgba\(15\,23\,42\,0\.2\)\]{--tw-shadow: 0 -12px 45px rgba(15,23,42,.2);--tw-shadow-colored: 0 -12px 45px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.shadow-\[0_12px_28px_-22px_rgba\(15\,23\,42\,0\.5\)\]{--tw-shadow: 0 12px 28px -22px rgba(15,23,42,.5);--tw-shadow-colored: 0 12px 28px -22px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.shadow-\[0_12px_30px_-18px_rgba\(15\,52\,33\,0\.25\)\]{--tw-shadow: 0 12px 30px -18px rgba(15,52,33,.25);--tw-shadow-colored: 0 12px 30px -18px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.shadow-\[0_14px_38px_rgba\(15\,23\,42\,0\.14\)\]{--tw-shadow: 0 14px 38px rgba(15,23,42,.14);--tw-shadow-colored: 0 14px 38px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.shadow-\[0_15px_35px_-20px_rgba\(15\,23\,42\,0\.25\)\]{--tw-shadow: 0 15px 35px -20px rgba(15,23,42,.25);--tw-shadow-colored: 0 15px 35px -20px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.shadow-\[0_25px_60px_rgba\(15\,23\,42\,0\.15\)\]{--tw-shadow: 0 25px 60px rgba(15,23,42,.15);--tw-shadow-colored: 0 25px 60px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.shadow-\[0_2px_8px_rgba\(15\,23\,42\,0\.06\)\]{--tw-shadow: 0 2px 8px rgba(15,23,42,.06);--tw-shadow-colored: 0 2px 8px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.shadow-inner{--tw-shadow: inset 0 2px 4px 0 rgb(0 0 0 / .05);--tw-shadow-colored: inset 0 2px 4px 0 var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.shadow-lg{--tw-shadow: 0 10px 15px -3px rgb(0 0 0 / .1), 0 4px 6px -4px rgb(0 0 0 / .1);--tw-shadow-colored: 0 10px 15px -3px var(--tw-shadow-color), 0 4px 6px -4px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.shadow-md{--tw-shadow: 0 4px 6px -1px rgb(0 0 0 / .1), 0 2px 4px -2px rgb(0 0 0 / .1);--tw-shadow-colored: 0 4px 6px -1px var(--tw-shadow-color), 0 2px 4px -2px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.shadow-sm{--tw-shadow: 0 1px 2px 0 rgb(0 0 0 / .05);--tw-shadow-colored: 0 1px 2px 0 var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.shadow-xl{--tw-shadow: 0 20px 25px -5px rgb(0 0 0 / .1), 0 8px 10px -6px rgb(0 0 0 / .1);--tw-shadow-colored: 0 20px 25px -5px var(--tw-shadow-color), 0 8px 10px -6px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.outline-none{outline:2px solid transparent;outline-offset:2px}.outline{outline-style:solid}.ring-1{--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)}.ring-black\/5{--tw-ring-color: rgb(0 0 0 / .05)}.ring-blue-100\/60{--tw-ring-color: rgb(219 234 254 / .6)}.filter{filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.backdrop-blur{--tw-backdrop-blur: blur(8px);-webkit-backdrop-filter:var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia);backdrop-filter:var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia)}.backdrop-blur-sm{--tw-backdrop-blur: blur(4px);-webkit-backdrop-filter:var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia);backdrop-filter:var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia)}.backdrop-blur-xl{--tw-backdrop-blur: blur(24px);-webkit-backdrop-filter:var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia);backdrop-filter:var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia)}.transition{transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-all{transition-property:all;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-colors{transition-property:color,background-color,border-color,text-decoration-color,fill,stroke;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-opacity{transition-property:opacity;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-transform{transition-property:transform;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.duration-150{transition-duration:.15s}.duration-200{transition-duration:.2s}.duration-300{transition-duration:.3s}.line-clamp-2{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.line-clamp-3{display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}.katex{font-size:1em!important}.katex-display{margin:1em 0!important;text-align:center}.markdown-content .katex{overflow-x:auto;overflow-y:hidden}.markdown-content .katex-display{overflow-x:auto;overflow-y:hidden;padding:.5em 0}@media (prefers-color-scheme: dark){.katex{color:inherit!important}}::-webkit-scrollbar{width:8px;height:8px}::-webkit-scrollbar-track{border-radius:9999px;--tw-bg-opacity: 1;background-color:rgb(241 245 249 / var(--tw-bg-opacity, 1))}:is(.dark *)::-webkit-scrollbar-track{--tw-bg-opacity: 1;background-color:rgb(30 41 59 / var(--tw-bg-opacity, 1))}::-webkit-scrollbar-thumb{border-radius:9999px;--tw-bg-opacity: 1;background-color:rgb(203 213 225 / var(--tw-bg-opacity, 1))}:is(.dark *)::-webkit-scrollbar-thumb{--tw-bg-opacity: 1;background-color:rgb(71 85 105 / var(--tw-bg-opacity, 1))}::-webkit-scrollbar-thumb:hover{--tw-bg-opacity: 1;background-color:rgb(148 163 184 / var(--tw-bg-opacity, 1))}:is(.dark *)::-webkit-scrollbar-thumb:hover{--tw-bg-opacity: 1;background-color:rgb(100 116 139 / var(--tw-bg-opacity, 1))}.high-contrast{--tw-text-opacity: 1;--tw-bg-opacity: 1}.high-contrast .text-slate-500{--tw-text-opacity: 1;color:rgb(51 65 85 / var(--tw-text-opacity, 1))}.high-contrast .text-slate-500:is(.dark *){--tw-text-opacity: 1;color:rgb(203 213 225 / var(--tw-text-opacity, 1))}.high-contrast .text-slate-400{--tw-text-opacity: 1;color:rgb(71 85 105 / var(--tw-text-opacity, 1))}.high-contrast .text-slate-400:is(.dark *){--tw-text-opacity: 1;color:rgb(226 232 240 / var(--tw-text-opacity, 1))}.high-contrast .bg-slate-50{--tw-bg-opacity: 1;background-color:rgb(241 245 249 / var(--tw-bg-opacity, 1))}.high-contrast .bg-slate-50:is(.dark *){--tw-bg-opacity: 1;background-color:rgb(30 41 59 / var(--tw-bg-opacity, 1))}@keyframes fadeIn{0%{opacity:0}to{opacity:1}}@keyframes slideIn{0%{transform:translate(-100%)}to{transform:translate(0)}}@keyframes shimmer{0%{background-position:-200px 0}to{background-position:200px 0}}.animate-fadeIn{animation:fadeIn .3s ease-out}.animate-slideIn{animation:slideIn .3s ease-out}.animate-shimmer{animation:shimmer 1.5s infinite;background:linear-gradient(90deg,transparent,rgba(255,255,255,.4),transparent);background-size:200px 100%}.message-input-container:focus-within{outline:2px solid transparent;outline-offset:2px}button:focus-visible,input:focus-visible,textarea:focus-visible{outline:2px solid transparent;outline-offset:2px;--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000);--tw-ring-color: rgb(156 163 175 / .7);--tw-ring-offset-width: 0px}button:focus-visible:is(.dark *),input:focus-visible:is(.dark *),textarea:focus-visible:is(.dark *){--tw-ring-color: rgb(107 114 128 / .7)}@media (max-width: 768px){.prose,body{font-size:.875rem;line-height:1.25rem}button,a,[role=button]{touch-action:manipulation}.overflow-y-auto,.overflow-x-auto,.overflow-auto{-webkit-overflow-scrolling:touch;overscroll-behavior:contain}.message-list::-webkit-scrollbar,.overflow-y-auto::-webkit-scrollbar{display:none}.message-list,.overflow-y-auto{-ms-overflow-style:none;scrollbar-width:none}button,input,textarea,select,a{touch-action:manipulation}button,[role=button],a{min-height:44px;min-width:44px}.inline-btn,button.h-8,button.h-6{min-height:auto;min-width:auto}}@supports (-webkit-touch-callout: none){input[type=text],input[type=password],input[type=email],input[type=tel],input[type=number],input[type=search],textarea,select{font-size:16px!important}@media (min-width: 768px){input[type=text],input[type=password],input[type=email],input[type=tel],input[type=number],input[type=search],textarea,select{font-size:inherit!important}}.mobile-bottom-safe{padding-bottom:max(env(safe-area-inset-bottom),.75rem)}}@media (hover: none) and (pointer: coarse){button:active:not(:disabled),[role=button]:active:not(:disabled){transform:scale(.97);transition:transform .1s ease-out}.conversation-item:active{--tw-bg-opacity: 1;background-color:rgb(243 244 246 / var(--tw-bg-opacity, 1))}.conversation-item:active:is(.dark *){--tw-bg-opacity: 1;background-color:rgb(60 63 74 / var(--tw-bg-opacity, 1))}}@media (prefers-reduced-motion: reduce){*,:before,:after{animation-delay:-1ms!important;animation-duration:1ms!important;animation-iteration-count:1!important;background-attachment:initial!important;scroll-behavior:auto!important;transition-duration:0s!important;transition-delay:0s!important}}.last\:mb-0:last-child{margin-bottom:0}.hover\:-translate-y-0\.5:hover{--tw-translate-y: -.125rem;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.hover\:scale-105:hover{--tw-scale-x: 1.05;--tw-scale-y: 1.05;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.hover\:border-blue-200:hover{--tw-border-opacity: 1;border-color:rgb(191 219 254 / var(--tw-border-opacity, 1))}.hover\:border-emerald-400:hover{--tw-border-opacity: 1;border-color:rgb(52 211 153 / var(--tw-border-opacity, 1))}.hover\:border-gray-300:hover{--tw-border-opacity: 1;border-color:rgb(209 213 219 / var(--tw-border-opacity, 1))}.hover\:border-gray-400:hover{--tw-border-opacity: 1;border-color:rgb(156 163 175 / var(--tw-border-opacity, 1))}.hover\:border-red-400:hover{--tw-border-opacity: 1;border-color:rgb(248 113 113 / var(--tw-border-opacity, 1))}.hover\:bg-\[\#0c0d14\]:hover{--tw-bg-opacity: 1;background-color:rgb(12 13 20 / var(--tw-bg-opacity, 1))}.hover\:bg-amber-700:hover{--tw-bg-opacity: 1;background-color:rgb(180 83 9 / var(--tw-bg-opacity, 1))}.hover\:bg-blue-50:hover{--tw-bg-opacity: 1;background-color:rgb(239 246 255 / var(--tw-bg-opacity, 1))}.hover\:bg-blue-600:hover{--tw-bg-opacity: 1;background-color:rgb(37 99 235 / var(--tw-bg-opacity, 1))}.hover\:bg-blue-700:hover{--tw-bg-opacity: 1;background-color:rgb(29 78 216 / var(--tw-bg-opacity, 1))}.hover\:bg-emerald-50\/30:hover{background-color:#ecfdf54d}.hover\:bg-gray-100:hover{--tw-bg-opacity: 1;background-color:rgb(243 244 246 / var(--tw-bg-opacity, 1))}.hover\:bg-gray-200:hover{--tw-bg-opacity: 1;background-color:rgb(229 231 235 / var(--tw-bg-opacity, 1))}.hover\:bg-gray-300:hover{--tw-bg-opacity: 1;background-color:rgb(209 213 219 / var(--tw-bg-opacity, 1))}.hover\:bg-gray-50:hover{--tw-bg-opacity: 1;background-color:rgb(249 250 251 / var(--tw-bg-opacity, 1))}.hover\:bg-gray-800:hover{--tw-bg-opacity: 1;background-color:rgb(31 41 55 / var(--tw-bg-opacity, 1))}.hover\:bg-green-600:hover{--tw-bg-opacity: 1;background-color:rgb(22 163 74 / var(--tw-bg-opacity, 1))}.hover\:bg-red-100:hover{--tw-bg-opacity: 1;background-color:rgb(254 226 226 / var(--tw-bg-opacity, 1))}.hover\:bg-red-50:hover{--tw-bg-opacity: 1;background-color:rgb(254 242 242 / var(--tw-bg-opacity, 1))}.hover\:bg-red-600:hover{--tw-bg-opacity: 1;background-color:rgb(220 38 38 / var(--tw-bg-opacity, 1))}.hover\:bg-red-700:hover{--tw-bg-opacity: 1;background-color:rgb(185 28 28 / var(--tw-bg-opacity, 1))}.hover\:bg-white:hover{--tw-bg-opacity: 1;background-color:rgb(255 255 255 / var(--tw-bg-opacity, 1))}.hover\:bg-white\/70:hover{background-color:#ffffffb3}.hover\:bg-white\/80:hover{background-color:#fffc}.hover\:text-\[\#353740\]:hover{--tw-text-opacity: 1;color:rgb(53 55 64 / var(--tw-text-opacity, 1))}.hover\:text-blue-700:hover{--tw-text-opacity: 1;color:rgb(29 78 216 / var(--tw-text-opacity, 1))}.hover\:text-gray-900:hover{--tw-text-opacity: 1;color:rgb(17 24 39 / var(--tw-text-opacity, 1))}.hover\:text-red-700:hover{--tw-text-opacity: 1;color:rgb(185 28 28 / var(--tw-text-opacity, 1))}.hover\:shadow-\[0_15px_45px_rgba\(15\,23\,42\,0\.12\)\]:hover{--tw-shadow: 0 15px 45px rgba(15,23,42,.12);--tw-shadow-colored: 0 15px 45px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.hover\:shadow-\[0_8px_20px_rgba\(15\,23\,42\,0\.12\)\]:hover{--tw-shadow: 0 8px 20px rgba(15,23,42,.12);--tw-shadow-colored: 0 8px 20px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.hover\:shadow-md:hover{--tw-shadow: 0 4px 6px -1px rgb(0 0 0 / .1), 0 2px 4px -2px rgb(0 0 0 / .1);--tw-shadow-colored: 0 4px 6px -1px var(--tw-shadow-color), 0 2px 4px -2px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.focus\:border-blue-400:focus{--tw-border-opacity: 1;border-color:rgb(96 165 250 / var(--tw-border-opacity, 1))}.focus\:border-gray-400:focus{--tw-border-opacity: 1;border-color:rgb(156 163 175 / var(--tw-border-opacity, 1))}.focus\:outline-none:focus{outline:2px solid transparent;outline-offset:2px}.focus\:ring-2:focus{--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)}.focus\:ring-amber-500:focus{--tw-ring-opacity: 1;--tw-ring-color: rgb(245 158 11 / var(--tw-ring-opacity, 1))}.focus\:ring-blue-200\/70:focus{--tw-ring-color: rgb(191 219 254 / .7)}.focus\:ring-blue-500:focus{--tw-ring-opacity: 1;--tw-ring-color: rgb(59 130 246 / var(--tw-ring-opacity, 1))}.focus\:ring-red-400:focus{--tw-ring-opacity: 1;--tw-ring-color: rgb(248 113 113 / var(--tw-ring-opacity, 1))}.focus\:ring-red-500:focus{--tw-ring-opacity: 1;--tw-ring-color: rgb(239 68 68 / var(--tw-ring-opacity, 1))}.focus\:ring-offset-2:focus{--tw-ring-offset-width: 2px}.focus\:ring-offset-white:focus{--tw-ring-offset-color: #fff}.focus-visible\:outline-none:focus-visible{outline:2px solid transparent;outline-offset:2px}.focus-visible\:ring-2:focus-visible{--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)}.focus-visible\:ring-blue-500:focus-visible{--tw-ring-opacity: 1;--tw-ring-color: rgb(59 130 246 / var(--tw-ring-opacity, 1))}.focus-visible\:ring-blue-500\/70:focus-visible{--tw-ring-color: rgb(59 130 246 / .7)}.focus-visible\:ring-offset-2:focus-visible{--tw-ring-offset-width: 2px}.active\:scale-95:active{--tw-scale-x: .95;--tw-scale-y: .95;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.active\:scale-\[0\.97\]:active{--tw-scale-x: .97;--tw-scale-y: .97;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.disabled\:transform-none:disabled{transform:none}.disabled\:cursor-not-allowed:disabled{cursor:not-allowed}.disabled\:opacity-50:disabled{opacity:.5}.disabled\:opacity-60:disabled{opacity:.6}.group:focus-within .group-focus-within\:opacity-100{opacity:1}.group:hover .group-hover\:border-blue-100{--tw-border-opacity: 1;border-color:rgb(219 234 254 / var(--tw-border-opacity, 1))}.group:hover .group-hover\:bg-white{--tw-bg-opacity: 1;background-color:rgb(255 255 255 / var(--tw-bg-opacity, 1))}.group:hover .group-hover\:text-blue-500{--tw-text-opacity: 1;color:rgb(59 130 246 / var(--tw-text-opacity, 1))}.group:hover .group-hover\:opacity-100{opacity:1}.dark\:border-\[\#1a2b21\]:is(.dark *){--tw-border-opacity: 1;border-color:rgb(26 43 33 / var(--tw-border-opacity, 1))}.dark\:border-\[\#1f2a36\]:is(.dark *){--tw-border-opacity: 1;border-color:rgb(31 42 54 / var(--tw-border-opacity, 1))}.dark\:border-\[\#2f303d\]:is(.dark *){--tw-border-opacity: 1;border-color:rgb(47 48 61 / var(--tw-border-opacity, 1))}.dark\:border-\[\#3b3c49\]:is(.dark *){--tw-border-opacity: 1;border-color:rgb(59 60 73 / var(--tw-border-opacity, 1))}.dark\:border-\[\#3c3f4a\]:is(.dark *){--tw-border-opacity: 1;border-color:rgb(60 63 74 / var(--tw-border-opacity, 1))}.dark\:border-\[\#3f4354\]:is(.dark *){--tw-border-opacity: 1;border-color:rgb(63 67 84 / var(--tw-border-opacity, 1))}.dark\:border-\[\#40414f\]:is(.dark *){--tw-border-opacity: 1;border-color:rgb(64 65 79 / var(--tw-border-opacity, 1))}.dark\:border-\[\#444654\]:is(.dark *){--tw-border-opacity: 1;border-color:rgb(68 70 84 / var(--tw-border-opacity, 1))}.dark\:border-\[\#4a4b54\]:is(.dark *){--tw-border-opacity: 1;border-color:rgb(74 75 84 / var(--tw-border-opacity, 1))}.dark\:border-\[\#4d5368\]:is(.dark *){--tw-border-opacity: 1;border-color:rgb(77 83 104 / var(--tw-border-opacity, 1))}.dark\:border-\[\#565869\]:is(.dark *){--tw-border-opacity: 1;border-color:rgb(86 88 105 / var(--tw-border-opacity, 1))}.dark\:border-\[\#6b6f7a\]:is(.dark *){--tw-border-opacity: 1;border-color:rgb(107 111 122 / var(--tw-border-opacity, 1))}.dark\:border-amber-500\/30:is(.dark *){border-color:#f59e0b4d}.dark\:border-amber-500\/40:is(.dark *){border-color:#f59e0b66}.dark\:border-amber-800:is(.dark *){--tw-border-opacity: 1;border-color:rgb(146 64 14 / var(--tw-border-opacity, 1))}.dark\:border-blue-800:is(.dark *){--tw-border-opacity: 1;border-color:rgb(30 64 175 / var(--tw-border-opacity, 1))}.dark\:border-blue-900\/60:is(.dark *){border-color:#1e3a8a99}.dark\:border-emerald-400:is(.dark *){--tw-border-opacity: 1;border-color:rgb(52 211 153 / var(--tw-border-opacity, 1))}.dark\:border-gray-500:is(.dark *){--tw-border-opacity: 1;border-color:rgb(107 114 128 / var(--tw-border-opacity, 1))}.dark\:border-gray-600:is(.dark *){--tw-border-opacity: 1;border-color:rgb(75 85 99 / var(--tw-border-opacity, 1))}.dark\:border-gray-700:is(.dark *){--tw-border-opacity: 1;border-color:rgb(55 65 81 / var(--tw-border-opacity, 1))}.dark\:border-green-600\/40:is(.dark *){border-color:#16a34a66}.dark\:border-red-600\/40:is(.dark *){border-color:#dc262666}.dark\:border-red-700:is(.dark *){--tw-border-opacity: 1;border-color:rgb(185 28 28 / var(--tw-border-opacity, 1))}.dark\:border-red-800:is(.dark *){--tw-border-opacity: 1;border-color:rgb(153 27 27 / var(--tw-border-opacity, 1))}.dark\:border-red-900:is(.dark *){--tw-border-opacity: 1;border-color:rgb(127 29 29 / var(--tw-border-opacity, 1))}.dark\:border-slate-600:is(.dark *){--tw-border-opacity: 1;border-color:rgb(71 85 105 / var(--tw-border-opacity, 1))}.dark\:border-slate-700:is(.dark *){--tw-border-opacity: 1;border-color:rgb(51 65 85 / var(--tw-border-opacity, 1))}.dark\:border-slate-700\/60:is(.dark *){border-color:#33415599}.dark\:border-transparent:is(.dark *){border-color:transparent}.dark\:border-white\/10:is(.dark *){border-color:#ffffff1a}.dark\:border-white\/5:is(.dark *){border-color:#ffffff0d}.dark\:border-t-transparent:is(.dark *){border-top-color:transparent}.dark\:bg-\[\#171a22\]:is(.dark *){--tw-bg-opacity: 1;background-color:rgb(23 26 34 / var(--tw-bg-opacity, 1))}.dark\:bg-\[\#1c1d23\]\/90:is(.dark *){background-color:#1c1d23e6}.dark\:bg-\[\#1c1d23\]\/95:is(.dark *){background-color:#1c1d23f2}.dark\:bg-\[\#1f1f24\]:is(.dark *){--tw-bg-opacity: 1;background-color:rgb(31 31 36 / var(--tw-bg-opacity, 1))}.dark\:bg-\[\#1f2027\]:is(.dark *){--tw-bg-opacity: 1;background-color:rgb(31 32 39 / var(--tw-bg-opacity, 1))}.dark\:bg-\[\#1f2027\]\/95:is(.dark *){background-color:#1f2027f2}.dark\:bg-\[\#202123\]:is(.dark *){--tw-bg-opacity: 1;background-color:rgb(32 33 35 / var(--tw-bg-opacity, 1))}.dark\:bg-\[\#212121\]:is(.dark *){--tw-bg-opacity: 1;background-color:rgb(33 33 33 / var(--tw-bg-opacity, 1))}.dark\:bg-\[\#22232b\]:is(.dark *){--tw-bg-opacity: 1;background-color:rgb(34 35 43 / var(--tw-bg-opacity, 1))}.dark\:bg-\[\#232430\]:is(.dark *){--tw-bg-opacity: 1;background-color:rgb(35 36 48 / var(--tw-bg-opacity, 1))}.dark\:bg-\[\#232430\]\/80:is(.dark *){background-color:#232430cc}.dark\:bg-\[\#252830\]:is(.dark *){--tw-bg-opacity: 1;background-color:rgb(37 40 48 / var(--tw-bg-opacity, 1))}.dark\:bg-\[\#2a2b34\]:is(.dark *){--tw-bg-opacity: 1;background-color:rgb(42 43 52 / var(--tw-bg-opacity, 1))}.dark\:bg-\[\#2c2f36\]:is(.dark *){--tw-bg-opacity: 1;background-color:rgb(44 47 54 / var(--tw-bg-opacity, 1))}.dark\:bg-\[\#2d2f39\]:is(.dark *){--tw-bg-opacity: 1;background-color:rgb(45 47 57 / var(--tw-bg-opacity, 1))}.dark\:bg-\[\#2f2410\]:is(.dark *){--tw-bg-opacity: 1;background-color:rgb(47 36 16 / var(--tw-bg-opacity, 1))}.dark\:bg-\[\#2f313a\]:is(.dark *){--tw-bg-opacity: 1;background-color:rgb(47 49 58 / var(--tw-bg-opacity, 1))}.dark\:bg-\[\#343541\]:is(.dark *){--tw-bg-opacity: 1;background-color:rgb(52 53 65 / var(--tw-bg-opacity, 1))}.dark\:bg-\[\#3c3f4a\]:is(.dark *){--tw-bg-opacity: 1;background-color:rgb(60 63 74 / var(--tw-bg-opacity, 1))}.dark\:bg-\[\#4a4b54\]:is(.dark *){--tw-bg-opacity: 1;background-color:rgb(74 75 84 / var(--tw-bg-opacity, 1))}.dark\:bg-\[\#565869\]:is(.dark *){--tw-bg-opacity: 1;background-color:rgb(86 88 105 / var(--tw-bg-opacity, 1))}.dark\:bg-\[\#bfc2cd\]:is(.dark *){--tw-bg-opacity: 1;background-color:rgb(191 194 205 / var(--tw-bg-opacity, 1))}.dark\:bg-amber-900\/20:is(.dark *){background-color:#78350f33}.dark\:bg-amber-900\/30:is(.dark *){background-color:#78350f4d}.dark\:bg-blue-500:is(.dark *){--tw-bg-opacity: 1;background-color:rgb(59 130 246 / var(--tw-bg-opacity, 1))}.dark\:bg-blue-900\/20:is(.dark *){background-color:#1e3a8a33}.dark\:bg-blue-900\/30:is(.dark *){background-color:#1e3a8a4d}.dark\:bg-blue-900\/40:is(.dark *){background-color:#1e3a8a66}.dark\:bg-blue-900\/45:is(.dark *){background-color:#1e3a8a73}.dark\:bg-blue-950\/30:is(.dark *){background-color:#1725544d}.dark\:bg-emerald-400:is(.dark *){--tw-bg-opacity: 1;background-color:rgb(52 211 153 / var(--tw-bg-opacity, 1))}.dark\:bg-emerald-600:is(.dark *){--tw-bg-opacity: 1;background-color:rgb(5 150 105 / var(--tw-bg-opacity, 1))}.dark\:bg-emerald-900\/20:is(.dark *){background-color:#064e3b33}.dark\:bg-gray-600:is(.dark *){--tw-bg-opacity: 1;background-color:rgb(75 85 99 / var(--tw-bg-opacity, 1))}.dark\:bg-gray-700:is(.dark *){--tw-bg-opacity: 1;background-color:rgb(55 65 81 / var(--tw-bg-opacity, 1))}.dark\:bg-gray-800:is(.dark *){--tw-bg-opacity: 1;background-color:rgb(31 41 55 / var(--tw-bg-opacity, 1))}.dark\:bg-gray-800\/50:is(.dark *){background-color:#1f293780}.dark\:bg-gray-900:is(.dark *){--tw-bg-opacity: 1;background-color:rgb(17 24 39 / var(--tw-bg-opacity, 1))}.dark\:bg-green-900\/30:is(.dark *){background-color:#14532d4d}.dark\:bg-red-600:is(.dark *){--tw-bg-opacity: 1;background-color:rgb(220 38 38 / var(--tw-bg-opacity, 1))}.dark\:bg-red-700:is(.dark *){--tw-bg-opacity: 1;background-color:rgb(185 28 28 / var(--tw-bg-opacity, 1))}.dark\:bg-red-900\/20:is(.dark *){background-color:#7f1d1d33}.dark\:bg-red-900\/30:is(.dark *){background-color:#7f1d1d4d}.dark\:bg-red-900\/40:is(.dark *){background-color:#7f1d1d66}.dark\:bg-red-950\/30:is(.dark *){background-color:#450a0a4d}.dark\:bg-slate-700:is(.dark *){--tw-bg-opacity: 1;background-color:rgb(51 65 85 / var(--tw-bg-opacity, 1))}.dark\:bg-slate-800:is(.dark *){--tw-bg-opacity: 1;background-color:rgb(30 41 59 / var(--tw-bg-opacity, 1))}.dark\:bg-slate-800\/50:is(.dark *){background-color:#1e293b80}.dark\:bg-slate-900\/40:is(.dark *){background-color:#0f172a66}.dark\:bg-slate-900\/50:is(.dark *){background-color:#0f172a80}.dark\:bg-transparent:is(.dark *){background-color:transparent}.dark\:bg-white:is(.dark *){--tw-bg-opacity: 1;background-color:rgb(255 255 255 / var(--tw-bg-opacity, 1))}.dark\:bg-white\/10:is(.dark *){background-color:#ffffff1a}.dark\:bg-white\/5:is(.dark *){background-color:#ffffff0d}.dark\:bg-white\/\[0\.035\]:is(.dark *){background-color:#ffffff09}.dark\:bg-white\/\[0\.04\]:is(.dark *){background-color:#ffffff0a}.dark\:bg-gradient-to-b:is(.dark *){background-image:linear-gradient(to bottom,var(--tw-gradient-stops))}.dark\:bg-none:is(.dark *){background-image:none}.dark\:from-\[\#252937\]\/90:is(.dark *){--tw-gradient-from: rgb(37 41 55 / .9) var(--tw-gradient-from-position);--tw-gradient-to: rgb(37 41 55 / 0) var(--tw-gradient-to-position);--tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to)}.dark\:to-\[\#1c1d23\]:is(.dark *){--tw-gradient-to: #1c1d23 var(--tw-gradient-to-position)}.dark\:to-\[\#1d202b\]\/90:is(.dark *){--tw-gradient-to: rgb(29 32 43 / .9) var(--tw-gradient-to-position)}.dark\:\!text-white:is(.dark *){--tw-text-opacity: 1 !important;color:rgb(255 255 255 / var(--tw-text-opacity, 1))!important}.dark\:text-\[\#4a4b54\]:is(.dark *){--tw-text-opacity: 1;color:rgb(74 75 84 / var(--tw-text-opacity, 1))}.dark\:text-\[\#6b6f7a\]:is(.dark *){--tw-text-opacity: 1;color:rgb(107 111 122 / var(--tw-text-opacity, 1))}.dark\:text-\[\#8e8ea0\]:is(.dark *){--tw-text-opacity: 1;color:rgb(142 142 160 / var(--tw-text-opacity, 1))}.dark\:text-\[\#9ef0d5\]:is(.dark *){--tw-text-opacity: 1;color:rgb(158 240 213 / var(--tw-text-opacity, 1))}.dark\:text-\[\#a6acc5\]:is(.dark *){--tw-text-opacity: 1;color:rgb(166 172 197 / var(--tw-text-opacity, 1))}.dark\:text-\[\#b4c7ff\]:is(.dark *){--tw-text-opacity: 1;color:rgb(180 199 255 / var(--tw-text-opacity, 1))}.dark\:text-\[\#bfc2cd\]:is(.dark *){--tw-text-opacity: 1;color:rgb(191 194 205 / var(--tw-text-opacity, 1))}.dark\:text-\[\#c5d7ff\]:is(.dark *){--tw-text-opacity: 1;color:rgb(197 215 255 / var(--tw-text-opacity, 1))}.dark\:text-\[\#d1d5db\]:is(.dark *){--tw-text-opacity: 1;color:rgb(209 213 219 / var(--tw-text-opacity, 1))}.dark\:text-\[\#d4d7e2\]:is(.dark *){--tw-text-opacity: 1;color:rgb(212 215 226 / var(--tw-text-opacity, 1))}.dark\:text-\[\#dffbea\]:is(.dark *){--tw-text-opacity: 1;color:rgb(223 251 234 / var(--tw-text-opacity, 1))}.dark\:text-\[\#e1e8ff\]:is(.dark *){--tw-text-opacity: 1;color:rgb(225 232 255 / var(--tw-text-opacity, 1))}.dark\:text-\[\#e5e7f4\]:is(.dark *){--tw-text-opacity: 1;color:rgb(229 231 244 / var(--tw-text-opacity, 1))}.dark\:text-\[\#e5edff\]:is(.dark *){--tw-text-opacity: 1;color:rgb(229 237 255 / var(--tw-text-opacity, 1))}.dark\:text-\[\#ececf1\]:is(.dark *){--tw-text-opacity: 1;color:rgb(236 236 241 / var(--tw-text-opacity, 1))}.dark\:text-amber-100:is(.dark *){--tw-text-opacity: 1;color:rgb(254 243 199 / var(--tw-text-opacity, 1))}.dark\:text-amber-300:is(.dark *){--tw-text-opacity: 1;color:rgb(252 211 77 / var(--tw-text-opacity, 1))}.dark\:text-amber-400:is(.dark *){--tw-text-opacity: 1;color:rgb(251 191 36 / var(--tw-text-opacity, 1))}.dark\:text-black:is(.dark *){--tw-text-opacity: 1;color:rgb(0 0 0 / var(--tw-text-opacity, 1))}.dark\:text-blue-100:is(.dark *){--tw-text-opacity: 1;color:rgb(219 234 254 / var(--tw-text-opacity, 1))}.dark\:text-blue-200:is(.dark *){--tw-text-opacity: 1;color:rgb(191 219 254 / var(--tw-text-opacity, 1))}.dark\:text-blue-300:is(.dark *){--tw-text-opacity: 1;color:rgb(147 197 253 / var(--tw-text-opacity, 1))}.dark\:text-emerald-400:is(.dark *){--tw-text-opacity: 1;color:rgb(52 211 153 / var(--tw-text-opacity, 1))}.dark\:text-gray-100:is(.dark *){--tw-text-opacity: 1;color:rgb(243 244 246 / var(--tw-text-opacity, 1))}.dark\:text-gray-200:is(.dark *){--tw-text-opacity: 1;color:rgb(229 231 235 / var(--tw-text-opacity, 1))}.dark\:text-gray-300:is(.dark *){--tw-text-opacity: 1;color:rgb(209 213 219 / var(--tw-text-opacity, 1))}.dark\:text-gray-400:is(.dark *){--tw-text-opacity: 1;color:rgb(156 163 175 / var(--tw-text-opacity, 1))}.dark\:text-green-200:is(.dark *){--tw-text-opacity: 1;color:rgb(187 247 208 / var(--tw-text-opacity, 1))}.dark\:text-red-200:is(.dark *){--tw-text-opacity: 1;color:rgb(254 202 202 / var(--tw-text-opacity, 1))}.dark\:text-red-300:is(.dark *){--tw-text-opacity: 1;color:rgb(252 165 165 / var(--tw-text-opacity, 1))}.dark\:text-red-400:is(.dark *){--tw-text-opacity: 1;color:rgb(248 113 113 / var(--tw-text-opacity, 1))}.dark\:text-red-400\/60:is(.dark *){color:#f8717199}.dark\:text-slate-100:is(.dark *){--tw-text-opacity: 1;color:rgb(241 245 249 / var(--tw-text-opacity, 1))}.dark\:text-slate-300:is(.dark *){--tw-text-opacity: 1;color:rgb(203 213 225 / var(--tw-text-opacity, 1))}.dark\:text-slate-400:is(.dark *){--tw-text-opacity: 1;color:rgb(148 163 184 / var(--tw-text-opacity, 1))}.dark\:text-slate-500:is(.dark *){--tw-text-opacity: 1;color:rgb(100 116 139 / var(--tw-text-opacity, 1))}.dark\:text-slate-600:is(.dark *){--tw-text-opacity: 1;color:rgb(71 85 105 / var(--tw-text-opacity, 1))}.dark\:text-white:is(.dark *){--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity, 1))}.dark\:text-yellow-300:is(.dark *){--tw-text-opacity: 1;color:rgb(253 224 71 / var(--tw-text-opacity, 1))}.dark\:placeholder-\[\#8e8ea0\]:is(.dark *)::-moz-placeholder{--tw-placeholder-opacity: 1;color:rgb(142 142 160 / var(--tw-placeholder-opacity, 1))}.dark\:placeholder-\[\#8e8ea0\]:is(.dark *)::placeholder{--tw-placeholder-opacity: 1;color:rgb(142 142 160 / var(--tw-placeholder-opacity, 1))}.dark\:placeholder-transparent:is(.dark *)::-moz-placeholder{color:transparent}.dark\:placeholder-transparent:is(.dark *)::placeholder{color:transparent}.dark\:accent-\[\#bfc2cd\]:is(.dark *){accent-color:#bfc2cd}.dark\:shadow-\[0_16px_38px_rgba\(0\,0\,0\,0\.45\)\]:is(.dark *){--tw-shadow: 0 16px 38px rgba(0,0,0,.45);--tw-shadow-colored: 0 16px 38px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.dark\:shadow-lg:is(.dark *){--tw-shadow: 0 10px 15px -3px rgb(0 0 0 / .1), 0 4px 6px -4px rgb(0 0 0 / .1);--tw-shadow-colored: 0 10px 15px -3px var(--tw-shadow-color), 0 4px 6px -4px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.dark\:shadow-none:is(.dark *){--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.dark\:ring-white\/10:is(.dark *){--tw-ring-color: rgb(255 255 255 / .1)}.dark\:ring-white\/5:is(.dark *){--tw-ring-color: rgb(255 255 255 / .05)}.dark\:hover\:border-\[\#4a4b54\]:hover:is(.dark *){--tw-border-opacity: 1;border-color:rgb(74 75 84 / var(--tw-border-opacity, 1))}.dark\:hover\:border-\[\#6b6f7a\]:hover:is(.dark *){--tw-border-opacity: 1;border-color:rgb(107 111 122 / var(--tw-border-opacity, 1))}.dark\:hover\:border-blue-400\/50:hover:is(.dark *){border-color:#60a5fa80}.dark\:hover\:border-gray-500:hover:is(.dark *){--tw-border-opacity: 1;border-color:rgb(107 114 128 / var(--tw-border-opacity, 1))}.dark\:hover\:border-red-500\/60:hover:is(.dark *){border-color:#ef444499}.dark\:hover\:bg-\[\#2a2d35\]:hover:is(.dark *){--tw-bg-opacity: 1;background-color:rgb(42 45 53 / var(--tw-bg-opacity, 1))}.dark\:hover\:bg-\[\#2f323c\]:hover:is(.dark *){--tw-bg-opacity: 1;background-color:rgb(47 50 60 / var(--tw-bg-opacity, 1))}.dark\:hover\:bg-\[\#353947\]:hover:is(.dark *){--tw-bg-opacity: 1;background-color:rgb(53 57 71 / var(--tw-bg-opacity, 1))}.dark\:hover\:bg-\[\#3c3f4a\]:hover:is(.dark *){--tw-bg-opacity: 1;background-color:rgb(60 63 74 / var(--tw-bg-opacity, 1))}.dark\:hover\:bg-\[\#565869\]:hover:is(.dark *){--tw-bg-opacity: 1;background-color:rgb(86 88 105 / var(--tw-bg-opacity, 1))}.dark\:hover\:bg-\[\#6b6f7a\]:hover:is(.dark *){--tw-bg-opacity: 1;background-color:rgb(107 111 122 / var(--tw-bg-opacity, 1))}.dark\:hover\:bg-blue-400:hover:is(.dark *){--tw-bg-opacity: 1;background-color:rgb(96 165 250 / var(--tw-bg-opacity, 1))}.dark\:hover\:bg-blue-900\/30:hover:is(.dark *){background-color:#1e3a8a4d}.dark\:hover\:bg-emerald-900\/10:hover:is(.dark *){background-color:#064e3b1a}.dark\:hover\:bg-gray-200:hover:is(.dark *){--tw-bg-opacity: 1;background-color:rgb(229 231 235 / var(--tw-bg-opacity, 1))}.dark\:hover\:bg-gray-600:hover:is(.dark *){--tw-bg-opacity: 1;background-color:rgb(75 85 99 / var(--tw-bg-opacity, 1))}.dark\:hover\:bg-gray-700:hover:is(.dark *){--tw-bg-opacity: 1;background-color:rgb(55 65 81 / var(--tw-bg-opacity, 1))}.dark\:hover\:bg-gray-800:hover:is(.dark *){--tw-bg-opacity: 1;background-color:rgb(31 41 55 / var(--tw-bg-opacity, 1))}.dark\:hover\:bg-red-600:hover:is(.dark *){--tw-bg-opacity: 1;background-color:rgb(220 38 38 / var(--tw-bg-opacity, 1))}.dark\:hover\:bg-red-700:hover:is(.dark *){--tw-bg-opacity: 1;background-color:rgb(185 28 28 / var(--tw-bg-opacity, 1))}.dark\:hover\:bg-red-800\/40:hover:is(.dark *){background-color:#991b1b66}.dark\:hover\:bg-red-900\/20:hover:is(.dark *){background-color:#7f1d1d33}.dark\:hover\:bg-red-900\/30:hover:is(.dark *){background-color:#7f1d1d4d}.dark\:hover\:bg-slate-800\/60:hover:is(.dark *){background-color:#1e293b99}.dark\:hover\:bg-white\/\[0\.08\]:hover:is(.dark *){background-color:#ffffff14}.dark\:hover\:text-blue-200:hover:is(.dark *){--tw-text-opacity: 1;color:rgb(191 219 254 / var(--tw-text-opacity, 1))}.dark\:hover\:text-blue-300:hover:is(.dark *){--tw-text-opacity: 1;color:rgb(147 197 253 / var(--tw-text-opacity, 1))}.dark\:hover\:text-white:hover:is(.dark *){--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity, 1))}.dark\:focus\:border-\[\#6b6f7a\]:focus:is(.dark *){--tw-border-opacity: 1;border-color:rgb(107 111 122 / var(--tw-border-opacity, 1))}.dark\:focus\:border-blue-400:focus:is(.dark *){--tw-border-opacity: 1;border-color:rgb(96 165 250 / var(--tw-border-opacity, 1))}.dark\:focus\:ring-blue-500\/30:focus:is(.dark *){--tw-ring-color: rgb(59 130 246 / .3)}.dark\:focus\:ring-offset-gray-800:focus:is(.dark *){--tw-ring-offset-color: #1f2937}.dark\:focus-visible\:ring-blue-400:focus-visible:is(.dark *){--tw-ring-opacity: 1;--tw-ring-color: rgb(96 165 250 / var(--tw-ring-opacity, 1))}.dark\:focus-visible\:ring-blue-400\/70:focus-visible:is(.dark *){--tw-ring-color: rgb(96 165 250 / .7)}.dark\:disabled\:hover\:border-\[\#4a4b54\]:hover:disabled:is(.dark *){--tw-border-opacity: 1;border-color:rgb(74 75 84 / var(--tw-border-opacity, 1))}.dark\:disabled\:hover\:bg-transparent:hover:disabled:is(.dark *){background-color:transparent}.group:hover .dark\:group-hover\:border-blue-500\/40:is(.dark *){border-color:#3b82f666}.group:hover .dark\:group-hover\:bg-transparent:is(.dark *){background-color:transparent}.group:hover .dark\:group-hover\:text-blue-300:is(.dark *){--tw-text-opacity: 1;color:rgb(147 197 253 / var(--tw-text-opacity, 1))}@media (min-width: 640px){.sm\:order-1{order:1}.sm\:order-2{order:2}.sm\:-mt-3{margin-top:-.75rem}.sm\:ml-2{margin-left:.5rem}.sm\:inline{display:inline}.sm\:h-3{height:.75rem}.sm\:h-4{height:1rem}.sm\:h-9{height:2.25rem}.sm\:w-3{width:.75rem}.sm\:w-4{width:1rem}.sm\:w-9{width:2.25rem}.sm\:w-auto{width:auto}.sm\:min-w-\[220px\]{min-width:220px}.sm\:flex-row{flex-direction:row}.sm\:items-start{align-items:flex-start}.sm\:items-end{align-items:flex-end}.sm\:items-center{align-items:center}.sm\:justify-end{justify-content:flex-end}.sm\:justify-between{justify-content:space-between}.sm\:gap-2{gap:.5rem}.sm\:gap-3{gap:.75rem}.sm\:gap-4{gap:1rem}.sm\:p-4{padding:1rem}.sm\:px-0{padding-left:0;padding-right:0}.sm\:px-3{padding-left:.75rem;padding-right:.75rem}.sm\:px-4{padding-left:1rem;padding-right:1rem}.sm\:px-6{padding-left:1.5rem;padding-right:1.5rem}.sm\:text-sm{font-size:.875rem;line-height:1.25rem}.sm\:text-xs{font-size:.75rem;line-height:1rem}}@media (min-width: 768px){.md\:static{position:static}.md\:absolute{position:absolute}.md\:bottom-full{bottom:100%}.md\:left-0{left:0}.md\:mx-0{margin-left:0;margin-right:0}.md\:mt-0{margin-top:0}.md\:flex{display:flex}.md\:hidden{display:none}.md\:h-2{height:.5rem}.md\:h-3{height:.75rem}.md\:h-4{height:1rem}.md\:h-8{height:2rem}.md\:min-h-screen{min-height:100vh}.md\:w-2{width:.5rem}.md\:w-3{width:.75rem}.md\:w-4{width:1rem}.md\:w-72{width:18rem}.md\:w-8{width:2rem}.md\:w-\[32rem\]{width:32rem}.md\:min-w-\[72px\]{min-width:72px}.md\:max-w-full{max-width:100%}.md\:flex-none{flex:none}.md\:flex-shrink-0{flex-shrink:0}.md\:flex-row{flex-direction:row}.md\:flex-nowrap{flex-wrap:nowrap}.md\:items-center{align-items:center}.md\:justify-start{justify-content:flex-start}.md\:justify-end{justify-content:flex-end}.md\:gap-2{gap:.5rem}.md\:gap-3{gap:.75rem}.md\:overflow-visible{overflow:visible}.md\:rounded-lg{border-radius:.5rem}.md\:rounded-none{border-radius:0}.md\:border-0{border-width:0px}.md\:border-gray-200{--tw-border-opacity: 1;border-color:rgb(229 231 235 / var(--tw-border-opacity, 1))}.md\:border-transparent{border-color:transparent}.md\:bg-transparent{background-color:transparent}.md\:px-0{padding-left:0;padding-right:0}.md\:px-4{padding-left:1rem;padding-right:1rem}.md\:py-3{padding-top:.75rem;padding-bottom:.75rem}.md\:py-4{padding-top:1rem;padding-bottom:1rem}.md\:pb-0{padding-bottom:0}.md\:pb-6{padding-bottom:1.5rem}.md\:pt-0{padding-top:0}.md\:pt-6{padding-top:1.5rem}.md\:text-right{text-align:right}.md\:text-2xl{font-size:1.5rem;line-height:2rem}.md\:text-sm{font-size:.875rem;line-height:1.25rem}.md\:text-xs{font-size:.75rem;line-height:1rem}.md\:shadow-none{--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.md\:backdrop-blur-0{--tw-backdrop-blur: blur(0);-webkit-backdrop-filter:var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia);backdrop-filter:var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia)}.md\:dark\:border-0:is(.dark *){border-width:0px}.md\:dark\:border-\[\#4a4b54\]:is(.dark *){--tw-border-opacity: 1;border-color:rgb(74 75 84 / var(--tw-border-opacity, 1))}.md\:dark\:border-transparent:is(.dark *){border-color:transparent}.md\:dark\:bg-transparent:is(.dark *){background-color:transparent}}.\[\&\>\:first-child\]\:mt-0>:first-child{margin-top:0}.\[\&\>\:last-child\]\:mb-0>:last-child{margin-bottom:0}.\[\&\>div\]\:rounded-t-\[28px\]>div{border-top-left-radius:28px;border-top-right-radius:28px}.\[\&\>div\]\:bg-transparent>div{background-color:transparent}@media (min-width: 768px){.md\:\[\&\>div\]\:rounded-none>div{border-radius:0}.md\:\[\&\>div\]\:px-0>div{padding-left:0;padding-right:0}}
|