{"version":3,"file":"PulseIntelligenceExplorer.BonzILBr.mjs","names":["React.useRef","React.useState","React.useReducer","React.useId","React.useMemo","_Fragment","__esmMin","ie","ye","_e","de","init_jsx_runtime","pe","p","init_npm_react_18_3_1","ce","init_framer_BWFVvmND","addPropertyControls","ControlType","normaliseView","views","view","value","reducer","action","state","probabilityStyle","treatment","\"Unlikely\"","\"Likely\"","probability","cleanBasemap","source","drawing","PulseIntelligenceExplorer","defaultScenarios","containerReference","detailReference","returnFocusReference","viewButtonsReference","inspectionRequest","setInspectionRequest","containerWidth","setContainerWidth","workspaceState","dispatch","initialView","instanceIdentifier","compact","narrow","scenarioList","scenarios","selectedWatchIndex","selectedScenario","selectedWatchName","watchName","selectedQuestion","question","selectedMainJudgement","judgement","scenarioSources","sources","judgements","selectedJudgement","accessForecastRows","forecastRows","forecastIndex","forecast","selectedForecast","inspectedSource","linkedJudgements","assessment","filteredSources","suppliedMap","mapImage","mapSource","defaultMap","container","observer","nextWidth","entries","previousWidth","inspectSource","event","sourceIndex","closeSource","selectJudgement","judgementIndex","request","selectHorizon","horizonIndex","tabKeyDown","nextIndex","viewIndex","mapPanel","colours","assessmentIndex","controlBase","typeMeta","sourceButtons","indexes","detailTitle","activeProbability","activeConfidence","activeHorizon","WatchHeading","presentation","style","scenarioIndex","scenario","typeBody","element","l","defaultSources","init_PulseIntelligenceExplorer"],"sources":["https:/framerusercontent.com/modules/Rvr3hGvvm4igdlrvfDbD/m7W3HU1IYhRU6wlMy5x4/PulseIntelligenceExplorer.js"],"sourcesContent":["import{jsx as _jsx,jsxs as _jsxs,Fragment as _Fragment}from\"react/jsx-runtime\";import*as React from\"react\";import{addPropertyControls,ControlType}from\"framer\";const defaultMap=\"data:image/svg+xml;charset=utf-8,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%20940%20520%22%3E%3Crect%20width%3D%22940%22%20height%3D%22520%22%20fill%3D%22%23081924%22%2F%3E%3Cg%20stroke%3D%22%2317313D%22%20stroke-width%3D%22.6%22%3E%3Cpath%20d%3D%22M0%2C0V520%22%2F%3E%3Cpath%20d%3D%22M94%2C0V520%22%2F%3E%3Cpath%20d%3D%22M188%2C0V520%22%2F%3E%3Cpath%20d%3D%22M282%2C0V520%22%2F%3E%3Cpath%20d%3D%22M376%2C0V520%22%2F%3E%3Cpath%20d%3D%22M470%2C0V520%22%2F%3E%3Cpath%20d%3D%22M564%2C0V520%22%2F%3E%3Cpath%20d%3D%22M658%2C0V520%22%2F%3E%3Cpath%20d%3D%22M752%2C0V520%22%2F%3E%3Cpath%20d%3D%22M846%2C0V520%22%2F%3E%3Cpath%20d%3D%22M940%2C0V520%22%2F%3E%3Cpath%20d%3D%22M0%2C0H940%22%2F%3E%3Cpath%20d%3D%22M0%2C52H940%22%2F%3E%3Cpath%20d%3D%22M0%2C104H940%22%2F%3E%3Cpath%20d%3D%22M0%2C156H940%22%2F%3E%3Cpath%20d%3D%22M0%2C208H940%22%2F%3E%3Cpath%20d%3D%22M0%2C260H940%22%2F%3E%3Cpath%20d%3D%22M0%2C312H940%22%2F%3E%3Cpath%20d%3D%22M0%2C364H940%22%2F%3E%3Cpath%20d%3D%22M0%2C416H940%22%2F%3E%3Cpath%20d%3D%22M0%2C468H940%22%2F%3E%3Cpath%20d%3D%22M0%2C520H940%22%2F%3E%3C%2Fg%3E%3Cg%20fill%3D%22%2318313D%22%20stroke%3D%22%2336505A%22%20stroke-width%3D%221%22%3E%3Cpath%20d%3D%22M938%2C14L931%2C8L905%2C0L940%2C0L938%2C14Z%22%2F%3E%3Cpath%20d%3D%22M634%2C324L621%2C320L614%2C341L623%2C344L612%2C356L629%2C352L630%2C364L612%2C413L588%2C360L618%2C303L644%2C297L634%2C324Z%22%2F%3E%3Cpath%20d%3D%22M673%2C269L619%2C303L651%2C256L667%2C257L673%2C269Z%22%2F%3E%3Cpath%20d%3D%22M612%2C356L623%2C344L614%2C341L621%2C320L634%2C324L629%2C352L612%2C356Z%22%2F%3E%3Cpath%20d%3D%22M641%2C315L681%2C327L752%2C294L766%2C332L687%2C352L723%2C382L653%2C422L612%2C413L641%2C315Z%22%2F%3E%3Cpath%20d%3D%22M752%2C294L832%2C262L845%2C225L842%2C203L880%2C176L940%2C177L940%2C407L864%2C361L766%2C332L752%2C294Z%22%2F%3E%3Cpath%20d%3D%22M640%2C315L653%2C281L673%2C269L667%2C257L651%2C256L647%2C232L676%2C206L678%2C189L689%2C195L729%2C187L778%2C192L880%2C176L842%2C203L845%2C225L832%2C262L681%2C327L640%2C315Z%22%2F%3E%3Cpath%20d%3D%22M928%2C84L925%2C58L940%2C57L940%2C88L928%2C84Z%22%2F%3E%3Cpath%20d%3D%22M350%2C13L361%2C30L330%2C26L293%2C36L293%2C51L260%2C54L235%2C43L179%2C51L176%2C31L158%2C21L171%2C0L358%2C0L350%2C13Z%22%2F%3E%3Cpath%20d%3D%22M295%2C245L243%2C247L199%2C236L206%2C223L226%2C233L300%2C236L295%2C245Z%22%2F%3E%3Cpath%20d%3D%22M109%2C66L235%2C43L260%2C54L293%2C51L293%2C36L311%2C44L291%2C67L250%2C63L207%2C71L232%2C88L193%2C93L174%2C77L167%2C84L193%2C117L180%2C123L218%2C146L218%2C163L185%2C155L196%2C171L173%2C174L186%2C201L162%2C202L133%2C188L113%2C143L78%2C103L109%2C66Z%22%2F%3E%3Cpath%20d%3D%22M938%2C176L896%2C172L778%2C192L729%2C187L689%2C195L678%2C189L676%2C206L656%2C220L643%2C206L657%2C194L604%2C190L579%2C207L525%2C211L495%2C194L456%2C193L448%2C206L423%2C210L388%2C193L349%2C194L327%2C164L301%2C147L318%2C123L295%2C108L336%2C79L391%2C78L406%2C54L475%2C58L561%2C30L621%2C29L736%2C63L809%2C61L852%2C45L890%2C43L925%2C58L928%2C84L940%2C88L938%2C176Z%22%2F%3E%3Cpath%20d%3D%22M330%2C26L361%2C30L366%2C42L397%2C52L391%2C59L348%2C61L302%2C87L291%2C67L311%2C44L293%2C36L330%2C26Z%22%2F%3E%3Cpath%20d%3D%22M108%2C74L78%2C103L51%2C84L56%2C39L47%2C25L63%2C10L91%2C24L89%2C45L108%2C74Z%22%2F%3E%3Cpath%20d%3D%22M0%2C74L17%2C87L11%2C98L0%2C90L0%2C74Z%22%2F%3E%3Cpath%20d%3D%22M905%2C0L940%2C13L940%2C57L925%2C58L928%2C84L890%2C43L852%2C45L857%2C32L848%2C11L828%2C0L905%2C0Z%22%2F%3E%3Cpath%20d%3D%22M653%2C422L723%2C382L687%2C352L766%2C332L810%2C340L864%2C361L940%2C407L940%2C520L671%2C520L619%2C457L601%2C457L613%2C417L653%2C422Z%22%2F%3E%3Cpath%20d%3D%22M535%2C240L540%2C233L599%2C224L575%2C237L578%2C243L535%2C240Z%22%2F%3E%3Cpath%20d%3D%22M515%2C242L556%2C240L579%2C245L542%2C258L524%2C254L515%2C242Z%22%2F%3E%3Cpath%20d%3D%22M253%2C421L242%2C396L252%2C377L246%2C364L259%2C350L307%2C349L395%2C371L437%2C353L469%2C350L495%2C354L505%2C369L513%2C359L570%2C368L588%2C360L612%2C413L576%2C470L518%2C405L586%2C520L253%2C520L253%2C421Z%22%2F%3E%3Cpath%20d%3D%22M1%2C374L39%2C389L57%2C382L74%2C367L66%2C344L77%2C329L128%2C311L250%2C340L259%2C350L246%2C364L252%2C377L242%2C396L253%2C421L253%2C520L0%2C520L1%2C374Z%22%2F%3E%3Cpath%20d%3D%22M20%2C11L0%2C0L24%2C0L20%2C11Z%22%2F%3E%3Cpath%20d%3D%22M176%2C31L179%2C51L133%2C63L109%2C66L89%2C45L100%2C29L121%2C24L158%2C21L176%2C31Z%22%2F%3E%3Cpath%20d%3D%22M166%2C3L158%2C21L129%2C23L136%2C10L116%2C0L166%2C3Z%22%2F%3E%3Cpath%20d%3D%22M65%2C15L63%2C10L47%2C25L50%2C34L16%2C16L24%2C0L85%2C3L65%2C15Z%22%2F%3E%3Cpath%20d%3D%22M98%2C35L75%2C13L92%2C0L136%2C10L129%2C23L98%2C35Z%22%2F%3E%3C%2Fg%3E%3Cg%20fill%3D%22%2392AAB6%22%20font-family%3D%22Arial%2Csans-serif%22%20font-size%3D%2212%22%20letter-spacing%3D%222.4%22%20text-anchor%3D%22middle%22%3E%3Ctext%20x%3D%22200%22%20y%3D%2240%22%3EGREECE%3C%2Ftext%3E%3Ctext%20x%3D%22610%22%20y%3D%22110%22%3ETURKEY%3C%2Ftext%3E%3Ctext%20x%3D%22550%22%20y%3D%22225%22%3ECYPRUS%3C%2Ftext%3E%3Ctext%20x%3D%22410%22%20y%3D%22465%22%3EEGYPT%3C%2Ftext%3E%3Ctext%20x%3D%2295%22%20y%3D%22440%22%3ELIBYA%3C%2Ftext%3E%3Ctext%20x%3D%22730%22%20y%3D%22245%22%3ESYRIA%3C%2Ftext%3E%3C%2Fg%3E%3Ctext%20x%3D%22320%22%20y%3D%22310%22%20fill%3D%22%236A8B9A%22%20font-family%3D%22Arial%2Csans-serif%22%20font-size%3D%2212%22%20letter-spacing%3D%224%22%20text-anchor%3D%22middle%22%3EMEDITERRANEAN%20SEA%3C%2Ftext%3E%3Crect%20x%3D%22400%22%20y%3D%22265%22%20width%3D%22170%22%20height%3D%22105%22%20rx%3D%224%22%20fill%3D%22%23FF6B8A%22%20fill-opacity%3D%22.055%22%20stroke%3D%22%23FF6B8A%22%20stroke-width%3D%221.3%22%20stroke-dasharray%3D%225%205%22%2F%3E%3Ctext%20x%3D%22485%22%20y%3D%22395%22%20fill%3D%22%23D9B3BE%22%20font-family%3D%22Arial%2Csans-serif%22%20font-size%3D%2211%22%20text-anchor%3D%22middle%22%3EIllustrative%20area%20of%20interest%3C%2Ftext%3E%3C%2Fsvg%3E\";const views=[{value:\"Overview\",label:\"Brief\"},{value:\"Map\",label:\"Map\"},{value:\"Forecasts\",label:\"Outlook\"},{value:\"Evidence\",label:\"Sources\"},{value:\"Changes\",label:\"Changes\"}];const colours={page:\"#071720\",band:\"#091B25\",surface:\"#102C38\",raised:\"#163745\",border:\"#2C4D57\",text:\"#F4F8FA\",secondary:\"#B6C9D0\",rose:\"#FF6B8A\",teal:\"#3DE0CD\"};const typeBody={margin:0,fontSize:15,lineHeight:1.65,color:colours.secondary};const typeMeta={margin:0,fontSize:13,lineHeight:1.5,color:colours.secondary};const controlBase={fontFamily:\"inherit\",fontSize:14,lineHeight:1.4,fontWeight:500,minHeight:44,padding:\"10px 14px\",borderRadius:8,border:\"1px solid \"+colours.border,color:colours.text,background:\"transparent\",cursor:\"pointer\",textAlign:\"left\"};const defaultSources=[{reference:\"S1\",title:\"Port access notice\",category:\"Illustrative official source\",extract:\"Fictional notice dated 6 November 2026: maintenance will restrict the harbour road from 9 to 12 November 2026. These dates replace the provisional window in the previous sample edition.\"},{reference:\"S2\",title:\"Operator schedule\",category:\"Illustrative operational source\",extract:\"Fictional schedule dated 6 November 2026: deliveries use the main access road from 9 to 12 November. Alternative delivery slots have not been confirmed.\"},{reference:\"S3\",title:\"Alternative-route bulletin\",category:\"Illustrative contextual source\",extract:\"Fictional bulletin: an alternative route is available, but its capacity for scheduled deliveries has not been established. No throughput estimate is provided.\"}];const defaultScenarios=[{name:\"East Mediterranean\",focus:\"Harbour access\",question:\"What will affect access to the harbour in the next week?\",judgement:\"Road access disruption is likely in the next week.\",consequence:\"Scheduled deliveries overlap the planned restriction. Review delivery windows and confirm alternative access before committing to a route.\",change:\"The sample maintenance notice now confirms the dates. The one-week assessment moves from realistic possibility to likely.\",limitation:\"Alternative-route capacity has not been established. That limits confidence in the effect on delivery times.\",sourceOne:\"Port access notice\",sourceTwo:\"Operator schedule\",sourceThree:\"Alternative-route bulletin\",sourceOneExtract:defaultSources[0].extract,sourceTwoExtract:defaultSources[1].extract,sourceThreeExtract:defaultSources[2].extract,mapHorizontal:52,mapVertical:58},{name:\"Cyprus approaches\",focus:\"Travel continuity\",question:\"What will affect onward travel during the next week?\",judgement:\"Transfer delays are likely in the next week.\",consequence:\"The example works window overlaps the transfer schedule. Confirm the onward connection and allow for the published restriction.\",change:\"A fictional works notice replaces an unconfirmed window with named dates. The one-week assessment moves from realistic possibility to likely.\",limitation:\"The example operator has not confirmed spare transfer capacity. The scale of the delay is not established.\",sourceOne:\"Approach-road works notice\",sourceTwo:\"Transfer timetable\",sourceThree:\"Capacity update\",sourceOneExtract:\"Fictional notice dated 6 November 2026: access works on the approach road run from 9 to 12 November. A reduced-capacity lane remains available.\",sourceTwoExtract:\"Fictional timetable: three scheduled transfers overlap the works window. No revised departure times are listed.\",sourceThreeExtract:\"Fictional update: spare transfer capacity is not confirmed. This is an evidence gap, not confirmation that all transfers will fail.\",mapHorizontal:59,mapVertical:46},{name:\"Aegean corridor\",focus:\"Logistics continuity\",question:\"What will affect the corridor's delivery schedule in the next week?\",judgement:\"Delivery delays are likely in the next week.\",consequence:\"The fictional inspection window overlaps scheduled movements. Confirm access arrangements before dispatch.\",change:\"The sample inspection programme now includes the delivery window. The one-week assessment moves from realistic possibility to likely.\",limitation:\"The alternative loading point has no verified capacity in this example. The longer-term schedule is not published.\",sourceOne:\"Inspection programme\",sourceTwo:\"Dispatch schedule\",sourceThree:\"Loading-point notice\",sourceOneExtract:\"Fictional programme dated 6 November 2026: an inspection limits corridor access from 9 to 12 November. This confirms the timing previously listed as provisional.\",sourceTwoExtract:\"Fictional schedule: deliveries are planned during the inspection period. Alternative slots are not yet assigned.\",sourceThreeExtract:\"Fictional notice: an alternative loading point is listed without a capacity estimate or confirmed access window.\",mapHorizontal:24,mapVertical:28}];function normaliseView(value){return views.find(view=>view.value===value)?.value||\"Overview\";}function reducer(state,action){switch(action.type){case\"watch\":return{...state,watchIndex:action.index,judgementIndex:0,sourceIndex:null,horizonIndex:1,view:\"Overview\",query:\"\",zoom:1,showExplanation:false};case\"judgement\":return{...state,judgementIndex:action.index,sourceIndex:null,horizonIndex:1,showExplanation:false};case\"source\":return{...state,sourceIndex:action.index,showExplanation:false};case\"horizon\":return{...state,horizonIndex:action.index,sourceIndex:null,view:\"Forecasts\",showExplanation:false};case\"view\":return{...state,view:action.view,sourceIndex:null,query:\"\",showExplanation:false};case\"query\":return{...state,query:action.value};case\"zoom\":return{...state,zoom:Math.max(1,Math.min(2,action.value))};case\"explanation\":return{...state,showExplanation:!state.showExplanation};}}function probabilityStyle(probability){const treatments={\"Unlikely\":[\"#A9D7CC\",\"#0C3B35\"],\"Realistic possibility\":[\"#6FC0AE\",\"#032C27\"],\"Likely\":[\"#23977F\",\"#001C24\"],\"Highly likely\":[\"#00614F\",\"#FFFFFF\"]};const treatment=treatments[probability]||[\"#19333F\",\"#D7E5EB\"];return{display:\"inline-block\",background:treatment[0],color:treatment[1],padding:\"5px 9px\",borderRadius:5,fontSize:13,fontWeight:600,lineHeight:1.5};}function cleanBasemap(source){if(!source.startsWith(\"data:image/svg+xml;charset=utf-8,\"))return source;try{const drawing=decodeURIComponent(source.split(\",\").slice(1).join(\",\"));return\"data:image/svg+xml;charset=utf-8,\"+encodeURIComponent(drawing.replace(/<rect x=\"400\"[\\s\\S]*?<\\/svg>/,\"</svg>\"));}catch{return source;}}/** @framerSupportedLayoutWidth any\n * @framerSupportedLayoutHeight auto */export default function PulseIntelligenceExplorer({style,watchName,question,judgement,mapImage,sources,initialView=\"Overview\",presentation=\"Embedded\",scenarios=defaultScenarios}){const containerReference=React.useRef(null);const detailReference=React.useRef(null);const returnFocusReference=React.useRef(null);const viewButtonsReference=React.useRef([]);const[inspectionRequest,setInspectionRequest]=React.useState(0);const[containerWidth,setContainerWidth]=React.useState(1280);const[workspaceState,dispatch]=React.useReducer(reducer,{watchIndex:0,judgementIndex:0,sourceIndex:null,horizonIndex:1,view:normaliseView(initialView),query:\"\",zoom:1,showExplanation:false});const instanceIdentifier=React.useId().replace(/:/g,\"\");const compact=containerWidth<1020;const narrow=containerWidth<620;const scenarioList=Array.isArray(scenarios)&&scenarios.length?scenarios:defaultScenarios;const selectedWatchIndex=Math.min(workspaceState.watchIndex,scenarioList.length-1);const selectedScenario={...defaultScenarios[selectedWatchIndex%defaultScenarios.length],...scenarioList[selectedWatchIndex]};const selectedWatchName=selectedWatchIndex===0&&watchName?watchName:selectedScenario.name;const selectedQuestion=selectedWatchIndex===0&&question?question:selectedScenario.question;const selectedMainJudgement=selectedWatchIndex===0&&judgement?judgement:selectedScenario.judgement;const scenarioSources=selectedWatchIndex===0&&Array.isArray(sources)&&sources.length?sources:[{reference:\"S1\",title:selectedScenario.sourceOne,category:\"Illustrative official source\",extract:selectedScenario.sourceOneExtract},{reference:\"S2\",title:selectedScenario.sourceTwo,category:\"Illustrative operational source\",extract:selectedScenario.sourceTwoExtract},{reference:\"S3\",title:selectedScenario.sourceThree,category:\"Illustrative contextual source\",extract:selectedScenario.sourceThreeExtract}];const judgements=[{title:selectedMainJudgement,shortTitle:selectedScenario.focus+\" disruption\",probability:\"Likely\",confidence:\"Moderate\",change:\"Changed\",previous:\"Realistic possibility\",consequence:selectedScenario.consequence,basis:\"The dated restriction overlaps the published schedule in the synthetic source set.\",limitation:selectedScenario.limitation,sourceIndexes:[0,1]},{title:\"A backlog is a realistic possibility in the next week.\",shortTitle:\"Schedule recovery\",probability:\"Realistic possibility\",confidence:\"Low\",change:\"New\",previous:\"Not assessed\",consequence:\"The example schedule leaves limited recovery time. Confirm revised timings before making a commitment.\",basis:\"The synthetic schedule overlaps the restriction, while spare capacity is not confirmed.\",limitation:\"Neither source establishes the size of any backlog. This is a bounded example judgement, not a measured outcome.\",sourceIndexes:[1,2]},{title:\"No basis for a judgement on alternative capacity.\",shortTitle:\"Alternative capacity\",probability:\"No basis for a judgement\",confidence:\"Not assigned\",change:\"Evidence gap\",previous:\"No basis for a judgement\",consequence:\"Capacity must be confirmed directly before the alternative is relied upon.\",basis:\"The illustrative bulletin lists an alternative without a capacity estimate.\",limitation:\"An absent estimate is not evidence of zero capacity. No probability has been invented.\",sourceIndexes:[2]}];const selectedJudgement=judgements[Math.min(workspaceState.judgementIndex,judgements.length-1)];const accessForecastRows=[{horizon:\"NOW\",anchor:\"7 Nov 2026\",probability:\"Unlikely\",confidence:\"Moderate\",event:\"A restriction disrupts access within 24 hours.\",basis:\"The sample notice schedules the works after the first 24-hour window.\"},{horizon:\"1 WEEK\",anchor:\"13 Nov 2026\",probability:\"Likely\",confidence:\"Moderate\",event:selectedScenario.judgement,basis:\"The stated works period overlaps the synthetic operating schedule.\"},{horizon:\"1 MONTH +\",anchor:\"6 Dec 2026\",probability:\"No basis for a forecast\",confidence:\"Not assigned\",event:\"No basis for a forecast at this horizon.\",basis:\"The synthetic notice and timetable cover the coming week, not the following month. A longer-range probability is not assigned.\"},{horizon:\"UP TO 1 YEAR\",anchor:\"6 Nov 2027\",probability:\"No basis for a forecast\",confidence:\"Not assigned\",event:\"No basis for a forecast at this horizon.\",basis:\"The synthetic source set contains no defensible one-year outlook. The cell remains unassessed.\"}];const forecastRows=workspaceState.judgementIndex===0?accessForecastRows:accessForecastRows.map((forecast,forecastIndex)=>workspaceState.judgementIndex===1&&forecastIndex===1?{...forecast,probability:\"Realistic possibility\",confidence:\"Low\",event:\"A backlog is a realistic possibility in the next week.\",basis:selectedJudgement.basis}:{...forecast,probability:\"No basis for a forecast\",confidence:\"Not assigned\",event:\"No basis for a forecast at this horizon.\",basis:\"The synthetic source set does not establish this outcome at the selected horizon.\"});const selectedForecast=forecastRows[workspaceState.horizonIndex]||forecastRows[1];const inspectedSource=workspaceState.sourceIndex===null?null:scenarioSources[workspaceState.sourceIndex]||null;const linkedJudgements=workspaceState.sourceIndex===null?[]:judgements.map((assessment,assessmentIndex)=>({assessment,assessmentIndex})).filter(({assessment})=>assessment.sourceIndexes.includes(workspaceState.sourceIndex));const filteredSources=scenarioSources.map((source,sourceIndex)=>({source,sourceIndex})).filter(({source})=>(source.reference+\" \"+source.title+\" \"+source.category+\" \"+source.extract).toLowerCase().includes(workspaceState.query.toLowerCase()));const suppliedMap=typeof mapImage===\"string\"?mapImage:mapImage?.src;const mapSource=React.useMemo(()=>cleanBasemap(suppliedMap||defaultMap),[suppliedMap]);React.useEffect(()=>{dispatch({type:\"view\",view:normaliseView(initialView)});},[initialView]);React.useEffect(()=>{const container=containerReference.current;if(!container||typeof ResizeObserver===\"undefined\")return;const observer=new ResizeObserver(entries=>{const nextWidth=Math.round(entries[0].contentRect.width);if(nextWidth>0)setContainerWidth(previousWidth=>previousWidth===nextWidth?previousWidth:nextWidth);});observer.observe(container);return()=>observer.disconnect();},[]);React.useEffect(()=>{if(inspectedSource){detailReference.current?.focus({preventScroll:true});if(compact)detailReference.current?.scrollIntoView({block:\"nearest\",behavior:\"auto\"});}},[workspaceState.sourceIndex,compact]);const inspectSource=(sourceIndex,event)=>{returnFocusReference.current=event.currentTarget;dispatch({type:\"source\",index:sourceIndex});};const closeSource=()=>{dispatch({type:\"source\",index:null});returnFocusReference.current?.focus({preventScroll:true});};const selectJudgement=judgementIndex=>{dispatch({type:\"judgement\",index:judgementIndex});setInspectionRequest(request=>request+1);};const selectHorizon=horizonIndex=>{dispatch({type:\"horizon\",index:horizonIndex});setInspectionRequest(request=>request+1);};React.useEffect(()=>{if(inspectionRequest>0&&compact){detailReference.current?.focus({preventScroll:true});detailReference.current?.scrollIntoView({block:\"nearest\",behavior:\"auto\"});}},[inspectionRequest]);const tabKeyDown=(event,viewIndex)=>{let nextIndex=viewIndex;if(event.key===\"ArrowRight\")nextIndex=(viewIndex+1)%views.length;else if(event.key===\"ArrowLeft\")nextIndex=(viewIndex+views.length-1)%views.length;else if(event.key===\"Home\")nextIndex=0;else if(event.key===\"End\")nextIndex=views.length-1;else return;event.preventDefault();dispatch({type:\"view\",view:views[nextIndex].value});viewButtonsReference.current[nextIndex]?.focus();};const mapPanel=/*#__PURE__*/_jsxs(\"div\",{style:{background:\"#081924\",borderBottom:\"1px solid \"+colours.border},children:[/*#__PURE__*/_jsxs(\"div\",{style:{position:\"relative\",aspectRatio:\"940 / 520\",overflow:\"hidden\"},children:[/*#__PURE__*/_jsxs(\"div\",{style:{position:\"absolute\",inset:0,transform:\"scale(\"+workspaceState.zoom+\")\",transformOrigin:selectedScenario.mapHorizontal+\"% \"+selectedScenario.mapVertical+\"%\"},children:[/*#__PURE__*/_jsx(\"img\",{src:mapSource,alt:\"Eastern Mediterranean reference basemap. The outlined areas and numbered markers are fictional demonstrations, not real incident locations.\",style:{display:\"block\",width:\"100%\",height:\"100%\",objectFit:\"fill\"}}),/*#__PURE__*/_jsx(\"div\",{\"aria-hidden\":\"true\",style:{position:\"absolute\",left:selectedScenario.mapHorizontal-18+\"%\",top:selectedScenario.mapVertical-13+\"%\",width:\"36%\",height:\"26%\",border:\"1px dashed \"+colours.rose,background:\"rgba(255,107,138,.055)\",borderRadius:6}}),judgements.map((assessment,assessmentIndex)=>/*#__PURE__*/_jsx(\"button\",{type:\"button\",\"aria-label\":\"Select judgement \"+(assessmentIndex+1)+\": \"+assessment.shortTitle,\"aria-pressed\":workspaceState.judgementIndex===assessmentIndex,onClick:()=>selectJudgement(assessmentIndex),style:{position:\"absolute\",left:selectedScenario.mapHorizontal-14+assessmentIndex*14+\"%\",top:selectedScenario.mapVertical+4-assessmentIndex*5+\"%\",width:44,height:44,transform:\"translate(-50%,-50%)\",display:\"grid\",placeItems:\"center\",border:0,padding:0,background:\"transparent\",cursor:\"pointer\"},children:/*#__PURE__*/_jsx(\"span\",{style:{display:\"grid\",placeItems:\"center\",height:25,width:25,borderRadius:\"50%\",background:workspaceState.judgementIndex===assessmentIndex?colours.rose:colours.page,color:workspaceState.judgementIndex===assessmentIndex?colours.page:colours.text,border:\"1px solid \"+colours.rose,font:\"600 12px Inter,sans-serif\",boxShadow:\"0 0 0 5px rgba(7,23,32,.65)\"},children:assessmentIndex+1})},assessment.shortTitle))]}),/*#__PURE__*/_jsx(\"div\",{style:{position:\"absolute\",top:14,left:14,padding:\"6px 10px\",borderRadius:5,background:\"rgba(7,23,32,.92)\",color:colours.secondary,fontSize:12,border:\"1px solid \"+colours.border},children:\"Illustrative geographic context\"})]}),/*#__PURE__*/_jsxs(\"div\",{style:{padding:\"8px 12px\",display:\"flex\",gap:6,alignItems:\"center\",flexWrap:\"wrap\",borderTop:\"1px solid \"+colours.border},children:[/*#__PURE__*/_jsx(\"button\",{type:\"button\",style:controlBase,onClick:()=>dispatch({type:\"zoom\",value:workspaceState.zoom+.25}),disabled:workspaceState.zoom>=2,children:\"Zoom in\"}),/*#__PURE__*/_jsx(\"button\",{type:\"button\",style:controlBase,onClick:()=>dispatch({type:\"zoom\",value:workspaceState.zoom-.25}),disabled:workspaceState.zoom<=1,children:\"Zoom out\"}),/*#__PURE__*/_jsx(\"button\",{type:\"button\",style:controlBase,onClick:()=>dispatch({type:\"zoom\",value:1}),children:\"Reset\"}),!narrow&&/*#__PURE__*/_jsx(\"span\",{style:{...typeMeta,marginLeft:\"auto\",fontSize:12},children:\"Natural Earth \\xb7 not for navigation\"})]})]});const sourceButtons=indexes=>/*#__PURE__*/_jsx(\"div\",{style:{display:\"flex\",gap:8,flexWrap:\"wrap\",marginTop:14},children:indexes.filter(sourceIndex=>scenarioSources[sourceIndex]).map(sourceIndex=>/*#__PURE__*/_jsxs(\"button\",{type:\"button\",style:{...controlBase,color:colours.teal,background:colours.page},\"aria-label\":\"Inspect \"+scenarioSources[sourceIndex].reference+\": \"+scenarioSources[sourceIndex].title,onClick:event=>inspectSource(sourceIndex,event),children:[scenarioSources[sourceIndex].reference,/*#__PURE__*/_jsx(\"span\",{style:{color:colours.secondary,marginLeft:8},children:\"Inspect\"})]},scenarioSources[sourceIndex].reference+sourceIndex))});const detailTitle=inspectedSource?inspectedSource.title:workspaceState.view===\"Forecasts\"?selectedForecast.event:selectedJudgement.title;const activeProbability=workspaceState.view===\"Forecasts\"?selectedForecast.probability:selectedJudgement.probability;const activeConfidence=workspaceState.view===\"Forecasts\"?selectedForecast.confidence:selectedJudgement.confidence;const activeHorizon=workspaceState.view===\"Forecasts\"?selectedForecast.horizon:\"1 WEEK\";const WatchHeading=presentation===\"Workspace\"?\"h1\":\"h2\";return /*#__PURE__*/_jsxs(\"div\",{ref:containerReference,className:\"pulse-watch-explorer\",onKeyDown:event=>{if(event.key===\"Escape\"&&inspectedSource){event.stopPropagation();closeSource();}},style:{width:\"100%\",...style,height:\"auto\",minWidth:0,colorScheme:\"dark\",color:colours.text,background:colours.page,fontFamily:\"Inter,system-ui,sans-serif\",border:presentation===\"Workspace\"?\"none\":\"1px solid \"+colours.border,borderRadius:presentation===\"Workspace\"?0:14,overflow:\"hidden\",boxSizing:\"border-box\"},children:[/*#__PURE__*/_jsx(\"style\",{children:\".pulse-watch-explorer *{box-sizing:border-box}.pulse-watch-explorer button:focus-visible,.pulse-watch-explorer input:focus-visible,.pulse-watch-explorer select:focus-visible,.pulse-watch-explorer a:focus-visible{outline:3px solid #3DE0CD!important;outline-offset:-3px}.pulse-watch-explorer button:disabled{opacity:.35;cursor:not-allowed}.pulse-watch-explorer button:not(:disabled):hover{border-color:#7E99A4!important;background-color:#163745!important;color:#F4F8FA!important}.pulse-watch-explorer input::placeholder{color:#B6C9D0}.pulse-watch-explorer a:hover{text-decoration:underline!important}.pulse-watch-explorer mark{background:#163745;color:#F4F8FA}.pulse-watch-explorer button{transition:background-color .15s,border-color .15s}@media(prefers-reduced-motion:reduce){.pulse-watch-explorer button{transition:none}}\"}),presentation!==\"Workspace\"&&/*#__PURE__*/_jsxs(\"div\",{style:{display:\"flex\",alignItems:\"center\",justifyContent:\"space-between\",gap:16,padding:\"16px 22px\",background:colours.band,borderBottom:\"1px solid \"+colours.border},children:[/*#__PURE__*/_jsx(\"img\",{src:\"https://framerusercontent.com/images/v9YoYwte7cGCsxaVt4FmBeRqr8w.svg\",alt:\"PULSE\",width:100,height:22}),/*#__PURE__*/_jsx(\"span\",{style:{...typeMeta,color:colours.rose},children:\"Interactive demonstration\"})]}),/*#__PURE__*/_jsxs(\"div\",{style:{display:\"flex\",alignItems:\"stretch\",minHeight:narrow?0:760},children:[!compact&&/*#__PURE__*/_jsxs(\"aside\",{\"aria-label\":\"Choose a watch\",style:{width:196,flexShrink:0,padding:\"28px 14px\",background:colours.band,borderRight:\"1px solid \"+colours.border},children:[/*#__PURE__*/_jsx(\"p\",{style:{...typeMeta,padding:\"0 12px 18px\"},children:\"Your watches\"}),scenarioList.map((scenario,scenarioIndex)=>/*#__PURE__*/_jsxs(\"button\",{type:\"button\",onClick:()=>dispatch({type:\"watch\",index:scenarioIndex}),\"aria-pressed\":selectedWatchIndex===scenarioIndex,style:{...controlBase,width:\"100%\",display:\"block\",marginBottom:8,padding:\"14px 12px\",background:selectedWatchIndex===scenarioIndex?colours.raised:\"transparent\",borderColor:selectedWatchIndex===scenarioIndex?colours.border:\"transparent\",borderLeft:\"2px solid \"+(selectedWatchIndex===scenarioIndex?colours.rose:\"transparent\")},children:[/*#__PURE__*/_jsx(\"span\",{style:{display:\"block\",fontSize:14,color:colours.text},children:scenarioIndex===0&&watchName?watchName:scenario.name}),/*#__PURE__*/_jsx(\"span\",{style:{display:\"block\",fontSize:12,color:colours.secondary,marginTop:6},children:scenario.focus})]},scenarioIndex)),/*#__PURE__*/_jsxs(\"div\",{style:{margin:\"28px 10px 0\",paddingTop:24,borderTop:\"1px solid \"+colours.border},children:[/*#__PURE__*/_jsx(\"p\",{style:{...typeMeta,color:colours.teal},children:\"Human review\"}),/*#__PURE__*/_jsx(\"p\",{style:{...typeMeta,marginTop:10},children:\"A named analyst reviews the evidence before release.\"})]}),/*#__PURE__*/_jsxs(\"div\",{style:{padding:\"32px 10px 0\"},children:[/*#__PURE__*/_jsx(\"p\",{style:typeMeta,children:\"Sample cut-off\"}),/*#__PURE__*/_jsxs(\"p\",{style:{...typeMeta,color:colours.text,marginTop:6},children:[\"06 Nov 2026\",/*#__PURE__*/_jsx(\"br\",{}),\"07:00 UTC\"]}),/*#__PURE__*/_jsx(\"a\",{href:\"/editions#sample-edition\",style:{display:\"inline-block\",color:colours.teal,fontSize:13,lineHeight:1.6,marginTop:24,minHeight:44,textDecoration:\"none\"},children:\"Read the sample edition\"})]})]}),/*#__PURE__*/_jsxs(\"div\",{style:{flex:1,minWidth:0},children:[/*#__PURE__*/_jsxs(\"div\",{style:{padding:narrow?\"22px 16px 0\":\"28px 28px 0\"},children:[compact&&/*#__PURE__*/_jsxs(\"label\",{style:{...typeMeta,display:\"flex\",gap:12,alignItems:\"center\",marginBottom:22},children:[\"Watch\",/*#__PURE__*/_jsx(\"select\",{\"aria-label\":\"Choose a watch\",value:selectedWatchIndex,onChange:event=>dispatch({type:\"watch\",index:Number(event.currentTarget.value)}),style:{...controlBase,flex:1,minWidth:0,background:colours.surface},children:scenarioList.map((scenario,scenarioIndex)=>/*#__PURE__*/_jsx(\"option\",{value:scenarioIndex,children:scenarioIndex===0&&watchName?watchName:scenario.name},scenarioIndex))})]}),/*#__PURE__*/_jsxs(\"div\",{style:{display:\"flex\",alignItems:\"start\",justifyContent:\"space-between\",gap:20},children:[/*#__PURE__*/_jsxs(\"div\",{children:[/*#__PURE__*/_jsxs(\"p\",{style:{...typeMeta,color:colours.teal},children:[selectedScenario.focus,\" / watch \",String(selectedWatchIndex+1).padStart(2,\"0\")]}),/*#__PURE__*/_jsx(WatchHeading,{style:{margin:\"8px 0 12px\",fontFamily:\"Inter Display,Inter,sans-serif\",fontSize:narrow?28:34,lineHeight:1.12,fontWeight:600,letterSpacing:\"-.035em\"},children:selectedWatchName})]}),!narrow&&/*#__PURE__*/_jsxs(\"span\",{style:{...typeMeta,textAlign:\"right\"},children:[\"Sample edition\",/*#__PURE__*/_jsx(\"br\",{}),/*#__PURE__*/_jsx(\"span\",{style:{color:colours.text},children:\"06 November 2026\"})]})]}),/*#__PURE__*/_jsx(\"p\",{style:{...typeBody,maxWidth:720,marginBottom:20},children:selectedQuestion}),/*#__PURE__*/_jsx(\"div\",{role:\"tablist\",\"aria-label\":\"Watch views\",style:{display:\"flex\",gap:4,flexWrap:\"nowrap\",overflowX:\"auto\",paddingBottom:12},children:views.map((view,viewIndex)=>/*#__PURE__*/_jsx(\"button\",{ref:element=>{viewButtonsReference.current[viewIndex]=element;},id:instanceIdentifier+\"-tab-\"+view.value,role:\"tab\",type:\"button\",\"aria-selected\":workspaceState.view===view.value,\"aria-controls\":instanceIdentifier+\"-panel\",tabIndex:workspaceState.view===view.value?0:-1,onKeyDown:event=>tabKeyDown(event,viewIndex),onClick:()=>dispatch({type:\"view\",view:view.value}),style:{...controlBase,padding:narrow?\"10px 8px\":\"10px 18px\",fontSize:narrow?13:14,whiteSpace:\"nowrap\",flexShrink:0,borderColor:workspaceState.view===view.value?colours.border:\"transparent\",background:workspaceState.view===view.value?colours.raised:\"transparent\",color:workspaceState.view===view.value?colours.text:colours.secondary},children:view.label},view.value))})]}),/*#__PURE__*/_jsxs(\"div\",{role:\"tabpanel\",id:instanceIdentifier+\"-panel\",\"aria-labelledby\":instanceIdentifier+\"-tab-\"+workspaceState.view,style:{display:\"grid\",gridTemplateColumns:compact?\"minmax(0,1fr)\":\"minmax(0,1fr) 350px\",borderTop:\"1px solid \"+colours.border},children:[/*#__PURE__*/_jsxs(\"div\",{style:{minWidth:0},children:[(workspaceState.view===\"Map\"||workspaceState.view===\"Overview\"&&!narrow)&&mapPanel,workspaceState.view===\"Overview\"&&/*#__PURE__*/_jsxs(\"div\",{style:{padding:narrow?\"22px 16px\":\"24px\"},children:[/*#__PURE__*/_jsxs(\"div\",{style:{display:\"flex\",justifyContent:\"space-between\",gap:16,marginBottom:14},children:[/*#__PURE__*/_jsx(\"h3\",{style:{margin:0,fontSize:17,fontWeight:600},children:\"Vital intelligence\"}),/*#__PURE__*/_jsx(\"span\",{style:typeMeta,children:\"3 sample judgements\"})]}),judgements.map((assessment,assessmentIndex)=>/*#__PURE__*/_jsxs(\"button\",{type:\"button\",\"aria-pressed\":workspaceState.judgementIndex===assessmentIndex,onClick:()=>selectJudgement(assessmentIndex),style:{...controlBase,display:\"block\",width:\"100%\",padding:\"18px 16px\",borderRadius:8,borderColor:workspaceState.judgementIndex===assessmentIndex?\"#75505F\":colours.border,background:workspaceState.judgementIndex===assessmentIndex?\"rgba(255,107,138,.055)\":\"transparent\",marginTop:8},children:[/*#__PURE__*/_jsxs(\"span\",{style:{display:\"flex\",justifyContent:\"space-between\",gap:12,fontSize:12,color:colours.secondary,marginBottom:8},children:[/*#__PURE__*/_jsxs(\"span\",{children:[\"KJ \",String(assessmentIndex+1).padStart(2,\"0\")]}),/*#__PURE__*/_jsx(\"span\",{style:{color:assessmentIndex===0?colours.rose:colours.secondary},children:assessment.change})]}),/*#__PURE__*/_jsx(\"span\",{style:{display:\"block\",fontSize:16,lineHeight:1.4,color:colours.text,marginBottom:12},children:assessment.shortTitle}),/*#__PURE__*/_jsx(\"span\",{style:probabilityStyle(assessment.probability),children:assessment.probability})]},assessmentIndex))]}),workspaceState.view===\"Map\"&&/*#__PURE__*/_jsxs(\"div\",{style:{padding:24},children:[/*#__PURE__*/_jsx(\"h3\",{style:{margin:\"0 0 12px\",fontSize:18},children:\"Watch area and example judgements\"}),/*#__PURE__*/_jsx(\"p\",{style:typeBody,children:\"Select a numbered marker to inspect its sample judgement. The outlined areas demonstrate selection only; they are not real incident locations or customer areas.\"})]}),workspaceState.view===\"Forecasts\"&&/*#__PURE__*/_jsxs(\"div\",{style:{padding:narrow?16:24},children:[/*#__PURE__*/_jsx(\"h3\",{style:{margin:\"0 0 8px\",fontSize:21,fontWeight:500},children:\"Predictive assessment\"}),/*#__PURE__*/_jsxs(\"p\",{style:{...typeMeta,marginBottom:20},children:[selectedJudgement.shortTitle,\" across four fixed horizons.\"]}),forecastRows.map((forecast,forecastIndex)=>/*#__PURE__*/_jsxs(\"button\",{type:\"button\",\"aria-pressed\":workspaceState.horizonIndex===forecastIndex,onClick:()=>selectHorizon(forecastIndex),style:{...controlBase,display:\"block\",width:\"100%\",padding:\"20px 16px\",marginBottom:10,background:workspaceState.horizonIndex===forecastIndex?colours.raised:\"transparent\",borderColor:workspaceState.horizonIndex===forecastIndex?colours.rose:colours.border},children:[/*#__PURE__*/_jsxs(\"span\",{style:{display:\"flex\",gap:12,justifyContent:\"space-between\",flexWrap:\"wrap\",marginBottom:12},children:[/*#__PURE__*/_jsx(\"span\",{style:{...typeMeta,color:colours.text,fontWeight:600},children:forecast.horizon}),/*#__PURE__*/_jsx(\"span\",{style:typeMeta,children:forecast.anchor})]}),/*#__PURE__*/_jsx(\"span\",{style:{display:\"block\",fontSize:16,lineHeight:1.45,marginBottom:14},children:forecast.event}),/*#__PURE__*/_jsx(\"span\",{style:probabilityStyle(forecast.probability),children:forecast.probability})]},forecast.horizon))]}),workspaceState.view===\"Evidence\"&&/*#__PURE__*/_jsxs(\"div\",{style:{padding:narrow?16:24},children:[/*#__PURE__*/_jsx(\"label\",{htmlFor:instanceIdentifier+\"-source-search\",style:{...typeMeta,display:\"block\",marginBottom:8},children:\"Search this watch’s sources\"}),/*#__PURE__*/_jsx(\"input\",{id:instanceIdentifier+\"-source-search\",type:\"search\",placeholder:\"Search by title, reference or passage\",value:workspaceState.query,onChange:event=>dispatch({type:\"query\",value:event.currentTarget.value}),style:{...controlBase,display:\"block\",width:\"100%\",cursor:\"text\",background:colours.band,fontWeight:400}}),/*#__PURE__*/_jsxs(\"p\",{role:\"status\",style:{...typeMeta,margin:\"14px 0 18px\"},children:[filteredSources.length,\" example \",filteredSources.length===1?\"source\":\"sources\"]}),filteredSources.length===0?/*#__PURE__*/_jsxs(\"div\",{style:{padding:\"28px 0\"},children:[/*#__PURE__*/_jsx(\"h3\",{style:{fontSize:20},children:\"No matching sources\"}),/*#__PURE__*/_jsx(\"p\",{style:typeBody,children:\"Try a title, reference or a word from the passage.\"}),/*#__PURE__*/_jsx(\"button\",{type:\"button\",onClick:()=>dispatch({type:\"query\",value:\"\"}),style:{...controlBase,marginTop:16},children:\"Clear search\"})]}):filteredSources.map(({source,sourceIndex})=>/*#__PURE__*/_jsxs(\"button\",{type:\"button\",onClick:event=>inspectSource(sourceIndex,event),\"aria-pressed\":workspaceState.sourceIndex===sourceIndex,style:{...controlBase,width:\"100%\",display:\"block\",padding:\"20px 16px\",marginBottom:10,background:workspaceState.sourceIndex===sourceIndex?colours.raised:\"transparent\"},children:[/*#__PURE__*/_jsxs(\"span\",{style:{...typeMeta,color:colours.teal},children:[source.reference,\" / \",source.category]}),/*#__PURE__*/_jsx(\"span\",{style:{display:\"block\",fontSize:18,lineHeight:1.3,margin:\"10px 0\"},children:source.title}),/*#__PURE__*/_jsx(\"span\",{style:{...typeMeta,display:\"block\"},children:\"Inspect the supporting passage\"})]},source.reference+sourceIndex))]}),workspaceState.view===\"Changes\"&&/*#__PURE__*/_jsxs(\"div\",{style:{padding:narrow?16:24},children:[/*#__PURE__*/_jsx(\"h3\",{style:{margin:\"0 0 8px\",fontSize:21,fontWeight:500},children:\"What changed since the last edition?\"}),/*#__PURE__*/_jsx(\"p\",{style:{...typeMeta,marginBottom:24},children:\"30 Oct to 6 Nov 2026 \\xb7 synthetic comparison\"}),judgements.map((assessment,assessmentIndex)=>/*#__PURE__*/_jsxs(\"div\",{style:{padding:\"22px 0\",borderTop:\"1px solid \"+colours.border},children:[/*#__PURE__*/_jsxs(\"p\",{style:{...typeMeta,color:colours.rose},children:[assessment.change,\" / KJ \",assessmentIndex+1]}),/*#__PURE__*/_jsx(\"h4\",{style:{fontSize:18,fontWeight:500,margin:\"10px 0 16px\"},children:assessment.shortTitle}),/*#__PURE__*/_jsxs(\"div\",{style:{display:\"grid\",gridTemplateColumns:\"1fr 1fr\",gap:16},children:[/*#__PURE__*/_jsxs(\"div\",{children:[/*#__PURE__*/_jsx(\"p\",{style:{...typeMeta,marginBottom:8},children:\"Previous sample\"}),/*#__PURE__*/_jsx(\"span\",{style:probabilityStyle(assessment.previous),children:assessment.previous})]}),/*#__PURE__*/_jsxs(\"div\",{children:[/*#__PURE__*/_jsx(\"p\",{style:{...typeMeta,marginBottom:8},children:\"Current sample\"}),/*#__PURE__*/_jsx(\"span\",{style:probabilityStyle(assessment.probability),children:assessment.probability})]})]}),/*#__PURE__*/_jsx(\"p\",{style:{...typeBody,marginTop:16},children:assessmentIndex===0?selectedScenario.change:assessmentIndex===1?\"The schedule now overlaps the restriction period. The new backlog judgement has low confidence.\":\"The evidence gap remains open. No band has been assigned.\"}),/*#__PURE__*/_jsxs(\"button\",{type:\"button\",style:{...controlBase,marginTop:16,color:colours.teal},onClick:()=>{selectJudgement(assessmentIndex);dispatch({type:\"view\",view:\"Overview\"});},children:[\"Inspect judgement \",assessmentIndex+1]})]},assessmentIndex))]})]}),/*#__PURE__*/_jsxs(\"aside\",{ref:detailReference,tabIndex:-1,\"aria-label\":inspectedSource?\"Source inspection: \"+inspectedSource.title:\"Selected assessment: \"+detailTitle,style:{minWidth:0,padding:narrow?\"24px 20px\":\"28px\",background:colours.surface,borderLeft:compact?\"none\":\"1px solid \"+colours.border,borderTop:compact?\"1px solid \"+colours.border:\"none\",outline:\"none\"},children:[inspectedSource&&/*#__PURE__*/_jsx(\"button\",{type:\"button\",onClick:closeSource,style:{...controlBase,marginBottom:22},children:\"Back to judgement\"}),/*#__PURE__*/_jsx(\"p\",{style:{...typeMeta,color:colours.teal},children:inspectedSource?inspectedSource.reference+\" / Source inspection\":workspaceState.view===\"Forecasts\"?\"Forecast / \"+selectedForecast.horizon:\"KJ \"+String(workspaceState.judgementIndex+1).padStart(2,\"0\")+\" / Assessment\"}),/*#__PURE__*/_jsx(\"h3\",{style:{fontFamily:\"Inter Display,Inter,sans-serif\",fontSize:25,lineHeight:1.2,fontWeight:500,letterSpacing:\"-.02em\",margin:\"14px 0 20px\"},children:detailTitle}),inspectedSource?/*#__PURE__*/_jsxs(_Fragment,{children:[/*#__PURE__*/_jsx(\"p\",{style:typeMeta,children:inspectedSource.category}),/*#__PURE__*/_jsx(\"blockquote\",{style:{margin:\"24px 0\",padding:\"18px 0 18px 18px\",borderLeft:\"2px solid \"+colours.rose,fontSize:16,lineHeight:1.7,color:colours.text},children:/*#__PURE__*/_jsx(\"mark\",{children:inspectedSource.extract})}),/*#__PURE__*/_jsx(\"p\",{style:{...typeMeta,marginTop:20},children:\"Fictional source record. It has no external publication or assigned source grade.\"}),/*#__PURE__*/_jsxs(\"div\",{style:{marginTop:24,paddingTop:22,borderTop:\"1px solid \"+colours.border},children:[/*#__PURE__*/_jsx(\"h4\",{style:{margin:\"0 0 10px\",fontSize:14},children:\"Linked judgements\"}),/*#__PURE__*/_jsx(\"p\",{style:typeBody,children:\"See which judgements cite this source. A citation alone does not confirm a claim.\"}),linkedJudgements.map(({assessment,assessmentIndex})=>/*#__PURE__*/_jsxs(\"button\",{type:\"button\",onClick:()=>selectJudgement(assessmentIndex),style:{...controlBase,width:\"100%\",marginTop:12,color:colours.teal},children:[\"KJ \",assessmentIndex+1,\": \",assessment.shortTitle]},assessmentIndex)),/*#__PURE__*/_jsx(\"h4\",{style:{margin:\"22px 0 10px\",fontSize:14},children:\"Evidence limitation\"}),/*#__PURE__*/_jsx(\"p\",{style:typeBody,children:\"This source was written for the demonstration. It has not been graded or independently verified.\"})]})]}):/*#__PURE__*/_jsxs(_Fragment,{children:[/*#__PURE__*/_jsxs(\"div\",{style:{display:\"flex\",gap:7,flexWrap:\"wrap\",marginBottom:20},children:[/*#__PURE__*/_jsx(\"span\",{style:probabilityStyle(activeProbability),children:activeProbability}),/*#__PURE__*/_jsx(\"span\",{style:{...typeMeta,padding:\"5px 9px\",border:\"1px solid \"+colours.border,borderRadius:5},children:activeHorizon})]}),/*#__PURE__*/_jsxs(\"p\",{style:{...typeMeta,marginBottom:20},children:[\"Confidence: \",activeConfidence.toLowerCase(),workspaceState.view===\"Forecasts\"?\" \\xb7 anchor \"+selectedForecast.anchor:\"\"]}),workspaceState.view!==\"Forecasts\"&&/*#__PURE__*/_jsx(\"p\",{style:typeBody,children:selectedJudgement.consequence}),/*#__PURE__*/_jsxs(\"div\",{style:{paddingTop:22,marginTop:24,borderTop:\"1px solid \"+colours.border},children:[/*#__PURE__*/_jsx(\"h4\",{style:{margin:\"0 0 10px\",fontSize:14},children:workspaceState.view===\"Forecasts\"&&selectedForecast.probability===\"No basis for a forecast\"?\"Why no forecast is assigned\":\"Basis for the judgement\"}),/*#__PURE__*/_jsx(\"p\",{style:typeBody,children:workspaceState.view===\"Forecasts\"?selectedForecast.basis:selectedJudgement.basis}),!(workspaceState.view===\"Forecasts\"&&selectedForecast.probability===\"No basis for a forecast\")&&sourceButtons(selectedJudgement.sourceIndexes)]}),/*#__PURE__*/_jsxs(\"div\",{style:{marginTop:24,paddingTop:22,borderTop:\"1px solid \"+colours.border},children:[/*#__PURE__*/_jsx(\"h4\",{style:{margin:\"0 0 10px\",fontSize:14},children:\"What remains uncertain\"}),/*#__PURE__*/_jsx(\"p\",{style:typeBody,children:workspaceState.view===\"Forecasts\"&&selectedForecast.probability===\"No basis for a forecast\"?\"No basis for a forecast. This horizon remains unassessed until supporting evidence is available.\":selectedJudgement.limitation})]}),/*#__PURE__*/_jsx(\"button\",{type:\"button\",\"aria-expanded\":workspaceState.showExplanation,onClick:()=>dispatch({type:\"explanation\"}),style:{...controlBase,marginTop:24,width:\"100%\",color:colours.teal},children:workspaceState.showExplanation?\"Hide example explanation\":\"Show example explanation\"}),workspaceState.showExplanation&&/*#__PURE__*/_jsxs(\"div\",{style:{marginTop:14,padding:16,borderRadius:8,background:colours.band},children:[/*#__PURE__*/_jsx(\"p\",{style:{...typeMeta,color:colours.rose,marginBottom:10},children:\"Pre-written example. No AI request is sent.\"}),/*#__PURE__*/_jsxs(\"p\",{style:typeBody,children:[workspaceState.view===\"Forecasts\"?selectedForecast.basis:selectedJudgement.basis,\" \",selectedJudgement.limitation]})]})]})]})]})]})]}),/*#__PURE__*/_jsx(\"div\",{style:{padding:\"14px 22px\",borderTop:\"1px solid \"+colours.border,background:colours.band},children:/*#__PURE__*/_jsx(\"p\",{style:{...typeMeta,fontSize:12},children:\"Interactive demonstration. Events, sources, forecasts and edition changes are synthetic. No live intelligence or data submission.\"})})]});}addPropertyControls(PulseIntelligenceExplorer,{watchName:{type:ControlType.String,title:\"Watch\",defaultValue:\"East Mediterranean\"},question:{type:ControlType.String,title:\"Question\",displayTextArea:true},judgement:{type:ControlType.String,title:\"Judgement\",displayTextArea:true},mapImage:{type:ControlType.Image,title:\"Basemap\"},initialView:{type:ControlType.Enum,title:\"Initial view\",options:views.map(view=>view.value),optionTitles:views.map(view=>view.label),defaultValue:\"Overview\"},presentation:{type:ControlType.Enum,title:\"Presentation\",options:[\"Embedded\",\"Workspace\"],defaultValue:\"Embedded\"},sources:{type:ControlType.Array,title:\"Sources\",control:{type:ControlType.Object,controls:{reference:{type:ControlType.String},title:{type:ControlType.String},category:{type:ControlType.String},extract:{type:ControlType.String,displayTextArea:true}}},defaultValue:defaultSources},scenarios:{type:ControlType.Array,title:\"Watches\",control:{type:ControlType.Object,controls:{name:{type:ControlType.String},focus:{type:ControlType.String},question:{type:ControlType.String,displayTextArea:true},judgement:{type:ControlType.String,displayTextArea:true},consequence:{type:ControlType.String,displayTextArea:true},change:{type:ControlType.String,displayTextArea:true},limitation:{type:ControlType.String,displayTextArea:true},sourceOne:{type:ControlType.String},sourceTwo:{type:ControlType.String},sourceThree:{type:ControlType.String},sourceOneExtract:{type:ControlType.String,displayTextArea:true},sourceTwoExtract:{type:ControlType.String,displayTextArea:true},sourceThreeExtract:{type:ControlType.String,displayTextArea:true},mapHorizontal:{type:ControlType.Number,min:0,max:100},mapVertical:{type:ControlType.Number,min:0,max:100}}},defaultValue:defaultScenarios}});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"PulseIntelligenceExplorer\",\"slots\":[],\"annotations\":{\"framerContractVersion\":\"1\",\"framerSupportedLayoutHeight\":\"\",\"framerSupportedLayoutWidth\":\"any\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./PulseIntelligenceExplorer.map"],"mappings":"A,uNAA28U,SAASmB,EAAc,EAAM,CAAC,OAAOC,EAAM,KAAK,GAAMC,EAAK,QAAQC,CAAK,CAAC,EAAE,OAAO,UAAW,CAAC,SAASC,GAAQ,EAAM,EAAO,CAAC,OAAOC,EAAO,KAAd,CAAoB,IAAI,QAAQ,MAAM,CAAC,GAAGC,EAAM,WAAWD,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