Anvil/assets/iframe-d188e5d0.js
André Jaenisch 7079767402
Updates
2024-02-20 15:10:19 +01:00

1 line
10 KiB
JavaScript

import"../sb-preview/runtime.js";(function(){const i=document.createElement("link").relList;if(i&&i.supports&&i.supports("modulepreload"))return;for(const e of document.querySelectorAll('link[rel="modulepreload"]'))m(e);new MutationObserver(e=>{for(const r of e)if(r.type==="childList")for(const o of r.addedNodes)o.tagName==="LINK"&&o.rel==="modulepreload"&&m(o)}).observe(document,{childList:!0,subtree:!0});function n(e){const r={};return e.integrity&&(r.integrity=e.integrity),e.referrerPolicy&&(r.referrerPolicy=e.referrerPolicy),e.crossOrigin==="use-credentials"?r.credentials="include":e.crossOrigin==="anonymous"?r.credentials="omit":r.credentials="same-origin",r}function m(e){if(e.ep)return;e.ep=!0;const r=n(e);fetch(e.href,r)}})();const p="modulepreload",O=function(_,i){return new URL(_,i).href},c={},t=function(i,n,m){if(!n||n.length===0)return i();const e=document.getElementsByTagName("link");return Promise.all(n.map(r=>{if(r=O(r,m),r in c)return;c[r]=!0;const o=r.endsWith(".css"),E=o?'[rel="stylesheet"]':"";if(!!m)for(let a=e.length-1;a>=0;a--){const u=e[a];if(u.href===r&&(!o||u.rel==="stylesheet"))return}else if(document.querySelector(`link[href="${r}"]${E}`))return;const s=document.createElement("link");if(s.rel=o?"stylesheet":p,o||(s.as="script",s.crossOrigin=""),s.href=r,document.head.appendChild(s),o)return new Promise((a,u)=>{s.addEventListener("load",a),s.addEventListener("error",()=>u(new Error(`Unable to preload CSS for ${r}`)))})})).then(()=>i()).catch(r=>{const o=new Event("vite:preloadError",{cancelable:!0});if(o.payload=r,window.dispatchEvent(o),!o.defaultPrevented)throw r})},{createBrowserChannel:d}=__STORYBOOK_MODULE_CHANNELS__,{addons:R}=__STORYBOOK_MODULE_PREVIEW_API__,l=d({page:"preview"});R.setChannel(l);window.__STORYBOOK_ADDONS_CHANNEL__=l;window.CONFIG_TYPE==="DEVELOPMENT"&&(window.__STORYBOOK_SERVER_CHANNEL__=l);const P={"./stories/Button.stories.ts":async()=>t(()=>import("./Button.stories-4d7dc7d6.js"),["./Button.stories-4d7dc7d6.js","./Button-adcdccd5.js","./utils-09ff0c0e.js","./lifecycle-0dd9b729.js","./index-5c6b3333.js","./Button-bc1a867b.css"],import.meta.url),"./stories/ColorPalette.mdx":async()=>t(()=>import("./ColorPalette-8b9f8867.js"),["./ColorPalette-8b9f8867.js","./jsx-runtime-b19fd94e.js","./index-488c1f0a.js","./_commonjsHelpers-725317a4.js","./index-11d98b33.js","./index-a04a29e8.js","./index-356e4a49.js","./index-f8617f35.js"],import.meta.url),"./stories/Configure.mdx":async()=>t(()=>import("./Configure-8b3a7b6d.js"),["./Configure-8b3a7b6d.js","./jsx-runtime-b19fd94e.js","./index-488c1f0a.js","./_commonjsHelpers-725317a4.js","./index-11d98b33.js","./index-a04a29e8.js","./index-356e4a49.js","./index-f8617f35.js"],import.meta.url),"./stories/Header.stories.ts":async()=>t(()=>import("./Header.stories-a57054bf.js"),["./Header.stories-a57054bf.js","./Header-f63dabb0.js","./utils-09ff0c0e.js","./lifecycle-0dd9b729.js","./index-5c6b3333.js","./Button-adcdccd5.js","./Button-bc1a867b.css","./Header-a6911580.css"],import.meta.url),"./stories/Page.stories.ts":async()=>t(()=>import("./Page.stories-e19e1685.js"),["./Page.stories-e19e1685.js","./utils-09ff0c0e.js","./lifecycle-0dd9b729.js","./index-5c6b3333.js","./Header-f63dabb0.js","./Button-adcdccd5.js","./Button-bc1a867b.css","./Header-a6911580.css","./Page.stories-ece1482a.css"],import.meta.url),"./stories/Typography.mdx":async()=>t(()=>import("./Typography-e595ea96.js"),["./Typography-e595ea96.js","./jsx-runtime-b19fd94e.js","./index-488c1f0a.js","./_commonjsHelpers-725317a4.js","./index-11d98b33.js","./index-a04a29e8.js","./index-356e4a49.js","./index-f8617f35.js"],import.meta.url),"./stories/atoms/Avatar.stories.ts":async()=>t(()=>import("./Avatar.stories-4d1b00e4.js"),["./Avatar.stories-4d1b00e4.js","./Avatar-2b9a3926.js","./utils-09ff0c0e.js","./index-5c6b3333.js","./lifecycle-0dd9b729.js","./index-9ff358fd.js","./spread-8a54911c.js","./Avatar-5dbe98d7.css"],import.meta.url),"./stories/atoms/BlockOrReport.stories.ts":async()=>t(()=>import("./BlockOrReport.stories-19f8dd6a.js"),["./BlockOrReport.stories-19f8dd6a.js","./BlockOrReport-e34e260e.js","./utils-09ff0c0e.js","./lifecycle-0dd9b729.js","./index-5c6b3333.js","./runtime-ea3b2d3b.js","./index-9ff358fd.js","./_commonjsHelpers-725317a4.js"],import.meta.url),"./stories/atoms/Created.stories.ts":async()=>t(()=>import("./Created.stories-fd6df557.js"),["./Created.stories-fd6df557.js","./Created-7ea15c21.js","./utils-09ff0c0e.js","./lifecycle-0dd9b729.js","./index-5c6b3333.js"],import.meta.url),"./stories/atoms/DisplayName.stories.ts":async()=>t(()=>import("./DisplayName.stories-5c720655.js"),["./DisplayName.stories-5c720655.js","./DisplayName-634e31b8.js","./utils-09ff0c0e.js","./lifecycle-0dd9b729.js","./index-5c6b3333.js","./runtime-ea3b2d3b.js","./index-9ff358fd.js","./_commonjsHelpers-725317a4.js"],import.meta.url),"./stories/icons/AlertFill16.stories.ts":async()=>t(()=>import("./AlertFill16.stories-013f5240.js"),["./AlertFill16.stories-013f5240.js","./ZoomOut24-f5a025b3.js","./utils-09ff0c0e.js","./lifecycle-0dd9b729.js","./index-5c6b3333.js","./spread-8a54911c.js"],import.meta.url),"./stories/icons/Info16.stories.ts":async()=>t(()=>import("./Info16.stories-5e58116e.js"),["./Info16.stories-5e58116e.js","./ZoomOut24-f5a025b3.js","./utils-09ff0c0e.js","./lifecycle-0dd9b729.js","./index-5c6b3333.js","./spread-8a54911c.js"],import.meta.url),"./stories/icons/NorthStar24.stories.ts":async()=>t(()=>import("./NorthStar24.stories-747a90fb.js"),["./NorthStar24.stories-747a90fb.js","./ZoomOut24-f5a025b3.js","./utils-09ff0c0e.js","./lifecycle-0dd9b729.js","./index-5c6b3333.js","./spread-8a54911c.js"],import.meta.url),"./stories/icons/Repo24.stories.ts":async()=>t(()=>import("./Repo24.stories-f38856ec.js"),["./Repo24.stories-f38856ec.js","./ZoomOut24-f5a025b3.js","./utils-09ff0c0e.js","./lifecycle-0dd9b729.js","./index-5c6b3333.js","./spread-8a54911c.js"],import.meta.url),"./stories/icons/Star16.stories.ts":async()=>t(()=>import("./Star16.stories-389ac3b7.js"),["./Star16.stories-389ac3b7.js","./ZoomOut24-f5a025b3.js","./utils-09ff0c0e.js","./lifecycle-0dd9b729.js","./index-5c6b3333.js","./spread-8a54911c.js"],import.meta.url),"./stories/icons/Upload16.stories.ts":async()=>t(()=>import("./Upload16.stories-610db0e5.js"),["./Upload16.stories-610db0e5.js","./ZoomOut24-f5a025b3.js","./utils-09ff0c0e.js","./lifecycle-0dd9b729.js","./index-5c6b3333.js","./spread-8a54911c.js"],import.meta.url),"./stories/pages/ImportProject.stories.ts":async()=>t(()=>import("./ImportProject.stories-1c96e218.js"),["./ImportProject.stories-1c96e218.js","./utils-09ff0c0e.js","./index-5c6b3333.js","./lifecycle-0dd9b729.js","./ImportProject-428fb7d4.js","./ZoomOut24-f5a025b3.js","./spread-8a54911c.js","./runtime-ea3b2d3b.js","./index-9ff358fd.js","./_commonjsHelpers-725317a4.js"],import.meta.url),"./stories/pages/Profile.stories.ts":async()=>t(()=>import("./Profile.stories-a63c0d35.js"),["./Profile.stories-a63c0d35.js","./utils-09ff0c0e.js","./index-5c6b3333.js","./lifecycle-0dd9b729.js","./Profile-5f682b6e.js","./runtime-ea3b2d3b.js","./index-9ff358fd.js","./_commonjsHelpers-725317a4.js","./ZoomOut24-f5a025b3.js","./spread-8a54911c.js","./Avatar-2b9a3926.js","./Avatar-5dbe98d7.css","./BlockOrReport-e34e260e.js","./Created-7ea15c21.js","./DisplayName-634e31b8.js"],import.meta.url),"./stories/templates/ImportProject.stories.ts":async()=>t(()=>import("./ImportProject.stories-c1bc1969.js"),["./ImportProject.stories-c1bc1969.js","./ImportProject-428fb7d4.js","./utils-09ff0c0e.js","./lifecycle-0dd9b729.js","./index-5c6b3333.js","./ZoomOut24-f5a025b3.js","./spread-8a54911c.js","./runtime-ea3b2d3b.js","./index-9ff358fd.js","./_commonjsHelpers-725317a4.js"],import.meta.url),"./stories/templates/Profile.stories.ts":async()=>t(()=>import("./Profile.stories-74fa311e.js"),["./Profile.stories-74fa311e.js","./Profile-5f682b6e.js","./utils-09ff0c0e.js","./lifecycle-0dd9b729.js","./index-5c6b3333.js","./runtime-ea3b2d3b.js","./index-9ff358fd.js","./_commonjsHelpers-725317a4.js","./ZoomOut24-f5a025b3.js","./spread-8a54911c.js","./Avatar-2b9a3926.js","./Avatar-5dbe98d7.css","./BlockOrReport-e34e260e.js","./Created-7ea15c21.js","./DisplayName-634e31b8.js"],import.meta.url)};async function T(_){return P[_]()}const{composeConfigs:I,PreviewWeb:L,ClientApi:f}=__STORYBOOK_MODULE_PREVIEW_API__,v=async()=>{const _=await Promise.all([t(()=>import("./entry-preview-fd434269.js"),["./entry-preview-fd434269.js","./utils-09ff0c0e.js","./lifecycle-0dd9b729.js","./index-5c6b3333.js","./spread-8a54911c.js","./index-356e4a49.js"],import.meta.url),t(()=>import("./entry-preview-docs-9f458c92.js"),["./entry-preview-docs-9f458c92.js","./index-a04a29e8.js","./_commonjsHelpers-725317a4.js"],import.meta.url),t(()=>import("./preview-2f7b5190.js"),["./preview-2f7b5190.js","./preview-errors-dde4324f.js","./index-356e4a49.js","./lifecycle-0dd9b729.js"],import.meta.url),t(()=>import("./preview-f19b41f6.js"),[],import.meta.url),t(()=>import("./preview-83f67a84.js"),[],import.meta.url),t(()=>import("./preview-77a968f3.js"),["./preview-77a968f3.js","./preview-errors-dde4324f.js","./index-356e4a49.js"],import.meta.url),t(()=>import("./preview-30b54f76.js"),["./preview-30b54f76.js","./index-356e4a49.js"],import.meta.url),t(()=>import("./preview-c56bf6ac.js"),[],import.meta.url),t(()=>import("./preview-da31036b.js"),["./preview-da31036b.js","./index-356e4a49.js"],import.meta.url),t(()=>import("./preview-0ef86afd.js"),[],import.meta.url),t(()=>import("./preview-73104b77.js"),["./preview-73104b77.js","./index-11d98b33.js"],import.meta.url),t(()=>import("./preview-8f310eab.js"),["./preview-8f310eab.js","./_commonjsHelpers-725317a4.js"],import.meta.url),t(()=>import("./preview-63be12a6.js"),["./preview-63be12a6.js","./runtime-ea3b2d3b.js","./index-9ff358fd.js","./utils-09ff0c0e.js","./_commonjsHelpers-725317a4.js","./preview-690151a3.css"],import.meta.url)]);return I(_)};window.__STORYBOOK_PREVIEW__=window.__STORYBOOK_PREVIEW__||new L;window.__STORYBOOK_STORY_STORE__=window.__STORYBOOK_STORY_STORE__||window.__STORYBOOK_PREVIEW__.storyStore;window.__STORYBOOK_CLIENT_API__=window.__STORYBOOK_CLIENT_API__||new f({storyStore:window.__STORYBOOK_PREVIEW__.storyStore});window.__STORYBOOK_PREVIEW__.initialize({importFn:T,getProjectAnnotations:v});export{t as _};