@getontime/cli
Version:
Time keeping for live events
2 lines • 20 kB
JavaScript
System.register(["./jsx-runtime-legacy-DMkDNnVj.js","./useSocket-legacy-C772wu7w.js","./Button-legacy-DpgzgT04.js","./useIsSmallScreen-legacy-DavgXfPB.js","./Select-legacy-DHLEukf3.js","./constants-legacy-CvecvM28.js","./SwatchPicker-legacy-DpR2sNl5.js","./viewParamsEditor.store-legacy-BGER9MKV.js","./EmptyFill-legacy-CZaM-mIh.js","./useSettings-legacy-CmEM1qbK.js","./useRundown-legacy-zes2lKPp.js","./Input-legacy-CNt711cd.js","./PresetContext-legacy-DMyxIOHO.js","./assets-legacy-CsCyioqi.js","./index-legacy-NWDCUII5.js","./Info-legacy-6yM0-oGU.js","./Empty-legacy-ZRfHevNV.js","./ViewParamsEditor-legacy-5MW9MZnc.js","./viewUtils-legacy-djI28uVO.js","./useWindowTitle-legacy-2YHQ5qMQ.js","./useAutoTickingClock-legacy-CkfIpBWe.js","./common.options-legacy-BserooSS.js","./useAnimatedProgress-legacy-Dqk_a2jt.js","./useCustomFields-legacy-B9FQxHWS.js","./viewLoader.utils-legacy-ydrboL-R.js","./ViewLogo-legacy-BZNOVq3q.js","./SuperscriptTime-legacy-DRiHY36H.js","./useProjectData-legacy-BeF8hAuC.js"],function(e,t){var n,a,i,l,o,r,s,c,d,g,f,u,m,_,p,h,v,b,y,x,w,k,j,S,N,L,z,O,T,E,B,C,I,q,R,P,D,F,M,A,G,H,V,W,$,U,K,J,Q,Y,X,Z,ee,te,ne,ae;function ie(e,t){if(!t)return 0;const n=e.timeStart+e.dayOffset*u,a=t.timeStart+t.duration+t.dayOffset*u;return n===a?0:n-a}function le(e,t,n){if(!t.current)return;if(!e?.current)return void t.current.scrollTo({left:0,behavior:"smooth"});const a=e.current.getBoundingClientRect(),i=t.current.getBoundingClientRect(),l=a.left-i.left+t.current.scrollLeft-n;t.current.scrollTo({left:l,behavior:"smooth"})}function oe(){const[e]=b(),t=(0,Q.use)(T);return(0,Q.useMemo)(()=>function(e,t){const n=n=>t?.get(n)??e.get(n);return{mainSource:n("main"),hidePast:P(n("hidePast")),fixedSize:P(n("fixedSize")),timeformat:A(e,t)}}(e,t?new URLSearchParams(t.search):void 0),[t,e])}function re(e,t){const{hidePast:n}=oe();return(0,Q.useMemo)(()=>function(e,t,n){if(0===e.length)return{scopedRundown:[],firstStart:0,totalDuration:0};const a=[];let i=t?1/0:-1,l=null,o=0,r=null;for(let c=0;c<e.length;c++){const g=e[c];if(!d(g)||!s(g))continue;if(g.id===t&&(i=c),n&&c<i)continue;a.push(g),null===l&&(l=g.timeStart);const f=ie(g,r);0===f?o+=g.duration:f>0?o+=f+g.duration:f<0&&(o+=Math.max(g.duration+f,0)),z(g,r)&&(r=g)}return{scopedRundown:a,firstStart:l??0,totalDuration:o}}(e,t,n),[n,e,t])}function se(e,t,n,a,i,l=100){let o=1/0;const r=e.map(({start:e,duration:i})=>{const l=function(e,t,n,a,i){const l=(t<e?t+u:t)-e;return{left:(n-e)*i/l,width:a*i/l}}(t,n,e,i,a);return o=Math.min(o,l.width),l});if(!i)return{positions:r,scale:1,totalWidth:a};const s=o<l?l/o:1;return 1===s?{positions:r,scale:1,totalWidth:a}:{positions:r.map(e=>({left:e.left*s,width:e.width*s})),scale:s,totalWidth:a*s}}function ce(e){const{startHour:t,endHour:n}=e,a=function(e,t){const n=[];for(let a=e;a<t;a++)n.push(a);return n}(t,n);return(0,Z.jsx)("div",{className:X.markers,children:a.map(e=>(0,Z.jsx)("span",{},e))})}function de({colour:e,delay:t,duration:n,hasLink:a,left:i,status:o,start:r,dayOffset:s,totalGap:c,isLinkedToLoaded:d,title:f,width:u,cue:m,groupColour:_,ref:p}){const h=l(r,te),v=g(n),b=r+t,w=t>0,k=y(e,.7),j=u>20,S=u<40;return(0,Z.jsxs)("div",{ref:p,className:x([ee.column,S&&ee.smallArea]),style:{"--color":e,"--lighter":k??"","--group-colour":_??"transparent",left:`${i}px`,width:`${u}px`},"data-testid":m,children:["live"===o?(0,Z.jsx)(fe,{}):(0,Z.jsx)("div",{"data-status":o,className:ee.timelineBlock}),(0,Z.jsx)("div",{className:ee.groupBand}),(0,Z.jsxs)("div",{className:x([ee.content,u<20&&ee.hide,!a&&ee.separeLeft]),"data-status":o,style:{"--color":e},children:[(0,Z.jsxs)("div",{className:ee.maybeInline,children:[(0,Z.jsx)("div",{className:x([w&&ee.cross]),children:h}),w&&(0,Z.jsx)("div",{className:ee.delay,children:l(b,te)}),S&&(0,Z.jsx)(ge,{delay:t,start:r,dayOffset:s,totalGap:c,isLinkedToLoaded:d,status:o}),S&&(0,Z.jsx)("div",{className:ee.title,children:f})]}),j&&(0,Z.jsxs)(Z.Fragment,{children:[!S&&(0,Z.jsx)(ge,{delay:t,start:r,dayOffset:s,totalGap:c,isLinkedToLoaded:d,status:o}),!S&&(0,Z.jsx)("div",{className:ee.title,children:f})]})]}),(0,Z.jsx)("div",{className:ee.timeOverview,"data-status":o,children:"done"!==o&&(0,Z.jsx)("div",{className:ee.duration,children:v})})]})}function ge({delay:e,start:t,dayOffset:n,totalGap:a,isLinkedToLoaded:i,status:l}){const r=p(),{getLocalizedString:s}=B(),{timeToStart:c}=h({timeStart:t,delay:e,dayOffset:n,totalGap:a,isLinkedToLoaded:i,countToEnd:!1,duration:0},r);let d=function(e,t){return"done"===t||"live"===t?t:e<=0?"pending":g(e,e>10*o)}(c,l);"live"===d?d=s("timeline.live"):"pending"===d?d=s("timeline.due"):"done"===d&&(d=s("timeline.done"));const f="future"===l&&c<=0;return(0,Z.jsx)("div",{className:x([ee.status,f&&ee.due]),children:d})}function fe(){const{current:e,duration:t}=c(),n=H(e,t,_());return(0,Z.jsx)("div",{"data-status":"live",className:ee.timelineBlock,style:{"--progress":`${n}%`}})}function ue({firstStart:e,rundown:t,selectedEventId:n,totalDuration:a}){const{width:i}=v(),{mainSource:l,hidePast:o,fixedSize:r}=oe(),c=(0,Q.useRef)(null),g=(0,Q.useRef)(null),{lastEvent:m}=k(t),_=(p=e,Math.floor(p/f));var p;const h=(b=e+a+(m?.delay??0),Math.ceil(b/f));var b;const y=_*f,w=h*f;!function({followRef:e,scrollRef:t,doFollow:n,selectedEventId:a,leftOffset:i=0,setScrollFlag:l}){(0,Q.useEffect)(()=>{n&&t.current&&(l?.(!0),window.requestAnimationFrame(()=>{le(null!==a?e:null,t,i),l?.(!1)}))},[e,t,n,i,l,a]),(0,Q.useCallback)((n=e,l=t,o=i)=>{l.current&&le(null!==a?n:null,l,o)},[e,t,i,a])}({followRef:c,scrollRef:g,doFollow:!r,selectedEventId:n,leftOffset:o?0:i/6});const{positions:j,totalWidth:S}=(0,Q.useMemo)(()=>se(t.filter(e=>d(e)&&s(e)).map(e=>({start:e.timeStart+(e.dayOffset??0)*u+(e.delay??0),duration:e.duration})),y,w,i,!r),[t,y,w,i,r]);let N=n?"done":"future";const L={};return t.forEach(e=>{d(e)&&s(e)&&("live"===N&&(N="future"),e.id===n&&(N="live"),L[e.id]=N)}),(0,Z.jsx)("div",{ref:g,className:x([ee.timelineContainer,!r&&ee.scroll]),children:(0,Z.jsxs)("div",{className:ee.timeline,style:{width:S},children:[(0,Z.jsx)(ce,{startHour:_,endHour:h}),t.map((e,t)=>{if(!d(e)||!s(e))return null;const a=j[t];if(!a)return null;const i=D(e,l??"title")||e.title;return(0,Z.jsx)(de,{ref:e.id===n?c:void 0,colour:e.colour,delay:e.delay??0,duration:e.duration,hasLink:Boolean(e.linkStart),left:a.left,status:L[e.id],start:e.timeStart+(e.dayOffset??0)*u,totalGap:e.totalGap,isLinkedToLoaded:e.isLinkedToLoaded,dayOffset:e.dayOffset,title:i,cue:e.cue,width:a.width,groupColour:e.groupColour},e.id)})]})})}function me({category:e,content:t,title:n,status:a}){const i=x(["section","now"===e&&"section--now"]),l=x(["section-content",t?`section-content--${e}`:"section-content--subdue"]);return(0,Z.jsxs)("div",{className:i,"data-testid":e,children:[(0,Z.jsxs)("div",{className:"section-title",children:[(0,Z.jsx)("span",{className:"section-title__label",children:n}),a&&(0,Z.jsx)("span",{className:"section-title__status",children:a})]}),(0,Z.jsx)("div",{className:l,children:t??"-"})]})}function _e({now:e,next:t,followedBy:n,mainSource:a}){const{getLocalizedString:i}=B(),l=p(),r=e?D(e,a??"title")??"-":i("timeline.standby"),s=i("timeline.due").toUpperCase(),c=D(t,a??"title")??"-",d=D(n,a??"title")??"-";let f,u;if(null!==t){const{timeToStart:e}=h(t,l);f=e<=0?s:g(e,e>10*o)}if(null!==n){const{timeToStart:e}=h(n,l);u=e<=0?s:g(e,e>10*o)}return(0,Z.jsxs)("div",{className:"title-grid",children:[(0,Z.jsx)(ae,{title:i("timeline.live"),content:r,category:"now"}),(0,Z.jsx)(ae,{title:i("common.next"),status:f,content:c,category:"next"}),(0,Z.jsx)(ae,{title:i("timeline.followedby"),status:u,content:d,category:"followedBy"})]})}function pe({events:e,customFields:t,projectData:n,settings:a}){const i=_(),{mainSource:l,timeformat:o}=oe(),{getLocalizedString:s}=B(),{scopedRundown:c,firstStart:g,totalDuration:f}=re(e,i),{now:u,next:p,followedBy:h}=(0,Q.useMemo)(()=>function(e,t){if(0===e.length)return{now:null,next:null,followedBy:null};let n=t?j(e,t):null;d(n)||(n=null);const a=n?S(e,n.id)?.nextEvent:w(e).firstEvent;return{now:n,next:a,followedBy:a?S(e,a.id)?.nextEvent:null}}(c,i),[c,i]),v=m(a?.timeFormat),b=(0,Q.useMemo)(()=>Y(v,t),[v,t]),y=f>0;return(0,Z.jsxs)("div",{className:"timeline","data-testid":"timeline-view",children:[(0,Z.jsx)(R,{target:r.Timeline,viewOptions:b}),(0,Z.jsxs)("div",{className:"project-header",children:[(0,Z.jsxs)("div",{className:x(["project-header__brand",!n?.logo&&"project-header__brand--without-logo"]),children:[n?.logo&&(0,Z.jsx)($,{name:n.logo,className:"logo"}),(0,Z.jsx)("div",{className:"title",children:n.title})]}),(0,Z.jsx)(he,{timeformat:o})]}),(0,Z.jsx)(_e,{now:u,next:p,followedBy:h,mainSource:l}),y?(0,Z.jsx)(ne,{firstStart:g,rundown:c,selectedEventId:i,totalDuration:f}):(0,Z.jsx)(N,{text:s("common.no_data")})]})}function he({timeformat:e}){const{getLocalizedString:t}=B(),n=l(M(),{override:e});return(0,Z.jsxs)("div",{className:"clock-container",children:[(0,Z.jsx)("div",{className:"label",children:t("common.time_now")}),(0,Z.jsx)(U,{time:n,className:"time"})]})}return e("default",function(){const{data:e,status:t}=function(){const{data:e,status:t}=O(),{data:n,status:a}=K(),{data:i,status:l}=L(),{data:o,status:r}=V();return{data:{events:e,customFields:o,projectData:n,settings:i},status:W([t,a,l,r])}}();return F("Timeline"),"pending"===t?(0,Z.jsx)(E,{}):"error"===t?(0,Z.jsx)(q,{variant:"error",text:"There was an error fetching data, please refresh the page."}):(0,Z.jsx)(pe,{...e})}),{setters:[function(e){n=e.a,a=e.n,i=e.t},function(e){l=e.$,o=e.Ct,r=e.Kt,s=e.Lt,c=e.N,d=e.Pt,g=e.Q,f=e.St,u=e.Tt,m=e.et,_=e.k,p=e.p,h=e.tt},function(e){},function(e){v=e.g,b=e.y},function(e){},function(e){y=e.G,x=e.K},function(e){},function(e){},function(e){w=e.i,k=e.o,j=e.r,S=e.s,N=e.t},function(e){L=e.t},function(e){z=e.O,O=e.r},function(e){},function(e){T=e.t},function(e){},function(e){E=e.s,B=e.t},function(e){},function(e){},function(e){C=e.i,I=e.n,q=e.o,R=e.t},function(e){P=e.i,D=e.n},function(e){F=e.t},function(e){M=e.t},function(e){A=e.n,G=e.t},function(e){H=e.t},function(e){V=e.t},function(e){W=e.t},function(e){$=e.t},function(e){U=e.t},function(e){K=e.t}],execute:function(){(J=document.createElement("style")).textContent='._blink_gfywu_1{animation:1s step-start infinite _blink_gfywu_1}@keyframes _blink_gfywu_1{0%{opacity:1}50%{opacity:.2}}._fourtyfive_gfywu_13{transform:rotate(45deg)}._markers_gfywu_17{justify-content:space-evenly;width:100%;height:100%;display:flex;position:absolute;left:0}._markers_gfywu_17>span{flex-grow:1}._markers_gfywu_17>span:not(:first-child){border-left:1px solid rgba(255,255,255,.07)}._blink_2cf73_1{animation:1s step-start infinite _blink_2cf73_1}@keyframes _blink_2cf73_1{0%{opacity:1}50%{opacity:.2}}._fourtyfive_2cf73_13{transform:rotate(45deg)}._mirror_2cf73_17{transform:rotate(180deg)}._timelineContainer_2cf73_21{color:var(--color-override,rgba(255,255,255,.8));background:var(--background-color-override,#101010);flex:1}._timelineContainer_2cf73_21._scroll_2cf73_26{overflow-x:scroll}._timeline_2cf73_21{height:100%;box-shadow:inset 0 calc(1rem + .25rem + .5rem) 0 0 var(--card-background-color-override,rgba(255,255,255,.05));font-weight:600;position:relative}._groupBand_2cf73_37{background:var(--group-colour,transparent);z-index:2;align-items:center;width:100%;height:.5rem;margin-top:.25rem;display:flex;position:relative;overflow:visible}._column_2cf73_49{border-left:1px solid var(--background-color-override,#101010);flex-direction:column;height:100%;display:flex;position:absolute}._maybeInline_2cf73_57{flex-wrap:wrap;align-items:center;gap:.5em;display:flex}._timelineBlock_2cf73_64{background:color-mix(in srgb, transparent 60%, var(--background-color-override,#101010));width:100%;height:1rem}._timelineBlock_2cf73_64[data-status=done]{background:#d20300}._timelineBlock_2cf73_64[data-status=live]{background:linear-gradient(to right, #d20300 var(--progress,0%), color-mix(in srgb, transparent 60%, var(--background-color-override,#101010)) var(--progress,0%))}._smallArea_2cf73_76 ._content_2cf73_76{writing-mode:vertical-rl;justify-content:center;align-items:start;gap:0}._smallArea_2cf73_76 ._maybeInline_2cf73_57{flex-wrap:nowrap;justify-content:center;gap:.25rem;overflow:hidden}._smallArea_2cf73_76 ._timeOverview_2cf73_88{opacity:0}._hide_2cf73_92>div{display:none}._content_2cf73_76{padding-top:.25rem;background-color:var(--lighter,var(--card-background-color-override,rgba(255,255,255,.05)));border-bottom:2px solid var(--background-color-override,#101010);border-top:2px solid var(--background-color-override,#101010);box-shadow:0 .25rem 0 0 var(--color,#cfcfcf);white-space:normal;flex-direction:column;flex:1;gap:1rem;line-height:1rem;display:flex;overflow:hidden}._content_2cf73_76:not(:-webkit-any(:lang(ae),:lang(ar),:lang(arc),:lang(bcc),:lang(bqi),:lang(ckb),:lang(dv),:lang(fa),:lang(glk),:lang(he),:lang(ku),:lang(mzn),:lang(nqo),:lang(pnb),:lang(ps),:lang(sd),:lang(ug),:lang(ur),:lang(yi))){padding-left:.25rem}._content_2cf73_76:not(:is(:lang(ae),:lang(ar),:lang(arc),:lang(bcc),:lang(bqi),:lang(ckb),:lang(dv),:lang(fa),:lang(glk),:lang(he),:lang(ku),:lang(mzn),:lang(nqo),:lang(pnb),:lang(ps),:lang(sd),:lang(ug),:lang(ur),:lang(yi))){padding-left:.25rem}._content_2cf73_76:-webkit-any(:lang(ae),:lang(ar),:lang(arc),:lang(bcc),:lang(bqi),:lang(ckb),:lang(dv),:lang(fa),:lang(glk),:lang(he),:lang(ku),:lang(mzn),:lang(nqo),:lang(pnb),:lang(ps),:lang(sd),:lang(ug),:lang(ur),:lang(yi)){padding-right:.25rem}._content_2cf73_76:is(:lang(ae),:lang(ar),:lang(arc),:lang(bcc),:lang(bqi),:lang(ckb),:lang(dv),:lang(fa),:lang(glk),:lang(he),:lang(ku),:lang(mzn),:lang(nqo),:lang(pnb),:lang(ps),:lang(sd),:lang(ug),:lang(ur),:lang(yi)){padding-right:.25rem}._content_2cf73_76[data-status=done]{opacity:.4}._content_2cf73_76[data-status=live]{box-shadow:0 .25rem #d20300}._content_2cf73_76[data-status=live] ._status_2cf73_117{text-transform:uppercase;background:#d20300;border-radius:2px;padding:.125rem .25rem}._content_2cf73_76[data-status=future] ._status_2cf73_117{background:#55b469;border-radius:2px;padding:.125rem .25rem}._content_2cf73_76 ._status_2cf73_117{text-transform:uppercase;width:fit-content}._content_2cf73_76 ._status_2cf73_117._due_2cf73_132{background:#ffab33}._title_2cf73_136{word-break:break-word;overflow-wrap:anywhere;min-width:0;min-height:0;overflow:hidden}._delay_2cf73_144{color:#e69056}._timeOverview_2cf73_88{padding-top:.25rem;height:3rem}._timeOverview_2cf73_88:not(:-webkit-any(:lang(ae),:lang(ar),:lang(arc),:lang(bcc),:lang(bqi),:lang(ckb),:lang(dv),:lang(fa),:lang(glk),:lang(he),:lang(ku),:lang(mzn),:lang(nqo),:lang(pnb),:lang(ps),:lang(sd),:lang(ug),:lang(ur),:lang(yi))){padding-left:.25em}._timeOverview_2cf73_88:not(:is(:lang(ae),:lang(ar),:lang(arc),:lang(bcc),:lang(bqi),:lang(ckb),:lang(dv),:lang(fa),:lang(glk),:lang(he),:lang(ku),:lang(mzn),:lang(nqo),:lang(pnb),:lang(ps),:lang(sd),:lang(ug),:lang(ur),:lang(yi))){padding-left:.25em}._timeOverview_2cf73_88:-webkit-any(:lang(ae),:lang(ar),:lang(arc),:lang(bcc),:lang(bqi),:lang(ckb),:lang(dv),:lang(fa),:lang(glk),:lang(he),:lang(ku),:lang(mzn),:lang(nqo),:lang(pnb),:lang(ps),:lang(sd),:lang(ug),:lang(ur),:lang(yi)){padding-right:.25em}._timeOverview_2cf73_88:is(:lang(ae),:lang(ar),:lang(arc),:lang(bcc),:lang(bqi),:lang(ckb),:lang(dv),:lang(fa),:lang(glk),:lang(he),:lang(ku),:lang(mzn),:lang(nqo),:lang(pnb),:lang(ps),:lang(sd),:lang(ug),:lang(ur),:lang(yi)){padding-right:.25em}._cross_2cf73_154{text-decoration:line-through #e69056;text-decoration-thickness:2px}._separeLeft_2cf73_160{border-left:1px solid var(--color,#cfcfcf)}.blink{animation:1s step-start infinite blink}@keyframes blink{0%{opacity:1}50%{opacity:.2}}.fourtyfive{transform:rotate(45deg)}.mirror{transform:rotate(180deg)}.timeline{box-sizing:border-box;width:100%;height:100vh;font-family:var(--font-family-override,"Open Sans", "Segoe UI", sans-serif);background:var(--background-color-override,#101010);color:var(--color-override,rgba(255,255,255,.8));flex-direction:column;gap:min(2vh,16px);margin:0;display:flex;overflow:hidden}.timeline .project-header{align-items:center;gap:1rem;padding:min(2vh,16px) max(16px,min(2vw,24px));font-size:max(24px,min(2.5vw,48px));font-weight:600;display:flex}.timeline .project-header__brand{align-items:center;gap:1rem;min-width:0;display:flex}.timeline .project-header__brand--without-logo{align-self:baseline}.timeline .logo{max-width:min(200px,20vw)}.timeline .title{line-height:1.1em}.timeline .clock-container{margin-left:auto;font-weight:600}.timeline .clock-container .label{color:var(--label-color-override,rgba(255,255,255,.25));text-transform:uppercase;font-size:max(12px,min(1.25vw,20px))}.timeline .clock-container .time{color:var(--secondary-color-override,rgba(255,255,255,.45));letter-spacing:.05em;font-size:max(24px,min(2.5vw,48px));line-height:.95em}.timeline .title-grid{grid-template-columns:2fr 3fr;grid-template-areas:"now next""now following";gap:1rem 2rem;padding-left:2rem;padding-right:2rem;display:grid}.timeline .section{background-color:var(--card-background-color-override,rgba(255,255,255,.05));border-radius:4px;flex-direction:column;gap:.5rem;padding:.5rem 1rem;display:flex}.timeline .section--now{grid-area:now}.timeline .section-title{justify-content:space-between;align-items:center;font-size:max(15px,min(1.5vw,28px));font-weight:600;line-height:1;display:flex}.timeline .section-title__label{color:var(--label-color-override,rgba(255,255,255,.25));text-transform:uppercase;font-size:max(12px,min(1.25vw,20px))}.timeline .section-title__status{color:#55b469}.timeline .section-content{text-transform:uppercase;-webkit-line-clamp:2;line-clamp:2;text-overflow:ellipsis;-webkit-box-orient:vertical;min-height:2em;max-height:2em;font-size:max(24px,min(2.5vw,48px));font-weight:600;line-height:1em;display:-webkit-box;overflow:hidden}.timeline .section-content--now{color:#fa5656}.timeline .section-content--followedBy .section-content--next{color:#55b469}.timeline .section-content--subdue{opacity:.4}@media (max-width:500px){.timeline .title-grid{flex-direction:column;display:flex}}\n/*$vite$:1*/',document.head.appendChild(J),function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{};e.SENTRY_RELEASE={id:"f14ad0099eab1969fdd065b56af5fdd3cf530de6"};var t=(new e.Error).stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="cb6172aa-68b4-46a6-8a7d-f10590b14c1e",e._sentryDebugIdIdentifier="sentry-dbid-cb6172aa-68b4-46a6-8a7d-f10590b14c1e")}catch(e){}}(),Q=n(a(),1),Y=(e,t)=>{const n=C(t,[{value:"title",label:"Title"}]);return[{title:I.ClockOptions,collapsible:!0,options:[G(e)]},{title:I.DataSources,collapsible:!0,options:[{id:"main",title:"Main text",description:"Select the data source for the main text",type:"option",values:n,defaultValue:"title"}]},{title:I.ElementVisibility,collapsible:!0,options:[{id:"hidePast",title:"Hide Past Events",description:"Whether to hide events that have passed",type:"boolean",defaultValue:!1},{id:"fixedSize",title:"Fixed timeline size",description:"Timeline will have a fixed size to prevent scrolling",type:"boolean",defaultValue:!1}]}]},X={blink:"_blink_gfywu_1",fourtyfive:"_fourtyfive_gfywu_13",markers:"_markers_gfywu_17"},Z=i(),ee={blink:"_blink_2cf73_1",fourtyfive:"_fourtyfive_2cf73_13",mirror:"_mirror_2cf73_17",timelineContainer:"_timelineContainer_2cf73_21",scroll:"_scroll_2cf73_26",timeline:"_timeline_2cf73_21",groupBand:"_groupBand_2cf73_37",column:"_column_2cf73_49",maybeInline:"_maybeInline_2cf73_57",timelineBlock:"_timelineBlock_2cf73_64",smallArea:"_smallArea_2cf73_76",content:"_content_2cf73_76",timeOverview:"_timeOverview_2cf73_88",hide:"_hide_2cf73_92",status:"_status_2cf73_117",due:"_due_2cf73_132",title:"_title_2cf73_136",delay:"_delay_2cf73_144",cross:"_cross_2cf73_154",separeLeft:"_separeLeft_2cf73_160"},te={format12:"h:mm a",format24:"HH:mm"},ne=(0,Q.memo)(ue),ae=(0,Q.memo)(me)}}});
//# sourceMappingURL=TimelinePage-legacy-BtkRqJvf.js.map