trillion-viewer
Version:
Trillion 3D Viewer
3 lines (2 loc) • 4.29 kB
JavaScript
import{j as _,c as n}from"./lib-exports-CvKiL781.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},a=new e.Error().stack;a&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[a]="c8cc95c2-3ca8-46e0-9356-d1ad48999e72",e._sentryDebugIdIdentifier="sentry-dbid-c8cc95c2-3ca8-46e0-9356-d1ad48999e72")}catch{}})();const t="_doji_loading__screen_wrap_7tmku_1",l="_content__wrap_7tmku_11",r="_overlay__elem_7tmku_18",i="_upAndDown_7tmku_1",d="_loading__logo_7tmku_40",c="_loading__screen_7tmku_51",C="_loading_7tmku_40",g="_progressPercents_7tmku_64",m="_progress__text_7tmku_75",u="_loading__text_7tmku_85",s={doji_loading__screen_wrap:t,content__wrap:l,overlay__elem:r,upAndDown:i,loading__logo:d,loading__screen:c,loading:C,progressPercents:g,progress__text:m,loading__text:u},p="data:image/svg+xml,%3csvg%20width='99'%20height='99'%20viewBox='0%200%2099%2099'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M78.8992%2098.8749C75.609%2098.8749%2071.7704%2098.5093%2067.7488%2097.961C65.5565%2097.5956%2063.1815%2097.2302%2060.8066%2096.8648L60.8028%2096.8642C49.8351%2094.6707%2038.502%2091.0149%2028.6312%2086.6279C26.2549%2085.531%2024.0614%2084.4343%2021.8679%2083.3375C16.2012%2080.23%2011.6314%2077.1226%208.34114%2073.8322C2.12617%2067.6173%20-0.615723%2061.4024%200.115448%2054.8218C0.481042%2052.2627%201.2122%2049.7036%202.49176%2046.9617C6.14759%2039.4672%2013.8247%2031.7901%2021.8676%2023.7472L21.8679%2023.7469L23.3302%2022.2846C32.4698%2013.145%2040.33%205.28485%2048.7384%201.99457C51.1148%201.08061%2053.3083%200.532227%2055.5018%200.532227H56.4157C62.2651%200.532227%2067.7489%203.27413%2073.4155%208.94071C75.609%2011.1342%2077.8025%2014.0589%2080.1789%2017.532C81.4583%2019.5427%2082.5552%2021.5534%2083.8347%2023.9297C87.125%2030.3276%2090.2324%2038.0048%2092.6087%2046.0478C92.9749%2047.3291%2093.341%2048.6564%2093.7071%2049.9835L93.7072%2049.9837L93.7072%2049.9839L93.7073%2049.984L93.7073%2049.9842L93.7076%2049.9853C94.0725%2051.3081%2094.4374%2052.6307%2094.8022%2053.9078C96.6303%2061.4024%20102.297%2086.6278%2094.4368%2094.6707C91.512%2097.5954%2086.3938%2098.8749%2078.8992%2098.8749ZM57.6966%2043.3045C55.5031%2027.7669%2052.5784%2012.9608%2049.471%204.0039C41.9732%206.83636%2034.6274%2014.0731%2026.4644%2022.1149C25.6718%2022.8957%2024.8716%2023.6841%2024.0627%2024.4767C15.6543%2032.8852%208.15969%2040.3797%204.32103%2047.8743C15.4714%2044.584%2037.955%2042.9389%2057.6966%2043.3045ZM71.9537%2010.5845C74.1473%2012.778%2076.3408%2015.5199%2078.3516%2018.8102C75.6097%2024.1111%2070.6743%2031.2401%2064.6421%2038.7346C62.2658%2023.7455%2058.9755%2010.0361%2055.5025%202.90716C60.8034%202.54156%2066.1044%204.73507%2071.9537%2010.5845ZM90.5981%2046.7783C88.2217%2039.1011%2085.297%2031.6065%2081.824%2025.026C79.2649%2030.1442%2074.8779%2036.7248%2069.5768%2043.6709C78.8993%2044.2192%2086.5766%2045.316%2090.5981%2046.7783ZM2.30859%2055.1866C13.2762%2052.079%2034.663%2050.9824%2054.4047%2051.1652C42.3403%2064.8745%2029.362%2077.6701%2022.9643%2081.6915C17.6632%2078.7668%2013.2762%2075.6594%209.9859%2072.5519C3.77094%2066.5198%201.76022%2060.8531%202.30859%2055.1866ZM92.7929%2054.4551C87.492%2052.9928%2077.804%2051.8961%2066.6536%2051.5305C69.2127%2070.7237%2070.1266%2089.3687%2068.1159%2096.132C79.6319%2097.7771%2089.1371%2097.2287%2092.7929%2093.3901C98.094%2088.0892%2097.18%2071.8205%2092.7929%2054.4551ZM29.544%2084.7988C35.5763%2082.0569%2048.0061%2069.8097%2059.3393%2056.4658C60.9845%2071.8204%2061.7156%2086.4439%2061.1672%2094.8524C50.748%2092.8417%2039.4149%2089.1859%2029.544%2084.7988Z'%20fill='black'/%3e%3c/svg%3e";function o({progress:e,showAnimation:a}){return _.jsx("div",{className:n(s.doji_loading__screen_wrap),children:_.jsxs("div",{className:s.content__wrap,children:[_.jsx("div",{className:s.overlay__elem}),_.jsx("img",{src:p,alt:"loading...",className:s.loading__logo}),_.jsx("div",{className:n(s.progressPercents),children:e!==void 0?(e*100).toFixed()+"%":_.jsx("div",{className:n(s.progress__text),children:"Initializing..."})}),_.jsx("div",{className:n(s.loading__text),children:a?"Loading...":"Please wait"})]})})}export{o as DojiLoader,o as default};
//# sourceMappingURL=doji-loader-DmWhOCG2.js.map