PageSourceSearch

https://wealthy-technology-dev.io/assets/index-b256f67d.js

js wealthy-technology-dev.io collected 2026-09-25 18:37:17 UTC 7,062 bytes, 1 lines download raw bytes

1import{P as d,t as N,m as b,i as j,j as s,r as S,u as z,Z as I,d as T,a as i,ap as C,aq as D,N as h,z as M,U as W,C as _,ar as E,E as R,G as u}from"./index-0d16e32e.js";import{N as v}from"./Nav-f9f9175c.js";import{S as f}from"./search-5c782939.js";import{P as $}from"./plus-9c8cff28.js";import{C as y}from"./chart-column-c46df9b7.js";import{B as x}from"./book-open-7f7c03ea.js";import L from"./innosearchIndex-b2f278ec.js";import{Q as B}from"./ReactToastify-317b96a1.js";import"./Container-b3b1ef9d.js";import"./Col-024c8063.js";import"./Card-4e15b445.js";import"./CardBody-25e4bd09.js";import"./CardHeader-c88d9593.js";import"./CardTitle-4dff5dc5.js";import"./ModalBody-41ff2047.js";import"./Fade-65d537a0.js";import"./Form-5d5d30dd.js";import"./FormGroup-3007695b.js";import"./Input-d4c0632d.js";import"./Label-14511742.js";import"./Spinner-f42d74b9.js";import"./file-text-6c8dc42e.js";import"./filter-19d2cc60.js";import"./download-c8558365.js";typeof globalThis<"u"&&typeof globalThis.global>"u"&&(globalThis.global=globalThis);var H=["className","cssModule","tag"];function A(e,n){if(e==null)return{};var t=U(e,n),r,a;if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(a=0;a<o.length;a++)r=o[a],!(n.indexOf(r)>=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(t[r]=e[r])}return t}function U(e,n){if(e==null)return{};var t={},r=Object.keys(e),a,o;for(o=0;o<r.length;o++)a=r[o],!(n.indexOf(a)>=0)&&(t[a]=e[a]);return t}var q={className:d.string,cssModule:d.object,tag:N};function w(e){var n=e.className,t=e.cssModule,r=e.tag,a=r===void 0?"a":r,o=A(e,H),m=b(j(n,"navbar-brand"),t);return s(a,{...o,className:m})}w.propTypes=q;var F=["className","cssModule","children","tag"];function O(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n&&(r=r.filter(function(a){return Object.getOwnPropertyDescriptor(e,a).enumerable})),t.push.apply(t,r)}return t}function G(e){for(var n=1;n<arguments.length;n++){var t=arguments[n]!=null?arguments[n]:{};n%2?O(Object(t),!0).forEach(function(r){K(e,r,t[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):O(Object(t)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r))})}return e}function K(e,n,t){return n in e?Object.defineProperty(e,n,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[n]=t,e}function Q(e,n){if(e==null)return{};var t=V(e,n),r,a;if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(a=0;a<o.length;a++)r=o[a],!(n.indexOf(r)>=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(t[r]=e[r])}return t}function V(e,n){if(e==null)return{};var t={},r=Object.keys(e),a,o;for(o=0;o<r.length;o++)a=r[o],!(n.indexOf(a)>=0)&&(t[a]=e[a]);return t}var Z={className:d.string,cssModule:d.object,tag:N,type:d.string,children:d.node};function P(e){var n=e.className,t=e.cssModule,r=e.children,a=e.tag,o=a===void 0?"button":a,m=Q(e,F),g=b(j(n,"navbar-toggler"),t);return s(o,{"aria-label":"Toggle navigation",...G({type:"button"},m),className:g,children:r||s("span",{className:b("navbar-toggler-icon",t)})})}P.propTypes=Z;const J=()=>{const[e,n]=S.useState(!1),t=z(),r=I(),a=T(),o=()=>n(!e),m=l=>t.pathname===l||t.pathname.startsWith(l),g=[{path:"/apps/pubmed",label:"Search",icon:f,exact:!0},{path:"/apps/pubmed/innosearch/dashboard",label:"Dashboard",icon:y}];return i(C,{className:"border-0 shadow-sm",style:{background:"linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%)",minHeight:"56px",padding:"0.5rem 1rem"},expand:"md",children:[i(w,{href:"/apps/pubmed",className:"d-flex align-items-center",style:{marginRight:"2rem"},children:[s("div",{style:{width:"32px",height:"32px",background:"linear-gradient(135deg, #184874 0%, #1a5a8f 100%)",borderRadius:"8px",display:"flex",alignItems:"center",justifyContent:"center",marginRight:"10px",boxShadow:"0 2px 8px rgba(24, 72, 116, 0.2)"},children:s(f,{size:16,className:"text-white"})}),i("div",{children:[s("div",{style:{fontSize:"1.1rem",fontWeight:"600",color:"#184874",lineHeight:"1.2"},children:"Innosearch"}),a&&s("div",{style:{fontSize:"0.75rem",color:"#6c757d",lineHeight:"1"},children:a.name})]})]}),s(P,{onClick:o,style:{border:"none",padding:"0.25rem 0.5rem"}}
1),i(D,{isOpen:e,navbar:!0,children:[s(v,{className:"me-auto",navbar:!0,children:g.map(l=>{const k=l.icon,p=l.exact?t.pathname===l.path:m(l.path);return s(h,{children:i(M,{href:l.path,className:"d-flex align-items-center position-relative",style:{padding:"0.5rem 1rem",margin:"0 0.25rem",borderRadius:"8px",fontSize:"0.875rem",fontWeight:p?"600":"500",color:p?"#184874":"#6c757d",background:p?"rgba(24, 72, 116, 0.08)":"transparent",border:p?"1px solid rgba(24, 72, 116, 0.15)":"1px solid transparent",transition:"all 0.2s ease",textDecoration:"none"},onClick:c=>{c.preventDefault(),r(l.path)},onMouseEnter:c=>{p||(c.target.style.background="rgba(24, 72, 116, 0.04)",c.target.style.color="#184874")},onMouseLeave:c=>{p||(c.target.style.background="transparent",c.target.style.color="#6c757d")},children:[s(k,{size:14,className:"me-2"}),l.label]})},l.path)})}),i(v,{navbar:!0,className:"d-flex align-items-center",children:[i(W,{nav:!0,inNavbar:!0,children:[i(_,{nav:!0,className:"d-flex align-items-center",style:{padding:"0.5rem 0.75rem",borderRadius:"8px",fontSize:"0.875rem",fontWeight:"500",color:"#6c757d",background:"transparent",border:"1px solid rgba(108, 117, 125, 0.2)",transition:"all 0.2s ease",cursor:"pointer"},children:[s($,{size:14,className:"me-1"}),"Actions",s(E,{size:12,className:"ms-1"})]}),i(R,{end:!0,style:{borderRadius:"8px",border:"1px solid rgba(0,0,0,0.1)",boxShadow:"0 4px 12px rgba(0,0,0,0.1)",padding:"0.5rem 0"},children:[i(u,{onClick:()=>r("/apps/pubmed"),style:{padding:"0.5rem 1rem",fontSize:"0.875rem",display:"flex",alignItems:"center"},children:[s(f,{size:14,className:"me-2 text-primary"}),"New Search"]}),i(u,{onClick:()=>r("/apps/pubmed/innosearch/dashboard"),style:{padding:"0.5rem 1rem",fontSize:"0.875rem",display:"flex",alignItems:"center"},children:[s(y,{size:14,className:"me-2 text-info"}),"View Dashboard"]}),s("div",{className:"dropdown-divider",style:{margin:"0.5rem 0"}}),i(u,{onClick:()=>r("/apps/admin/projects"),style:{padding:"0.5rem 1rem",fontSize:"0.875rem",display:"flex",alignItems:"center"},children:[s(x,{size:14,className:"me-2 text-secondary"}),"Back to Projects"]})]})]}),a&&s(h,{className:"ms-2 d-none d-lg-block",children:i("div",{style:{padding:"0.375rem 0.75rem",background:"rgba(255, 159, 67, 0.1)",border:"1px solid rgba(255, 159, 67, 0.2)",borderRadius:"20px",fontSize:"0.75rem",fontWeight:"500",color:"#e67e22",display:"flex",alignItems:"center",whiteSpace:"nowrap"},children:[s(x,{size:12,className:"me-1"}),a.name.length>15?`${a.name.substring(0,15)}...`:a.name]})})]})]})]})},Ne=()=>i("div",{className:"min-vh-100 bg-light",children:[s(J,{}),s("main",{children:s(L,{})}),s(B,{position:"top-right",autoClose:3e3,hideProgressBar:!1,newestOnTop:!1,closeOnClick:!0,rtl:!1,pauseOnFocusLoss:!0,draggable:!0,pauseOnHover:!0})]});
1export{Ne 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.