{#if icon} {/if} {title}
e.stopPropagation()}> {#if !isFullscreen} {/if} {#if closable} {/if}
{#if !minimized || isFullscreen}
{ if (e.ctrlKey || e.metaKey) { e.preventDefault(); e.stopPropagation(); const factor = e.deltaY > 0 ? 0.95 : 1.05; const newW = Math.round(clampedWidth * factor); const newH = Math.round(clampedHeight * factor); onResize?.(newW, newH); } }} > {#if children} {@render children()} {:else}

Ingen innhold ennå.

{/if}
{/if} {#if dropZoneState !== 'idle'}
{#if dropZoneState === 'compatible'} Slipp her {:else if dropZoneState === 'incompatible'} {dropFeedback || 'Kan ikke motta dette innholdet'} {/if}
{/if} {#if !isFullscreen && !minimized} {#each resizeDirections as dir}
handleResizeStart(dir, e)} >
{/each} {/if}