@marimo-team/frontend 0.13.16-dev42 → 0.13.16-dev43

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (90) hide show
  1. package/dist/assets/{ConnectedDataExplorerComponent-BsqVpwUm.js → ConnectedDataExplorerComponent-Dk64CxZ4.js} +1 -1
  2. package/dist/assets/{ImageComparisonComponent-BYyFNJDz.js → ImageComparisonComponent-BhPPrl5v.js} +1 -1
  3. package/dist/assets/{VegaLite-DE3YOk_q.js → VegaLite-D6BgZFbm.js} +1 -1
  4. package/dist/assets/{_baseEach-BVnukY6Z.js → _baseEach-BgXkqAos.js} +1 -1
  5. package/dist/assets/_baseMap-QVvv2iuW.js +1 -0
  6. package/dist/assets/{_baseUniq-Dqh-G-pD.js → _baseUniq-CrbOH4YN.js} +1 -1
  7. package/dist/assets/{_createAggregator-Xx-EQX1C.js → _createAggregator-Bhdb63Xq.js} +1 -1
  8. package/dist/assets/{any-language-editor-CnB9oEj-.js → any-language-editor-B-gZu2pz.js} +1 -1
  9. package/dist/assets/{architectureDiagram-IEHRJDOE-BQRW4JRn.js → architectureDiagram-IEHRJDOE-CTLZX9cX.js} +1 -1
  10. package/dist/assets/{blockDiagram-JOT3LUYC-B-YfHpf4.js → blockDiagram-JOT3LUYC-DahNpb6Z.js} +1 -1
  11. package/dist/assets/{c4Diagram-VJAJSXHY-BndromYo.js → c4Diagram-VJAJSXHY-Bg7AGw-G.js} +1 -1
  12. package/dist/assets/channel-BfDEkMgX.js +1 -0
  13. package/dist/assets/{chunk-4BMEZGHF-DmqHQi7C.js → chunk-4BMEZGHF-njJkYow-.js} +1 -1
  14. package/dist/assets/{chunk-A2AXSNBT-CEI8dfQe.js → chunk-A2AXSNBT-BFvLaHlw.js} +1 -1
  15. package/dist/assets/{chunk-AEK57VVT-CXEBd3f9.js → chunk-AEK57VVT-DtY2LtKz.js} +1 -1
  16. package/dist/assets/{chunk-D6G4REZN-_BADf2NC.js → chunk-D6G4REZN-ByMYda7V.js} +1 -1
  17. package/dist/assets/{chunk-RZ5BOZE2-CxCq8x5K.js → chunk-RZ5BOZE2-B5yOv2Ur.js} +1 -1
  18. package/dist/assets/{chunk-XZIHB7SX-8-m2S39b.js → chunk-XZIHB7SX-CGkHoOLV.js} +1 -1
  19. package/dist/assets/{circle-play-CKtQyI20.js → circle-play-Edj2nrit.js} +1 -1
  20. package/dist/assets/classDiagram-GIVACNV2-DoN0MMox.js +1 -0
  21. package/dist/assets/classDiagram-v2-COTLJTTW-DoN0MMox.js +1 -0
  22. package/dist/assets/clone-DElXIwbq.js +1 -0
  23. package/dist/assets/{compile-BqShJfHm.js → compile-CyKLXKDU.js} +1 -1
  24. package/dist/assets/{dagre-OKDRZEBW-B7dTBGkh.js → dagre-OKDRZEBW-DW58o9-C.js} +1 -1
  25. package/dist/assets/{data-editor-DmqisK7y.js → data-editor-JmlMjTWd.js} +1 -1
  26. package/dist/assets/{diagram-SSKATNLV-9oiT4bAV.js → diagram-SSKATNLV-DdHuxuyN.js} +1 -1
  27. package/dist/assets/{diagram-VNBRO52H-DFakLv1d.js → diagram-VNBRO52H-CrEMdMIf.js} +1 -1
  28. package/dist/assets/{edit-page-BWjFhKsh.js → edit-page-DURrnFSr.js} +3 -3
  29. package/dist/assets/{erDiagram-Q7BY3M3F-DCtd-KuO.js → erDiagram-Q7BY3M3F-DpE8Vpmd.js} +1 -1
  30. package/dist/assets/{flowDiagram-4HSFHLVR-_GnSfCZT.js → flowDiagram-4HSFHLVR-uckpHmJ7.js} +1 -1
  31. package/dist/assets/{ganttDiagram-APWFNJXF-trwjoGqV.js → ganttDiagram-APWFNJXF-DEOSa8KM.js} +1 -1
  32. package/dist/assets/{gitGraphDiagram-7IBYFJ6S-Br81y35R.js → gitGraphDiagram-7IBYFJ6S-Bjy_Ifsx.js} +1 -1
  33. package/dist/assets/{graph-CdqpcQEa.js → graph-DR_dGJDt.js} +1 -1
  34. package/dist/assets/{home-page-CHvkF_e7.js → home-page-DvElKesw.js} +2 -2
  35. package/dist/assets/{index-CJ1-1NaP.js → index-Awbg3t4Y.js} +1 -1
  36. package/dist/assets/{index-BeRynNZF.js → index-B3HkY3Rh.js} +1 -1
  37. package/dist/assets/{index-DY8Ky8jF.js → index-BAE87dYq.js} +1 -1
  38. package/dist/assets/{index-hv-AAKet.js → index-BLikiVXz.js} +1 -1
  39. package/dist/assets/{index-CdHfy6ru.js → index-BYXDpttr.js} +1 -1
  40. package/dist/assets/{index-BMmZRWfo.js → index-Bb8HqycV.js} +1 -1
  41. package/dist/assets/{index-saKl2gy6.js → index-BbIqBx6u.js} +1 -1
  42. package/dist/assets/{index-pf0Wavdt.js → index-Bn62SWiJ.js} +1 -1
  43. package/dist/assets/{index-C7QFDInU.js → index-C54f_3DZ.js} +1 -1
  44. package/dist/assets/{index-DaeIMnio.js → index-C5b4JFoe.js} +1 -1
  45. package/dist/assets/{index-CUpZ0b7f.js → index-CBeRlvtB.js} +1 -1
  46. package/dist/assets/{index-BVcA5zLH.js → index-CCsn67nr.js} +1 -1
  47. package/dist/assets/{index-C7eLZG49.js → index-CP7_-VEi.js} +1 -1
  48. package/dist/assets/{index-R6bKGZSN.js → index-Cu5pdAKc.js} +1 -1
  49. package/dist/assets/{index-D2WHBKDl.js → index-CylGMdSO.js} +1 -1
  50. package/dist/assets/{index-C44zKP2c.js → index-D3UZKAHM.js} +47 -47
  51. package/dist/assets/{index-Brn68TMf.js → index-DJV9IawU.js} +1 -1
  52. package/dist/assets/{index-D9_S2xna.js → index-DYeLBeJH.js} +1 -1
  53. package/dist/assets/{index-CkJBacPW.js → index-Dc85TZkN.js} +1 -1
  54. package/dist/assets/infoDiagram-PH2N3AL5-gwwRxJVB.js +2 -0
  55. package/dist/assets/{journeyDiagram-U35MCT3I-DuGJJ2v4.js → journeyDiagram-U35MCT3I-BtmmVIA9.js} +1 -1
  56. package/dist/assets/{kanban-definition-NDS4AKOZ-BfAPhNx5.js → kanban-definition-NDS4AKOZ-Cof7XzL9.js} +1 -1
  57. package/dist/assets/{layout-DG9NTY1m.js → layout-lpLfdpB5.js} +1 -1
  58. package/dist/assets/{linear-B9ZAONYs.js → linear-D0lRkesV.js} +1 -1
  59. package/dist/assets/{mermaid-GGOw1nCn.js → mermaid-BnifB1Tq.js} +4 -4
  60. package/dist/assets/{min-DiS1C3e8.js → min-E5pWSK-X.js} +1 -1
  61. package/dist/assets/{mindmap-definition-ALO5MXBD-D-nlK9cR.js → mindmap-definition-ALO5MXBD-wEwCwk9P.js} +1 -1
  62. package/dist/assets/{panels-BeD8kFbT.js → panels-DWNb3f8C.js} +3 -3
  63. package/dist/assets/{pieDiagram-IB7DONF6-Ctpy9OvW.js → pieDiagram-IB7DONF6-BkualwSa.js} +1 -1
  64. package/dist/assets/{quadrantDiagram-7GDLP6J5-BrgmwbZp.js → quadrantDiagram-7GDLP6J5-Dw_LYgp_.js} +1 -1
  65. package/dist/assets/{radar-MK3ICKWK-C6pQ4Ft9.js → radar-MK3ICKWK-BE7l68uG.js} +1 -1
  66. package/dist/assets/{react-plotly-CaImKOIN.js → react-plotly-DfF8FtkH.js} +1 -1
  67. package/dist/assets/{requirementDiagram-KVF5MWMF-DL3m_tT9.js → requirementDiagram-KVF5MWMF-CMuqGqJt.js} +1 -1
  68. package/dist/assets/{run-page-B1YzFRuI.js → run-page-BhlkXcH6.js} +1 -1
  69. package/dist/assets/{sankeyDiagram-QLVOVGJD-DhmYPNGm.js → sankeyDiagram-QLVOVGJD-DSZNvgpW.js} +1 -1
  70. package/dist/assets/{sequenceDiagram-X6HHIX6F-CYZW3ZoC.js → sequenceDiagram-X6HHIX6F-BxL9XHbE.js} +1 -1
  71. package/dist/assets/{slides-component-DfxM44Tb.js → slides-component-DcX7RROZ.js} +1 -1
  72. package/dist/assets/{sortBy-A1jNFy9t.js → sortBy-CKraq9N_.js} +1 -1
  73. package/dist/assets/{stateDiagram-DGXRK772-BYDGFdhS.js → stateDiagram-DGXRK772-mbzhIOcA.js} +1 -1
  74. package/dist/assets/stateDiagram-v2-YXO3MK2T-R4vPlnvx.js +1 -0
  75. package/dist/assets/{terminal-COuaZXTr.js → terminal-DrqfnMDD.js} +1 -1
  76. package/dist/assets/{time-DuyVKKX-.js → time-EjIcOsrX.js} +1 -1
  77. package/dist/assets/{timeline-definition-BDJGKUSR-0rJqK7oM.js → timeline-definition-BDJGKUSR-Cr-fic6D.js} +1 -1
  78. package/dist/assets/{tracing-Beh4s7ED.js → tracing-DbUjUpgv.js} +2 -2
  79. package/dist/assets/{tree-C4cPr1Fd.js → tree-DGaoarYg.js} +1 -1
  80. package/dist/assets/{vega-component-BNXtlX9C.js → vega-component-B5gmZMLH.js} +1 -1
  81. package/dist/assets/{xychartDiagram-VJFVF3MP-DQyJGCEW.js → xychartDiagram-VJFVF3MP-CKNH_kvo.js} +1 -1
  82. package/dist/index.html +1 -1
  83. package/package.json +1 -1
  84. package/dist/assets/_baseMap-QxG0T0qk.js +0 -1
  85. package/dist/assets/channel-GkHr7vKR.js +0 -1
  86. package/dist/assets/classDiagram-GIVACNV2-DWkrdBjk.js +0 -1
  87. package/dist/assets/classDiagram-v2-COTLJTTW-DWkrdBjk.js +0 -1
  88. package/dist/assets/clone-BjiNmPgw.js +0 -1
  89. package/dist/assets/infoDiagram-PH2N3AL5-DqArMa1s.js +0 -2
  90. package/dist/assets/stateDiagram-v2-YXO3MK2T-CKVN-TeA.js +0 -1
