1import{j as t}from"./vendor-react.ELhBuE2q.js";import{b as y,n as b,z as x,o as h,A as g,af as v}from"./app-shared.CdUkAbk4.js";import"./vendor-ui.BSTRh9Ug.js";import"./vendor-i18n.DvM0XvO9.js";import"./vendor-router.aN8wpDPU.js";import"./vendor-moment.BLMuvzoS.js";import"./vendor-axios.NIGUFBhG.js";function N({data:s,onClose:m,children:c}){var n,l,d;const{jsonSetting:a}=y(),{setSelectedElement:u}=b(),o=x("inferno"),i="base_inferno";let r;try{const e=h(a,"modal",i)||((l=(n=a.modal)==null?void 0:n.name)==null?void 0:l.base);r=(e==null?void 0:e.style)||"default",$forwardCreateCSS(r,(d=a==null?void 0:a.modal)==null?void 0:d.styles)}catch{console.error("forwardCreateCSS error:")}const f=e=>{e.stopPropagation(),u({styleName:i,classStyle:r,type:"modal",ref:e.target})};return t.jsxs(t.Fragment,{children:[t.jsx("style",{children:` 2 @keyframes inf-modal-rim { 3 0% { background-position: 0% 50%; } 4 100% { background-position: 200% 50%; } 5 } 6 @keyframes inf-modal-ember { 7 0% { transform: translateY(0) scale(1); opacity: 0; } 8 15% { opacity: 0.9; } 9 100% { transform: translateY(-70px) scale(0.35); opacity: 0; } 10 } 11 `}),t.jsxs("div",{className:`relative base-modal-style ${r||""}`,style:{overflow:"visible"},children:[t.jsx(g,{onClick:f,className:"!right-auto !left-1"}),t.jsx("div",{"aria-hidden":"true",className:"pointer-events-none absolute",style:{inset:"-2.5px",borderRadius:"20px",background:"linear-gradient(90deg, var(--c-primary, #E01010) 0%, var(--c-secondary, #FF7A00) 30%, var(--c-primary-700, #B50D0D) 55%, var(--c-secondary, #FF8A1E) 80%, var(--c-primary, #E01010) 100%)",backgroundSize:"200% 100%",animation:"inf-modal-rim 5s linear infinite",zIndex:-1,opacity:.9,filter:"blur(0.5px)"}}),[{bottom:"8%",left:"6%",size:5,delay:"0s",dur:"4.5s"},{bottom:"4%",left:"30%",size:4,delay:"1.2s",dur:"5.5s"},{bottom:"6%",right:"28%",size:3,delay:"0.6s",dur:"5s"},{bottom:"10%",right:"7%",size:5,delay:"1.8s",dur:"4.8s"}].map((e,p)=>t.jsx("span",{"aria-hidden":"true",className:"pointer-events-none absolute rounded-full",style:{bottom:e.bottom,left:e.left,right:e.right,width:`${e.size}px`,height:`${e.size}px`,background:o,boxShadow:`0 0 8px ${o}CC`,animation:`inf-modal-ember ${e.dur} linear ${e.delay} infinite`,zIndex:4}},`inf_ember_${p}`)),s.events.showCloseButton&&t.jsx("div",{className:"absolute top-[20px] right-[20px] z-[1000] cursor-pointer",onClick:()=>m(s.id),style:{filter:`drop-shadow(0 0 6px ${o}80)`},children:t.jsx(v,{})}),c]})]})}export{N as default};
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.