{"version":3,"file":"EventsProgramme.BeHEieAx.mjs","names":["_Fragment","React.useSyncExternalStore","React.useState","React.startTransition","React.useId","React.useMemo","__esmMin","ie","me","init_ssg_sandbox_shims","te","window","_e","l","pe","c","init_jsx_runtime","init_npm_react_18_3_1","ce","init_framer_BpuvUAiZ","addPropertyControls","useIsStaticRenderer","Link","ControlType","houcNativeHref","init_HOUCNavigation","berlinDay","berlinFormatter","now","dateOnly","s","value","ms","isPersistentFormat","type","r","isCurrentEvent","until","today","end","eventDuration","start","selectHomeEvents","seen","eligible","records","ongoing","b","a","tie","dated","current","canOpenDetail","eventDestination","dest","nextBerlinMidnight","day","lo","hi","mid","refreshCalendar","calendarDay","calendarListeners","midnightTimer","foreground","subscribeCalendar","listener","createEventRegistry","owners","listeners","empty","snapshot","queued","flush","unique","row","schedule","owner","getCalendarDay","getServerCalendarDay","init_EventRelevanceShared","matches","f","topicKey","t","readURL","q","update","write","blank","k","next","emit","u","v","dateLabel","homeWhen","p","fmt","HomeEvent","hidden","rank","sheet","first","homeCSS","canvasHomeCSS","props","destination","record","artwork","content","formatNames","EventsProgramme","isStatic","subscribe","getSnapshot","getServerSnapshot","homeRows","setHomeRows","homeRegistry","sync","unsubscribe","programmeRows","programmeRegistry","topics","base","key","mode","homeSelection","onPop","rootStyle","style","accent","rows","css","categories","availableTopics","set","tabs","label","options","o","categoryOptions","topicOptions","topicNames","selectField","wide","values","dateField","activeCount","types","clickable","openingParts","hasLongOpening","serverSnapshot","init_EventsProgramme"],"sources":["https:/framerusercontent.com/modules/U3wzClCcTxN5nuGgjAgq/bwElT47K1DGhqSUGgTGl/EventRelevanceShared.js","https:/framerusercontent.com/modules/UvPTa0VooS9xy7thKMbV/oXwlQdfNbaEwnz38OTHj/EventsProgramme.js"],"sourcesContent":["const berlinFormatter=new Intl.DateTimeFormat(\"sv-SE\",{timeZone:\"Europe/Berlin\",year:\"numeric\",month:\"2-digit\",day:\"2-digit\"});export function berlinDay(now=new Date){return berlinFormatter.format(now);}export function dateOnly(value){const s=value instanceof Date?value.toISOString().slice(0,10):typeof value===\"string\"?value.slice(0,10):\"\";if(!/^\\d{4}-\\d{2}-\\d{2}$/.test(s))return\"\";const ms=Date.parse(s+\"T12:00:00Z\");return Number.isFinite(ms)&&new Date(ms).toISOString().slice(0,10)===s?s:\"\";}export function isPersistentFormat(r){const type=r.schedule||\"\";return[\"Ongoing\",\"Fortlaufendes Angebot\"].includes(type)||!dateOnly(r.start)&&!dateOnly(r.end)&&[\"Recurring / Seasonal\",\"Reihe / Saison\"].includes(type);}export function isCurrentEvent(r,today=berlinDay()){if(r.manualHide===true||r.active===false)return false;if(isPersistentFormat(r)){const until=dateOnly(r.displayUntil);return!until||until>=today;}const end=dateOnly(r.end)||dateOnly(r.start);return Boolean(end&&end>=today);}export function eventDuration(r){if(isPersistentFormat(r))return\"Open Ended\";const start=dateOnly(r.start),end=dateOnly(r.end);return start&&end&&end!==start?\"Multi Day\":\"Single Day\";}const tie=(a,b)=>(a.title||a.slug).localeCompare(b.title||b.slug,\"de\")||a.slug.localeCompare(b.slug,\"de\");export function selectHomeEvents(records,today=berlinDay()){const seen=new Set;const eligible=records.filter(r=>{if(!r.slug||seen.has(r.slug)||!isCurrentEvent(r,today))return false;seen.add(r.slug);return true;});const ongoing=eligible.filter(isPersistentFormat).sort((a,b)=>Number(Boolean(b.featured))-Number(Boolean(a.featured))||tie(a,b));const dated=eligible.filter(r=>!isPersistentFormat(r)).sort((a,b)=>(dateOnly(a.start)||dateOnly(a.end)).localeCompare(dateOnly(b.start)||dateOnly(b.end))||tie(a,b));const current=ongoing.slice(0,Math.max(2,4-dated.length));return[...current,...dated.slice(0,4-current.length)];}export function canOpenDetail(r){return r.active!==false&&!r.manualHide&&Boolean(r.hasDetail||r.hasContent);}export function eventDestination(r){if(r.active===false||r.manualHide)return\"\";const dest=r.internalDestination||\"\";if(dest.startsWith(\"/\")&&!dest.startsWith(\"//\"))return dest;return canOpenDetail(r)&&r.slug?\"/kalender/\"+encodeURIComponent(r.slug):\"\";}// Find the next date boundary in the IANA timezone, including 23/25-hour days.\n// This is computed once per day/subscription, not polled.\nexport function nextBerlinMidnight(now=new Date){const day=berlinDay(now);let lo=now.getTime(),hi=lo+27*60*60*1e3;while(hi-lo>1){const mid=Math.floor((lo+hi)/2);if(berlinDay(new Date(mid))===day)lo=mid;else hi=mid;}return hi;}let calendarDay=berlinDay();const calendarListeners=new Set;let midnightTimer;function refreshCalendar(){const now=new Date,day=berlinDay(now);if(day!==calendarDay){calendarDay=day;calendarListeners.forEach(l=>l());}if(midnightTimer!==undefined)clearTimeout(midnightTimer);if(calendarListeners.size)midnightTimer=setTimeout(refreshCalendar,Math.max(1,nextBerlinMidnight(now)-now.getTime()+25));}function foreground(){if(typeof document===\"undefined\"||document.visibilityState!==\"hidden\")refreshCalendar();}export function subscribeCalendar(listener){calendarListeners.add(listener);if(calendarListeners.size===1){refreshCalendar();if(typeof window!==\"undefined\"){window.addEventListener(\"focus\",foreground);window.addEventListener(\"pageshow\",foreground);document.addEventListener(\"visibilitychange\",foreground);}}return()=>{calendarListeners.delete(listener);if(!calendarListeners.size){if(midnightTimer!==undefined)clearTimeout(midnightTimer);midnightTimer=undefined;if(typeof window!==\"undefined\"){window.removeEventListener(\"focus\",foreground);window.removeEventListener(\"pageshow\",foreground);document.removeEventListener(\"visibilitychange\",foreground);}}};}export const getCalendarDay=()=>calendarDay;export const getServerCalendarDay=()=>berlinDay();// Mount ownership prevents hidden responsive replicas from removing each other.\nexport function createEventRegistry(){const owners=new Map,listeners=new Set;const empty=[];let snapshot=empty,queued=false;const flush=()=>{queued=false;const unique=new Map;for(const row of owners.values())unique.set(row.slug,row);snapshot=[...unique.values()];listeners.forEach(l=>l());};const schedule=()=>{if(!queued){queued=true;setTimeout(flush,0);}};return{subscribe:listener=>{listeners.add(listener);return()=>{listeners.delete(listener);};},getSnapshot:()=>snapshot,getServerSnapshot:()=>empty,register:(owner,row)=>{owners.set(owner,row);schedule();return()=>{if(owners.get(owner)===row){owners.delete(owner);schedule();}};}};}\nexport const __FramerMetadata__ = {\"exports\":{\"isPersistentFormat\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"eventDestination\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"eventDuration\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"selectHomeEvents\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"CalendarEvent\":{\"type\":\"tsType\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"getCalendarDay\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"dateOnly\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"getServerCalendarDay\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"subscribeCalendar\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"isCurrentEvent\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"createEventRegistry\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"canOpenDetail\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"nextBerlinMidnight\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"berlinDay\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./EventRelevanceShared.map","import{jsx as _jsx,jsxs as _jsxs,Fragment as _Fragment}from\"react/jsx-runtime\";import*as React from\"react\";import{addPropertyControls,ControlType,useIsStaticRenderer,Link}from\"framer\";// @ts-ignore Framer resolves project-local modules when it builds the site.\nimport{dateOnly,isCurrentEvent,isPersistentFormat,eventDuration,eventDestination,selectHomeEvents,subscribeCalendar,getCalendarDay,getServerCalendarDay,createEventRegistry}from\"https://framerusercontent.com/modules/U3wzClCcTxN5nuGgjAgq/bwElT47K1DGhqSUGgTGl/EventRelevanceShared.js\";// @ts-ignore Framer resolves project-local modules when it builds the site.\nimport{houcNativeHref}from\"https://framerusercontent.com/modules/e3sfluUWh8dUwmjwjUvJ/HHBTcRZg7LmPtlhA2Nqu/HOUCNavigation.js\";const blank={topic:\"\",format:\"\",type:\"\",from:\"\",to:\"\"};const topicNames={breaking:\"Breaking\",graffiti:\"Graffiti / Urban Art\",rap:\"Rap\",\"dj-producing\":\"DJ & Producing\"};const topicKey=s=>Object.keys(topicNames).find(k=>topicNames[k]===s)||s;const formatNames={Workshop:\"Workshops\",Battle:\"Battles\",Festival:\"Festivals\",Camp:\"Camps\",Session:\"Sessions\",Exhibition:\"Ausstellung\"};const types={laufend:\"Laufend\",eintaegig:\"Eint\\xe4gig\",mehrtaegig:\"Mehrt\\xe4gig\",wiederkehrend:\"Wiederkehrend\"};const day=dateOnly;function matches(r,f,today){if(!isCurrentEvent(r,today))return false;const ongoing=isPersistentFormat(r);if(f.topic&&!r.topics.some(t=>topicKey(t)===f.topic))return false;if(f.format&&r.category!==f.format)return false;if(f.type===\"laufend\"&&!ongoing)return false;if(f.type===\"eintaegig\"&&r.duration!==\"Single Day\")return false;if(f.type===\"mehrtaegig\"&&r.duration!==\"Multi Day\")return false;if(f.type===\"wiederkehrend\"&&![\"Recurring / Seasonal\",\"Reihe / Saison\"].includes(r.schedule))return false;if(!ongoing){if(f.from&&(r.end||r.start)<f.from)return false;if(f.to&&r.start>f.to)return false;if(f.from&&f.to&&f.from>f.to)return false;}return true;}const serverSnapshot={filters:{...blank},records:{},ready:false};let snapshot=serverSnapshot;const listeners=new Set;const emit=()=>listeners.forEach(l=>l());const subscribe=l=>{listeners.add(l);return()=>{listeners.delete(l);};};const getSnapshot=()=>snapshot;const getServerSnapshot=()=>serverSnapshot;function readURL(){const q=new URLSearchParams(window.location.search);return{topic:q.get(\"thema\")||\"\",format:q.get(\"format\")||\"\",type:q.get(\"typ\")||\"\",from:q.get(\"von\")||\"\",to:q.get(\"bis\")||\"\"};}function update(next,write=true){if(!write&&Object.keys(blank).every(k=>snapshot.filters[k]===next[k]))return;snapshot={...snapshot,filters:next};emit();if(write&&typeof window!==\"undefined\"){const u=new URL(window.location.href);for(const k of[\"thema\",\"format\",\"typ\",\"von\",\"bis\"])u.searchParams.delete(k);for(const[k,v]of Object.entries({thema:next.topic,format:next.format,typ:next.type,von:next.from,bis:next.to}))if(v)u.searchParams.set(k,v);window.history.replaceState(window.history.state,\"\",u.pathname+u.search+u.hash);}}function dateLabel(s){if(!s)return\"\";return new Intl.DateTimeFormat(\"de-DE\",{day:\"2-digit\",month:\"short\",year:\"numeric\",timeZone:\"UTC\"}).format(new Date(s+\"T12:00:00Z\")).toUpperCase();}const css=`\n.houc-event-title-link{color:inherit;text-decoration:none}\n.houc-event-title-link::after{content:\"\";position:absolute;inset:0}\n.houc-event-title-link:focus-visible{outline:none!important}\n.houc-event-title-link:focus-visible::after{outline:2px solid var(--houc-accent);outline-offset:3px}\n\n:is([class*=\"framer-\"][class*=\"-container\"],div:not([class])):has(>.houc-program-empty){grid-column:1 / -1!important;min-width:0!important;width:100%!important}\n.houc-program-empty{min-width:0}.houc-program-empty .houc-empty{max-width:65ch;white-space:normal;overflow-wrap:break-word}\n\n.houc-program{container-type:inline-size;color:#0b0b0b;font-family:\"Inter Display\",Inter,sans-serif;--houc-small-text-accent:var(--houc-accent);position:relative;width:100%}\n.houc-program.houc-hidden{display:none!important}:is([class*=\"framer-\"][class*=\"-container\"],div:not([class])):has(> .houc-program.houc-hidden){display:none!important}\n.houc-program *{box-sizing:border-box}.houc-program button,.houc-program select,.houc-program input{font:inherit;color:inherit;border-radius:0}.houc-program button{cursor:pointer}.houc-program button:focus-visible,.houc-program a:focus-visible,.houc-program select:focus-visible,.houc-program input:focus-visible,.houc-program summary:focus-visible{outline:2px solid var(--houc-accent);outline-offset:3px}\n.houc-filter-desktop{display:grid;gap:18px}.houc-topic-row{display:flex;align-items:center;justify-content:space-between;gap:20px;padding-bottom:15px;border-bottom:1px solid #b8b5b0}.houc-filter-line{display:flex;align-items:center;gap:24px;min-width:0}.houc-filter-label,.houc-field-label{font-size:13px;line-height:1.25;font-weight:600;letter-spacing:.04em;text-transform:uppercase;white-space:nowrap}.houc-filter-options{display:flex;flex-wrap:wrap;align-items:center;gap:3px 20px;min-width:0}.houc-filter-option{background:transparent;border:0;border-bottom:2px solid transparent;padding:8px 0;font-size:14px;font-weight:500;text-transform:uppercase;white-space:nowrap;min-height:38px;transition:color .2s cubic-bezier(.23,1,.32,1),border-color .2s cubic-bezier(.23,1,.32,1)}.houc-filter-option[aria-pressed=true]{border-color:var(--houc-accent);font-weight:700}.houc-reset{background:transparent;border:0;padding:8px 0;min-height:38px;font-size:14px;font-weight:600;text-decoration:underline;text-underline-offset:4px;white-space:nowrap}.houc-filter-fields{display:grid;grid-template-columns:minmax(170px,1.2fr) minmax(190px,1.3fr) minmax(140px,1fr) minmax(140px,1fr);gap:14px;align-items:end}.houc-field{display:flex;flex-direction:column;gap:6px;min-width:0}.houc-field select,.houc-date-input{appearance:none;width:100%;min-width:0;height:43px;padding:8px 30px 8px 11px;background:#f7f5f1;border:1px solid #a5a19a;font-size:14px;line-height:1.2}.houc-field select{background-image:linear-gradient(45deg,transparent 50%,#0b0b0b 50%),linear-gradient(135deg,#0b0b0b 50%,transparent 50%);background-position:calc(100% - 17px) 18px,calc(100% - 12px) 18px;background-size:5px 5px;background-repeat:no-repeat}.houc-date-input{appearance:auto;padding-right:8px}.houc-filter-counter{font-size:13px;line-height:1.4;color:#494949;margin:10px 0 0}.houc-mobile-filters{display:none}\n.houc-event{display:flex;flex-direction:column;min-width:0;height:auto;border-top:1px solid #0b0b0b;border-bottom:1px solid #d8d4ce}.houc-event-surface{position:relative;display:flex;flex-direction:column;width:100%;height:auto;color:inherit;text-decoration:none;min-width:0}.houc-event-image-wrap{flex:none;width:100%;aspect-ratio:1;overflow:hidden;background:#e9e7e2}.houc-event-image{display:block;width:100%;height:100%;object-fit:cover;object-position:center;transition:transform .35s cubic-bezier(.44,0,.56,1)}.houc-event-image.artwork{object-fit:contain}.houc-event-story{display:flex;flex-direction:column;align-items:stretch;gap:6px;flex:0 0 288px;width:100%;height:288px;min-width:0;overflow:hidden;padding:14px 0 16px}.houc-event-title{flex:0 0 72px;height:72px;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;font-family:\"New Title\",sans-serif;font-size:32px;font-weight:500;line-height:1.05;text-transform:uppercase;overflow-wrap:anywhere;margin:0;transition:color .35s cubic-bezier(.44,0,.56,1)}.houc-event-when{flex:0 0 58px;height:58px;min-width:0;overflow:hidden}.houc-event-date{display:flex;flex-wrap:wrap;align-content:flex-start;align-items:baseline;gap:0 6px;width:100%;height:100%;font-family:\"New Title\",sans-serif;font-size:28px;line-height:1;text-transform:uppercase;color:var(--houc-accent);font-weight:500}.houc-event-date span{white-space:nowrap}.houc-event-date .range-end{font:inherit;color:inherit}.houc-event-opening{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;font-size:18px;line-height:1.35;white-space:normal;margin:0;font-weight:600;color:var(--houc-small-text-accent)}.houc-event-info{display:flex;flex-direction:column;gap:3px;flex:0 0 84px;height:84px;overflow:hidden;min-width:0}.houc-event-location{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-family:Inter,sans-serif;font-size:14px;font-weight:500;line-height:1.4;margin:0}.houc-event-meta{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;max-height:34px;font-family:Inter,sans-serif;font-size:13px;line-height:1.3;font-weight:500;text-transform:uppercase;color:#54504b}.houc-event-meta span+span:before{content:\"/\";margin:0 10px;color:#9a948d}.houc-event-description{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:1;overflow:hidden;font-size:15px;line-height:1.4;color:#4b4b4b;margin:0}.houc-event-footer{display:flex;align-items:flex-end;flex:0 0 26px;height:26px;margin-top:auto}.houc-event-link{display:inline-block;font-family:Inter,sans-serif;font-size:14px;font-weight:600;line-height:1.2;text-transform:uppercase;text-decoration:underline;text-underline-offset:4px;transition:color .4s cubic-bezier(.44,0,.56,1),text-decoration-color .4s cubic-bezier(.44,0,.56,1)}.houc-event-schedule-more{margin:0;font-size:13px;line-height:1.45}.houc-event-schedule-more summary{cursor:pointer;text-decoration:underline;text-underline-offset:3px;min-height:26px}.houc-event-schedule-more p{margin:6px 0 0;white-space:pre-line}.houc-event:has(.houc-event-schedule-more[open]) .houc-event-story{height:auto;min-height:288px;flex-basis:auto;overflow:visible}.houc-event:has(.houc-event-schedule-more[open]) .houc-event-footer{height:auto;flex-basis:auto;align-items:flex-start}.houc-empty{font-size:18px;line-height:1.5;padding:16px 0;margin:0}\n@media (hover:hover) and (pointer:fine){.houc-filter-option:hover,.houc-reset:hover{color:var(--houc-accent)}.houc-event-surface[data-clickable=\"true\"]:hover .houc-event-image:not(.artwork){transform:scale(1.025)}.houc-event-surface[data-clickable=\"true\"]:hover .houc-event-title{color:var(--houc-accent)}.houc-event-surface[data-clickable=\"true\"]:hover .houc-event-link{color:var(--houc-small-text-accent);text-decoration-color:var(--houc-small-text-accent)}}\n@media (prefers-reduced-motion:reduce){.houc-event-surface[data-clickable=\"true\"]:hover .houc-event-image{transform:none!important}.houc-program *{transition-duration:.01ms!important;animation-duration:.01ms!important;scroll-behavior:auto!important}}\n@container (max-width:900px){.houc-topic-row{align-items:flex-start}.houc-filter-line{align-items:flex-start;flex-direction:column;gap:3px}.houc-filter-options{gap:2px 17px}.houc-filter-fields{grid-template-columns:repeat(2,minmax(0,1fr))}.houc-event-title{font-size:32px}}\n@container (max-width:560px){.houc-filter-desktop{display:none}.houc-mobile-filters{display:block;border-top:1px solid #0b0b0b;border-bottom:1px solid #0b0b0b}.houc-mobile-filters summary{cursor:pointer;display:flex;align-items:center;justify-content:space-between;min-height:46px;font-size:14px;font-weight:700;list-style:none}.houc-mobile-filters summary::-webkit-details-marker{display:none}.houc-mobile-filters summary:after{content:\"+\";font-size:22px;font-weight:400;line-height:1}.houc-mobile-filters[open] summary:after{content:\"−\"}.houc-mobile-filter-count{margin-left:auto;margin-right:18px;font-size:12px;color:var(--houc-small-text-accent)}.houc-mobile-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;padding:8px 0 16px}.houc-mobile-fields .wide{grid-column:1/-1}.houc-mobile-reset{grid-column:1/-1;justify-self:start}.houc-filter-counter{margin-top:9px}.houc-event-title{font-size:32px}.houc-event-story{padding-top:14px;gap:6px}}\n@container (max-width:330px){.houc-event-story{height:320px;flex-basis:320px}.houc-event-title{height:100px;flex-basis:100px;-webkit-line-clamp:3}}\n@media (min-width:1360px){.houc-event-title{font-size:32px}.houc-event-date{font-size:28px;line-height:1}.houc-event-opening{font-size:18px}}\n@media (min-width:810px) and (max-width:1359.98px){.houc-event-title{font-size:30px}.houc-event-date{font-size:26px;line-height:1.05}.houc-event-opening{font-size:17px}}\n@media (max-width:809.98px){.houc-event-title{font-size:28px}.houc-event-date{font-size:25px;line-height:1.05}.houc-event-opening{font-size:17px}.houc-event-location{font-size:13px}}\n`;const homeRegistry=createEventRegistry();const programmeRegistry=createEventRegistry();const homeCSS=`\n:is(#houc-home-event-grid,[data-framer-name=\"Event Cards\"]:has(>div>.houc-home-card)){grid-template-rows:none!important;grid-auto-rows:max-content;reading-flow:grid-rows}\n.houc-home-empty{grid-column:1/-1;font:400 16px/1.5 \"Inter Display\",sans-serif;margin:0}:is([class*=\"framer-\"][class*=\"-container\"],div:not([class])):has(>.houc-home-empty){grid-column:1/-1!important}\n.houc-home-candidate{display:none!important}:is([class*=\"framer-\"][class*=\"-container\"],div:not([class])):has(>.houc-home-candidate){display:none!important}\n.houc-home-card{min-width:0;width:100%;height:auto;color:#0b0b0b;text-align:left}\n.houc-home-card *{box-sizing:border-box}.houc-home-card a{display:flex;flex-direction:column;width:100%;color:inherit;text-decoration:none}.houc-home-card p,.houc-home-card h3{margin:0}\n.houc-home-card[data-home-slot=\"0\"]{order:0}.houc-home-card[data-home-slot=\"1\"]{order:1}.houc-home-card[data-home-slot=\"2\"]{order:2}.houc-home-card[data-home-slot=\"3\"]{order:3}\n:is([class*=\"framer-\"][class*=\"-container\"],div:not([class])):has(>.houc-home-card[data-home-slot=\"0\"]){order:0!important}:is([class*=\"framer-\"][class*=\"-container\"],div:not([class])):has(>.houc-home-card[data-home-slot=\"1\"]){order:1!important}:is([class*=\"framer-\"][class*=\"-container\"],div:not([class])):has(>.houc-home-card[data-home-slot=\"2\"]){order:2!important}:is([class*=\"framer-\"][class*=\"-container\"],div:not([class])):has(>.houc-home-card[data-home-slot=\"3\"]){order:3!important}\n.houc-home-image{aspect-ratio:1/1;height:auto;width:100%;overflow:hidden;flex:none;position:relative}.houc-home-image.artwork{background:#e9e7e2}.houc-home-image>div{position:absolute;inset:0;height:100%;width:100%}.houc-home-image img{display:block;width:100%;height:100%;object-fit:cover;object-position:center}.houc-home-image.artwork img{object-fit:contain}\n.houc-home-details{display:flex;flex-direction:column;align-items:stretch;gap:14px;width:100%;padding-top:24px;min-width:0}.houc-home-card[data-home-slot=\"0\"] .houc-home-details,.houc-home-card[data-home-slot=\"3\"] .houc-home-details{max-width:800px}\n.houc-home-meta{display:flex;align-items:flex-start;flex-wrap:wrap;gap:4px 20px;width:100%;font:600 14px/1.25 Inter,\"Inter Placeholder\",sans-serif;letter-spacing:.05em;text-transform:uppercase}.houc-home-meta .category{color:var(--home-accent)}\n.houc-home-card h3{font:500 32px/1.05 \"New Title\",\"New Title Placeholder\",sans-serif;letter-spacing:0;text-transform:uppercase;overflow-wrap:anywhere}\n.houc-home-description{font:400 16px/1.5 \"Inter Display\",\"Inter Display Placeholder\",sans-serif;letter-spacing:-.02em;text-wrap:pretty;overflow-wrap:anywhere}\n.houc-home-cta p{font:600 14px/1.2 Inter,\"Inter Placeholder\",sans-serif;letter-spacing:-.02em;text-transform:uppercase;color:var(--home-accent)}\n@media(min-width:810px) and (max-width:1359.98px){.houc-home-card h3{font-size:30px}}\n@media(max-width:809.98px){:is(#houc-home-event-grid,[data-framer-name=\"Event Cards\"]:has(>div>.houc-home-card)){reading-flow:flex-visual}.houc-home-card{grid-column:auto!important}.houc-home-card h3{font-size:28px}.houc-home-meta{font-size:13px}.houc-home-description{font-size:15px}}\n@media(min-width:810px){\n:is(#houc-home-event-grid,[data-framer-name=\"Event Cards\"]:has(>div>.houc-home-card)){grid-auto-rows:1fr!important;align-items:stretch}\n:is(#houc-home-event-grid,[data-framer-name=\"Event Cards\"]:has(>div>.houc-home-card))>[class*=\"-container\"]:has(>.houc-home-card){height:100%!important;align-self:stretch}\n.houc-home-card{display:flex;align-items:stretch;gap:20px;height:100%!important;min-height:220px;padding:12px 0}\n.houc-home-card>a{flex-direction:row;align-items:stretch;gap:20px;height:100%;min-width:0}\n.houc-home-image{width:192px;height:192px;align-self:center}\n.houc-home-details{flex:1;width:0;padding-top:0;gap:8px}\n.houc-home-meta{font-size:13px;line-height:1.35;letter-spacing:.025em;gap:4px 14px}\n.houc-home-card h3{font-size:32px;line-height:1.05}\n.houc-home-description{font-size:15px;line-height:1.4;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden}\n.houc-home-cta{margin-top:auto;padding-top:6px}\n}\n@media(min-width:810px) and (max-width:1359.98px){\n.houc-home-card,.houc-home-card>a{gap:14px}\n.houc-home-card{min-height:240px;padding:10px 0}\n.houc-home-image{width:112px;height:112px}\n.houc-home-details{gap:7px}\n.houc-home-card h3{font-size:30px}\n.houc-home-meta{font-size:13px;letter-spacing:0}\n}\n\n`;// Canvas CMS wrappers do not have the published framer-*-container classes.\n// Match their actual parent width instead of the editor viewport.\nconst canvasHomeCSS=`\n[data-framer-name=\"Event Cards\"]:has(>div:not([class])>.houc-home-card){container:houc-home-canvas / inline-size}\n@container houc-home-canvas (min-width:0px){\n .houc-home-card{height:auto!important;min-height:0;padding:0;display:block;gap:0}\n .houc-home-card>a{height:auto;gap:0}\n .houc-home-image{width:100%;height:auto;aspect-ratio:1;align-self:auto}\n .houc-home-details{flex:initial;width:100%}\n .houc-home-cta{margin-top:0;padding-top:0}\n ${homeCSS.replaceAll(\"@media\",\"@container houc-home-canvas \").replaceAll(\"1360px\",\"1300px\").replaceAll(\"1359.98px\",\"1299.98px\").replaceAll(\"810px\",\"750px\").replaceAll(\"809.98px\",\"749.98px\")}\n}\n`;function homeWhen(r,p){if(isPersistentFormat(r))return p.time||p.opening?.split(\"\\n\")[0]||\"Laufendes Angebot\";const start=dateOnly(r.start)||dateOnly(r.end),end=dateOnly(r.end);const fmt=s=>s?s.slice(8,10)+\".\"+s.slice(5,7)+\".\"+s.slice(0,4):\"\";return end&&end!==start?fmt(start)+\"–\"+fmt(end):fmt(start);}function HomeEvent({props,record,rank,empty,first}){const hidden=rank<0;const sheet=rank===0||empty&&first?/*#__PURE__*/_jsxs(\"style\",{children:[homeCSS,canvasHomeCSS]}):null;if(empty&&first)return /*#__PURE__*/_jsxs(\"div\",{className:\"houc-home-empty\",style:props.style,children:[sheet,/*#__PURE__*/_jsx(\"p\",{children:\"Aktuell sind keine Termine angek\\xfcndigt.\"})]});if(hidden)return /*#__PURE__*/_jsx(\"div\",{className:\"houc-home-candidate\",style:{...props.style,display:\"none\"},children:sheet});const destination=eventDestination({...record,hasDetail:props.hasDetail,hasContent:props.hasContent,internalDestination:props.internalDestination});const artwork=props.imageDisplay===\"Artwork / Full\";const content=/*#__PURE__*/_jsxs(_Fragment,{children:[/*#__PURE__*/_jsx(\"div\",{className:\"houc-home-image\"+(artwork?\" artwork\":\"\"),\"data-framer-name\":\"Event Image\",children:/*#__PURE__*/_jsx(\"div\",{...!artwork?{\"data-framer-background-image-wrapper\":true}:{},children:props.image?.src&&/*#__PURE__*/_jsx(\"img\",{src:props.image.src,srcSet:props.image.srcSet,sizes:\"(min-width:1360px) 192px, (min-width:810px) 112px, calc(100vw - 40px)\",alt:props.image.alt||props.title,loading:\"lazy\",decoding:\"async\"})})}),/*#__PURE__*/_jsxs(\"div\",{className:\"houc-home-details\",\"data-framer-name\":\"Event Details\",children:[/*#__PURE__*/_jsxs(\"div\",{className:\"houc-home-meta\",\"data-framer-name\":\"Date and Category\",children:[/*#__PURE__*/_jsx(\"p\",{children:homeWhen(record,props)}),props.category&&/*#__PURE__*/_jsx(\"p\",{className:\"category\",children:formatNames[props.category]||props.category})]}),/*#__PURE__*/_jsx(\"h3\",{children:props.title}),(props.description||props.location)&&/*#__PURE__*/_jsx(\"p\",{className:\"houc-home-description\",children:props.description||props.location}),destination&&/*#__PURE__*/_jsx(\"div\",{className:\"houc-home-cta\",\"data-framer-name\":\"Detail Link Label\",children:/*#__PURE__*/_jsx(\"p\",{children:\"MEHR ERFAHREN\"})})]})]});return /*#__PURE__*/_jsxs(\"article\",{className:\"houc-home-card\",\"data-home-slot\":rank,\"data-event-slug\":record.slug,style:{...props.style,width:\"100%\",height:\"auto\",\"--home-accent\":props.accent||\"#3B718E\"},children:[sheet,destination?/*#__PURE__*/_jsx(Link,{href:houcNativeHref(destination),children:/*#__PURE__*/_jsx(\"a\",{children:content})}):content]});}/**\n * @framerSupportedLayoutWidth any-prefer-fixed\n * @framerSupportedLayoutHeight auto\n */export default function EventsProgramme(props){const{mode=\"Event\",style,accent=\"#3B718E\"}=props;const isStatic=useIsStaticRenderer();const s=React.useSyncExternalStore(subscribe,getSnapshot,getServerSnapshot);const calendarDay=React.useSyncExternalStore(subscribeCalendar,getCalendarDay,getServerCalendarDay);const[homeRows,setHomeRows]=React.useState(homeRegistry.getServerSnapshot);React.useEffect(()=>{const sync=()=>React.startTransition(()=>setHomeRows(homeRegistry.getSnapshot()));const unsubscribe=homeRegistry.subscribe(sync);sync();return unsubscribe;},[]);const programmeRows=React.useSyncExternalStore(programmeRegistry.subscribe,programmeRegistry.getSnapshot,programmeRegistry.getServerSnapshot);const owner=React.useId();const topics=(props.topics||[]).map(t=>t.topic||\"\").filter(Boolean);const base={slug:props.slug||\"\",title:props.title||\"\",category:props.category||\"\",topics,schedule:props.schedule||\"One-off\",start:day(props.start),end:day(props.end),active:props.active!==false,manualHide:props.manualHide===true,displayUntil:day(props.displayUntil),featured:props.featured===true};const record={...base,duration:eventDuration(base)};const key=JSON.stringify(record);React.useEffect(()=>{if(mode!==\"Home\"||!record.slug)return;return homeRegistry.register(owner,JSON.parse(key));},[key,mode,owner]);const homeSelection=React.useMemo(()=>selectHomeEvents(homeRows,calendarDay),[homeRows,calendarDay]);React.useEffect(()=>{if(mode!==\"Event\"||!record.slug)return;return programmeRegistry.register(owner,JSON.parse(key));},[key,mode,owner]);React.useEffect(()=>{if(mode!==\"Filters\"||isStatic||typeof window===\"undefined\")return;update(readURL(),false);const onPop=()=>update(readURL(),false);window.addEventListener(\"popstate\",onPop);const t=window.setTimeout(()=>{snapshot={...snapshot,ready:true};emit();},0);return()=>{window.removeEventListener(\"popstate\",onPop);window.clearTimeout(t);};},[mode,isStatic]);const f=s.filters;const rootStyle={...style,position:\"relative\",width:\"100%\",height:\"auto\",\"--houc-accent\":accent};if(mode===\"Home\")return /*#__PURE__*/_jsx(HomeEvent,{props:props,record:record,rank:homeSelection.findIndex(r=>r.slug===record.slug),empty:homeRows.length>0&&homeSelection.length===0,first:homeRows[0]?.slug===record.slug});if(mode===\"Empty\"){const rows=programmeRows.filter(r=>props.group===\"Ongoing\"===isPersistentFormat(r)&&matches(r,f,calendarDay));if(!s.ready||rows.length)return /*#__PURE__*/_jsx(\"div\",{className:\"houc-program houc-hidden\",style:{...rootStyle,display:\"none\"}});return /*#__PURE__*/_jsxs(\"div\",{className:\"houc-program houc-program-empty\",style:{...rootStyle,gridColumn:\"1 / -1\"},children:[/*#__PURE__*/_jsx(\"style\",{dangerouslySetInnerHTML:{__html:css}}),/*#__PURE__*/_jsx(\"p\",{className:\"houc-empty\",children:props.group===\"Ongoing\"?\"Keine regelm\\xe4\\xdfigen Angebote f\\xfcr diese Auswahl.\":f.from&&f.to&&f.from>f.to?\"Bitte w\\xe4hle ein Enddatum nach dem Startdatum.\":\"Keine Termine f\\xfcr diese Auswahl. Setze die Filter zur\\xfcck oder w\\xe4hle einen anderen Zeitraum.\"})]});}if(mode===\"Filters\"){const records=programmeRows;const categories=records.length?Array.from(new Set(records.filter(r=>isCurrentEvent(r,calendarDay)).map(r=>r.category).filter(Boolean))):props.formats.split(\"|\").filter(Boolean);const availableTopics=records.length?Array.from(new Set(records.filter(r=>isCurrentEvent(r,calendarDay)).flatMap(r=>r.topics.map(topicKey)))):props.topicOptions.split(\"|\").filter(Boolean);const set=(k,v)=>update({...f,[k]:v});const tabs=(label,k,options)=>/*#__PURE__*/_jsxs(\"div\",{className:\"houc-filter-line\",children:[/*#__PURE__*/_jsx(\"span\",{className:\"houc-filter-label\",children:label}),/*#__PURE__*/_jsx(\"div\",{className:\"houc-filter-options\",children:[[\"\",\"Alle\"],...options].map(([v,l])=>/*#__PURE__*/_jsx(\"button\",{type:\"button\",className:\"houc-filter-option\",\"aria-pressed\":f[k]===v,onClick:()=>set(k,v),children:l},v))})]});const options=o=>[/*#__PURE__*/_jsx(\"option\",{value:\"\",children:\"Alle\"},\"all\"),...o.map(([v,l])=>/*#__PURE__*/_jsx(\"option\",{value:v,children:l},v))];const categoryOptions=categories.map(v=>[v,formatNames[v]||v]);const topicOptions=Object.keys(topicNames).filter(k=>availableTopics.includes(k)).map(k=>[k,topicNames[k]]);const selectField=(label,k,values,wide=false)=>/*#__PURE__*/_jsxs(\"label\",{className:\"houc-field\"+(wide?\" wide\":\"\"),children:[/*#__PURE__*/_jsx(\"span\",{className:\"houc-field-label\",children:label}),/*#__PURE__*/_jsx(\"select\",{value:f[k],onChange:e=>set(k,e.target.value),children:options(values)})]});const dateField=(label,k)=>/*#__PURE__*/_jsxs(\"label\",{className:\"houc-field\",children:[/*#__PURE__*/_jsx(\"span\",{className:\"houc-field-label\",children:label}),/*#__PURE__*/_jsx(\"input\",{className:\"houc-date-input\",type:\"date\",value:f[k],onChange:e=>set(k,e.target.value)})]});const activeCount=Object.values(f).filter(Boolean).length;return /*#__PURE__*/_jsxs(\"section\",{className:\"houc-program\",style:rootStyle,\"aria-label\":\"Events filtern\",children:[/*#__PURE__*/_jsx(\"style\",{dangerouslySetInnerHTML:{__html:css}}),/*#__PURE__*/_jsxs(\"div\",{className:\"houc-filter-desktop\",children:[/*#__PURE__*/_jsxs(\"div\",{className:\"houc-topic-row\",children:[tabs(\"Thema\",\"topic\",topicOptions),/*#__PURE__*/_jsx(\"button\",{type:\"button\",className:\"houc-reset\",onClick:()=>update({...blank}),children:\"Zur\\xfccksetzen\"})]}),/*#__PURE__*/_jsxs(\"div\",{className:\"houc-filter-fields\",children:[selectField(\"Format\",\"format\",categoryOptions),selectField(\"Zeitlicher Typ\",\"type\",Object.entries(types)),dateField(\"Von\",\"from\"),dateField(\"Bis\",\"to\")]})]}),/*#__PURE__*/_jsxs(\"details\",{className:\"houc-mobile-filters\",children:[/*#__PURE__*/_jsxs(\"summary\",{children:[\"Filter \",activeCount>0&&/*#__PURE__*/_jsxs(\"span\",{className:\"houc-mobile-filter-count\",children:[activeCount,\" aktiv\"]})]}),/*#__PURE__*/_jsxs(\"div\",{className:\"houc-mobile-fields\",children:[selectField(\"Thema\",\"topic\",topicOptions,true),selectField(\"Format\",\"format\",categoryOptions,true),selectField(\"Zeitlicher Typ\",\"type\",Object.entries(types),true),dateField(\"Von\",\"from\"),dateField(\"Bis\",\"to\"),/*#__PURE__*/_jsx(\"button\",{type:\"button\",className:\"houc-reset houc-mobile-reset\",onClick:()=>update({...blank}),children:\"Filter zur\\xfccksetzen\"})]})]}),s.ready&&/*#__PURE__*/_jsxs(\"p\",{className:\"houc-filter-counter\",\"aria-live\":\"polite\",children:[records.filter(r=>matches(r,f,calendarDay)).length,\" passende Angebote und Termine\"]})]});}if(!matches(record,f,calendarDay)||props.group===\"Ongoing\"!==isPersistentFormat(record))return /*#__PURE__*/_jsx(\"div\",{className:\"houc-program houc-hidden\",style:{...rootStyle,display:\"none\"}});const ongoing=isPersistentFormat(record);const destination=eventDestination({...record,hasDetail:props.hasDetail,hasContent:props.hasContent,internalDestination:props.internalDestination});const clickable=Boolean(destination);const openingParts=ongoing&&props.opening?props.opening.split(\"\\n\"):[];const hasLongOpening=openingParts.length>1&&props.opening.length>140;const content=/*#__PURE__*/_jsxs(_Fragment,{children:[/*#__PURE__*/_jsx(\"div\",{className:\"houc-event-image-wrap\",children:props.image?.src&&/*#__PURE__*/_jsx(\"img\",{className:\"houc-event-image \"+(props.imageDisplay===\"Artwork / Full\"?\"artwork\":\"photo\"),src:props.image.src,srcSet:props.image.srcSet,alt:props.image.alt||props.title,loading:\"lazy\"})}),/*#__PURE__*/_jsxs(\"div\",{className:\"houc-event-story\",children:[/*#__PURE__*/_jsx(\"h3\",{className:\"houc-event-title\",title:props.title,children:clickable?/*#__PURE__*/_jsx(Link,{href:houcNativeHref(destination),children:/*#__PURE__*/_jsx(\"a\",{className:\"houc-event-title-link\",children:props.title})}):props.title}),/*#__PURE__*/_jsxs(\"div\",{className:\"houc-event-when\",children:[!ongoing&&record.start&&/*#__PURE__*/_jsxs(\"div\",{className:\"houc-event-date\",children:[/*#__PURE__*/_jsx(\"span\",{children:dateLabel(record.start)}),record.end&&record.end!==record.start&&/*#__PURE__*/_jsxs(\"span\",{className:\"range-end\",children:[\"– \",dateLabel(record.end)]})]}),ongoing&&props.opening&&/*#__PURE__*/_jsx(\"p\",{className:\"houc-event-opening\",children:hasLongOpening?openingParts[0]:props.opening})]}),/*#__PURE__*/_jsxs(\"div\",{className:\"houc-event-info\",children:[props.location&&/*#__PURE__*/_jsx(\"p\",{className:\"houc-event-location\",title:props.location,children:props.location}),(record.category||topics.length>0)&&/*#__PURE__*/_jsxs(\"div\",{className:\"houc-event-meta\",title:[record.category,...topics].filter(Boolean).join(\" / \"),children:[record.category&&/*#__PURE__*/_jsx(\"span\",{children:formatNames[record.category]||record.category}),topics.map(t=>/*#__PURE__*/_jsx(\"span\",{children:t},t))]})]}),/*#__PURE__*/_jsxs(\"div\",{className:\"houc-event-footer\",children:[clickable&&/*#__PURE__*/_jsx(\"span\",{className:\"houc-event-link\",children:\"Mehr erfahren\"}),hasLongOpening&&!clickable&&/*#__PURE__*/_jsxs(\"details\",{className:\"houc-event-schedule-more\",children:[/*#__PURE__*/_jsx(\"summary\",{children:\"Weitere \\xd6ffnungszeiten\"}),/*#__PURE__*/_jsx(\"p\",{children:openingParts.slice(1).join(\"\\n\")})]})]})]})]});return /*#__PURE__*/_jsxs(\"article\",{className:\"houc-program\",style:rootStyle,children:[/*#__PURE__*/_jsx(\"style\",{dangerouslySetInnerHTML:{__html:css}}),/*#__PURE__*/_jsxs(\"div\",{className:\"houc-event \"+(ongoing?\"ongoing\":\"dated\"),children:[/*#__PURE__*/_jsx(\"div\",{className:\"houc-event-surface\",\"data-clickable\":clickable,children:content}),hasLongOpening&&!props.hasDetail&&Boolean(destination)&&/*#__PURE__*/_jsxs(\"details\",{className:\"houc-event-schedule-more\",style:{marginBottom:16},children:[/*#__PURE__*/_jsx(\"summary\",{children:\"Weitere \\xd6ffnungszeiten\"}),/*#__PURE__*/_jsx(\"p\",{children:openingParts.slice(1).join(\"\\n\")})]})]})]});}addPropertyControls(EventsProgramme,{manualHide:{type:ControlType.Boolean,defaultValue:false},displayUntil:{type:ControlType.Date},hasContent:{type:ControlType.Boolean,defaultValue:false},featured:{type:ControlType.Boolean,defaultValue:false},sourceIndex:{type:ControlType.Number,defaultValue:0},time:{type:ControlType.String,defaultValue:\"\"},mode:{type:ControlType.Enum,options:[\"Filters\",\"Event\",\"Empty\",\"Home\"],defaultValue:\"Event\"},title:{type:ControlType.String,defaultValue:\"\"},slug:{type:ControlType.String,defaultValue:\"\"},category:{type:ControlType.String,defaultValue:\"\"},topics:{type:ControlType.Array,control:{type:ControlType.Object,controls:{topic:{type:ControlType.String,defaultValue:\"\"}}},defaultValue:[{topic:\"\"}]},schedule:{type:ControlType.String,defaultValue:\"\"},duration:{type:ControlType.String,defaultValue:\"\"},start:{type:ControlType.Date},end:{type:ControlType.Date},location:{type:ControlType.String,defaultValue:\"\"},description:{type:ControlType.String,displayTextArea:true,defaultValue:\"\"},opening:{type:ControlType.String,displayTextArea:true,defaultValue:\"\"},image:{type:ControlType.ResponsiveImage},imageDisplay:{type:ControlType.String,defaultValue:\"Photo / Crop\"},hasDetail:{type:ControlType.Boolean,defaultValue:false},internalDestination:{type:ControlType.Link,title:\"Internal Destination\"},active:{type:ControlType.Boolean,defaultValue:true},formats:{type:ControlType.String,defaultValue:\"\"},topicOptions:{type:ControlType.String,defaultValue:\"\"},group:{type:ControlType.Enum,options:[\"Ongoing\",\"Dated\"],defaultValue:\"Dated\"},accent:{type:ControlType.Color,defaultValue:\"#3B718E\"}});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"EventsProgramme\",\"slots\":[],\"annotations\":{\"framerSupportedLayoutHeight\":\"auto\",\"framerSupportedLayoutWidth\":\"any-prefer-fixed\",\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./EventsProgramme.map"],"mappings":"A,6SAA+H,SAAgB0B,EAAU,kBAAI,IAAI,KAAK,CAAC,OAAOC,EAAgB,OAAOC,CAAG,CAAE,CAAC,SAAgBC,EAAS,EAAM,CAAC,IAAMC,EAAEC,aAAiB,KAAKA,EAAM,YAAY,CAAC,CAAC,MAAM,EAAE,EAAE,EAAE,OAAOA,GAAQ,SAASA,EAAM,MAAM,EAAE,EAAE,EAAE,GAAG,GAAG,CAAC,sBAAsB,KAAKD,CAAC,EAAE,MAAM,GAAG,IAAME,EAAG,KAAK,MAAMF,EAAE,YAAY,EAAE,OAAO,OAAO,SAASE,CAAE,GAAG,IAAI,KAAKA,CAAE,CAAC,CAAC,YAAY,CAAC,CAAC,MAAM,EAAE,EAAE,IAAIF,EAAEA,EAAE,EAAG,CAAC,SAAgBG,EAAmB,EAAE,CAAC,IAAMC,EAAKC,EAAE,UAAU,GAAG,MAAM,CAAC,UAAU,uBAAuB,CAAC,CAAC,SAASD,CAAI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