PageSourceSearch

https://histomania.com/assets/mapdialog-DRqsokON.js

js histomania.com collected 2026-09-25 07:01:51 UTC 2,519 bytes, 1 lines download raw bytes

1import{bW as d,bV as u,bX as g,bt as m,au as t,v as f,f as p,aZ as h,x,R as b,w as v,g as M,p as C,bD as E}from"./index-DJ3zL1BN.js";import{Z as w}from"./Zoom-DQ7tUIeH.js";var o={},c;function D(){if(c)return o;c=1;var n=d();Object.defineProperty(o,"__esModule",{value:!0}),o.default=void 0;var e=n(u()),r=g();return o.default=(0,e.default)((0,r.jsx)("path",{d:"m20.5 3-.16.03L15 5.1 9 3 3.36 4.9c-.21.07-.36.25-.36.48V20.5c0 .28.22.5.5.5l.16-.03L9 18.9l6 2.1 5.64-1.9c.21-.07.36-.25.36-.48V3.5c0-.28-.22-.5-.5-.5M15 19l-6-2.11V5l6 2.11z"}),"Map"),o}var y=D();const R=m(y),_=()=>n=>e=>t.createElement(n,{...e,width:"lg",fullScreen:!1});class I extends t.Component{componentDidMount(){setTimeout(()=>{this.forceUpdate()},1500)}determineCenter(e){if(e.center)return e.center;var r=180,l=-180,i=90,s=-90;for(var a of e.objects)a.type==="marker"&&(r=Math.min(r,a.lng),l=Math.max(l,a.lng),i=Math.min(i,a.lat),s=Math.max(s,a.lat));return{longitude:r+(l-r)/2,latitude:i+(s-i)/2}}render(){const e=this.determineCenter(this.props.config);return t.createElement(f,{maxWidth:!1,open:this.props.open,onClose:this.props.onClose,TransitionComponent:w,transitionDuration:600,PaperProps:{sx:{borderRadius:3,overflow:"hidden",boxShadow:"0 24px 48px rgba(0,0,0,0.22)"}}},t.createElement(p,{sx:{background:"linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%)",color:"white",display:"flex",alignItems:"center",gap:2,py:2,px:3}},t.createElement(p,{sx:{width:38,height:38,borderRadius:2,background:"rgba(233,69,96,0.18)",border:"1px solid rgba(233,69,96,0.35)",display:"flex",alignItems:"center",justifyContent:"center",flexShrink:0}},t.createElement(R,{sx:{fontSize:22,color:"#e94560"}})),t.createElement(h,{variant:"h6",sx:{fontWeight:700,lineHeight:1.2,letterSpacing:"-0.01em"}},this.props.config.title||"Karte")),t.createElement(x,{sx:{p:0}},t.createElement(b,{id:"Map",initialCenter:{lat:e.latitude,lng:e.longitude},center:{lat:e.latitude,lng:e.longitude},zoom:this.props.config.zoom||15,height:window.innerHeight-300,width:window.innerWidth*.8},this.props.config.objects)),t.createElement(v,{sx:{px:3,py:2,background:"#f4f6f9",borderTop:"1px solid rgba(0,0,0,0.07)"}},t.createElement(M,{variant:"outlined",startIcon:t.createElement(C,null),onClick:this.props.onClose,size:"small",sx:{borderRadius:2,textTransform:"none",fontWeight:600,borderColor:"rgba(0,0,0,0.18)",color:"text.primary","&:hover":{background:"rgba(233,69,96,0.08)",borderColor:"#e94560",color:"#e94560"}}},E("close"))))}}const S=_()(I);export{S 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.