@@ -1,4 +1,4 @@
1
- import{u as Gn,y as zn,di as po,j as x,dj as ho,dk as go,dl as mo,dm as yo,L as vo,dn as bo,dp as xo,_ as Eo,d as Ee,Z as Kt,dq as pt,dr as Yn,ds as ht,dt as Ke,du as Qn,dv as gt,dw as ke,bg as To,dx as Vn,dy as So,dz as wo,Q as Kn,V as No,W as Jn,dA as Co,dB as Ao,dC as Oo,aT as ko,U as Mo,bk as Io,E as Uo,a4 as Fo,dD as Do,aI as _o,dE as jo,R as Po}from"./index-C44zKP2c.js";import{U as Ro,e as $o,V as Bo}from"./compile-BqShJfHm.js";import{a as Xn}from"./VegaLite-DE3YOk_q.js";import"./time-DuyVKKX-.js";import"./timer-DFzT7np-.js";import"./linear-B9ZAONYs.js";import"./init-DLRA0X12.js";import"./range-CtcPcB_L.js";import"./zoom-COrs4lFh.js";import"./ordinal-DDUp3AbE.js";import"./colors-bszWmPJw.js";import"./arc-Cuwikxov.js";import"./step-BwsUM5iJ.js";import"./index-C7eLZG49.js";/**
1
+ import{u as Gn,y as zn,di as po,j as x,dj as ho,dk as go,dl as mo,dm as yo,L as vo,dn as bo,dp as xo,_ as Eo,d as Ee,Z as Kt,dq as pt,dr as Yn,ds as ht,dt as Ke,du as Qn,dv as gt,dw as ke,bg as To,dx as Vn,dy as So,dz as wo,Q as Kn,V as No,W as Jn,dA as Co,dB as Ao,dC as Oo,aT as ko,U as Mo,bk as Io,E as Uo,a4 as Fo,dD as Do,aI as _o,dE as jo,R as Po}from"./index-D3UZKAHM.js";import{U as Ro,e as $o,V as Bo}from"./compile-CyKLXKDU.js";import{a as Xn}from"./VegaLite-D6BgZFbm.js";import"./time-EjIcOsrX.js";import"./timer-DFzT7np-.js";import"./linear-D0lRkesV.js";import"./init-DLRA0X12.js";import"./range-CtcPcB_L.js";import"./zoom-COrs4lFh.js";import"./ordinal-DDUp3AbE.js";import"./colors-bszWmPJw.js";import"./arc-Cuwikxov.js";import"./step-BwsUM5iJ.js";import"./index-CP7_-VEi.js";/**
2
2
  * @license lucide-react v0.503.0 - ISC
3
3
  *
4
4
  * This source code is licensed under the ISC license.
@@ -1 +1 @@
1
- import{aC as D,d as k,j as x}from"./index-C44zKP2c.js";var T,M,p={},L={},P=function(){if(M)return p;M=1;var E=p&&p.__createBinding||(Object.create?function(d,c,l,t){t===void 0&&(t=l),Object.defineProperty(d,t,{enumerable:!0,get:function(){return c[l]}})}:function(d,c,l,t){t===void 0&&(t=l),d[t]=c[l]}),i=p&&p.__setModuleDefault||(Object.create?function(d,c){Object.defineProperty(d,"default",{enumerable:!0,value:c})}:function(d,c){d.default=c}),y=p&&p.__importStar||function(d){if(d&&d.__esModule)return d;var c={};if(d!=null)for(var l in d)l!=="default"&&Object.prototype.hasOwnProperty.call(d,l)&&E(c,d,l);return i(c,d),c};Object.defineProperty(p,"__esModule",{value:!0}),p.ImgComparisonSlider=void 0;const w=D();return typeof document<"u"&&Promise.resolve().then(()=>y((T||(T=1,(()=>{var d={792:(t,a,r)=>{r.d(a,{Z:()=>v});var n=r(609),u=r.n(n)()(function(f){return f[1]});u.push([t.id,':host{--divider-width: 1px;--divider-color: #fff;--divider-shadow: none;--default-handle-width: 50px;--default-handle-color: #fff;--default-handle-opacity: 1;--default-handle-shadow: none;--handle-position-start: 50%;position:relative;display:inline-block;overflow:hidden;line-height:0;direction:ltr}@media screen and (-webkit-min-device-pixel-ratio: 0)and (min-resolution: 0.001dpcm){:host{outline-offset:1px}}:host(:focus){outline:2px solid -webkit-focus-ring-color}::slotted(*){-webkit-user-drag:none;-khtml-user-drag:none;-moz-user-drag:none;-o-user-drag:none;user-drag:none;-webkit-touch-callout:none;-webkit-user-select:none;-khtml-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.first{position:absolute;left:0;top:0;right:0;line-height:normal;font-size:100%;max-height:100%;height:100%;width:100%;--exposure: 50%;--keyboard-transition-time: 0ms;--default-transition-time: 0ms;--transition-time: var(--default-transition-time)}.first .first-overlay-container{position:relative;clip-path:inset(0 var(--exposure) 0 0);transition:clip-path var(--transition-time);height:100%}.first .first-overlay{overflow:hidden;height:100%}.first.focused{will-change:clip-path}.first.focused .first-overlay-container{will-change:clip-path}.second{position:relative}.handle-container{transform:translateX(50%);position:absolute;top:0;right:var(--exposure);height:100%;transition:right var(--transition-time),bottom var(--transition-time)}.focused .handle-container{will-change:right}.divider{position:absolute;height:100%;width:100%;left:0;top:0;display:flex;align-items:center;justify-content:center;flex-direction:column}.divider:after{content:" ";display:block;height:100%;border-left-width:var(--divider-width);border-left-style:solid;border-left-color:var(--divider-color);box-shadow:var(--divider-shadow)}.handle{position:absolute;top:var(--handle-position-start);pointer-events:none;box-sizing:border-box;margin-left:1px;transform:translate(calc(-50% - 0.5px), -50%);line-height:0}.default-handle{width:var(--default-handle-width);opacity:var(--default-handle-opacity);transition:all 1s;filter:drop-shadow(var(--default-handle-shadow))}.default-handle path{stroke:var(--default-handle-color)}.vertical .first-overlay-container{clip-path:inset(0 0 var(--exposure) 0)}.vertical .handle-container{transform:translateY(50%);height:auto;top:unset;bottom:var(--exposure);width:100%;left:0;flex-direction:row}.vertical .divider:after{height:1px;width:100%;border-top-width:var(--divider-width);border-top-style:solid;border-top-color:var(--divider-color);border-left:0}.vertical .handle{top:auto;left:var(--handle-position-start);transform:translate(calc(-50% - 0.5px), -50%) rotate(90deg)}',""]);const v=u},609:t=>{t.exports=function(a){var r=[];return r.toString=function(){return this.map(function(n){var u=a(n);return n[2]?"@media ".concat(n[2]," {").concat(u,"}"):u}).join("")},r.i=function(n,u,v){typeof n=="string"&&(n=[[null,n,""]]);var f={};if(v)for(var m=0;m<this.length;m++){var g=this[m][0];g!=null&&(f[g]=!0)}for(var e=0;e<n.length;e++){var s=[].concat(n[e]);v&&f[s[0]]||(u&&(s[2]?s[2]="".concat(u," and ").concat(s[2]):s[2]=u),r.push(s))}},r}}},c={};function l(t){var a=c[t];if(a!==void 0)return a.exports;var r=c[t]={id:t,exports:{}};return d[t](r,r.exports,l),r.exports}l.n=t=>{var a=t&&t.__esModule?()=>t.default:()=>t;return l.d(a,{a}),a},l.d=(t,a)=>{for(var r in a)l.o(a,r)&&!l.o(t,r)&&Object.defineProperty(t,r,{enumerable:!0,get:a[r]})},l.o=(t,a)=>Object.prototype.hasOwnProperty.call(t,a),(()=>{var t=l(792);const a="rendered",r=(e,s)=>{const o=e.getBoundingClientRect();let h,b;return s.type==="mousedown"?(h=s.clientX,b=s.clientY):(h=s.touches[0].clientX,b=s.touches[0].clientY),h>=o.x&&h<=o.x+o.width&&b>=o.y&&b<=o.y+o.height};let n;const u={ArrowLeft:-1,ArrowRight:1},v=["horizontal","vertical"],f=e=>({x:e.touches[0].pageX,y:e.touches[0].pageY}),m=e=>({x:e.pageX,y:e.pageY}),g=typeof window<"u"&&(window==null?void 0:window.HTMLElement);typeof window<"u"&&(window.document&&(n=document.createElement("template"),n.innerHTML='<div class="second" id="second"> <slot name="second"><slot name="before"></slot></slot> </div> <div class="first" id="first"> <div class="first-overlay"> <div class="first-overlay-container" id="firstImageContainer"> <slot name="first"><slot name="after"></slot></slot> </div> </div> <div class="handle-container"> <div class="divider"></div> <div class="handle" id="handle"> <slot name="handle"> <svg xmlns="http://www.w3.org/2000/svg" class="default-handle" viewBox="-8 -3 16 6"> <path d="M -5 -2 L -7 0 L -5 2 M 5 -2 L 7 0 L 5 2" fill="none" vector-effect="non-scaling-stroke"/> </svg> </slot> </div> </div> </div> '),window.customElements.define("img-comparison-slider",class extends g{constructor(){super(),this.exposure=this.hasAttribute("value")?parseFloat(this.getAttribute("value")):50,this.slideOnHover=!1,this.slideDirection="horizontal",this.keyboard="enabled",this.isMouseDown=!1,this.animationDirection=0,this.isFocused=!1,this.dragByHandle=!1,this.onMouseMove=o=>{if(this.isMouseDown||this.slideOnHover){const h=m(o);this.slideToPage(h)}},this.bodyUserSelectStyle="",this.bodyWebkitUserSelectStyle="",this.onMouseDown=o=>{if(this.slideOnHover||this.handle&&!r(this.handleElement,o))return;o.preventDefault(),window.addEventListener("mousemove",this.onMouseMove),window.addEventListener("mouseup",this.onWindowMouseUp),this.isMouseDown=!0,this.enableTransition();const h=m(o);this.slideToPage(h),this.focus(),this.bodyUserSelectStyle=window.document.body.style.userSelect,this.bodyWebkitUserSelectStyle=window.document.body.style.webkitUserSelect,window.document.body.style.userSelect="none",window.document.body.style.webkitUserSelect="none"},this.onWindowMouseUp=()=>{this.isMouseDown=!1,window.document.body.style.userSelect=this.bodyUserSelectStyle,window.document.body.style.webkitUserSelect=this.bodyWebkitUserSelectStyle,window.removeEventListener("mousemove",this.onMouseMove),window.removeEventListener("mouseup",this.onWindowMouseUp)},this.touchStartPoint=null,this.isTouchComparing=!1,this.hasTouchMoved=!1,this.onTouchStart=o=>{this.dragByHandle&&!r(this.handleElement,o)||(this.touchStartPoint=f(o),this.isFocused&&(this.enableTransition(),this.slideToPage(this.touchStartPoint)))},this.onTouchMove=o=>{if(this.touchStartPoint===null)return;const h=f(o);if(this.isTouchComparing)return this.slideToPage(h),o.preventDefault(),!1;if(!this.hasTouchMoved){const b=Math.abs(h.y-this.touchStartPoint.y),S=Math.abs(h.x-this.touchStartPoint.x);if(this.slideDirection==="horizontal"&&b<S||this.slideDirection==="vertical"&&b>S)return this.isTouchComparing=!0,this.focus(),this.slideToPage(h),o.preventDefault(),!1;this.hasTouchMoved=!0}},this.onTouchEnd=()=>{this.isTouchComparing=!1,this.hasTouchMoved=!1,this.touchStartPoint=null},this.onBlur=()=>{this.stopSlideAnimation(),this.isFocused=!1,this.firstElement.classList.remove("focused")},this.onFocus=()=>{this.isFocused=!0,this.firstElement.classList.add("focused")},this.onKeyDown=o=>{if(this.keyboard==="disabled")return;const h=u[o.key];this.animationDirection!==h&&h!==void 0&&(this.animationDirection=h,this.startSlideAnimation())},this.onKeyUp=o=>{if(this.keyboard==="disabled")return;const h=u[o.key];h!==void 0&&this.animationDirection===h&&this.stopSlideAnimation()},this.resetDimensions=()=>{this.imageWidth=this.offsetWidth,this.imageHeight=this.offsetHeight};const e=this.attachShadow({mode:"open"}),s=document.createElement("style");s.innerHTML=t.Z,this.getAttribute("nonce")&&s.setAttribute("nonce",this.getAttribute("nonce")),e.appendChild(s),e.appendChild(n.content.cloneNode(!0)),this.firstElement=e.getElementById("first"),this.handleElement=e.getElementById("handle")}set handle(e){this.dragByHandle=e.toString().toLowerCase()!=="false"}get handle(){return this.dragByHandle}get value(){return this.exposure}set value(e){const s=parseFloat(e);s!==this.exposure&&(this.exposure=s,this.enableTransition(),this.setExposure())}get hover(){return this.slideOnHover}set hover(e){this.slideOnHover=e.toString().toLowerCase()!=="false",this.removeEventListener("mousemove",this.onMouseMove),this.slideOnHover&&this.addEventListener("mousemove",this.onMouseMove)}get direction(){return this.slideDirection}set direction(e){this.slideDirection=e.toString().toLowerCase(),this.slide(0),this.firstElement.classList.remove(...v),v.includes(this.slideDirection)&&this.firstElement.classList.add(this.slideDirection)}static get observedAttributes(){return["hover","direction"]}connectedCallback(){this.hasAttribute("tabindex")||(this.tabIndex=0),this.addEventListener("dragstart",e=>(e.preventDefault(),!1)),new ResizeObserver(this.resetDimensions).observe(this),this.setExposure(0),this.keyboard=this.hasAttribute("keyboard")&&this.getAttribute("keyboard")==="disabled"?"disabled":"enabled",this.addEventListener("keydown",this.onKeyDown),this.addEventListener("keyup",this.onKeyUp),this.addEventListener("focus",this.onFocus),this.addEventListener("blur",this.onBlur),this.addEventListener("touchstart",this.onTouchStart,{passive:!0}),this.addEventListener("touchmove",this.onTouchMove,{passive:!1}),this.addEventListener("touchend",this.onTouchEnd),this.addEventListener("mousedown",this.onMouseDown),this.handle=this.hasAttribute("handle")?this.getAttribute("handle"):this.dragByHandle,this.hover=this.hasAttribute("hover")?this.getAttribute("hover"):this.slideOnHover,this.direction=this.hasAttribute("direction")?this.getAttribute("direction"):this.slideDirection,this.resetDimensions(),this.classList.contains(a)||this.classList.add(a)}disconnectedCallback(){this.transitionTimer&&window.clearTimeout(this.transitionTimer)}attributeChangedCallback(e,s,o){e==="hover"&&(this.hover=o),e==="direction"&&(this.direction=o),e==="keyboard"&&(this.keyboard=o==="disabled"?"disabled":"enabled")}setExposure(e=0){var s;this.exposure=(s=this.exposure+e)<0?0:s>100?100:s,this.firstElement.style.setProperty("--exposure",100-this.exposure+"%")}slide(e=0){this.setExposure(e);const s=new Event("slide");this.dispatchEvent(s)}slideToPage(e){this.slideDirection==="horizontal"&&this.slideToPageX(e.x),this.slideDirection==="vertical"&&this.slideToPageY(e.y)}slideToPageX(e){const s=e-this.getBoundingClientRect().left-window.scrollX;this.exposure=s/this.imageWidth*100,this.slide(0)}slideToPageY(e){const s=e-this.getBoundingClientRect().top-window.scrollY;this.exposure=s/this.imageHeight*100,this.slide(0)}enableTransition(){this.firstElement.style.setProperty("--transition-time","100ms"),this.transitionTimer=window.setTimeout(()=>{this.firstElement.style.setProperty("--transition-time","var(--default-transition-time)"),this.transitionTimer=null},100)}startSlideAnimation(){let e=null,s=this.animationDirection;this.firstElement.style.setProperty("--transition-time","var(--keyboard-transition-time)");const o=h=>{if(this.animationDirection===0||s!==this.animationDirection)return;e===null&&(e=h);const b=(h-e)/16.666666666666668*this.animationDirection;this.slide(b),setTimeout(()=>window.requestAnimationFrame(o),0),e=h};window.requestAnimationFrame(o)}stopSlideAnimation(){this.animationDirection=0,this.firstElement.style.setProperty("--transition-time","var(--default-transition-time)")}}))})()})()),L))),p.ImgComparisonSlider=(0,w.forwardRef)(({children:d,onSlide:c,value:l,className:t,...a},r)=>{const n=(0,w.useRef)();return(0,w.useEffect)(()=>{l!==void 0&&(n.current.value=parseFloat(l.toString()))},[l,n]),(0,w.useEffect)(()=>{c&&n.current.addEventListener("slide",c)},[]),(0,w.useImperativeHandle)(r,()=>n.current,[n]),(0,w.createElement)("img-comparison-slider",Object.assign({class:t?`${t} rendered`:"rendered",tabIndex:0,ref:n},a),d)}),p}();const A=E=>{const i=k.c(15),{beforeSrc:y,afterSrc:w,value:d,direction:c,width:l,height:t}=E,a=l||"100%",r=t||(c==="vertical"?"400px":"auto");let n;i[0]!==a||i[1]!==r?(n={width:a,height:r,maxWidth:"100%"},i[0]=a,i[1]=r,i[2]=n):n=i[2];const u=n;let v,f,m,g;return i[3]!==y?(v=x.jsx("img",{slot:"first",src:y,alt:"Before",width:"100%"}),i[3]=y,i[4]=v):v=i[4],i[5]!==w?(f=x.jsx("img",{slot:"second",src:w,alt:"After",width:"100%"}),i[5]=w,i[6]=f):f=i[6],i[7]!==c||i[8]!==v||i[9]!==f||i[10]!==d?(m=x.jsxs(P.ImgComparisonSlider,{value:d,direction:c,children:[v,f]}),i[7]=c,i[8]=v,i[9]=f,i[10]=d,i[11]=m):m=i[11],i[12]!==u||i[13]!==m?(g=x.jsx("div",{style:u,children:m}),i[12]=u,i[13]=m,i[14]=g):g=i[14],g};export{A as default};
1
+ import{aC as D,d as k,j as x}from"./index-D3UZKAHM.js";var T,M,p={},L={},P=function(){if(M)return p;M=1;var E=p&&p.__createBinding||(Object.create?function(d,c,l,t){t===void 0&&(t=l),Object.defineProperty(d,t,{enumerable:!0,get:function(){return c[l]}})}:function(d,c,l,t){t===void 0&&(t=l),d[t]=c[l]}),i=p&&p.__setModuleDefault||(Object.create?function(d,c){Object.defineProperty(d,"default",{enumerable:!0,value:c})}:function(d,c){d.default=c}),y=p&&p.__importStar||function(d){if(d&&d.__esModule)return d;var c={};if(d!=null)for(var l in d)l!=="default"&&Object.prototype.hasOwnProperty.call(d,l)&&E(c,d,l);return i(c,d),c};Object.defineProperty(p,"__esModule",{value:!0}),p.ImgComparisonSlider=void 0;const w=D();return typeof document<"u"&&Promise.resolve().then(()=>y((T||(T=1,(()=>{var d={792:(t,a,r)=>{r.d(a,{Z:()=>v});var n=r(609),u=r.n(n)()(function(f){return f[1]});u.push([t.id,':host{--divider-width: 1px;--divider-color: #fff;--divider-shadow: none;--default-handle-width: 50px;--default-handle-color: #fff;--default-handle-opacity: 1;--default-handle-shadow: none;--handle-position-start: 50%;position:relative;display:inline-block;overflow:hidden;line-height:0;direction:ltr}@media screen and (-webkit-min-device-pixel-ratio: 0)and (min-resolution: 0.001dpcm){:host{outline-offset:1px}}:host(:focus){outline:2px solid -webkit-focus-ring-color}::slotted(*){-webkit-user-drag:none;-khtml-user-drag:none;-moz-user-drag:none;-o-user-drag:none;user-drag:none;-webkit-touch-callout:none;-webkit-user-select:none;-khtml-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.first{position:absolute;left:0;top:0;right:0;line-height:normal;font-size:100%;max-height:100%;height:100%;width:100%;--exposure: 50%;--keyboard-transition-time: 0ms;--default-transition-time: 0ms;--transition-time: var(--default-transition-time)}.first .first-overlay-container{position:relative;clip-path:inset(0 var(--exposure) 0 0);transition:clip-path var(--transition-time);height:100%}.first .first-overlay{overflow:hidden;height:100%}.first.focused{will-change:clip-path}.first.focused .first-overlay-container{will-change:clip-path}.second{position:relative}.handle-container{transform:translateX(50%);position:absolute;top:0;right:var(--exposure);height:100%;transition:right var(--transition-time),bottom var(--transition-time)}.focused .handle-container{will-change:right}.divider{position:absolute;height:100%;width:100%;left:0;top:0;display:flex;align-items:center;justify-content:center;flex-direction:column}.divider:after{content:" ";display:block;height:100%;border-left-width:var(--divider-width);border-left-style:solid;border-left-color:var(--divider-color);box-shadow:var(--divider-shadow)}.handle{position:absolute;top:var(--handle-position-start);pointer-events:none;box-sizing:border-box;margin-left:1px;transform:translate(calc(-50% - 0.5px), -50%);line-height:0}.default-handle{width:var(--default-handle-width);opacity:var(--default-handle-opacity);transition:all 1s;filter:drop-shadow(var(--default-handle-shadow))}.default-handle path{stroke:var(--default-handle-color)}.vertical .first-overlay-container{clip-path:inset(0 0 var(--exposure) 0)}.vertical .handle-container{transform:translateY(50%);height:auto;top:unset;bottom:var(--exposure);width:100%;left:0;flex-direction:row}.vertical .divider:after{height:1px;width:100%;border-top-width:var(--divider-width);border-top-style:solid;border-top-color:var(--divider-color);border-left:0}.vertical .handle{top:auto;left:var(--handle-position-start);transform:translate(calc(-50% - 0.5px), -50%) rotate(90deg)}',""]);const v=u},609:t=>{t.exports=function(a){var r=[];return r.toString=function(){return this.map(function(n){var u=a(n);return n[2]?"@media ".concat(n[2]," {").concat(u,"}"):u}).join("")},r.i=function(n,u,v){typeof n=="string"&&(n=[[null,n,""]]);var f={};if(v)for(var m=0;m<this.length;m++){var g=this[m][0];g!=null&&(f[g]=!0)}for(var e=0;e<n.length;e++){var s=[].concat(n[e]);v&&f[s[0]]||(u&&(s[2]?s[2]="".concat(u," and ").concat(s[2]):s[2]=u),r.push(s))}},r}}},c={};function l(t){var a=c[t];if(a!==void 0)return a.exports;var r=c[t]={id:t,exports:{}};return d[t](r,r.exports,l),r.exports}l.n=t=>{var a=t&&t.__esModule?()=>t.default:()=>t;return l.d(a,{a}),a},l.d=(t,a)=>{for(var r in a)l.o(a,r)&&!l.o(t,r)&&Object.defineProperty(t,r,{enumerable:!0,get:a[r]})},l.o=(t,a)=>Object.prototype.hasOwnProperty.call(t,a),(()=>{var t=l(792);const a="rendered",r=(e,s)=>{const o=e.getBoundingClientRect();let h,b;return s.type==="mousedown"?(h=s.clientX,b=s.clientY):(h=s.touches[0].clientX,b=s.touches[0].clientY),h>=o.x&&h<=o.x+o.width&&b>=o.y&&b<=o.y+o.height};let n;const u={ArrowLeft:-1,ArrowRight:1},v=["horizontal","vertical"],f=e=>({x:e.touches[0].pageX,y:e.touches[0].pageY}),m=e=>({x:e.pageX,y:e.pageY}),g=typeof window<"u"&&(window==null?void 0:window.HTMLElement);typeof window<"u"&&(window.document&&(n=document.createElement("template"),n.innerHTML='<div class="second" id="second"> <slot name="second"><slot name="before"></slot></slot> </div> <div class="first" id="first"> <div class="first-overlay"> <div class="first-overlay-container" id="firstImageContainer"> <slot name="first"><slot name="after"></slot></slot> </div> </div> <div class="handle-container"> <div class="divider"></div> <div class="handle" id="handle"> <slot name="handle"> <svg xmlns="http://www.w3.org/2000/svg" class="default-handle" viewBox="-8 -3 16 6"> <path d="M -5 -2 L -7 0 L -5 2 M 5 -2 L 7 0 L 5 2" fill="none" vector-effect="non-scaling-stroke"/> </svg> </slot> </div> </div> </div> '),window.customElements.define("img-comparison-slider",class extends g{constructor(){super(),this.exposure=this.hasAttribute("value")?parseFloat(this.getAttribute("value")):50,this.slideOnHover=!1,this.slideDirection="horizontal",this.keyboard="enabled",this.isMouseDown=!1,this.animationDirection=0,this.isFocused=!1,this.dragByHandle=!1,this.onMouseMove=o=>{if(this.isMouseDown||this.slideOnHover){const h=m(o);this.slideToPage(h)}},this.bodyUserSelectStyle="",this.bodyWebkitUserSelectStyle="",this.onMouseDown=o=>{if(this.slideOnHover||this.handle&&!r(this.handleElement,o))return;o.preventDefault(),window.addEventListener("mousemove",this.onMouseMove),window.addEventListener("mouseup",this.onWindowMouseUp),this.isMouseDown=!0,this.enableTransition();const h=m(o);this.slideToPage(h),this.focus(),this.bodyUserSelectStyle=window.document.body.style.userSelect,this.bodyWebkitUserSelectStyle=window.document.body.style.webkitUserSelect,window.document.body.style.userSelect="none",window.document.body.style.webkitUserSelect="none"},this.onWindowMouseUp=()=>{this.isMouseDown=!1,window.document.body.style.userSelect=this.bodyUserSelectStyle,window.document.body.style.webkitUserSelect=this.bodyWebkitUserSelectStyle,window.removeEventListener("mousemove",this.onMouseMove),window.removeEventListener("mouseup",this.onWindowMouseUp)},this.touchStartPoint=null,this.isTouchComparing=!1,this.hasTouchMoved=!1,this.onTouchStart=o=>{this.dragByHandle&&!r(this.handleElement,o)||(this.touchStartPoint=f(o),this.isFocused&&(this.enableTransition(),this.slideToPage(this.touchStartPoint)))},this.onTouchMove=o=>{if(this.touchStartPoint===null)return;const h=f(o);if(this.isTouchComparing)return this.slideToPage(h),o.preventDefault(),!1;if(!this.hasTouchMoved){const b=Math.abs(h.y-this.touchStartPoint.y),S=Math.abs(h.x-this.touchStartPoint.x);if(this.slideDirection==="horizontal"&&b<S||this.slideDirection==="vertical"&&b>S)return this.isTouchComparing=!0,this.focus(),this.slideToPage(h),o.preventDefault(),!1;this.hasTouchMoved=!0}},this.onTouchEnd=()=>{this.isTouchComparing=!1,this.hasTouchMoved=!1,this.touchStartPoint=null},this.onBlur=()=>{this.stopSlideAnimation(),this.isFocused=!1,this.firstElement.classList.remove("focused")},this.onFocus=()=>{this.isFocused=!0,this.firstElement.classList.add("focused")},this.onKeyDown=o=>{if(this.keyboard==="disabled")return;const h=u[o.key];this.animationDirection!==h&&h!==void 0&&(this.animationDirection=h,this.startSlideAnimation())},this.onKeyUp=o=>{if(this.keyboard==="disabled")return;const h=u[o.key];h!==void 0&&this.animationDirection===h&&this.stopSlideAnimation()},this.resetDimensions=()=>{this.imageWidth=this.offsetWidth,this.imageHeight=this.offsetHeight};const e=this.attachShadow({mode:"open"}),s=document.createElement("style");s.innerHTML=t.Z,this.getAttribute("nonce")&&s.setAttribute("nonce",this.getAttribute("nonce")),e.appendChild(s),e.appendChild(n.content.cloneNode(!0)),this.firstElement=e.getElementById("first"),this.handleElement=e.getElementById("handle")}set handle(e){this.dragByHandle=e.toString().toLowerCase()!=="false"}get handle(){return this.dragByHandle}get value(){return this.exposure}set value(e){const s=parseFloat(e);s!==this.exposure&&(this.exposure=s,this.enableTransition(),this.setExposure())}get hover(){return this.slideOnHover}set hover(e){this.slideOnHover=e.toString().toLowerCase()!=="false",this.removeEventListener("mousemove",this.onMouseMove),this.slideOnHover&&this.addEventListener("mousemove",this.onMouseMove)}get direction(){return this.slideDirection}set direction(e){this.slideDirection=e.toString().toLowerCase(),this.slide(0),this.firstElement.classList.remove(...v),v.includes(this.slideDirection)&&this.firstElement.classList.add(this.slideDirection)}static get observedAttributes(){return["hover","direction"]}connectedCallback(){this.hasAttribute("tabindex")||(this.tabIndex=0),this.addEventListener("dragstart",e=>(e.preventDefault(),!1)),new ResizeObserver(this.resetDimensions).observe(this),this.setExposure(0),this.keyboard=this.hasAttribute("keyboard")&&this.getAttribute("keyboard")==="disabled"?"disabled":"enabled",this.addEventListener("keydown",this.onKeyDown),this.addEventListener("keyup",this.onKeyUp),this.addEventListener("focus",this.onFocus),this.addEventListener("blur",this.onBlur),this.addEventListener("touchstart",this.onTouchStart,{passive:!0}),this.addEventListener("touchmove",this.onTouchMove,{passive:!1}),this.addEventListener("touchend",this.onTouchEnd),this.addEventListener("mousedown",this.onMouseDown),this.handle=this.hasAttribute("handle")?this.getAttribute("handle"):this.dragByHandle,this.hover=this.hasAttribute("hover")?this.getAttribute("hover"):this.slideOnHover,this.direction=this.hasAttribute("direction")?this.getAttribute("direction"):this.slideDirection,this.resetDimensions(),this.classList.contains(a)||this.classList.add(a)}disconnectedCallback(){this.transitionTimer&&window.clearTimeout(this.transitionTimer)}attributeChangedCallback(e,s,o){e==="hover"&&(this.hover=o),e==="direction"&&(this.direction=o),e==="keyboard"&&(this.keyboard=o==="disabled"?"disabled":"enabled")}setExposure(e=0){var s;this.exposure=(s=this.exposure+e)<0?0:s>100?100:s,this.firstElement.style.setProperty("--exposure",100-this.exposure+"%")}slide(e=0){this.setExposure(e);const s=new Event("slide");this.dispatchEvent(s)}slideToPage(e){this.slideDirection==="horizontal"&&this.slideToPageX(e.x),this.slideDirection==="vertical"&&this.slideToPageY(e.y)}slideToPageX(e){const s=e-this.getBoundingClientRect().left-window.scrollX;this.exposure=s/this.imageWidth*100,this.slide(0)}slideToPageY(e){const s=e-this.getBoundingClientRect().top-window.scrollY;this.exposure=s/this.imageHeight*100,this.slide(0)}enableTransition(){this.firstElement.style.setProperty("--transition-time","100ms"),this.transitionTimer=window.setTimeout(()=>{this.firstElement.style.setProperty("--transition-time","var(--default-transition-time)"),this.transitionTimer=null},100)}startSlideAnimation(){let e=null,s=this.animationDirection;this.firstElement.style.setProperty("--transition-time","var(--keyboard-transition-time)");const o=h=>{if(this.animationDirection===0||s!==this.animationDirection)return;e===null&&(e=h);const b=(h-e)/16.666666666666668*this.animationDirection;this.slide(b),setTimeout(()=>window.requestAnimationFrame(o),0),e=h};window.requestAnimationFrame(o)}stopSlideAnimation(){this.animationDirection=0,this.firstElement.style.setProperty("--transition-time","var(--default-transition-time)")}}))})()})()),L))),p.ImgComparisonSlider=(0,w.forwardRef)(({children:d,onSlide:c,value:l,className:t,...a},r)=>{const n=(0,w.useRef)();return(0,w.useEffect)(()=>{l!==void 0&&(n.current.value=parseFloat(l.toString()))},[l,n]),(0,w.useEffect)(()=>{c&&n.current.addEventListener("slide",c)},[]),(0,w.useImperativeHandle)(r,()=>n.current,[n]),(0,w.createElement)("img-comparison-slider",Object.assign({class:t?`${t} rendered`:"rendered",tabIndex:0,ref:n},a),d)}),p}();const A=E=>{const i=k.c(15),{beforeSrc:y,afterSrc:w,value:d,direction:c,width:l,height:t}=E,a=l||"100%",r=t||(c==="vertical"?"400px":"auto");let n;i[0]!==a||i[1]!==r?(n={width:a,height:r,maxWidth:"100%"},i[0]=a,i[1]=r,i[2]=n):n=i[2];const u=n;let v,f,m,g;return i[3]!==y?(v=x.jsx("img",{slot:"first",src:y,alt:"Before",width:"100%"}),i[3]=y,i[4]=v):v=i[4],i[5]!==w?(f=x.jsx("img",{slot:"second",src:w,alt:"After",width:"100%"}),i[5]=w,i[6]=f):f=i[6],i[7]!==c||i[8]!==v||i[9]!==f||i[10]!==d?(m=x.jsxs(P.ImgComparisonSlider,{value:d,direction:c,children:[v,f]}),i[7]=c,i[8]=v,i[9]=f,i[10]=d,i[11]=m):m=i[11],i[12]!==u||i[13]!==m?(g=x.jsx("div",{style:u,children:m}),i[12]=u,i[13]=m,i[14]=g):g=i[14],g};export{A as default};
@@ -1,4 +1,4 @@
1
- var Or;import{y as Ar,cD as Nr,cE as ve,cF as Je,cG as St,cH as Ir,cI as Sr,R as Y,cJ as Rt}from"./index-C44zKP2c.js";import{a as Rr,b as $r,d as Lr,c as Tr,e as Dr,f as kr,g as Cr,h as Fr,i as Pr,j as _r,k as Mr,l as jr,m as zr,n as Ur,o as Gr,p as Br,q as Vr,r as Wr,s as Xr,t as Hr,u as Jr,v as qr,w as Yr,x as Qr,y as Kr,z as Zr,A as ei,B as ti,C as ri,D as ii,E as ni,F as oi,G as si,H as ai,I as li,J as ci,K as hi,L as pi,N as ui,O as fi,P as di,Q as gi,R as mi,S as vi,T as Ei}from"./compile-BqShJfHm.js";import{e as bi}from"./index-C7eLZG49.js";const $t={};function qe(e,t){e===void 0&&(e=$t),t===void 0&&(t=$t);const r=Object.keys(e),i=Object.keys(t);return e===t||r.length===i.length&&r.every(n=>e[n]===t[n])}/*!
1
+ var Or;import{y as Ar,cD as Nr,cE as ve,cF as Je,cG as St,cH as Ir,cI as Sr,R as Y,cJ as Rt}from"./index-D3UZKAHM.js";import{a as Rr,b as $r,d as Lr,c as Tr,e as Dr,f as kr,g as Cr,h as Fr,i as Pr,j as _r,k as Mr,l as jr,m as zr,n as Ur,o as Gr,p as Br,q as Vr,r as Wr,s as Xr,t as Hr,u as Jr,v as qr,w as Yr,x as Qr,y as Kr,z as Zr,A as ei,B as ti,C as ri,D as ii,E as ni,F as oi,G as si,H as ai,I as li,J as ci,K as hi,L as pi,N as ui,O as fi,P as di,Q as gi,R as mi,S as vi,T as Ei}from"./compile-CyKLXKDU.js";import{e as bi}from"./index-CP7_-VEi.js";const $t={};function qe(e,t){e===void 0&&(e=$t),t===void 0&&(t=$t);const r=Object.keys(e),i=Object.keys(t);return e===t||r.length===i.length&&r.every(n=>e[n]===t[n])}/*!
2
2
  * https://github.com/Starcounter-Jack/JSON-Patch
3
3
  * (c) 2017-2022 Joachim Wester
4
4
  * MIT licensed
@@ -1 +1 @@
1
- import{cd as m,ce as v,cf as k,P as b,cg as g,ch as h,ci as w,cj as z,ay as P,ck as Y,az as q,Y as A,cl as B,x as C}from"./index-C44zKP2c.js";function j(r){return r==r&&!k(r)}function d(r,n){return function(u){return u!=null&&u[r]===n&&(n!==void 0||r in Object(u))}}function D(r){var n=function(u){for(var t=b(u),e=t.length;e--;){var i=t[e],o=u[i];t[e]=[i,o,j(o)]}return t}(r);return n.length==1&&n[0][2]?d(n[0][0],n[0][1]):function(u){return u===r||function(t,e,i,o){var a=i.length,c=a;if(t==null)return!c;for(t=Object(t);a--;){var f=i[a];if(f[2]?f[1]!==t[f[0]]:!(f[0]in t))return!1}for(;++a<c;){var s=(f=i[a])[0],l=t[s],O=f[1];if(f[2]){if(l===void 0&&!(s in t))return!1}else{var x=new m;if(!v(O,l,3,o,x))return!1}}return!0}(u,0,n)}}function E(r){return g(r)?Y(h(r)):function(n){return function(u){return P(u,n)}}(r)}function F(r){return typeof r=="function"?r:r==null?q:typeof r=="object"?A(r)?(n=r[0],u=r[1],g(n)&&j(u)?d(h(n),u):function(t){var e=w(t,n);return e===void 0&&e===u?z(t,n):v(u,e,3)}):D(r):E(r);var n,u}function p(r,n){return r&&B(r,n,b)}var y,G=(y=p,function(r,n){if(r==null)return r;if(!C(r))return y(r,n);for(var u=r.length,t=-1,e=Object(r);++t<u&&n(e[t],t,e)!==!1;);return r});export{F as a,G as b,p as c};
1
+ import{cd as m,ce as v,cf as k,P as b,cg as g,ch as h,ci as w,cj as z,ay as P,ck as Y,az as q,Y as A,cl as B,x as C}from"./index-D3UZKAHM.js";function j(r){return r==r&&!k(r)}function d(r,n){return function(u){return u!=null&&u[r]===n&&(n!==void 0||r in Object(u))}}function D(r){var n=function(u){for(var t=b(u),e=t.length;e--;){var i=t[e],o=u[i];t[e]=[i,o,j(o)]}return t}(r);return n.length==1&&n[0][2]?d(n[0][0],n[0][1]):function(u){return u===r||function(t,e,i,o){var a=i.length,c=a;if(t==null)return!c;for(t=Object(t);a--;){var f=i[a];if(f[2]?f[1]!==t[f[0]]:!(f[0]in t))return!1}for(;++a<c;){var s=(f=i[a])[0],l=t[s],O=f[1];if(f[2]){if(l===void 0&&!(s in t))return!1}else{var x=new m;if(!v(O,l,3,o,x))return!1}}return!0}(u,0,n)}}function E(r){return g(r)?Y(h(r)):function(n){return function(u){return P(u,n)}}(r)}function F(r){return typeof r=="function"?r:r==null?q:typeof r=="object"?A(r)?(n=r[0],u=r[1],g(n)&&j(u)?d(h(n),u):function(t){var e=w(t,n);return e===void 0&&e===u?z(t,n):v(u,e,3)}):D(r):E(r);var n,u}function p(r,n){return r&&B(r,n,b)}var y,G=(y=p,function(r,n){if(r==null)return r;if(!C(r))return y(r,n);for(var u=r.length,t=-1,e=Object(r);++t<u&&n(e[t],t,e)!==!1;);return r});export{F as a,G as b,p as c};
@@ -0,0 +1 @@
1
+ import{b as m}from"./_baseEach-BgXkqAos.js";import{x as s}from"./index-D3UZKAHM.js";function e(r,o){var a=-1,t=s(r)?Array(r.length):[];return m(r,function(n,f,i){t[++a]=o(n,f,i)}),t}export{e as b};
@@ -1 +1 @@
1
- import{cK as p,P as w,bT as m,cL as F,cM as q,cN as H,cO as J,cP as rr,cQ as M,cR as B,cS as er,cT as D,cU as S,aA as P,cV as A,cf as nr,cW as tr,cX as cr,cY as or,cZ as ar,cd as ur,c_ as sr,Y as d,c$ as ir,az as fr,d0 as br,ax as jr,d1 as lr,d2 as x,d3 as U,d4 as vr,d5 as yr}from"./index-C44zKP2c.js";import{b as I,a as N}from"./_baseEach-BVnukY6Z.js";function R(){}function V(r,e){for(var n=-1,u=r==null?0:r.length;++n<u&&e(r[n],n,r)!==!1;);return r}function k(r,e,n,u){for(var i=r.length,a=n+-1;++a<i;)if(e(r[a],a,r))return a;return-1}function pr(r){return r!=r}function C(r,e,n){return e==e?function(u,i,a){for(var c=a-1,s=u.length;++c<s;)if(u[c]===i)return c;return-1}(r,e,n):k(r,pr,n)}function L(r,e){return!!(r!=null&&r.length)&&C(r,e,0)>-1}var T=Object.getOwnPropertySymbols?function(r){for(var e=[];r;)H(e,F(r)),r=J(r);return e}:q;function W(r){return rr(r,m,T)}var Ar=Object.prototype.hasOwnProperty,dr=/\w*$/,Y=B?B.prototype:void 0,$=Y?Y.valueOf:void 0;function gr(r,e,n){var u,i,a,c=r.constructor;switch(e){case"[object ArrayBuffer]":return M(r);case"[object Boolean]":case"[object Date]":return new c(+r);case"[object DataView]":return function(s,b){var v=b?M(s.buffer):s.buffer;return new s.constructor(v,s.byteOffset,s.byteLength)}(r,n);case"[object Float32Array]":case"[object Float64Array]":case"[object Int8Array]":case"[object Int16Array]":case"[object Int32Array]":case"[object Uint8Array]":case"[object Uint8ClampedArray]":case"[object Uint16Array]":case"[object Uint32Array]":return er(r,n);case"[object Map]":case"[object Set]":return new c;case"[object Number]":case"[object String]":return new c(r);case"[object RegExp]":return(a=new(i=r).constructor(i.source,dr.exec(i))).lastIndex=i.lastIndex,a;case"[object Symbol]":return u=r,$?Object($.call(u)):{}}}var z=A&&A.isMap,hr=z?P(z):function(r){return D(r)&&S(r)=="[object Map]"},G=A&&A.isSet,wr=G?P(G):function(r){return D(r)&&S(r)=="[object Set]"},K="[object Arguments]",Q="[object Function]",X="[object Object]",o={};function g(r,e,n,u,i,a){var c,s=1&e,b=2&e,v=4&e;if(c!==void 0)return c;if(!nr(r))return r;var l=d(r);if(l){if(c=function(t){var f=t.length,h=new t.constructor(f);return f&&typeof t[0]=="string"&&Ar.call(t,"index")&&(h.index=t.index,h.input=t.input),h}(r),!s)return tr(r,c)}else{var j=S(r),y=j==Q||j=="[object GeneratorFunction]";if(cr(r))return or(r,s);if(j==X||j==K||y&&!i){if(c=b||y?{}:ar(r),!s)return b?function(t,f){return p(t,T(t),f)}(r,function(t,f){return t&&p(f,m(f),t)}(c,r)):function(t,f){return p(t,F(t),f)}(r,function(t,f){return t&&p(f,w(f),t)}(c,r))}else{if(!o[j])return i?r:{};c=gr(r,j,s)}}a||(a=new ur);var O=a.get(r);if(O)return O;a.set(r,c),wr(r)?r.forEach(function(t){c.add(g(t,e,n,t,r,a))}):hr(r)&&r.forEach(function(t,f){c.set(f,g(t,e,n,f,r,a))});var E=l?void 0:(v?b?W:sr:b?m:w)(r);return V(E||r,function(t,f){E&&(t=r[f=t]),ir(c,f,g(t,e,n,f,r,a))}),c}function Z(r){return typeof r=="function"?r:fr}function mr(r,e){return(d(r)?V:I)(r,Z(e))}function _(r,e){var n=[];return I(r,function(u,i,a){e(u,i,a)&&n.push(u)}),n}function Sr(r,e){return(d(r)?br:_)(r,N(e))}function xr(r){return r==null?[]:function(e,n){return jr(n,function(u){return e[u]})}(r,w(r))}function Ir(r){return r===void 0}function Or(r,e,n,u,i){return i(r,function(a,c,s){n=u?(u=!1,a):e(n,a,c,s)}),n}function Er(r,e,n){var u=d(r)?lr:Or,i=arguments.length<3;return u(r,N(e),n,i,I)}o[K]=o["[object Array]"]=o["[object ArrayBuffer]"]=o["[object DataView]"]=o["[object Boolean]"]=o["[object Date]"]=o["[object Float32Array]"]=o["[object Float64Array]"]=o["[object Int8Array]"]=o["[object Int16Array]"]=o["[object Int32Array]"]=o["[object Map]"]=o["[object Number]"]=o[X]=o["[object RegExp]"]=o["[object Set]"]=o["[object String]"]=o["[object Symbol]"]=o["[object Uint8Array]"]=o["[object Uint8ClampedArray]"]=o["[object Uint16Array]"]=o["[object Uint32Array]"]=!0,o["[object Error]"]=o[Q]=o["[object WeakMap]"]=!1;var Fr=x&&1/U(new x([,-0]))[1]==1/0?function(r){return new x(r)}:R;function Mr(r,e,n){var u=-1,i=L,a=r.length,c=!0,s=[],b=s;if(a>=200){var v=e?null:Fr(r);if(v)return U(v);c=!1,i=yr,b=new vr}else b=e?[]:s;r:for(;++u<a;){var l=r[u],j=e?e(l):l;if(l=l!==0?l:0,c&&j==j){for(var y=b.length;y--;)if(b[y]===j)continue r;e&&b.push(j),s.push(l)}else i(b,j,n)||(b!==s&&b.push(j),s.push(l))}return s}export{Mr as a,g as b,mr as c,k as d,Z as e,Sr as f,L as g,C as h,Ir as i,W as j,_ as k,R as n,Er as r,xr as v};
1
+ import{cK as p,P as w,bT as m,cL as F,cM as q,cN as H,cO as J,cP as rr,cQ as M,cR as B,cS as er,cT as D,cU as S,aA as P,cV as A,cf as nr,cW as tr,cX as cr,cY as or,cZ as ar,cd as ur,c_ as sr,Y as d,c$ as ir,az as fr,d0 as br,ax as jr,d1 as lr,d2 as x,d3 as U,d4 as vr,d5 as yr}from"./index-D3UZKAHM.js";import{b as I,a as N}from"./_baseEach-BgXkqAos.js";function R(){}function V(r,e){for(var n=-1,u=r==null?0:r.length;++n<u&&e(r[n],n,r)!==!1;);return r}function k(r,e,n,u){for(var i=r.length,a=n+-1;++a<i;)if(e(r[a],a,r))return a;return-1}function pr(r){return r!=r}function C(r,e,n){return e==e?function(u,i,a){for(var c=a-1,s=u.length;++c<s;)if(u[c]===i)return c;return-1}(r,e,n):k(r,pr,n)}function L(r,e){return!!(r!=null&&r.length)&&C(r,e,0)>-1}var T=Object.getOwnPropertySymbols?function(r){for(var e=[];r;)H(e,F(r)),r=J(r);return e}:q;function W(r){return rr(r,m,T)}var Ar=Object.prototype.hasOwnProperty,dr=/\w*$/,Y=B?B.prototype:void 0,$=Y?Y.valueOf:void 0;function gr(r,e,n){var u,i,a,c=r.constructor;switch(e){case"[object ArrayBuffer]":return M(r);case"[object Boolean]":case"[object Date]":return new c(+r);case"[object DataView]":return function(s,b){var v=b?M(s.buffer):s.buffer;return new s.constructor(v,s.byteOffset,s.byteLength)}(r,n);case"[object Float32Array]":case"[object Float64Array]":case"[object Int8Array]":case"[object Int16Array]":case"[object Int32Array]":case"[object Uint8Array]":case"[object Uint8ClampedArray]":case"[object Uint16Array]":case"[object Uint32Array]":return er(r,n);case"[object Map]":case"[object Set]":return new c;case"[object Number]":case"[object String]":return new c(r);case"[object RegExp]":return(a=new(i=r).constructor(i.source,dr.exec(i))).lastIndex=i.lastIndex,a;case"[object Symbol]":return u=r,$?Object($.call(u)):{}}}var z=A&&A.isMap,hr=z?P(z):function(r){return D(r)&&S(r)=="[object Map]"},G=A&&A.isSet,wr=G?P(G):function(r){return D(r)&&S(r)=="[object Set]"},K="[object Arguments]",Q="[object Function]",X="[object Object]",o={};function g(r,e,n,u,i,a){var c,s=1&e,b=2&e,v=4&e;if(c!==void 0)return c;if(!nr(r))return r;var l=d(r);if(l){if(c=function(t){var f=t.length,h=new t.constructor(f);return f&&typeof t[0]=="string"&&Ar.call(t,"index")&&(h.index=t.index,h.input=t.input),h}(r),!s)return tr(r,c)}else{var j=S(r),y=j==Q||j=="[object GeneratorFunction]";if(cr(r))return or(r,s);if(j==X||j==K||y&&!i){if(c=b||y?{}:ar(r),!s)return b?function(t,f){return p(t,T(t),f)}(r,function(t,f){return t&&p(f,m(f),t)}(c,r)):function(t,f){return p(t,F(t),f)}(r,function(t,f){return t&&p(f,w(f),t)}(c,r))}else{if(!o[j])return i?r:{};c=gr(r,j,s)}}a||(a=new ur);var O=a.get(r);if(O)return O;a.set(r,c),wr(r)?r.forEach(function(t){c.add(g(t,e,n,t,r,a))}):hr(r)&&r.forEach(function(t,f){c.set(f,g(t,e,n,f,r,a))});var E=l?void 0:(v?b?W:sr:b?m:w)(r);return V(E||r,function(t,f){E&&(t=r[f=t]),ir(c,f,g(t,e,n,f,r,a))}),c}function Z(r){return typeof r=="function"?r:fr}function mr(r,e){return(d(r)?V:I)(r,Z(e))}function _(r,e){var n=[];return I(r,function(u,i,a){e(u,i,a)&&n.push(u)}),n}function Sr(r,e){return(d(r)?br:_)(r,N(e))}function xr(r){return r==null?[]:function(e,n){return jr(n,function(u){return e[u]})}(r,w(r))}function Ir(r){return r===void 0}function Or(r,e,n,u,i){return i(r,function(a,c,s){n=u?(u=!1,a):e(n,a,c,s)}),n}function Er(r,e,n){var u=d(r)?lr:Or,i=arguments.length<3;return u(r,N(e),n,i,I)}o[K]=o["[object Array]"]=o["[object ArrayBuffer]"]=o["[object DataView]"]=o["[object Boolean]"]=o["[object Date]"]=o["[object Float32Array]"]=o["[object Float64Array]"]=o["[object Int8Array]"]=o["[object Int16Array]"]=o["[object Int32Array]"]=o["[object Map]"]=o["[object Number]"]=o[X]=o["[object RegExp]"]=o["[object Set]"]=o["[object String]"]=o["[object Symbol]"]=o["[object Uint8Array]"]=o["[object Uint8ClampedArray]"]=o["[object Uint16Array]"]=o["[object Uint32Array]"]=!0,o["[object Error]"]=o[Q]=o["[object WeakMap]"]=!1;var Fr=x&&1/U(new x([,-0]))[1]==1/0?function(r){return new x(r)}:R;function Mr(r,e,n){var u=-1,i=L,a=r.length,c=!0,s=[],b=s;if(a>=200){var v=e?null:Fr(r);if(v)return U(v);c=!1,i=yr,b=new vr}else b=e?[]:s;r:for(;++u<a;){var l=r[u],j=e?e(l):l;if(l=l!==0?l:0,c&&j==j){for(var y=b.length;y--;)if(b[y]===j)continue r;e&&b.push(j),s.push(l)}else i(b,j,n)||(b!==s&&b.push(j),s.push(l))}return s}export{Mr as a,g as b,mr as c,k as d,Z as e,Sr as f,L as g,C as h,Ir as i,W as j,_ as k,R as n,Er as r,xr as v};
@@ -1 +1 @@
1
- import{b as a,a as c}from"./_baseEach-BVnukY6Z.js";import{Y as e}from"./index-C44zKP2c.js";function m(r,o,u,t){for(var n=-1,f=r==null?0:r.length;++n<f;){var i=r[n];o(t,i,u(i),r)}return t}function s(r,o,u,t){return a(r,function(n,f,i){o(t,n,u(n),i)}),t}function l(r,o){return function(u,t){var n=e(u)?m:s,f=o?o():{};return n(u,r,c(t),f)}}export{l as c};
1
+ import{b as a,a as c}from"./_baseEach-BgXkqAos.js";import{Y as e}from"./index-D3UZKAHM.js";function m(r,o,u,t){for(var n=-1,f=r==null?0:r.length;++n<f;){var i=r[n];o(t,i,u(i),r)}return t}function s(r,o,u,t){return a(r,function(n,f,i){o(t,n,u(n),i)}),t}function l(r,o){return function(u,t){var n=e(u)?m:s,f=o?o():{};return n(u,r,c(t),f)}}export{l as c};
@@ -1,3 +1,3 @@
1
- import{d as h,L as C,j as g,E as k,C as w,a as y}from"./index-C44zKP2c.js";import{l as L,a as b}from"./index-saKl2gy6.js";import"./index-DY8Ky8jF.js";import"./index-hv-AAKet.js";import"./index-CdHfy6ru.js";import"./index-CkJBacPW.js";import"./index-DaeIMnio.js";import"./index-D2WHBKDl.js";import"./index-CUpZ0b7f.js";import"./index-BeRynNZF.js";import"./index-D9_S2xna.js";import"./index-Brn68TMf.js";import"./index-R6bKGZSN.js";import"./index-pf0Wavdt.js";import"./apl-CXdQSnD-.js";import"./asciiarmor-D5V0T9Cu.js";import"./asterisk-B46aRdXb.js";import"./brainfuck-CtZaYBKt.js";import"./clike-BgBwzOhw.js";import"./cmake-DXn5xaP-.js";import"./cobol-stawOqaz.js";import"./coffeescript-BTDxI-eT.js";import"./commonlisp-vq6DHwts.js";import"./crystal-CRzZ78HM.js";import"./cypher-gJDei3ni.js";import"./d-BShv7fp-.js";import"./diff-UJJ5BM9S.js";import"./dockerfile-knGOOxt4.js";import"./simple-mode-C3vEBAcb.js";import"./dtd-DI9Herc-.js";import"./dylan-CHJ5qNM_.js";import"./ebnf-B-Df8AvO.js";import"./ecl-DPFc0Uaf.js";import"./eiffel-DR5c0IrL.js";import"./elm-D7xaZ7Da.js";import"./erlang-BuqgqA5h.js";import"./factor-CFXhaUWb.js";import"./fcl-CVaBTCzQ.js";import"./forth-Dri_5nFc.js";import"./fortran-DL7KluxX.js";import"./gas-5kEe4nk0.js";import"./gherkin-B6X1vGSW.js";import"./groovy-DnIzCrpZ.js";import"./haskell-CmdsSjFB.js";import"./haxe-D25e-2l-.js";import"./http-BKJkqRj4.js";import"./idl-pcmmZuaN.js";import"./jinja2-DhgKlfW7.js";import"./julia-DjdwvFuI.js";import"./livescript-HO6ttBFx.js";import"./lua-8DXOpKDz.js";import"./mathematica-IIbmv7SK.js";import"./mbox-z_N2Mo3d.js";import"./mirc-DkvFAiy5.js";import"./modelica-DSrSSXCg.js";import"./mscgen-B2igx18G.js";import"./mumps-zvxmGV4l.js";import"./nginx-B4hAVlXN.js";import"./nsis-BvKfQ9lQ.js";import"./ntriples-FFvkTduk.js";import"./octave-C4hdQ5Hf.js";import"./oz-qQq7irPq.js";import"./pascal-CafrKXZF.js";import"./perl-tdMlh9QA.js";import"./pig-CwGJVRC4.js";import"./powershell-D1ly3AHC.js";import"./properties-_nPj978X.js";import"./protobuf-B4y9do6W.js";import"./puppet-Bc-yJKzi.js";import"./q-B0kTJ4cI.js";import"./r-BA4EbLKE.js";import"./ruby-CR-u2WLS.js";import"./sas-Bqaci40L.js";import"./scheme-qjP0V5Ag.js";import"./shell-BLav31RL.js";import"./sieve-r025o_jW.js";import"./smalltalk-C7J3IyEP.js";import"./solr-78MBEUkU.js";import"./sparql-BRLJFz69.js";import"./spreadsheet-CGlWr0eM.js";import"./stylus-OdhglgkO.js";import"./swift-B_XXVlXX.js";import"./tcl-B2fODqDH.js";import"./textile-BuVhTOzU.js";import"./tiddlywiki-BgR6AEZu.js";import"./tiki-CI-ztowC.js";import"./toml-BQXy8elZ.js";import"./troff-Ce85hlLp.js";import"./ttcn-BxnYHtq8.js";import"./turtle-BkSuIpt-.js";import"./vb-BHgjm0DN.js";import"./vbscript-Dawdd5GZ.js";import"./velocity-BdD_26Jv.js";import"./verilog-B4LBqg_1.js";import"./vhdl-CWWH2SUo.js";import"./webidl-CGwyPRYs.js";import"./xquery-CVDBqZPY.js";import"./yacas-I8QjZlxf.js";import"./z80-D8p3gKXp.js";const N=f=>{const o=h.c(26);let t,r,m,i,l;o[0]!==f?({language:t,showCopyButton:m,extensions:i,...r}=f,o[0]=f,o[1]=t,o[2]=r,o[3]=m,o[4]=i):(t=o[1],r=o[2],m=o[3],i=o[4]),o[5]!==i?(l=i===void 0?[]:i,o[5]=i,o[6]=l):l=o[6];const u=l,p=t&&!(t in b);let x;p&&C.warn(`Language ${t} not found in CodeMirror.`);o:{if(!t){x=u;break o}const v=t;let n,c;o[7]!==v?(n=L(v),o[7]=v,o[8]=n):n=o[8],o[9]!==u||o[10]!==n?(c=[n,...u].filter(Boolean),o[9]=u,o[10]=n,o[11]=c):c=o[11],x=c}const j=x;let e,a,s,d;return o[12]!==p||o[13]!==t?(e=p&&g.jsx(k,{className:"mb-1 rounded-sm",error:`Language ${t} not supported.
1
+ import{d as h,L as C,j as g,E as k,C as w,a as y}from"./index-D3UZKAHM.js";import{l as L,a as b}from"./index-BbIqBx6u.js";import"./index-BAE87dYq.js";import"./index-BLikiVXz.js";import"./index-BYXDpttr.js";import"./index-Dc85TZkN.js";import"./index-C5b4JFoe.js";import"./index-CylGMdSO.js";import"./index-CBeRlvtB.js";import"./index-B3HkY3Rh.js";import"./index-DYeLBeJH.js";import"./index-DJV9IawU.js";import"./index-Cu5pdAKc.js";import"./index-Bn62SWiJ.js";import"./apl-CXdQSnD-.js";import"./asciiarmor-D5V0T9Cu.js";import"./asterisk-B46aRdXb.js";import"./brainfuck-CtZaYBKt.js";import"./clike-BgBwzOhw.js";import"./cmake-DXn5xaP-.js";import"./cobol-stawOqaz.js";import"./coffeescript-BTDxI-eT.js";import"./commonlisp-vq6DHwts.js";import"./crystal-CRzZ78HM.js";import"./cypher-gJDei3ni.js";import"./d-BShv7fp-.js";import"./diff-UJJ5BM9S.js";import"./dockerfile-knGOOxt4.js";import"./simple-mode-C3vEBAcb.js";import"./dtd-DI9Herc-.js";import"./dylan-CHJ5qNM_.js";import"./ebnf-B-Df8AvO.js";import"./ecl-DPFc0Uaf.js";import"./eiffel-DR5c0IrL.js";import"./elm-D7xaZ7Da.js";import"./erlang-BuqgqA5h.js";import"./factor-CFXhaUWb.js";import"./fcl-CVaBTCzQ.js";import"./forth-Dri_5nFc.js";import"./fortran-DL7KluxX.js";import"./gas-5kEe4nk0.js";import"./gherkin-B6X1vGSW.js";import"./groovy-DnIzCrpZ.js";import"./haskell-CmdsSjFB.js";import"./haxe-D25e-2l-.js";import"./http-BKJkqRj4.js";import"./idl-pcmmZuaN.js";import"./jinja2-DhgKlfW7.js";import"./julia-DjdwvFuI.js";import"./livescript-HO6ttBFx.js";import"./lua-8DXOpKDz.js";import"./mathematica-IIbmv7SK.js";import"./mbox-z_N2Mo3d.js";import"./mirc-DkvFAiy5.js";import"./modelica-DSrSSXCg.js";import"./mscgen-B2igx18G.js";import"./mumps-zvxmGV4l.js";import"./nginx-B4hAVlXN.js";import"./nsis-BvKfQ9lQ.js";import"./ntriples-FFvkTduk.js";import"./octave-C4hdQ5Hf.js";import"./oz-qQq7irPq.js";import"./pascal-CafrKXZF.js";import"./perl-tdMlh9QA.js";import"./pig-CwGJVRC4.js";import"./powershell-D1ly3AHC.js";import"./properties-_nPj978X.js";import"./protobuf-B4y9do6W.js";import"./puppet-Bc-yJKzi.js";import"./q-B0kTJ4cI.js";import"./r-BA4EbLKE.js";import"./ruby-CR-u2WLS.js";import"./sas-Bqaci40L.js";import"./scheme-qjP0V5Ag.js";import"./shell-BLav31RL.js";import"./sieve-r025o_jW.js";import"./smalltalk-C7J3IyEP.js";import"./solr-78MBEUkU.js";import"./sparql-BRLJFz69.js";import"./spreadsheet-CGlWr0eM.js";import"./stylus-OdhglgkO.js";import"./swift-B_XXVlXX.js";import"./tcl-B2fODqDH.js";import"./textile-BuVhTOzU.js";import"./tiddlywiki-BgR6AEZu.js";import"./tiki-CI-ztowC.js";import"./toml-BQXy8elZ.js";import"./troff-Ce85hlLp.js";import"./ttcn-BxnYHtq8.js";import"./turtle-BkSuIpt-.js";import"./vb-BHgjm0DN.js";import"./vbscript-Dawdd5GZ.js";import"./velocity-BdD_26Jv.js";import"./verilog-B4LBqg_1.js";import"./vhdl-CWWH2SUo.js";import"./webidl-CGwyPRYs.js";import"./xquery-CVDBqZPY.js";import"./yacas-I8QjZlxf.js";import"./z80-D8p3gKXp.js";const N=f=>{const o=h.c(26);let t,r,m,i,l;o[0]!==f?({language:t,showCopyButton:m,extensions:i,...r}=f,o[0]=f,o[1]=t,o[2]=r,o[3]=m,o[4]=i):(t=o[1],r=o[2],m=o[3],i=o[4]),o[5]!==i?(l=i===void 0?[]:i,o[5]=i,o[6]=l):l=o[6];const u=l,p=t&&!(t in b);let x;p&&C.warn(`Language ${t} not found in CodeMirror.`);o:{if(!t){x=u;break o}const v=t;let n,c;o[7]!==v?(n=L(v),o[7]=v,o[8]=n):n=o[8],o[9]!==u||o[10]!==n?(c=[n,...u].filter(Boolean),o[9]=u,o[10]=n,o[11]=c):c=o[11],x=c}const j=x;let e,a,s,d;return o[12]!==p||o[13]!==t?(e=p&&g.jsx(k,{className:"mb-1 rounded-sm",error:`Language ${t} not supported.
2
2
 
3
3
  Supported languages are: ${Object.keys(b).join(", ")}`}),o[12]=p,o[13]=t,o[14]=e):e=o[14],o[15]!==p||o[16]!==r||o[17]!==m?(a=m&&!p&&g.jsx(w,{tooltip:!1,className:"absolute top-2 right-2 p-1 hover-action z-10 text-muted-foreground",value:r.value||"",toastTitle:"Copied to clipboard"}),o[15]=p,o[16]=r,o[17]=m,o[18]=a):a=o[18],o[19]!==j||o[20]!==r?(s=g.jsx(y,{...r,extensions:j}),o[19]=j,o[20]=r,o[21]=s):s=o[21],o[22]!==e||o[23]!==a||o[24]!==s?(d=g.jsxs("div",{className:"relative w-full group hover-actions-parent",children:[e,a,s]}),o[22]=e,o[23]=a,o[24]=s,o[25]=d):d=o[25],d};export{N as default};