/**
 * Skipped minification because the original files appears to be already minified.
 * Original file: /npm/code-splitting-widget@1.0.42/dist/widget.js
 *
 * Do NOT use SRI with dynamically generated files! More information: https://www.jsdelivr.com/using-sri-with-dynamic-files
 */
!function(){"use strict";try{if("undefined"!=typeof document){var t=document.createElement("style");t.appendChild(document.createTextNode('@font-face{font-family:Estedad-FD;src:url(https://cdn.jsdelivr.net/npm/code-splitting-widget@1.0.42/dist/fonts/Estedad-Light.woff2) format("woff2");font-weight:300;font-style:normal;font-display:swap}@font-face{font-family:Estedad-FD;src:url(https://cdn.jsdelivr.net/npm/code-splitting-widget@1.0.42/dist/fonts/Estedad-Regular.woff2) format("woff2");font-weight:400;font-style:normal;font-display:swap}@font-face{font-family:Estedad-FD;src:url(https://cdn.jsdelivr.net/npm/code-splitting-widget@1.0.42/dist/fonts/Estedad-Medium.woff2) format("woff2");font-weight:500;font-style:normal;font-display:swap}@font-face{font-family:Estedad-FD;src:url(https://cdn.jsdelivr.net/npm/code-splitting-widget@1.0.42/dist/fonts/Estedad-SemiBold.woff2) format("woff2");font-weight:600;font-style:normal;font-display:swap}@font-face{font-family:Estedad-FD;src:url(https://cdn.jsdelivr.net/npm/code-splitting-widget@1.0.42/dist/fonts/Estedad-Bold.woff2) format("woff2");font-weight:700;font-style:normal;font-display:swap}')),document.head.appendChild(t)}}catch(f){console.error("vite-plugin-css-injected-by-js",f)}}();
!function(){try{("undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{}).SENTRY_RELEASE={id:"4f9b97b96135dd9be8e2069d1b7adb07d4938a65"}}catch(e){}}();try{(t=(new(e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{}).Error).stack)&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="9fc90658-4dec-46ba-8610-8a58b6084f0f",e._sentryDebugIdIdentifier="sentry-dbid-9fc90658-4dec-46ba-8610-8a58b6084f0f")}catch(e){}var e,t;const r={},n=function(e,t,n){let o=Promise.resolve();if(t&&t.length>0){let e=function(e){return Promise.all(e.map(e=>Promise.resolve(e).then(e=>({status:"fulfilled",value:e}),e=>({status:"rejected",reason:e}))))};const i=document.getElementsByTagName("link"),a=document.querySelector("meta[property=csp-nonce]"),s=a?.nonce||a?.getAttribute("nonce");o=e(t.map(e=>{if(e=function(e,t){return new URL(e,t).href}(e,n),e in r)return;r[e]=!0;const t=e.endsWith(".css"),o=t?'[rel="stylesheet"]':"";if(n)for(let r=i.length-1;r>=0;r--){const n=i[r];if(n.href===e&&(!t||"stylesheet"===n.rel))return}else if(document.querySelector(`link[href="${e}"]${o}`))return;const a=document.createElement("link");return a.rel=t?"stylesheet":"modulepreload",t||(a.as="script"),a.crossOrigin="",a.href=e,s&&a.setAttribute("nonce",s),document.head.appendChild(a),t?new Promise((t,r)=>{a.addEventListener("load",t),a.addEventListener("error",()=>r(new Error(`Unable to preload CSS for ${e}`)))}):void 0}))}function i(e){const t=new Event("vite:preloadError",{cancelable:!0});if(t.payload=e,window.dispatchEvent(t),!t.defaultPrevented)throw e}return o.then(t=>{for(const e of t||[])"rejected"===e.status&&i(e.reason);return e().catch(i)})};!async function(){try{const e=document.querySelector("script#mori-react-widget"),t=e?.getAttribute("data-sharing-id");if(!t)return;window.moriBotDataPromise=(async()=>{const e=`https://standardapi.dori.tech/bot-sharing-data/${t}`,r=await fetch(e);if(200!==r.status)throw new Error(`Failed to fetch bot data: ${r.status}`);const n=await r.json();if(n.error)throw new Error(n.error);if(!n.data)throw new Error("No data received from bot sharing API");return n.data})()}catch(e){window.moriBotDataPromise=Promise.reject(e instanceof Error?e.message:String(e))}}(),async function(){try{const{initializeDoriWidget:e}=await n(async()=>{const{initializeDoriWidget:e}=await import("./assets/main-Clqc7PvZ.js").then(e=>e.m);return{initializeDoriWidget:e}},[],import.meta.url);e()}catch(e){}}();export{n as _};
