Anvil/assets/iframe-789b48c8.js

2 lines
16 KiB
JavaScript
Raw Normal View History

2024-03-17 16:16:24 +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 E="modulepreload",O=function(s,i){return new URL(s,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"),p=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}"]${p}`))return;const _=document.createElement("link");if(_.rel=o?"stylesheet":E,o||(_.as="script",_.crossOrigin=""),_.href=r,document.head.appendChild(_),o)return new Promise((a,u)=>{_.addEventListener("load",a),_.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/ColorPalette.mdx":async()=>t(()=>import("./ColorPalette-7dcfbb98.js"),["./ColorPalette-7dcfbb98.js","./jsx-runtime-f86d213b.js","./index-b25fe04d.js","./_commonjsHelpers-725317a4.js","./index-11d98b33.js","./index-a04a29e8.js","./index-356e4a49.js","./index-ad1d5b63.js"],import.meta.url),"./stories/Typography.mdx":async()=>t(()=>import("./Typography-fcd7cd2e.js"),["./Typography-fcd7cd2e.js","./jsx-runtime-f86d213b.js","./index-b25fe04d.js","./_commonjsHelpers-725317a4.js","./index-11d98b33.js","./index-a04a29e8.js","./index-356e4a49.js","./index-ad1d5b63.js"],import.meta.url),"./stories/atoms/Avatar.stories.ts":async()=>t(()=>import("./Avatar.stories-50ddd0a2.js"),["./Avatar.stories-50ddd0a2.js","./Avatar-95726fb8.js","./utils-6ebe0a8e.js","./index-3a0d73e3.js","./lifecycle-cafe499b.js","./index-db42f6c8.js","./spread-8a54911c.js","./each-b4878c9e.js","./Avatar-5dbe98d7.css"],import.meta.url),"./stories/atoms/BlockOrReport.stories.ts":async()=>t(()=>import("./BlockOrReport.stories-9d81bafe.js"),["./BlockOrReport.stories-9d81bafe.js","./BlockOrReport-acae54b8.js","./utils-6ebe0a8e.js","./lifecycle-cafe499b.js","./index-3a0d73e3.js","./runtime-a5210d67.js","./index-db42f6c8.js","./_commonjsHelpers-725317a4.js"],import.meta.url),"./stories/atoms/Created.stories.ts":async()=>t(()=>import("./Created.stories-86569ade.js"),["./Created.stories-86569ade.js","./Created-43fad342.js","./utils-6ebe0a8e.js","./lifecycle-cafe499b.js","./index-3a0d73e3.js"],import.meta.url),"./stories/atoms/DisplayName.stories.ts":async()=>t(()=>import("./DisplayName.stories-c4aef04f.js"),["./DisplayName.stories-c4aef04f.js","./DisplayName-85d2504f.js","./utils-6ebe0a8e.js","./lifecycle-cafe499b.js","./index-3a0d73e3.js","./runtime-a5210d67.js","./index-db42f6c8.js","./_commonjsHelpers-725317a4.js"],import.meta.url),"./stories/icons/AlertFill16.stories.ts":async()=>t(()=>import("./AlertFill16.stories-a47f2494.js"),["./AlertFill16.stories-a47f2494.js","./ZoomOut24-2eaac4cc.js","./utils-6ebe0a8e.js","./lifecycle-cafe499b.js","./index-3a0d73e3.js","./spread-8a54911c.js"],import.meta.url),"./stories/icons/ChevronLeft24.stories.ts":async()=>t(()=>import("./ChevronLeft24.stories-927e25e0.js"),["./Chevron