1import{j as e}from"./vendor-react.ELhBuE2q.js";import{b as h,n as u,z as b,o as f,A as y}from"./app-shared.CdUkAbk4.js";import{S as v}from"./SteamPuffs.CQkNjUWz.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";const o=({className:t=""})=>e.jsx("span",{className:`pointer-events-none absolute w-2 h-2 rounded-full z-[1010] ${t}`,"aria-hidden":"true",style:{background:"radial-gradient(circle at 35% 35%, #6B747F 0%, #3A414A 60%, #23272D 100%)",boxShadow:"inset 0 -1px 1px rgba(0, 0, 0, 0.6), 0 1px 1px rgba(255, 255, 255, 0.08)"}}),j=({accent:t})=>e.jsx("span",{className:"w-[30px] h-[30px] flex items-center justify-center rounded-[4px] transition-opacity hover:opacity-80",style:{background:"linear-gradient(180deg, var(--c-secondary-700, #3A414A) 0%, var(--c-secondary-900, #23272D) 100%)",border:`1px solid ${t}`,boxShadow:`0 0 8px ${t}40, inset 0 1px 0 rgba(255, 255, 255, 0.12), 0 2px 4px rgba(0, 0, 0, 0.5)`},children:e.jsx("svg",{width:"14",height:"14",viewBox:"0 0 14 14","aria-hidden":"true",children:e.jsx("path",{d:"M2.5 2.5 L11.5 11.5 M11.5 2.5 L2.5 11.5",stroke:t,strokeWidth:"2.2",strokeLinecap:"round",style:{filter:`drop-shadow(0 0 3px ${t}99)`}})})});function M({data:t,onClose:c,children:x}){var l,d,p;const{jsonSetting:s}=h(),{setSelectedElement:m}=u(),n=b("engine"),i="base_engine";let r;try{const a=f(s,"modal",i)||((d=(l=s.modal)==null?void 0:l.name)==null?void 0:d.base);r=(a==null?void 0:a.style)||"default",$forwardCreateCSS(r,(p=s==null?void 0:s.modal)==null?void 0:p.styles)}catch{console.error("forwardCreateCSS error:")}const g=a=>{a.stopPropagation(),m({styleName:i,classStyle:r,type:"modal",ref:a.target})};return e.jsx(e.Fragment,{children:e.jsxs("div",{className:`relative base-modal-style ${r||""}`,style:{overflow:"visible"},children:[e.jsx(y,{onClick:g,className:"!right-auto !left-1"}),e.jsx(o,{className:"top-2 left-2"}),e.jsx(o,{className:"top-2 right-2"}),e.jsx(o,{className:"bottom-2 left-2"}),e.jsx(o,{className:"bottom-2 right-2"}),e.jsxs("div",{className:"pointer-events-none absolute bottom-2 left-5 flex items-end gap-[3px] z-[1006]","aria-hidden":"true",children:[e.jsx(v,{className:"inset-x-0 bottom-full h-0",height:28,opacity:.45}),[0,1,2].map(a=>e.jsx("span",{className:"w-1 h-4 rounded-sm",style:{background:"linear-gradient(180deg, rgba(0, 0, 0, 0.55) 0%, rgba(0, 0, 0, 0.35) 100%)",boxShadow:"inset 0 1px 2px rgba(0, 0, 0, 0.7), 0 1px 0 rgba(255, 255, 255, 0.06)"}},a))]}),e.jsx("div",{className:"pointer-events-none absolute top-0 left-3 right-3 h-[5px] z-[1005] overflow-hidden rounded-b-sm","aria-hidden":"true",style:{background:`repeating-linear-gradient(45deg, ${n} 0 8px, transparent 8px 16px)`,opacity:.8}}),e.jsx("div",{className:"pointer-events-none absolute bottom-[2px] left-[8%] right-[8%] h-px z-[1005]","aria-hidden":"true",style:{background:`linear-gradient(90deg, transparent, ${n}80, transparent)`}}),e.jsx("div",{className:"pointer-events-none absolute top-[6px] left-[18%] right-[18%] h-[1px] opacity-40 z-[1005]","aria-hidden":"true",style:{background:"linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0.35) 50%, transparent 100%)"}}),t.events.showCloseButton&&e.jsx("div",{className:"absolute top-[18px] right-[18px] z-[1020] cursor-pointer",onClick:()=>c(t.id),children:e.jsx(j,{accent:n})}),x]})})}export{M 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.