import{__assign as i}from"tslib";import{jsxs as t,Fragment as e,jsx as n}from"react/jsx-runtime";import{Sparkles as r}from"lucide-react";var o=function(t){var e=t.width,r=void 0===e?"100%":e,o=t.height,d=void 0===o?"10px":o,h=t.style;return n("div",{style:i({width:r,height:d,backgroundColor:"#E2E8F0",borderRadius:"4px",backgroundImage:"linear-gradient(90deg, #E2E8F0 0px, #F1F5F9 40px, #E2E8F0 80px)",backgroundSize:"200px 100%",animation:"shimmer 1.5s ease-in-out infinite"},h)})},d=function(){return t("div",i({style:{display:"flex",flexDirection:"column",gap:"12px",padding:"24px",backgroundColor:"#fff",borderRadius:"12px",border:"1px solid #E2E8F0",width:"100%"}},{children:[n(o,{width:"100%",height:"12px"}),n(o,{width:"85%",height:"10px"}),n("div",{style:{height:"8px"}}),n(o,{width:"60%",height:"12px"}),n(o,{width:"90%",height:"10px"}),n(o,{width:"75%",height:"10px"}),n("div",{style:{height:"8px"}}),n(o,{width:"40%",height:"12px"}),n(o,{width:"100%",height:"10px"}),n(o,{width:"80%",height:"10px"}),n("div",{style:{height:"8px"}}),n(o,{width:"55%",height:"12px"}),n(o,{width:"95%",height:"10px"}),n(o,{width:"70%",height:"10px"}),n(o,{width:"45%",height:"12px"}),n(o,{width:"88%",height:"10px"})]}))},h=function(o){return o.isLoading?t(e,{children:[n("style",{children:"\n  @keyframes shimmer {\n    0% {\n      background-position: -200px 0;\n    }\n    100% {\n      background-position: calc(200px + 100%) 0;\n    }\n  }\n"}),n("div",{style:{position:"fixed",top:0,left:0,right:0,bottom:0,backgroundColor:"rgba(0, 0, 0, 0.5)",zIndex:99}}),t("div",i({style:{position:"fixed",top:"50%",left:"50%",transform:"translate(-50%, -50%)",backgroundColor:"#fff",borderRadius:"16px",boxShadow:"0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04)",padding:"48px",maxWidth:"1000px",width:"70%",maxHeight:"90vh",display:"flex",flexDirection:"row",gap:"48px",zIndex:100,animation:"fadeIn 0.3s ease-out"}},{children:[t("div",i({style:{flex:1,display:"flex",flexDirection:"column",justifyContent:"center"}},{children:[n("div",i({style:{marginBottom:"16px"}},{children:n(r,{size:32,color:"#7C3AED"})})),n("h2",i({style:{fontSize:"1.5rem",fontWeight:600,color:"#0F172A",margin:"0 0 8px 0"}},{children:"Setting up your scope…"})),n("p",i({style:{fontSize:"0.875rem",color:"#64748B",margin:"0",lineHeight:"1.5"}},{children:"Inheriting Learnings from Global. This will only take a moment."}))]})),n("div",i({style:{flex:1.5,display:"flex",alignItems:"center",justifyContent:"center",minWidth:"350px"}},{children:n(d,{})}))]})),n("style",{children:"\n                @keyframes fadeIn {\n                    from {\n                        opacity: 0;\n                        transform: translate(-50%, -48%);\n                    }\n                    to {\n                        opacity: 1;\n                        transform: translate(-50%, -50%);\n                    }\n                }\n            "})]}):null};export{h as default};
//# sourceMappingURL=ScopeSkeletonLoader.js.map
