Anvil/assets/iframe-0db82289.js

2 lines
11 KiB
JavaScript
Raw Normal View History

2024-02-28 21:32:19 +01:00
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},E={},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 E)return;E[r]=!0;const o=r.endsWith(".css"),c=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}"]${c}`))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-9366c30a.js"),["./Button.stories-9366c30a.js","./Button-5254db0b.js","./utils-09ff0c0e.js","./lifecycle-9898a056.js","./index-d94d5794.js","./Button-bc1a867b.css"],import.meta.url),"./stories/ColorPalette.mdx":async()=>t(()=>import("./ColorPalette-0419f634.js"),["./ColorPalette-0419f634.js","./jsx-runtime-ba55cdfe.js","./index-ce8bb1d0.js","./_commonjsHelpers-725317a4.js","./index-11d98b33.js","./index-a04a29e8.js","./index-356e4a49.js","./index-b1d6ebee.js"],import.meta.url),"./stories/Configure.mdx":async()=>t(()=>import("./Configure-ad97191c.js"),["./Configure-ad97191c.js","./jsx-runtime-ba55cdfe.js","./index-ce8bb1d0.js","./_commonjsHelpers-725317a4.js","./index-11d98b33.js","./index-a04a29e8.js","./index-356e4a49.js","./index-b1d6ebee.js"],import.meta.url),"./stories/Header.stories.ts":async()=>t(()=>import("./Header.stories-bb97dd63.js"),["./Header.stories-bb97dd63.js","./Header-4f2aad16.js","./utils-09ff0c0e.js","./lifecycle-9898a056.js","./index-d94d5794.js","./Button-5254db0b.js","./Button-bc1a867b.css","./Header-a6911580.css"],import.meta.url),"./stories/Page.stories.ts":async()=>t(()=>import("./Page.stories-44dc2e35.js"),["./Page.stories-44dc2e35.js","./utils-09ff0c0e.js","./lifecycle-9898a056.js","./index-d94d5794.js","./Header-4f2aad16.js","./Button-5254db0b.js","./Button-bc1a867b.css","./Header-a6911580.css","./Page.stories-ece1482a.css"],import.meta.url),"./stories/Typography.mdx":async()=>t(()=>import("./Typography-4b44ccae.js"),["./Typography-4b44ccae.js","./jsx-runtime-ba55cdfe.js","./index-ce8bb1d0.js","./_commonjsHelpers-725317a4.js","./index-11d98b33.js","./index-a04a29e8.js","./index-356e4a49.js","./index-b1d6ebee.js"],import.meta.url),"./stories/atoms/Avatar.stories.ts":async()=>t(()=>import("./Avatar.stories-2aa82e84.js"),["./Avatar.stories-2aa82e84.js","./Avatar-ef944b42.js","./utils-09ff0c0e.js","./index-d94d5794.js","./lifecycle-9898a056.js","./index-9ff358fd.js","./spread-8a54911c.js","./Avatar-5dbe98d7.css"],import.meta.url),"./stories/atoms/BlockOrReport.stories.ts":async()=>t(()=>import("./BlockOrReport.stories-9b18f911.js"),["./BlockOrReport.stories-9b18f911.js","./BlockOrRepo