{ "version": 3, "file": "tiles.32985126.css", "sources": [ "../../../../../../tiles.svelte" ], "sourcesContent": [ "\n\n\n\n\n\n\n import { onMount } from 'svelte'\n\n waitForDraggabilly() {\n return new Promise((resolve, reject) => {\n const interval = setInterval({\n if (Draggabilly) {\n clearInterval(interval);\n resolve();\n }\n }, 100);\n });\n }\n\n onMount(async () => {\n const draggables = document.querySelectorAll('.tile.is-child');\n\n await waitForDraggabilly();\n\n for (const elm of draggables) {\n let drag = new Draggabilly(elm, {\n containment: '.tile.is-ancestor',\n });\n }\n })\n\n\n\n\n\n\n
\n
\n
\n
\n
\n

Vertical...

\n

Top tile

\n
\n
\n

...tiles

\n

Bottom tile

\n
\n
\n
\n
\n

Middle tile

\n

With an image

\n
\n \n
\n
\n
\n
\n
\n
\n

Wide tile

\n

Aligned with the right tile

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

Tall tile

\n

With even more content

\n
\n \n
\n
\n
\n
\n
`}>\n
\n \n\n
Click to drag tiles
\n\n
\n
\n
\n
\n
\n

Vertical...

\n

Top tile

\n
\n
\n

...tiles

\n

Bottom tile

\n
\n
\n
\n
\n

Middle tile

\n

With an image

\n
\n \"profile\"\n
\n
\n
\n
\n
\n
\n

Wide tile

\n

Aligned with the right tile

\n
\n \n
\n
\n
\n
\n
\n
\n
\n

Tall tile

\n

With even more content

\n
\n \n
\n
\n
\n
\n
\n
\n
\n" ], "names": [], "mappings": "AA8BA,oBAAK,KAAK,YAAY,CAAC,AAAC,CAAC,AACvB,mBAAmB,CAAE,IAAI,CACtB,gBAAgB,CAAE,IAAI,CACrB,eAAe,CAAE,IAAI,CACjB,WAAW,CAAE,IAAI,AAC3B,CAAC,AAEO,YAAY,AAAE,CAAC,AACrB,iBAAiB,CAAE,OAAO,KAAK,CAAC,CACxB,SAAS,CAAE,OAAO,KAAK,CAAC,CAChC,MAAM,CAAE,IAAI,AACd,CAAC" }