1 line
8.5 KiB
JavaScript
1 line
8.5 KiB
JavaScript
import"../sb-preview/runtime.js";(function(){const _=document.createElement("link").relList;if(_&&_.supports&&_.supports("modulepreload"))return;for(const r of document.querySelectorAll('link[rel="modulepreload"]'))m(r);new MutationObserver(r=>{for(const e of r)if(e.type==="childList")for(const o of e.addedNodes)o.tagName==="LINK"&&o.rel==="modulepreload"&&m(o)}).observe(document,{childList:!0,subtree:!0});function n(r){const e={};return r.integrity&&(e.integrity=r.integrity),r.referrerPolicy&&(e.referrerPolicy=r.referrerPolicy),r.crossOrigin==="use-credentials"?e.credentials="include":r.crossOrigin==="anonymous"?e.credentials="omit":e.credentials="same-origin",e}function m(r){if(r.ep)return;r.ep=!0;const e=n(r);fetch(r.href,e)}})();const p="modulepreload",O=function(i,_){return new URL(i,_).href},c={},t=function(_,n,m){if(!n||n.length===0)return _();const r=document.getElementsByTagName("link");return Promise.all(n.map(e=>{if(e=O(e,m),e in c)return;c[e]=!0;const o=e.endsWith(".css"),E=o?'[rel="stylesheet"]':"";if(!!m)for(let a=r.length-1;a>=0;a--){const u=r[a];if(u.href===e&&(!o||u.rel==="stylesheet"))return}else if(document.querySelector(`link[href="${e}"]${E}`))return;const s=document.createElement("link");if(s.rel=o?"stylesheet":p,o||(s.as="script",s.crossOrigin=""),s.href=e,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 ${e}`)))})})).then(()=>_()).catch(e=>{const o=new Event("vite:preloadError",{cancelable:!0});if(o.payload=e,window.dispatchEvent(o),!o.defaultPrevented)throw e})},{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-b7a5a187.js"),["./Button.stories-b7a5a187.js","./Button-34be1b92.js","./utils-3fb61e8d.js","./lifecycle-de4a075a.js","./index-464a621b.js","./Button-bc1a867b.css"],import.meta.url),"./stories/ColorPalette.mdx":async()=>t(()=>import("./ColorPalette-b87df838.js"),["./ColorPalette-b87df838.js","./jsx-runtime-61b344fe.js","./index-a022834f.js","./_commonjsHelpers-725317a4.js","./index-11d98b33.js","./index-a04a29e8.js","./index-356e4a49.js","./index-80d4e5bb.js"],import.meta.url),"./stories/Configure.mdx":async()=>t(()=>import("./Configure-65698f3b.js"),["./Configure-65698f3b.js","./jsx-runtime-61b344fe.js","./index-a022834f.js","./_commonjsHelpers-725317a4.js","./index-11d98b33.js","./index-a04a29e8.js","./index-356e4a49.js","./index-80d4e5bb.js"],import.meta.url),"./stories/Header.stories.ts":async()=>t(()=>import("./Header.stories-99cf701c.js"),["./Header.stories-99cf701c.js","./Header-eb95101d.js","./utils-3fb61e8d.js","./lifecycle-de4a075a.js","./index-464a621b.js","./Button-34be1b92.js","./Button-bc1a867b.css","./Header-a6911580.css"],import.meta.url),"./stories/Page.stories.ts":async()=>t(()=>import("./Page.stories-b6d7ce22.js"),["./Page.stories-b6d7ce22.js","./utils-3fb61e8d.js","./lifecycle-de4a075a.js","./index-464a621b.js","./Header-eb95101d.js","./Button-34be1b92.js","./Button-bc1a867b.css","./Header-a6911580.css","./Page.stories-ece1482a.css"],import.meta.url),"./stories/Typography.mdx":async()=>t(()=>import("./Typography-0a8c4732.js"),["./Typography-0a8c4732.js","./jsx-runtime-61b344fe.js","./index-a022834f.js","./_commonjsHelpers-725317a4.js","./index-11d98b33.js","./index-a04a29e8.js","./index-356e4a49.js","./index-80d4e5bb.js"],import.meta.url),"./stories/atoms/Avatar.stories.ts":async()=>t(()=>import("./Avatar.stories-ddd3f767.js"),["./Avatar.stories-ddd3f767.js","./utils-3fb61e8d.js","./index-464a621b.js","./lifecycle-de4a075a.js","./index-278de444.js","./spread-8a54911c.js","./Avatar.stories-5dbe98d7.css"],import.meta.url),"./stories/atoms/BlockOrReport.stories.ts":async()=>t(()=>import("./BlockOrReport.stories-928b9977.js"),["./BlockOrReport.stories-928b9977.js","./utils-3fb61e8d.js","./lifecycle-de4a075a.js","./index-464a621b.js"],import.meta.url),"./stories/atoms/Created.stories.ts":async()=>t(()=>import("./Created.stories-314c5ab2.js"),["./Created.stories-314c5ab2.js","./utils-3fb61e8d.js","./lifecycle-de4a075a.js","./index-464a621b.js"],import.meta.url),"./stories/atoms/DisplayName.stories.ts":async()=>t(()=>import("./DisplayName.stories-3e0f8e44.js"),["./DisplayName.stories-3e0f8e44.js","./utils-3fb61e8d.js","./lifecycle-de4a075a.js","./index-464a621b.js"],import.meta.url),"./stories/icons/AlertFill16.stories.ts":async()=>t(()=>import("./AlertFill16.stories-86266c4c.js"),["./AlertFill16.stories-86266c4c.js","./AlertFill16-ab95948c.js","./utils-3fb61e8d.js","./lifecycle-de4a075a.js","./index-464a621b.js","./spread-8a54911c.js"],import.meta.url),"./stories/icons/Info16.stories.ts":async()=>t(()=>import("./Info16.stories-ddd23ee5.js"),["./Info16.stories-ddd23ee5.js","./Info16-4270d226.js","./utils-3fb61e8d.js","./lifecycle-de4a075a.js","./index-464a621b.js","./spread-8a54911c.js"],import.meta.url),"./stories/icons/Repo24.stories.ts":async()=>t(()=>import("./Repo24.stories-bf6a5090.js"),["./Repo24.stories-bf6a5090.js","./Repo24-c59a1309.js","./utils-3fb61e8d.js","./lifecycle-de4a075a.js","./index-464a621b.js","./spread-8a54911c.js"],import.meta.url),"./stories/icons/Upload16.stories.ts":async()=>t(()=>import("./Upload16.stories-e21704fa.js"),["./Upload16.stories-e21704fa.js","./Upload16-f1ec9958.js","./utils-3fb61e8d.js","./lifecycle-de4a075a.js","./index-464a621b.js","./spread-8a54911c.js"],import.meta.url),"./stories/pages/ImportProject.stories.ts":async()=>t(()=>import("./ImportProject.stories-2e3ff8ce.js"),["./ImportProject.stories-2e3ff8ce.js","./utils-3fb61e8d.js","./index-464a621b.js","./lifecycle-de4a075a.js","./ImportProject-3a359513.js","./spread-8a54911c.js","./AlertFill16-ab95948c.js","./Info16-4270d226.js","./Repo24-c59a1309.js","./Upload16-f1ec9958.js","./runtime-44332240.js","./index-278de444.js","./_commonjsHelpers-725317a4.js"],import.meta.url),"./stories/templates/ImportProject.stories.ts":async()=>t(()=>import("./ImportProject.stories-85e8eeff.js"),["./ImportProject.stories-85e8eeff.js","./ImportProject-3a359513.js","./utils-3fb61e8d.js","./lifecycle-de4a075a.js","./index-464a621b.js","./spread-8a54911c.js","./AlertFill16-ab95948c.js","./Info16-4270d226.js","./Repo24-c59a1309.js","./Upload16-f1ec9958.js","./runtime-44332240.js","./index-278de444.js","./_commonjsHelpers-725317a4.js"],import.meta.url)};async function T(i){return P[i]()}const{composeConfigs:f,PreviewWeb:I,ClientApi:L}=__STORYBOOK_MODULE_PREVIEW_API__,v=async()=>{const i=await Promise.all([t(()=>import("./entry-preview-cfe96f8d.js"),["./entry-preview-cfe96f8d.js","./utils-3fb61e8d.js","./lifecycle-de4a075a.js","./index-464a621b.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-98a80676.js"),["./preview-98a80676.js","./preview-errors-dde4324f.js","./index-356e4a49.js","./lifecycle-de4a075a.js"],import.meta.url),t(()=>import("./preview-e1551067.js"),[],import.meta.url),t(()=>import("./preview-09e5839d.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-b0e53bd7.js"),["./preview-b0e53bd7.js","./runtime-44332240.js","./index-278de444.js","./utils-3fb61e8d.js","./_commonjsHelpers-725317a4.js","./preview-a61859ea.css"],import.meta.url)]);return f(i)};window.__STORYBOOK_PREVIEW__=window.__STORYBOOK_PREVIEW__||new I;window.__STORYBOOK_STORY_STORE__=window.__STORYBOOK_STORY_STORE__||window.__STORYBOOK_PREVIEW__.storyStore;window.__STORYBOOK_CLIENT_API__=window.__STORYBOOK_CLIENT_API__||new L({storyStore:window.__STORYBOOK_PREVIEW__.storyStore});window.__STORYBOOK_PREVIEW__.initialize({importFn:T,getProjectAnnotations:v});export{t as _};
|