Luccas Mateus de Medeiros Gomes 58b4c1918f [éxamples]
2023-05-24 13:41:11 -03:00

3 lines
5.7 KiB
JavaScript

import"../sb-preview/runtime.js";(function(){const i=document.createElement("link").relList;if(i&&i.supports&&i.supports("modulepreload"))return;for(const t of document.querySelectorAll('link[rel="modulepreload"]'))a(t);new MutationObserver(t=>{for(const e of t)if(e.type==="childList")for(const _ of e.addedNodes)_.tagName==="LINK"&&_.rel==="modulepreload"&&a(_)}).observe(document,{childList:!0,subtree:!0});function s(t){const e={};return t.integrity&&(e.integrity=t.integrity),t.referrerPolicy&&(e.referrerPolicy=t.referrerPolicy),t.crossOrigin==="use-credentials"?e.credentials="include":t.crossOrigin==="anonymous"?e.credentials="omit":e.credentials="same-origin",e}function a(t){if(t.ep)return;t.ep=!0;const e=s(t);fetch(t.href,e)}})();const R="modulepreload",f=function(o,i){return new URL(o,i).href},m={},r=function(i,s,a){if(!s||s.length===0)return i();const t=document.getElementsByTagName("link");return Promise.all(s.map(e=>{if(e=f(e,a),e in m)return;m[e]=!0;const _=e.endsWith(".css"),p=_?'[rel="stylesheet"]':"";if(!!a)for(let l=t.length-1;l>=0;l--){const c=t[l];if(c.href===e&&(!_||c.rel==="stylesheet"))return}else if(document.querySelector(`link[href="${e}"]${p}`))return;const n=document.createElement("link");if(n.rel=_?"stylesheet":R,_||(n.as="script",n.crossOrigin=""),n.href=e,document.head.appendChild(n),_)return new Promise((l,c)=>{n.addEventListener("load",l),n.addEventListener("error",()=>c(new Error(`Unable to preload CSS for ${e}`)))})})).then(()=>i())},{createChannel:T}=__STORYBOOK_MODULE_CHANNEL_POSTMESSAGE__,{createChannel:L}=__STORYBOOK_MODULE_CHANNEL_WEBSOCKET__,{addons:O}=__STORYBOOK_MODULE_PREVIEW_API__,E=T({page:"preview"});O.setChannel(E);window.__STORYBOOK_ADDONS_CHANNEL__=E;const{SERVER_CHANNEL_URL:u}=globalThis;if(u){const o=L({url:u});O.setServerChannel(o),window.__STORYBOOK_SERVER_CHANNEL__=o}const P={"./stories/Introduction.mdx":async()=>r(()=>import("./Introduction-7f71f7c8.js"),["./Introduction-7f71f7c8.js","./jsx-runtime-94f6e698.js","./index-8db94870.js","./_commonjsHelpers-042e6b4d.js","./index-89936ab1.js","./index-d475d2ea.js","./isNativeReflectConstruct-099dc9ad.js","./index-8ce4a492.js","./index-d37d4223.js","./index-6e6be2d5.js","./index-356e4a49.js","./index-1d576ef5.js"],import.meta.url),"./stories/Catalog.stories.ts":async()=>r(()=>import("./Catalog.stories-ea9731da.js"),["./Catalog.stories-ea9731da.js","./jsx-runtime-94f6e698.js","./index-8db94870.js","./_commonjsHelpers-042e6b4d.js","./DebouncedInput-c720676c.js"],import.meta.url),"./stories/FlatUiTable.stories.ts":async()=>r(()=>import("./FlatUiTable.stories-36abe253.js"),["./FlatUiTable.stories-36abe253.js","./jsx-runtime-94f6e698.js","./index-8db94870.js","./_commonjsHelpers-042e6b4d.js","./index-8ce4a492.js","./isNativeReflectConstruct-099dc9ad.js","./papaparse.min-839a1868.js","./index-1fc0ca9a.js"],import.meta.url),"./stories/LineChart.stories.ts":async()=>r(()=>import("./LineChart.stories-de9527a1.js"),["./LineChart.stories-de9527a1.js","./jsx-runtime-94f6e698.js","./index-8db94870.js","./_commonjsHelpers-042e6b4d.js","./VegaLite-30eeb950.js","./Vega-d925c94f.js","./index-1fc0ca9a.js"],import.meta.url),"./stories/Table.stories.ts":async()=>r(()=>import("./Table.stories-29b0d488.js"),["./Table.stories-29b0d488.js","./jsx-runtime-94f6e698.js","./index-8db94870.js","./_commonjsHelpers-042e6b4d.js","./papaparse.min-839a1868.js","./DebouncedInput-c720676c.js"],import.meta.url),"./stories/Vega.stories.ts":async()=>r(()=>import("./Vega.stories-751bd69b.js"),["./Vega.stories-751bd69b.js","./jsx-runtime-94f6e698.js","./index-8db94870.js","./_commonjsHelpers-042e6b4d.js","./Vega-d925c94f.js","./index-1fc0ca9a.js"],import.meta.url),"./stories/VegaLite.stories.ts":async()=>r(()=>import("./VegaLite.stories-a09b0c5c.js"),["./VegaLite.stories-a09b0c5c.js","./VegaLite-30eeb950.js","./jsx-runtime-94f6e698.js","./index-8db94870.js","./_commonjsHelpers-042e6b4d.js","./Vega-d925c94f.js","./index-1fc0ca9a.js"],import.meta.url)};async function d(o){return P[o]()}d.__docgenInfo={description:"",methods:[],displayName:"importFn"};const{composeConfigs:S,PreviewWeb:I,ClientApi:h}=__STORYBOOK_MODULE_PREVIEW_API__,w=async()=>{const o=await Promise.all([r(()=>import("./config-d9112794.js"),["./config-d9112794.js","./index-d475d2ea.js","./index-8db94870.js","./_commonjsHelpers-042e6b4d.js","./react-18-ff2c0a32.js","./index-8ce4a492.js","./index-6e6be2d5.js","./index-1fc0ca9a.js","./index-356e4a49.js"],import.meta.url),r(()=>import("./preview-5ef354f3.js"),["./preview-5ef354f3.js","./index-d475d2ea.js","./index-d37d4223.js"],import.meta.url),r(()=>import("./preview-d1ecd888.js"),[],import.meta.url),r(()=>import("./preview-a60aa466.js"),[],import.meta.url),r(()=>import("./preview-770cc08b.js"),["./preview-770cc08b.js","./index-d475d2ea.js","./index-356e4a49.js"],import.meta.url),r(()=>import("./preview-e6f1f377.js"),["./preview-e6f1f377.js","./index-d475d2ea.js"],import.meta.url),r(()=>import("./preview-62235626.js"),["./preview-62235626.js","./index-d475d2ea.js","./index-356e4a49.js"],import.meta.url),r(()=>import("./preview-b1164a2e.js"),["./preview-b1164a2e.js","./index-d475d2ea.js"],import.meta.url),r(()=>import("./preview-0b573777.js"),["./preview-0b573777.js","./index-d475d2ea.js","./_commonjsHelpers-042e6b4d.js"],import.meta.url),r(()=>import("./preview-61b9f71b.js"),["./preview-61b9f71b.js","./preview-3c530997.css"],import.meta.url)]);return S(o)};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 h({storyStore:window.__STORYBOOK_PREVIEW__.storyStore});window.__STORYBOOK_PREVIEW__.initialize({importFn:d,getProjectAnnotations:w});export{r as _};
//# sourceMappingURL=iframe-1eda5ccb.js.map