@idmwx/idmui-report 4.8.7 → 4.8.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.js +454 -454
- package/dist/index.umd.cjs +1 -1
- package/dist/style.css +1 -1
- package/package.json +4 -3
package/dist/index.umd.cjs
CHANGED
|
@@ -38,7 +38,7 @@
|
|
|
38
38
|
39 461 86 924 130 1275 71 571 75 585 180 632 37 17 101 18 915 23 771 4 883
|
|
39
39
|
7 940 22 36 9 107 24 158 33 52 9 118 27 148 40 101 45 175 134 211 254 14 49
|
|
40
40
|
17 128 20 596 3 360 1 568 -7 625 -20 157 -96 273 -216 330 -132 64 90 60
|
|
41
|
-
-3744 58 -1917 -1 -3507 -3 -3535 -5z`},null,-1)]),8,dM)]))])}const ms=Fe(aM,[["render",rM]]),cM={install(o){o.component("PiLogo",ms)}},Gw="",Ww="",NM={name:"FliVygSummary",components:{Editor:ao},props:{reportData:{type:Object,default:()=>({})},editorDisabled:{type:Boolean,default:()=>!1}},emits:["commit"],data(){return{date:"",remarks:"<div>Exclusion</div><div>The following time,distance and amount of consumed fuel have been excluded from the Performance Speed Evaluation</div>",editable:!1,advisory:void 0,excludedTableData:[],segDetail:[],goodDays:[],cpDetail:[],noGoodWxDay:"No Good Wx Day",noSpecialRemarks:"No Special Remarks"}},computed:{computedAvgCf(){return function(o){var t,l;return(l=(t=this.reportData)==null?void 0:t.weather)!=null&&l.favorableCur?o.avgCf>0:!1}},computedPositive(){return function(o){return o>0?o:`(${o})`}},computedTime(){return function(o,t){return t=="subtitle"?P(o).utc().format("MMMM-DD, YYYY/HHmm[Z]"):t=="table"?P(o).utc().format("MMMM-DD/HHmm[Z]"):t=="summary"?P(o).utc().format("MMMM D, HHmm[Z]"):t?P(o).utc().format(t):P(o).utc().format("MMMM D, YYYY")}},computedLngLat(){return function(o,t){const l=re.LngLatHelper.lat2pretty(o).pretty,d=re.LngLatHelper.lng2pretty(t).pretty;return`${l} ${d}`}},computedSeg(){return function(o){const t=o.departure.portName||this.computedLngLat(o.departure.lat,o.departure.lng),l=this.computedTime(o.departure.utcTime,"summary"),d=this.computedTime(o.departure.utcTime,"MMMM-DD,YYYY/HHmm[Z]"),i=o.arrival.portName||this.computedLngLat(o.arrival.lat,o.arrival.lng),a=this.computedTime(o.arrival.utcTime,"summary"),D=this.computedTime(o.arrival.utcTime,"MMMM-DD,YYYY/HHmm[Z]");return{port1:t,time1:l,fullTime1:d,port2:i,time2:a,fullTime2:D}}},computedTimeConclusion(){return function(o){let t=o.conclusionStatus,l={conclusion:"",className:"",timeCon:""};return t=="No"?(l.conclusion="No Time Lost/Gained",l.className="",l.timeCon=""):t=="Lost"?(l.conclusion="Time Lost",l.className="error",l.timeCon=`${o.timeLost} hrs`):(l.conclusion="Time Gained",l.className="success",l.timeCon=`${o.timeGain} hrs`),l}},computedFuleConclusion(){return function(o,t){let l=o.conclusionStatus,d={conclusion:"",className:"",cons:""};return l==="No"?(d.conclusion="No Over/Under",d.className="",d.cons=""):l==="Over"?(t==="FO"?d.conclusion="FO Over":d.conclusion="DO/GO Over",d.className="error",d.cons=`${o.overCons} mt`):(t==="FO"?d.conclusion="FO Under":d.conclusion="DO/GO Under",d.className="success",d.cons=`${o.saving} mt`),d}},computedUnit(){return function(o,t){return t?"%":o=="speed"?"":"(mt)"}},computedWeatherDef(){return function(o){let t="";o!=null&&o.timePercentage?`${o==null?void 0:o.time}`:`${o==null?void 0:o.time}`;let l=o==null?void 0:o.windScale,d="",i=0;return o!=null&&o.waveSwitch?(d+=`, Wind wave height is ${o==null?void 0:o.waveHeight} meters or less`,i++):o!=null&&o.swellSwitch?(d+=`, Swell wave height is ${o==null?void 0:o.swellHeight} meters or less`,i++):o!=null&&o.sigSwitch&&(d+=`, Significant wave height is ${o==null?void 0:o.sigHeight} meters or less`,i++),i>0&&(d+=`(Douglas Sea State ${o==null?void 0:o.seaScale})`),t=`Winds are BF/${l} or less${d}`,o!=null&&o.noAdverseCur&&(t+=", No Adverse Current"),o!=null&&o.noExtrapolation&&(t+=", No Extrapolation"),t}},computedColor(){return function(o,t,l){let d="";if(o==="No")return d=l?"bg-color-normal":"color-normal",d;switch(t){case"time":o==="Lost"?d="color-fail":d="color-success";break;case"fuel":o==="Over"?d="color-fail":d="color-success";break;case"pfm":o==="Under"?d="color-fail":d="color-success";break}return l&&(d="bg-"+d),d}},computedAbt4Spd(){return function(o){var t,l,d;return(t=o.timeConclusion)!=null&&t.spdPercentage?re.LngLatHelper.roundPrecision(o.extend.cp.speed*(((l=o==null?void 0:o.timeConclusion)==null?void 0:l.spdOfAbout)/100),2):(d=o==null?void 0:o.timeConclusion)==null?void 0:d.spdOfAbout}}},watch:{reportData:{handler(o,t){var l;o!=null&&o.id&&(this.$nextTick(()=>{this.cheakData()}),this.advisory=(l=this.reportData)==null?void 0:l.remarks,this.date=this.computedTime(this.reportData.createdAt))},immediate:!0}},methods:{handleCommit(o){this.editable=!1,this.$emit("commit",o)},decideDisable(){this.editorDisabled?this.editable=!1:this.editable=!0},cheakData(){var t,l;this.goodDays=[],this.segDetail=[],this.excludedTableData=[],this.cpDetail=[];let o=[];(l=(t=this.reportData)==null?void 0:t.segments)==null||l.forEach((d,i)=>{let a=d.excluded;if(a.sumDistance>0&&a.detail.forEach(s=>{let c={begin:P(s.begin).utc().format("DD/MM/YYYY HHmm[Z]"),end:P(s.end).utc().format("DD/MM/YYYY HHmm[Z]"),time:P(s.begin).utc().format("DD/MM/YYYY HHmm[Z]")+" - "+P(s.end).utc().format("DD/MM/YYYY HHmm[Z]"),duration:s.duration,distance:s.distance,fo:s.foCons,dgo:s.dgoCons};this.excludedTableData.push(c)}),!o.includes(d.seg)){o.push(d.seg);let s=Object.assign({},d.extend.cp);s.spdOfOver=`+${d.timeConclusion.spdOfOver}${this.computedUnit("speed",d.timeConclusion.spdPercentage)}`,s.spdOfUnder=`-${d.timeConclusion.spdOfUnder}${this.computedUnit("speed",d.timeConclusion.spdPercentage)}`,s.over=`+${d.fuelConclusion.consOfOver}${this.computedUnit("cons",d.fuelConclusion.consPercentage)}`,s.under=`-${d.fuelConclusion.consOfUnder}${this.computedUnit("cons",d.fuelConclusion.consPercentage)}`,this.cpDetail.push(s)}let D=[];d.extend.segTimes.forEach(s=>{D.push(this.computedSeg(s))}),this.segDetail.push(D),this.goodDays.push(d.inventory.sample.hours.filter(s=>s.type!=="A"&&s.goodWx))})}}},DM={class:"fli-main"},MM={class:"card basics"},mM={class:"list flex"},gM={class:"item"},EM={class:"content flex"},yM={class:"item"},IM={class:"content flex"},pM={class:"item"},AM={class:"content flex"},VM={class:"list"},TM={class:"item"},xM={class:"content flex"},zM={class:"content flex"},CM={class:"item"},SM={class:"content flex"},kM={class:"content flex"},fM={class:"item"},jM={class:"content flexL"},UM={class:"clause"},bM={key:0,class:"definition flex"},OM={key:1,class:"definition flex"},wM={class:"item"},YM={class:"content"},QM={key:0,class:"item"},hM={class:"content"},BM={key:1,class:"item"},RM={class:"content"},FM={key:2,class:"item"},PM={class:"content"},GM={key:3,class:"item"},WM={class:"content"},LM={key:4,class:"item"},ZM={key:5,class:"item"},HM={class:"definition flexM"},JM={class:"table"},_M={class:"summary"},XM={key:0,class:"summary-overall"},KM={class:"summary-overall-row"},uM={class:"card"},qM={class:"main-content"},$M={key:0},vM={key:1},e1={class:"card"},t1={class:"main-content"},l1={key:0},o1={key:1},n1={class:"card"},a1={class:"main-content"},i1={key:0},s1={key:1},d1={class:"summary-overall-row"},r1={class:"card"},c1={class:"main-content"},N1={class:"card"},D1={class:"main-content"},M1={class:"card"},m1={class:"main-content"},g1={class:"card",style:{flex:"1.5"}},E1={class:"card-title"},y1={class:"card-segment"},I1={class:"card-segment"},p1={class:"card-segment"},A1={class:"uppercase"},V1={class:"card summary-card",style:{flex:"1"}},T1={key:0,class:"main-content"},x1={key:0,class:"iconfont success"},z1={key:1,class:"iconfont error"},C1={key:1,class:"main-content"},S1={class:"card-content",style:{"justify-content":"flex-start"}},k1={class:"card summary-card",style:{flex:"1"}},f1={key:0,class:"main-content"},j1={key:0,class:"iconfont success"},U1={key:1,class:"iconfont error"},b1={key:1,class:"main-content"},O1={class:"card-content",style:{"justify-content":"flex-start"}},w1={class:"card summary-card",style:{flex:"1"}},Y1={key:0,class:"main-content"},Q1={key:0,class:"iconfont success"},h1={key:1,class:"iconfont error"},B1={key:1,class:"main-content"},R1={class:"card-content",style:{"justify-content":"flex-start"}},F1={style:{"page-break-inside":"avoid"}},P1={class:"remarks"},G1={class:"item"},W1={class:"speed"},L1={class:"uppercase"},Z1={class:"item"},H1={key:0,class:"remark-detail"},J1={key:1,class:"remark-detail"},_1={class:"page-avoid"},X1={class:"dashed"},K1={class:"card phase-title-card",style:{flex:"0.5"}},u1={class:"card-title"},q1={class:"card-segment"},$1={class:"card-segment"},v1={class:"card-segment"},em={class:"uppercase"},tm={class:"phase-analysis"},lm={class:"card phase-card",style:{flex:"1"}},om={class:"main-content"},nm={class:"main-content"},am={class:"card-content"},im={class:"card-content"},sm={class:"card-content"},dm={class:"card-content"},rm={class:"card phase-card",style:{flex:"1"}},cm={class:"main-content"},Nm={class:"main-content"},Dm={class:"card-content"},Mm={class:"card-content"},mm={class:"card-content"},gm={class:"card-content"},Em={class:"phase-analysis"},ym={class:"card phase-card",style:{flex:"1"}},Im={class:"main-content"},pm={class:"main-content"},Am={class:"card-content"},Vm={class:"card-content"},Tm={class:"card-content"},xm={class:"card-content"},zm={class:"card phase-card",style:{flex:"1"}},Cm={class:"main-content"},Sm={class:"main-content"},km={class:"card-content"},fm={class:"card-content"},jm={class:"card-content"},Um={class:"card-content"},bm={class:"card phase-card",style:{flex:"1"}},Om={class:"main-content"},wm={class:"main-content"},Ym={class:"card-content"},Qm={class:"card-content"},hm={class:"card-content"},Bm={class:"card-content"},Rm={class:"phase-analysis"},Fm={class:"card phase-card",style:{flex:"1"}},Pm={class:"main-content"},Gm={class:"main-content"},Wm={class:"card-content"},Lm={class:"card-content"},Zm={class:"card-content"},Hm={class:"card-content"},Jm={class:"card phase-card",style:{flex:"1"}},_m={class:"main-content"},Xm={class:"main-content"},Km={class:"card-content"},um={class:"card-content"},qm={class:"card-content"},$m={class:"card-content"},vm={class:"card phase-card",style:{flex:"1","justify-content":"flex-start"}},eg={class:"main-content"},tg={class:"card-content"},lg={key:0},og={key:1},ng={class:"phase-card"},ag={class:"card",style:{flex:"1"}},ig={key:0,class:"main-content"},sg={key:0,class:"iconfont success"},dg={key:1,class:"iconfont error"},rg={key:1,class:"main-content"},cg={class:"nogwd"},Ng={class:"card-content",style:{"justify-content":"flex-start"}},Dg={key:0},Mg={class:"equation"},mg={style:{width:"8%"}},gg={style:{width:"10%"}},Eg={class:"equation"},yg={style:{width:"8%"}},Ig={style:{width:"10%"}},pg={class:"equation"},Ag={style:{width:"8%"}},Vg={style:{width:"10%"}},Tg={class:"phase-card"},xg={class:"card",style:{flex:"1"}},zg={key:0,class:"main-content"},Cg={key:0,class:"iconfont success"},Sg={key:1,class:"iconfont error"},kg={key:1,class:"main-content"},fg={class:"nogwd"},jg={class:"card-content",style:{"justify-content":"flex-start"}},Ug={key:0},bg={class:"equation"},Og={style:{width:"8%"}},wg={style:{width:"120px"}},Yg={style:{width:"10%"}},Qg={class:"equation"},hg={style:{width:"8%"}},Bg={style:{width:"120px"}},Rg={style:{width:"10%"}},Fg={class:"equation"},Pg={style:{width:"8%"}},Gg={style:{width:"120px"}},Wg={style:{width:"10%"}},Lg={key:0,class:"phase-card"},Zg={class:"card",style:{flex:"1"}},Hg={key:0,class:"main-content"},Jg={key:0,class:"iconfont success"},_g={key:1,class:"iconfont error"},Xg={key:1,class:"main-content"},Kg={class:"nogwd"},ug={class:"card-content",style:{"justify-content":"flex-start"}},qg={key:0},$g={class:"equation"},vg={style:{width:"8%"}},eE={style:{width:"120px"}},tE={style:{width:"10%"}},lE={class:"equation"},oE={style:{width:"8%"}},nE={style:{width:"120px"}},aE={style:{width:"10%"}},iE={class:"equation"},sE={style:{width:"8%"}},dE={style:{width:"120px"}},rE={style:{width:"10%"}},cE={class:"formular dashed",style:{"page-break-inside":"avoid"}},NE={class:"flex formular-item",style:{"border-right":"2px dashed var(--fli-border-color)"}},DE={class:""},ME={class:"equation"},mE={style:{width:"50%"},class:"fraction"},gE={class:"equation"},EE={style:{width:"50%"},class:"fraction"},yE={class:"equation"},IE={style:{width:"50%"},class:"fraction"},pE={class:"flexL formular-item",style:{"margin-left":"20px"}},AE={class:""},VE={class:"equation"},TE={style:{width:"25%"},class:"fraction"},xE={class:"equation"},zE={style:{width:"25%"},class:"fraction"},CE={class:"equation"},SE={style:{width:"25%"},class:"fraction"};function kE(o,t,l,d,i,a){var D,s,c,y,p,N,M,C,A,V,T,I,S,x,k,m,U,O,w,Y,Q,h,R,G,W,L,Z,J,b,te,le,oe,ne,ae,n,H,q,$,v,ie,se,_,De,K,Ne,Me,me,ce,Ie,pe,Ae,Ve,Te,xe,ze,Ce,Se,ke,fe,je,Ue,be,ge,we,Ye,Oe,f,ye,Qe,Pe,Ge,j,We,Le;return e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass((s=(D=l.reportData)==null?void 0:D.weather)!=null&&s.referenceOnly?"watermark":"")},[t[217]||(t[217]=e.createElementVNode("div",{class:"fli-logo-title"},[e.createElementVNode("img",{src:"https://img.idmwx.com/asset/fli_logo.png",class:"bgImg"}),e.createElementVNode("div",{class:"logo-title"},"Voyage Analysis Report")],-1)),e.createElementVNode("div",DM,[t[214]||(t[214]=e.createElementVNode("div",{class:"subtitle"},[e.createElementVNode("i",{class:"iconfont"},""),e.createElementVNode("div",{class:"content"},"Voyage Basics")],-1)),e.createElementVNode("div",MM,[e.createElementVNode("div",mM,[e.createElementVNode("div",gM,[t[0]||(t[0]=e.createElementVNode("label",{class:"flex"},"Company Name: ",-1)),e.createElementVNode("div",EM,e.toDisplayString((c=l.reportData)==null?void 0:c.preparedFor),1)]),e.createElementVNode("div",yM,[t[1]||(t[1]=e.createElementVNode("label",{class:"flex"},"Vessel Name: ",-1)),e.createElementVNode("div",IM,e.toDisplayString((p=(y=l.reportData)==null?void 0:y.vessel)==null?void 0:p.name),1)]),e.createElementVNode("div",pM,[t[2]||(t[2]=e.createElementVNode("label",{class:"flex"},"Report Created: ",-1)),e.createElementVNode("div",AM,e.toDisplayString(i.date),1)])]),e.createElementVNode("div",VM,[e.createElementVNode("div",TM,[t[3]||(t[3]=e.createElementVNode("label",{class:"flex"},"Departure Port: ",-1)),e.createElementVNode("div",xM,e.toDisplayString(((M=(N=l.reportData)==null?void 0:N.departure)==null?void 0:M.portName)||a.computedLngLat((A=(C=l.reportData)==null?void 0:C.departure)==null?void 0:A.lat,(T=(V=l.reportData)==null?void 0:V.departure)==null?void 0:T.lng)),1),e.createElementVNode("div",zM,e.toDisplayString(a.computedTime((S=(I=l.reportData)==null?void 0:I.departure)==null?void 0:S.utcTime,"table")),1)]),e.createElementVNode("div",CM,[t[4]||(t[4]=e.createElementVNode("label",{class:"flex"},"Arrival Port: ",-1)),e.createElementVNode("div",SM,e.toDisplayString(((k=(x=l.reportData)==null?void 0:x.arrival)==null?void 0:k.portName)||a.computedLngLat((U=(m=l.reportData)==null?void 0:m.arrival)==null?void 0:U.lat,(w=(O=l.reportData)==null?void 0:O.arrival)==null?void 0:w.lng)),1),e.createElementVNode("div",kM,e.toDisplayString(a.computedTime((Q=(Y=l.reportData)==null?void 0:Y.arrival)==null?void 0:Q.utcTime,"table")),1)]),e.createElementVNode("div",fM,[t[5]||(t[5]=e.createElementVNode("label",null,"Voyage Condition: ",-1)),e.createElementVNode("div",jM,e.toDisplayString((R=(h=l.reportData)==null?void 0:h.voyage)==null?void 0:R.loadCondition),1)])])]),t[215]||(t[215]=e.createElementVNode("div",{class:"subtitle"},[e.createElementVNode("i",{class:"iconfont"},""),e.createElementVNode("div",{class:"content"},"Charter Party Clause")],-1)),e.createElementVNode("div",UM,[(W=(G=l.reportData)==null?void 0:G.weather)!=null&&W.overallAsGoodWx?(e.openBlock(),e.createElementBlock("div",bM,"No specific thresholds in weather.")):(e.openBlock(),e.createElementBlock("div",OM,[e.createElementVNode("div",wM,[t[6]||(t[6]=e.createElementVNode("label",null,"Beaufort Wind Scale",-1)),e.createElementVNode("div",YM,"BF "+e.toDisplayString(((Z=(L=l.reportData)==null?void 0:L.weather)==null?void 0:Z.windScale)||"-"),1)]),(b=(J=l.reportData)==null?void 0:J.weather)!=null&&b.waveSwitch?(e.openBlock(),e.createElementBlock("div",QM,[t[7]||(t[7]=e.createElementVNode("label",null,"Wind Wave Height",-1)),e.createElementVNode("div",hM,e.toDisplayString(((le=(te=l.reportData)==null?void 0:te.weather)==null?void 0:le.waveHeight)||"-")+" Meter",1)])):(ne=(oe=l.reportData)==null?void 0:oe.weather)!=null&&ne.swellSwitch?(e.openBlock(),e.createElementBlock("div",BM,[t[8]||(t[8]=e.createElementVNode("label",null,"Swell Wave Height",-1)),e.createElementVNode("div",RM,e.toDisplayString(((n=(ae=l.reportData)==null?void 0:ae.weather)==null?void 0:n.swellHeight)||"-")+" Meter",1)])):(q=(H=l.reportData)==null?void 0:H.weather)!=null&&q.sigSwitch?(e.openBlock(),e.createElementBlock("div",FM,[t[9]||(t[9]=e.createElementVNode("label",null,"Significant Wave Height",-1)),e.createElementVNode("div",PM,e.toDisplayString(((v=($=l.reportData)==null?void 0:$.weather)==null?void 0:v.sigHeight)||"-")+" Meter",1)])):e.createCommentVNode("",!0),(se=(ie=l.reportData)==null?void 0:ie.weather)!=null&&se.waveSwitch||(De=(_=l.reportData)==null?void 0:_.weather)!=null&&De.swellHeight||(Ne=(K=l.reportData)==null?void 0:K.weather)!=null&&Ne.sigSwitch?(e.openBlock(),e.createElementBlock("div",GM,[t[10]||(t[10]=e.createElementVNode("label",null,"Douglas Sea State",-1)),e.createElementVNode("div",WM,e.toDisplayString((me=(Me=l.reportData)==null?void 0:Me.weather)==null?void 0:me.seaScale),1)])):e.createCommentVNode("",!0),(Ie=(ce=l.reportData)==null?void 0:ce.weather)!=null&&Ie.noAdverseCur?(e.openBlock(),e.createElementBlock("div",LM,t[11]||(t[11]=[e.createElementVNode("label",null,"No Adverse Current",-1),e.createElementVNode("div",{class:"content"},"Applied",-1)]))):e.createCommentVNode("",!0),(Ae=(pe=l.reportData)==null?void 0:pe.weather)!=null&&Ae.noExtrapolation?(e.openBlock(),e.createElementBlock("div",ZM,t[12]||(t[12]=[e.createElementVNode("label",null,"No Extrapolation",-1),e.createElementVNode("div",{class:"content"},"Applied",-1)]))):e.createCommentVNode("",!0)])),e.createElementVNode("div",HM,[e.createElementVNode("table",JM,[t[13]||(t[13]=e.createElementVNode("thead",null,[e.createElementVNode("tr",null,[e.createElementVNode("td",null,"CP"),e.createElementVNode("td",null,"Speed (kts)"),e.createElementVNode("td",null,"FO (mt)"),e.createElementVNode("td",null,"DO/GO (mt)")])],-1)),e.createElementVNode("tbody",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(i.cpDetail,(r,ee)=>(e.openBlock(),e.createElementBlock("tr",{key:ee},[e.createElementVNode("td",null,e.toDisplayString(r==null?void 0:r.type),1),e.createElementVNode("td",null,e.toDisplayString(`${r==null?void 0:r.speed} | ${r==null?void 0:r.spdOfOver} , ${r.spdOfUnder}`),1),e.createElementVNode("td",null,e.toDisplayString(`${r==null?void 0:r.fo} | ${r==null?void 0:r.over} , ${r.under}`),1),e.createElementVNode("td",null,e.toDisplayString(`${r==null?void 0:r.dgo} | ${r==null?void 0:r.over} , ${r.under}`),1)]))),128))])])])]),t[216]||(t[216]=e.createElementVNode("div",{class:"title"},[e.createElementVNode("i",{class:"iconfont"},""),e.createElementVNode("div",{class:"content"},"Analysis Summary")],-1)),e.createElementVNode("div",_M,[((Te=(Ve=l.reportData)==null?void 0:Ve.segments)==null?void 0:Te.length)>1?(e.openBlock(),e.createElementBlock("div",XM,[t[20]||(t[20]=e.createElementVNode("div",{class:"summary-overall-row"},[e.createElementVNode("h3",null,"Overall")],-1)),e.createElementVNode("div",KM,[e.createElementVNode("div",uM,[t[14]||(t[14]=e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("label",null,"GW Avg Daily Speed")],-1)),e.createElementVNode("div",qM,[(ze=(xe=l.reportData)==null?void 0:xe.goodWx)!=null&&ze.avgSpd?(e.openBlock(),e.createElementBlock("div",$M,e.toDisplayString((Se=(Ce=l.reportData)==null?void 0:Ce.goodWx)==null?void 0:Se.avgSpd)+" kts",1)):(e.openBlock(),e.createElementBlock("div",vM,e.toDisplayString(i.noGoodWxDay),1))])]),e.createElementVNode("div",e1,[t[15]||(t[15]=e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("label",null,"GW Avg Daily Cons. FO*")],-1)),e.createElementVNode("div",t1,[(fe=(ke=l.reportData)==null?void 0:ke.goodWx)!=null&&fe.avgSpd?(e.openBlock(),e.createElementBlock("div",l1,e.toDisplayString((Ue=(je=l.reportData)==null?void 0:je.goodWx)==null?void 0:Ue.avgFoEcaCons)+" mt",1)):(e.openBlock(),e.createElementBlock("div",o1,e.toDisplayString(i.noGoodWxDay),1))])]),e.createElementVNode("div",n1,[t[16]||(t[16]=e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("label",null,"GW Avg Daily Cons. DO/GO*")],-1)),e.createElementVNode("div",a1,[(ge=(be=l.reportData)==null?void 0:be.goodWx)!=null&&ge.avgSpd?(e.openBlock(),e.createElementBlock("div",i1,e.toDisplayString((Ye=(we=l.reportData)==null?void 0:we.goodWx)==null?void 0:Ye.avgDgoEcaCons)+" mt",1)):(e.openBlock(),e.createElementBlock("div",s1,e.toDisplayString(i.noGoodWxDay),1))])])]),e.createElementVNode("div",d1,[e.createElementVNode("div",r1,[t[17]||(t[17]=e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("label",null,"Overall Avg Daily Speed")],-1)),e.createElementVNode("div",c1,e.toDisplayString((f=(Oe=l.reportData)==null?void 0:Oe.allWx)==null?void 0:f.avgSpd)+" kts",1)]),e.createElementVNode("div",N1,[t[18]||(t[18]=e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("label",null,"Overall Avg Daily Cons. FO*")],-1)),e.createElementVNode("div",D1,e.toDisplayString((Qe=(ye=l.reportData)==null?void 0:ye.allWx)==null?void 0:Qe.avgFoEcaCons)+" mt",1)]),e.createElementVNode("div",M1,[t[19]||(t[19]=e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("label",null,"Overall Avg Daily Cons. DO/GO*")],-1)),e.createElementVNode("div",m1,e.toDisplayString((Ge=(Pe=l.reportData)==null?void 0:Pe.allWx)==null?void 0:Ge.avgDgoEcaCons)+" mt",1)])]),t[21]||(t[21]=e.createElementVNode("div",{class:"summary-overall-row",style:{"flex-direction":"column"}},[e.createElementVNode("div",{class:"flex-start"},[e.createElementVNode("label",null,"*For FO"),e.createElementVNode("span",null,"FO Cons. + M/E DO/GO Cons. in ECA")]),e.createElementVNode("div",{class:"flex-start"},[e.createElementVNode("label",null,"*For DO/GO"),e.createElementVNode("span",null,"DO/GO Cons. - M/E DO/GO Cons. in ECA")])],-1))])):e.createCommentVNode("",!0),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList((j=l.reportData)==null?void 0:j.segments,(r,ee)=>{var Ee,B,Be;return e.openBlock(),e.createElementBlock("div",{key:ee,class:"summary-seg"},[e.createElementVNode("div",g1,[e.createElementVNode("div",E1,[t[22]||(t[22]=e.createElementVNode("i",{class:"iconfont"},"",-1)),e.createElementVNode("span",null,"Phase "+e.toDisplayString(ee+1),1)]),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(i.segDetail[ee],(de,Re)=>(e.openBlock(),e.createElementBlock("div",{key:"seg"+Re,class:e.normalizeClass(i.segDetail[ee].length>1?"dashed":"")},[e.createElementVNode("div",y1,[e.createElementVNode("div",null,e.toDisplayString(de==null?void 0:de.port1),1),e.createElementVNode("div",null,e.toDisplayString(de==null?void 0:de.time1),1)]),e.createElementVNode("div",I1,[e.createElementVNode("div",null,e.toDisplayString(de==null?void 0:de.port2),1),e.createElementVNode("div",null,e.toDisplayString(de==null?void 0:de.time2),1)])],2))),128)),e.createElementVNode("div",p1,[t[23]||(t[23]=e.createElementVNode("div",null,"Applied",-1)),e.createElementVNode("div",null,[e.createElementVNode("span",A1,e.toDisplayString(r.extend.cp.type)+" : ",1),e.createElementVNode("span",null,e.toDisplayString(r.extend.cp.speed)+"kts / ",1),e.createElementVNode("span",null,e.toDisplayString(r.extend.cp.fo)+"mt / ",1),e.createElementVNode("span",null,e.toDisplayString(r.extend.cp.dgo)+"mt",1)])])]),e.createElementVNode("div",V1,[t[24]||(t[24]=e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("span",null,"Time Lost/Gained: ")],-1)),(Ee=r.goodWx)!=null&&Ee.distance?(e.openBlock(),e.createElementBlock("div",T1,[a.computedTimeConclusion(r.timeConclusion).className==="success"?(e.openBlock(),e.createElementBlock("i",x1,"")):e.createCommentVNode("",!0),a.computedTimeConclusion(r.timeConclusion).className==="error"?(e.openBlock(),e.createElementBlock("i",z1,"")):e.createCommentVNode("",!0),e.createElementVNode("span",null,e.toDisplayString(a.computedTimeConclusion(r.timeConclusion).timeCon),1)])):(e.openBlock(),e.createElementBlock("div",C1,[e.createElementVNode("span",null,e.toDisplayString(i.noGoodWxDay),1)])),e.createElementVNode("div",S1,[e.createElementVNode("i",{class:e.normalizeClass(`iconfont ${a.computedTimeConclusion(r.timeConclusion).className}`)},"",2),e.createElementVNode("span",null,e.toDisplayString(a.computedTimeConclusion(r.timeConclusion).conclusion),1)])]),e.createElementVNode("div",k1,[t[25]||(t[25]=e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("span",null,"FO Over/Under: ")],-1)),(B=r.goodWx)!=null&&B.distance?(e.openBlock(),e.createElementBlock("div",f1,[a.computedFuleConclusion(r.fuelConclusion.fo,"FO").className==="success"?(e.openBlock(),e.createElementBlock("i",j1,"")):e.createCommentVNode("",!0),a.computedFuleConclusion(r.fuelConclusion.fo,"FO").className==="error"?(e.openBlock(),e.createElementBlock("i",U1,"")):e.createCommentVNode("",!0),e.createElementVNode("span",null,e.toDisplayString(a.computedFuleConclusion(r.fuelConclusion.fo,"FO").cons),1)])):(e.openBlock(),e.createElementBlock("div",b1,[e.createElementVNode("span",null,e.toDisplayString(i.noGoodWxDay),1)])),e.createElementVNode("div",O1,[e.createElementVNode("i",{class:e.normalizeClass(`iconfont ${a.computedFuleConclusion(r.fuelConclusion.fo,"FO").className}`)},"",2),e.createElementVNode("span",null,e.toDisplayString(a.computedFuleConclusion(r.fuelConclusion.fo,"FO").conclusion),1)])]),e.createElementVNode("div",w1,[t[26]||(t[26]=e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("span",null,"DO/GO Over/Under: ")],-1)),(Be=r.goodWx)!=null&&Be.distance?(e.openBlock(),e.createElementBlock("div",Y1,[a.computedFuleConclusion(r.fuelConclusion.dgo,"DGO").className==="success"?(e.openBlock(),e.createElementBlock("i",Q1,"")):e.createCommentVNode("",!0),a.computedFuleConclusion(r.fuelConclusion.dgo,"DGO").className==="error"?(e.openBlock(),e.createElementBlock("i",h1,"")):e.createCommentVNode("",!0),e.createElementVNode("span",null,e.toDisplayString(a.computedFuleConclusion(r.fuelConclusion.dgo,"DGO").cons),1)])):(e.openBlock(),e.createElementBlock("div",B1,[e.createElementVNode("span",null,e.toDisplayString(i.noGoodWxDay),1)])),e.createElementVNode("div",R1,[e.createElementVNode("i",{class:e.normalizeClass(`iconfont ${a.computedFuleConclusion(r.fuelConclusion.dgo,"DGO").className}`)},"",2),e.createElementVNode("span",null,e.toDisplayString(a.computedFuleConclusion(r.fuelConclusion.dgo,"DGO").conclusion),1)])])])}),128))]),e.createElementVNode("div",F1,[t[29]||(t[29]=e.createElementVNode("div",{class:"subtitle"},[e.createElementVNode("i",{class:"iconfont"},""),e.createElementVNode("div",{class:"content"},"Voyage Remarks")],-1)),e.createElementVNode("div",P1,[e.createElementVNode("div",G1,[t[27]||(t[27]=e.createElementVNode("div",{class:"remark-title"},[e.createElementVNode("i",{class:"iconfont"},""),e.createElementVNode("span",null,"Speed Adjustment")],-1)),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList((We=l.reportData)==null?void 0:We.segments,(r,ee)=>(e.openBlock(),e.createElementBlock("div",{key:ee,class:"remark-speed"},[e.createElementVNode("div",W1,[e.createElementVNode("div",null,[e.createTextVNode(e.toDisplayString(`${ee+1}. Phase ${ee+1} Applied `)+" ",1),e.createElementVNode("span",L1,e.toDisplayString(r.extend.cp.type)+" Speed ( ",1),e.createElementVNode("span",null,e.toDisplayString(r.extend.cp.speed)+"kts / ",1),e.createElementVNode("span",null,e.toDisplayString(r.extend.cp.fo)+"mt / ",1),e.createElementVNode("span",null,e.toDisplayString(r.extend.cp.dgo)+"mt ) ",1)]),e.createElementVNode("div",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(i.segDetail[ee],(Ee,B)=>(e.openBlock(),e.createElementBlock("div",{key:"seg"+B},e.toDisplayString(`${Ee.port1} (${Ee.fullTime1}) to ${Ee.port2} (${Ee.fullTime2})`),1))),128))])])]))),128))]),e.createElementVNode("div",Z1,[t[28]||(t[28]=e.createElementVNode("div",{class:"remark-title"},[e.createElementVNode("i",{class:"iconfont"},""),e.createElementVNode("span",null,"Excluded Period")],-1)),i.excludedTableData.length?(e.openBlock(),e.createElementBlock("div",H1,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(i.excludedTableData,(r,ee)=>(e.openBlock(),e.createElementBlock("div",{key:ee},e.toDisplayString(`From ${r.begin} to ${r.end}`),1))),128))])):(e.openBlock(),e.createElementBlock("div",J1,e.toDisplayString(i.noSpecialRemarks),1))])])]),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList((Le=l.reportData)==null?void 0:Le.segments,(r,ee)=>{var Ee,B,Be,de,Re,Ze,He,Ke,ue,qe,$e,ve,et,at,it,st,dt,rt,ct,Nt,Dt,Mt,mt,gt,Et,yt,It,pt,At,Vt,Tt,Ct,z,St,kt,ft,jt,Ut,bt,Ot,wt,ot,bl,Ol,wl,Yl,Ql,hl,Bl,Rl,Fl,Pl,Gl,Wl,Ll,Zl,Hl,Jl,E,he,tt,lt,xt,Yt,Qt,ht,Bt,Rt,Ft,Pt,Gt,Wt,Lt,Zt,Ht,Jt,_t,Xt,Kt,ut,qt,$t,vt,el,tl,ll,ol,nl,al,il,sl,dl,rl,cl,Nl,Dl,Ml,ml,gl,El,yl,Il,pl,Al,Vl,Tl,xl,zl,Cl,Sl,kl,fl,jl,_l,Xl,Kl;return e.openBlock(),e.createElementBlock("div",{key:ee,class:"phase"},[e.createElementVNode("div",_1,[e.createElementVNode("div",X1,[e.createElementVNode("div",K1,[e.createElementVNode("div",u1,[t[30]||(t[30]=e.createElementVNode("i",{class:"iconfont"},"",-1)),e.createElementVNode("span",null,"Phase "+e.toDisplayString(ee+1),1)]),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(i.segDetail[ee],(Xe,ql)=>(e.openBlock(),e.createElementBlock("div",{key:"seg"+ql,class:e.normalizeClass(i.segDetail[ee].length>1?"dashed":"")},[e.createElementVNode("div",q1,[e.createElementVNode("div",null,e.toDisplayString(Xe==null?void 0:Xe.port1),1),e.createElementVNode("div",null,e.toDisplayString(Xe==null?void 0:Xe.time1),1)]),e.createElementVNode("div",$1,[e.createElementVNode("div",null,e.toDisplayString(Xe==null?void 0:Xe.port2),1),e.createElementVNode("div",null,e.toDisplayString(Xe==null?void 0:Xe.time2),1)])],2))),128)),e.createElementVNode("div",v1,[t[31]||(t[31]=e.createElementVNode("div",null,"Applied",-1)),e.createElementVNode("div",null,[e.createElementVNode("span",em,e.toDisplayString(r.extend.cp.type)+" : ",1),e.createElementVNode("span",null,e.toDisplayString(r.extend.cp.speed)+"kts / ",1),e.createElementVNode("span",null,e.toDisplayString(r.extend.cp.fo)+"mt / ",1),e.createElementVNode("span",null,e.toDisplayString(r.extend.cp.dgo)+"mt",1)])])])]),t[212]||(t[212]=e.createElementVNode("div",{class:"title"},[e.createElementVNode("i",{class:"iconfont"},""),e.createElementVNode("div",{class:"content"},"Calculation Summary")],-1)),e.createElementVNode("div",tm,[e.createElementVNode("div",lm,[t[40]||(t[40]=e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("span",null,"GW Avg Daily Cons. FO*")],-1)),e.createElementVNode("div",om,[e.createElementVNode("span",null,e.toDisplayString(((Ee=r.goodWx)==null?void 0:Ee.avgFoEcaCons)||"-")+" mt",1)]),t[41]||(t[41]=e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("span",null,"Overall Avg Daily Cons. FO*")],-1)),e.createElementVNode("div",nm,[e.createElementVNode("span",null,e.toDisplayString(((B=r.allWx)==null?void 0:B.avgFoEcaCons)||"-")+" mt",1)]),e.createElementVNode("div",am,[t[33]||(t[33]=e.createElementVNode("label",null,"GW Avg Daily Cons. FO (out of ECA)",-1)),e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((Be=r.goodWx)==null?void 0:Be.outEca.avgFoCons)||"-"),1),t[32]||(t[32]=e.createElementVNode("span",null,"mt",-1))])]),e.createElementVNode("div",im,[t[35]||(t[35]=e.createElementVNode("label",null,"GW Avg Daily Cons. FO* (in ECA)",-1)),e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((de=r.goodWx)==null?void 0:de.inEca.avgFoEcaCons)||"-"),1),t[34]||(t[34]=e.createElementVNode("span",null,"mt",-1))])]),e.createElementVNode("div",sm,[t[37]||(t[37]=e.createElementVNode("label",null,"Overall Avg Daily Cons. FO (out of ECA)",-1)),e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((Re=r.allWx)==null?void 0:Re.outEca.avgFoCons)||"-"),1),t[36]||(t[36]=e.createElementVNode("span",null,"mt",-1))])]),e.createElementVNode("div",dm,[t[39]||(t[39]=e.createElementVNode("label",null,"Overall Avg Daily Cons. FO* (in ECA)",-1)),e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((Ze=r.allWx)==null?void 0:Ze.inEca.avgFoEcaCons)||"-"),1),t[38]||(t[38]=e.createElementVNode("span",null,"mt",-1))])]),t[42]||(t[42]=e.createElementVNode("div",{class:"card-content",style:{"justify-content":"flex-start"}},[e.createElementVNode("label",null,"*For FO"),e.createElementVNode("span",{style:{"font-weight":"400"}},"FO Cons. + M/E DO/GO Cons. in ECA")],-1))]),e.createElementVNode("div",rm,[t[51]||(t[51]=e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("span",null,"GW Avg Daily Cons. DO/GO*")],-1)),e.createElementVNode("div",cm,[e.createElementVNode("span",null,e.toDisplayString(((He=r.goodWx)==null?void 0:He.avgDgoEcaCons)||"-")+" mt",1)]),t[52]||(t[52]=e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("span",null,"Overall Avg Daily Cons. DO/GO*")],-1)),e.createElementVNode("div",Nm,[e.createElementVNode("span",null,e.toDisplayString(((Ke=r.allWx)==null?void 0:Ke.avgDgoEcaCons)||"-")+" mt",1)]),e.createElementVNode("div",Dm,[t[44]||(t[44]=e.createElementVNode("label",null,"GW Avg Daily Cons. DO/GO (out of ECA)",-1)),e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((ue=r.goodWx)==null?void 0:ue.outEca.avgDgoCons)||"-"),1),t[43]||(t[43]=e.createElementVNode("span",null,"mt",-1))])]),e.createElementVNode("div",Mm,[t[46]||(t[46]=e.createElementVNode("label",null,"GW Avg Daily Cons. DO/GO* (in ECA)",-1)),e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((qe=r.goodWx)==null?void 0:qe.inEca.avgDgoEcaCons)||"-"),1),t[45]||(t[45]=e.createElementVNode("span",null,"mt",-1))])]),e.createElementVNode("div",mm,[t[48]||(t[48]=e.createElementVNode("label",null,"Overall Avg Daily Cons. DO/GO (out of ECA)",-1)),e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString((($e=r.allWx)==null?void 0:$e.outEca.avgDgoCons)||"-"),1),t[47]||(t[47]=e.createElementVNode("span",null,"mt",-1))])]),e.createElementVNode("div",gm,[t[50]||(t[50]=e.createElementVNode("label",null,"Overall Avg Daily Cons. DO/GO* (in ECA)",-1)),e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((ve=r.allWx)==null?void 0:ve.inEca.avgDgoEcaCons)||"-"),1),t[49]||(t[49]=e.createElementVNode("span",null,"mt",-1))])]),t[53]||(t[53]=e.createElementVNode("div",{class:"card-content",style:{"justify-content":"flex-start"}},[e.createElementVNode("label",null,"*For DO/GO"),e.createElementVNode("span",{style:{"font-weight":"400"}},"DO/GO Cons. - M/E DO/GO Cons. in ECA")],-1))])]),e.createElementVNode("div",Em,[e.createElementVNode("div",ym,[t[62]||(t[62]=e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("span",null,"GW Distance")],-1)),e.createElementVNode("div",Im,[e.createElementVNode("span",null,e.toDisplayString(((et=r.goodWx)==null?void 0:et.distance)||"-")+" nm",1)]),t[63]||(t[63]=e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("span",null,"Overall Distance")],-1)),e.createElementVNode("div",pm,[e.createElementVNode("span",null,e.toDisplayString(((at=r.allWx)==null?void 0:at.distance)||"-")+" nm",1)]),e.createElementVNode("div",Am,[t[55]||(t[55]=e.createElementVNode("label",null,"GW Distance (out of ECA)",-1)),e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((it=r.goodWx)==null?void 0:it.outEca.distance)||"-"),1),t[54]||(t[54]=e.createElementVNode("span",null,"nm",-1))])]),e.createElementVNode("div",Vm,[t[57]||(t[57]=e.createElementVNode("label",null,"GW Distance (in ECA)",-1)),e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((st=r.goodWx)==null?void 0:st.inEca.distance)||"-"),1),t[56]||(t[56]=e.createElementVNode("span",null,"nm",-1))])]),e.createElementVNode("div",Tm,[t[59]||(t[59]=e.createElementVNode("label",null,"Overall Distance (out of ECA)",-1)),e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((dt=r.allWx)==null?void 0:dt.outEca.distance)||"-"),1),t[58]||(t[58]=e.createElementVNode("span",null,"nm",-1))])]),e.createElementVNode("div",xm,[t[61]||(t[61]=e.createElementVNode("label",null,"Overall Distance (in ECA)",-1)),e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((rt=r.allWx)==null?void 0:rt.inEca.distance)||"-"),1),t[60]||(t[60]=e.createElementVNode("span",null,"nm",-1))])])]),e.createElementVNode("div",zm,[t[72]||(t[72]=e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("span",null,"GW Time")],-1)),e.createElementVNode("div",Cm,[e.createElementVNode("span",null,e.toDisplayString(((ct=r.goodWx)==null?void 0:ct.time)||"-")+" hrs",1)]),t[73]||(t[73]=e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("span",null,"Overall Time")],-1)),e.createElementVNode("div",Sm,[e.createElementVNode("span",null,e.toDisplayString(((Nt=r.allWx)==null?void 0:Nt.time)||"-")+" hrs",1)]),e.createElementVNode("div",km,[t[65]||(t[65]=e.createElementVNode("label",null,"GW Time (out of ECA)",-1)),e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((Dt=r.goodWx)==null?void 0:Dt.outEca.time)||"-"),1),t[64]||(t[64]=e.createElementVNode("span",null,"hrs",-1))])]),e.createElementVNode("div",fm,[t[67]||(t[67]=e.createElementVNode("label",null,"GW Time (in ECA)",-1)),e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((Mt=r.goodWx)==null?void 0:Mt.inEca.time)||"-"),1),t[66]||(t[66]=e.createElementVNode("span",null,"hrs",-1))])]),e.createElementVNode("div",jm,[t[69]||(t[69]=e.createElementVNode("label",null,"Overall Time (out of ECA)",-1)),e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((mt=r.allWx)==null?void 0:mt.outEca.time)||"-"),1),t[68]||(t[68]=e.createElementVNode("span",null,"hrs",-1))])]),e.createElementVNode("div",Um,[t[71]||(t[71]=e.createElementVNode("label",null,"Overall Time (in ECA)",-1)),e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((gt=r.allWx)==null?void 0:gt.inEca.time)||"-"),1),t[70]||(t[70]=e.createElementVNode("span",null,"hrs",-1))])])]),e.createElementVNode("div",bm,[t[82]||(t[82]=e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("span",null,"GW Avg Speed")],-1)),e.createElementVNode("div",Om,[e.createElementVNode("span",null,e.toDisplayString(((Et=r.goodWx)==null?void 0:Et.avgSpd)||"-")+" kts",1)]),t[83]||(t[83]=e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("span",null,"Overall Avg Speed")],-1)),e.createElementVNode("div",wm,[e.createElementVNode("span",null,e.toDisplayString(((yt=r.allWx)==null?void 0:yt.avgSpd)||"-")+" kts",1)]),e.createElementVNode("div",Ym,[t[75]||(t[75]=e.createElementVNode("label",null,"GW Avg Speed (out of ECA)",-1)),e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((It=r.goodWx)==null?void 0:It.outEca.avgSpd)||"-"),1),t[74]||(t[74]=e.createElementVNode("span",null,"kts",-1))])]),e.createElementVNode("div",Qm,[t[77]||(t[77]=e.createElementVNode("label",null,"GW Avg Speed (in ECA)",-1)),e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((pt=r.goodWx)==null?void 0:pt.inEca.avgSpd)||"-"),1),t[76]||(t[76]=e.createElementVNode("span",null,"kts",-1))])]),e.createElementVNode("div",hm,[t[79]||(t[79]=e.createElementVNode("label",null,"Overall Avg Speed (out of ECA)",-1)),e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((At=r.allWx)==null?void 0:At.outEca.avgSpd)||"-"),1),t[78]||(t[78]=e.createElementVNode("span",null,"kts",-1))])]),e.createElementVNode("div",Bm,[t[81]||(t[81]=e.createElementVNode("label",null,"Overall Avg Speed (in ECA)",-1)),e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((Vt=r.allWx)==null?void 0:Vt.inEca.avgSpd)||"-"),1),t[80]||(t[80]=e.createElementVNode("span",null,"kts",-1))])])])]),e.createElementVNode("div",Rm,[e.createElementVNode("div",Fm,[t[92]||(t[92]=e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("span",null,"GW Cons. FO")],-1)),e.createElementVNode("div",Pm,[e.createElementVNode("span",null,e.toDisplayString(((Tt=r.goodWx)==null?void 0:Tt.sumFoCons)||"-")+" mt",1)]),t[93]||(t[93]=e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("span",null,"Overall Cons. FO")],-1)),e.createElementVNode("div",Gm,[e.createElementVNode("span",null,e.toDisplayString(((Ct=r.allWx)==null?void 0:Ct.sumFoCons)||"-")+" mt",1)]),e.createElementVNode("div",Wm,[t[85]||(t[85]=e.createElementVNode("label",null,"GW Cons. FO (out of ECA)",-1)),e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((z=r.goodWx)==null?void 0:z.outEca.sumFoCons)||"-"),1),t[84]||(t[84]=e.createElementVNode("span",null,"mt",-1))])]),e.createElementVNode("div",Lm,[t[87]||(t[87]=e.createElementVNode("label",null,"GW Cons. FO (in ECA)",-1)),e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((St=r.goodWx)==null?void 0:St.inEca.sumFoCons)||"-"),1),t[86]||(t[86]=e.createElementVNode("span",null,"mt",-1))])]),e.createElementVNode("div",Zm,[t[89]||(t[89]=e.createElementVNode("label",null,"Overall Cons. FO (out of ECA)",-1)),e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((kt=r.allWx)==null?void 0:kt.outEca.sumFoCons)||"-"),1),t[88]||(t[88]=e.createElementVNode("span",null,"mt",-1))])]),e.createElementVNode("div",Hm,[t[91]||(t[91]=e.createElementVNode("label",null,"Overall Cons. FO (in ECA)",-1)),e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((ft=r.allWx)==null?void 0:ft.inEca.sumFoCons)||"-"),1),t[90]||(t[90]=e.createElementVNode("span",null,"mt",-1))])])]),e.createElementVNode("div",Jm,[t[102]||(t[102]=e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("span",null,"GW Cons. DO/GO")],-1)),e.createElementVNode("div",_m,[e.createElementVNode("span",null,e.toDisplayString(((jt=r.goodWx)==null?void 0:jt.sumDgoCons)||"-")+" mt",1)]),t[103]||(t[103]=e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("span",null,"Overall Cons. DO/GO")],-1)),e.createElementVNode("div",Xm,[e.createElementVNode("span",null,e.toDisplayString(((Ut=r.allWx)==null?void 0:Ut.sumDgoCons)||"-")+" mt",1)]),e.createElementVNode("div",Km,[t[95]||(t[95]=e.createElementVNode("label",null,"GW Cons. DO/GO (out of ECA)",-1)),e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((bt=r.goodWx)==null?void 0:bt.outEca.sumDgoCons)||"-"),1),t[94]||(t[94]=e.createElementVNode("span",null,"mt",-1))])]),e.createElementVNode("div",um,[t[97]||(t[97]=e.createElementVNode("label",null,"GW Cons. DO/GO (in ECA)",-1)),e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((Ot=r.goodWx)==null?void 0:Ot.inEca.sumDgoCons)||"-"),1),t[96]||(t[96]=e.createElementVNode("span",null,"mt",-1))])]),e.createElementVNode("div",qm,[t[99]||(t[99]=e.createElementVNode("label",null,"Overall Cons. DO/GO (out of ECA)",-1)),e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((wt=r.allWx)==null?void 0:wt.outEca.sumDgoCons)||"-"),1),t[98]||(t[98]=e.createElementVNode("span",null,"mt",-1))])]),e.createElementVNode("div",$m,[t[101]||(t[101]=e.createElementVNode("label",null,"Overall Cons. DO/GO (in ECA)",-1)),e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((ot=r.allWx)==null?void 0:ot.inEca.sumDgoCons)||"-"),1),t[100]||(t[100]=e.createElementVNode("span",null,"mt",-1))])])]),e.createElementVNode("div",vm,[t[106]||(t[106]=e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("span",null,"GW Performance Speed")],-1)),e.createElementVNode("div",eg,[e.createElementVNode("span",null,e.toDisplayString(((bl=r.goodWx)==null?void 0:bl.pfmSpd)||"-")+" kts",1)]),e.createElementVNode("div",tg,[t[105]||(t[105]=e.createElementVNode("label",null,"GW Current Factor",-1)),(Ol=r.goodWx)!=null&&Ol.distance&&!((Yl=(wl=l.reportData)==null?void 0:wl.weather)!=null&&Yl.favorableCur&&((Ql=r.goodWx)==null?void 0:Ql.avgCf)>0)?(e.openBlock(),e.createElementBlock("b",lg,[e.createTextVNode(e.toDisplayString(a.computedPositive((hl=r.goodWx)==null?void 0:hl.avgCf)),1),t[104]||(t[104]=e.createElementVNode("span",null,"kts",-1))])):(e.openBlock(),e.createElementBlock("b",og,"Not Applied"))])])]),e.createElementVNode("div",null,[e.createElementVNode("div",ng,[e.createElementVNode("div",ag,[t[107]||(t[107]=e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("span",null,"Time Lost/Gained: ")],-1)),(Bl=r.goodWx)!=null&&Bl.distance?(e.openBlock(),e.createElementBlock("div",ig,[a.computedTimeConclusion(r.timeConclusion).className==="success"?(e.openBlock(),e.createElementBlock("i",sg,"")):e.createCommentVNode("",!0),a.computedTimeConclusion(r.timeConclusion).className==="error"?(e.openBlock(),e.createElementBlock("i",dg,"")):e.createCommentVNode("",!0),e.createElementVNode("span",null,e.toDisplayString(a.computedTimeConclusion(r.timeConclusion).timeCon),1)])):(e.openBlock(),e.createElementBlock("div",rg,[e.createElementVNode("span",cg,e.toDisplayString(i.noGoodWxDay),1)])),e.createElementVNode("div",Ng,[e.createElementVNode("i",{class:e.normalizeClass(`iconfont ${a.computedTimeConclusion(r.timeConclusion).className}`)},"",2),e.createElementVNode("span",null,e.toDisplayString(a.computedTimeConclusion(r.timeConclusion).conclusion),1)])]),e.createElementVNode("div",{class:e.normalizeClass(`${(Rl=r.goodWx)!=null&&Rl.distance?"":"analysis-none"} card analysis-card`)},[(Fl=r.goodWx)!=null&&Fl.distance?(e.openBlock(),e.createElementBlock("div",Dg,[e.createElementVNode("div",Mg,[t[109]||(t[109]=e.createElementVNode("div",{style:{width:"54%"}},"Total Time at Good Weather Performance Speed",-1)),t[110]||(t[110]=e.createElementVNode("div",{style:{width:"5%"}},"=",-1)),e.createElementVNode("div",mg,[e.createElementVNode("div",null,e.toDisplayString((Gl=(Pl=l.reportData)==null?void 0:Pl.weather)!=null&&Gl.noExtrapolation?(Wl=r.goodWx)==null?void 0:Wl.distance:(Ll=r.allWx)==null?void 0:Ll.distance),1),t[108]||(t[108]=e.createElementVNode("div",{class:"fractional-line"},null,-1)),e.createElementVNode("div",null,e.toDisplayString((Zl=r.goodWx)==null?void 0:Zl.pfmSpd),1)]),t[111]||(t[111]=e.createElementVNode("div",{style:{width:"5%"}},"=",-1)),e.createElementVNode("div",gg,e.toDisplayString(r.timeConclusion.timeAtPfmSpd)+" Hrs",1),t[112]||(t[112]=e.createElementVNode("div",{style:{width:"5%"}},"(a')",-1))]),e.createElementVNode("div",Eg,[t[114]||(t[114]=e.createElementVNode("div",{style:{width:"54%"}},"Total Time at ( Warranted Speed - Speed Under)",-1)),t[115]||(t[115]=e.createElementVNode("div",{style:{width:"5%"}},"=",-1)),e.createElementVNode("div",yg,[e.createElementVNode("div",null,e.toDisplayString((Jl=(Hl=l.reportData)==null?void 0:Hl.weather)!=null&&Jl.noExtrapolation?(E=r.goodWx)==null?void 0:E.distance:(he=r.allWx)==null?void 0:he.distance),1),t[113]||(t[113]=e.createElementVNode("div",{class:"fractional-line"},null,-1)),e.createElementVNode("div",null,e.toDisplayString(r.timeConclusion.minusAbtSpd),1)]),t[116]||(t[116]=e.createElementVNode("div",{style:{width:"5%"}},"=",-1)),e.createElementVNode("div",Ig,e.toDisplayString(r.timeConclusion.timeAtMinusAbtSpd)+" Hrs",1),t[117]||(t[117]=e.createElementVNode("div",{style:{width:"5%"}},"(b')",-1))]),e.createElementVNode("div",pg,[t[119]||(t[119]=e.createElementVNode("div",{style:{width:"54%"}},"Total Time at ( Warranted Speed + Speed Over)",-1)),t[120]||(t[120]=e.createElementVNode("div",{style:{width:"5%"}},"=",-1)),e.createElementVNode("div",Ag,[e.createElementVNode("div",null,e.toDisplayString((lt=(tt=l.reportData)==null?void 0:tt.weather)!=null&<.noExtrapolation?(xt=r.goodWx)==null?void 0:xt.distance:(Yt=r.allWx)==null?void 0:Yt.distance),1),t[118]||(t[118]=e.createElementVNode("div",{class:"fractional-line"},null,-1)),e.createElementVNode("div",null,e.toDisplayString(r.timeConclusion.plusAbtSpd),1)]),t[121]||(t[121]=e.createElementVNode("div",{style:{width:"5%"}},"=",-1)),e.createElementVNode("div",Vg,e.toDisplayString(r.timeConclusion.timeAtPlusAbtSpd)+" Hrs",1),t[122]||(t[122]=e.createElementVNode("div",{style:{width:"5%"}},"(c')",-1))])])):e.createCommentVNode("",!0)],2)]),e.createElementVNode("div",Tg,[e.createElementVNode("div",xg,[t[123]||(t[123]=e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("span",null,"FO Over/Under: ")],-1)),(Qt=r.goodWx)!=null&&Qt.distance?(e.openBlock(),e.createElementBlock("div",zg,[a.computedFuleConclusion(r.fuelConclusion.fo,"FO").className==="success"?(e.openBlock(),e.createElementBlock("i",Cg,"")):e.createCommentVNode("",!0),a.computedFuleConclusion(r.fuelConclusion.fo,"FO").className==="error"?(e.openBlock(),e.createElementBlock("i",Sg,"")):e.createCommentVNode("",!0),e.createElementVNode("span",null,e.toDisplayString(a.computedFuleConclusion(r.fuelConclusion.fo,"FO").cons),1)])):(e.openBlock(),e.createElementBlock("div",kg,[e.createElementVNode("span",fg,e.toDisplayString(i.noGoodWxDay),1)])),e.createElementVNode("div",jg,[e.createElementVNode("i",{class:e.normalizeClass(`iconfont ${a.computedFuleConclusion(r.fuelConclusion.fo,"FO").className}`)},"",2),e.createElementVNode("span",null,e.toDisplayString(a.computedFuleConclusion(r.fuelConclusion.fo,"FO").conclusion),1)])]),e.createElementVNode("div",{class:e.normalizeClass(`${(ht=r.goodWx)!=null&&ht.distance?"":"analysis-none"} card analysis-card`)},[(Bt=r.goodWx)!=null&&Bt.distance?(e.openBlock(),e.createElementBlock("div",Ug,[e.createElementVNode("div",bg,[t[126]||(t[126]=e.createElementVNode("div",{style:{width:"54%"}},"Entire Voyage Consumption using Good Weather Consumption",-1)),t[127]||(t[127]=e.createElementVNode("div",{style:{width:"5%"}},"=",-1)),e.createElementVNode("div",Og,[e.createElementVNode("div",null,e.toDisplayString((Ft=(Rt=l.reportData)==null?void 0:Rt.weather)!=null&&Ft.noExtrapolation?(Pt=r.goodWx)==null?void 0:Pt.distance:(Gt=r.allWx)==null?void 0:Gt.distance),1),t[124]||(t[124]=e.createElementVNode("div",{class:"fractional-line"},null,-1)),e.createElementVNode("div",null,e.toDisplayString((Wt=r.goodWx)==null?void 0:Wt.pfmSpd),1)]),t[128]||(t[128]=e.createElementVNode("div",{style:{width:"5%"}},"×",-1)),e.createElementVNode("div",wg,[e.createElementVNode("div",null,e.toDisplayString((Lt=r.goodWx)==null?void 0:Lt.sumFoCons)+" "+e.toDisplayString(((Zt=r.allWx)==null?void 0:Zt.inEca.distance)>0?` + ${r.fuelConclusion.fo.dgoAsFoCons}`:""),1),t[125]||(t[125]=e.createElementVNode("div",{class:"fractional-line"},null,-1)),e.createElementVNode("div",null,e.toDisplayString((Ht=r.goodWx)==null?void 0:Ht.time),1)]),t[129]||(t[129]=e.createElementVNode("div",{style:{width:"5%"}},"=",-1)),e.createElementVNode("div",Yg,e.toDisplayString(r.fuelConclusion.fo.entireCons)+" MT",1),t[130]||(t[130]=e.createElementVNode("div",{style:{width:"5%"}},"(d')",-1))]),e.createElementVNode("div",Qg,[t[134]||(t[134]=e.createElementVNode("div",{style:{width:"54%"}},"Maximum Warranted Consumption for Over-Consumption",-1)),t[135]||(t[135]=e.createElementVNode("div",{style:{width:"5%"}},"=",-1)),e.createElementVNode("div",hg,[e.createElementVNode("div",null,e.toDisplayString((_t=(Jt=l.reportData)==null?void 0:Jt.weather)!=null&&_t.noExtrapolation?(Xt=r.goodWx)==null?void 0:Xt.distance:(Kt=r.allWx)==null?void 0:Kt.distance),1),t[131]||(t[131]=e.createElementVNode("div",{class:"fractional-line"},null,-1)),e.createElementVNode("div",null,e.toDisplayString(r.timeConclusion.minusAbtSpd),1)]),t[136]||(t[136]=e.createElementVNode("div",{style:{width:"5%"}},"×",-1)),e.createElementVNode("div",Bg,[e.createElementVNode("div",null,e.toDisplayString(r.fuelConclusion.fo.overTolerance),1),t[132]||(t[132]=e.createElementVNode("div",{class:"fractional-line"},null,-1)),t[133]||(t[133]=e.createElementVNode("div",null,"24",-1))]),t[137]||(t[137]=e.createElementVNode("div",{style:{width:"5%"}},"=",-1)),e.createElementVNode("div",Rg,e.toDisplayString(r.fuelConclusion.fo.maxCons)+" MT",1),t[138]||(t[138]=e.createElementVNode("div",{style:{width:"5%"}},"(e')",-1))]),e.createElementVNode("div",Fg,[t[142]||(t[142]=e.createElementVNode("div",{style:{width:"54%"}},"Minimum Warranted Consumption for Fuel-Consumption",-1)),t[143]||(t[143]=e.createElementVNode("div",{style:{width:"5%"}},"=",-1)),e.createElementVNode("div",Pg,[e.createElementVNode("div",null,e.toDisplayString((qt=(ut=l.reportData)==null?void 0:ut.weather)!=null&&qt.noExtrapolation?($t=r.goodWx)==null?void 0:$t.distance:(vt=r.allWx)==null?void 0:vt.distance),1),t[139]||(t[139]=e.createElementVNode("div",{class:"fractional-line"},null,-1)),e.createElementVNode("div",null,e.toDisplayString(r.timeConclusion.minusAbtSpd),1)]),t[144]||(t[144]=e.createElementVNode("div",{style:{width:"5%"}},"×",-1)),e.createElementVNode("div",Gg,[e.createElementVNode("div",null,e.toDisplayString(r.fuelConclusion.fo.underTolerance),1),t[140]||(t[140]=e.createElementVNode("div",{class:"fractional-line"},null,-1)),t[141]||(t[141]=e.createElementVNode("div",null,"24",-1))]),t[145]||(t[145]=e.createElementVNode("div",{style:{width:"5%"}},"=",-1)),e.createElementVNode("div",Wg,e.toDisplayString(r.fuelConclusion.fo.minCons)+" MT",1),t[146]||(t[146]=e.createElementVNode("div",{style:{width:"5%"}},"(f')",-1))])])):e.createCommentVNode("",!0)],2)]),((tl=(el=r==null?void 0:r.extend)==null?void 0:el.cp)==null?void 0:tl.dgo)>0?(e.openBlock(),e.createElementBlock("div",Lg,[e.createElementVNode("div",Zg,[t[147]||(t[147]=e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("span",null,"DO/GO Over/Under: ")],-1)),(ll=r.goodWx)!=null&&ll.distance?(e.openBlock(),e.createElementBlock("div",Hg,[a.computedFuleConclusion(r.fuelConclusion.dgo,"DGO").className==="success"?(e.openBlock(),e.createElementBlock("i",Jg,"")):e.createCommentVNode("",!0),a.computedFuleConclusion(r.fuelConclusion.dgo,"DGO").className==="error"?(e.openBlock(),e.createElementBlock("i",_g,"")):e.createCommentVNode("",!0),e.createElementVNode("span",null,e.toDisplayString(a.computedFuleConclusion(r.fuelConclusion.dgo,"DGO").cons),1)])):(e.openBlock(),e.createElementBlock("div",Xg,[e.createElementVNode("span",Kg,e.toDisplayString(i.noGoodWxDay),1)])),e.createElementVNode("div",ug,[e.createElementVNode("i",{class:e.normalizeClass(`iconfont ${a.computedFuleConclusion(r.fuelConclusion.dgo,"DGO").className}`)},"",2),e.createElementVNode("span",null,e.toDisplayString(a.computedFuleConclusion(r.fuelConclusion.dgo,"DGO").conclusion),1)])]),e.createElementVNode("div",{class:e.normalizeClass(`${(ol=r.goodWx)!=null&&ol.distance?"":"analysis-none"} card analysis-card`)},[(nl=r.goodWx)!=null&&nl.distance?(e.openBlock(),e.createElementBlock("div",qg,[e.createElementVNode("div",$g,[t[150]||(t[150]=e.createElementVNode("div",{style:{width:"54%"}},"Entire Voyage Consumption using Good Weather Consumption",-1)),t[151]||(t[151]=e.createElementVNode("div",{style:{width:"5%"}},"=",-1)),e.createElementVNode("div",vg,[e.createElementVNode("div",null,e.toDisplayString((il=(al=l.reportData)==null?void 0:al.weather)!=null&&il.noExtrapolation?(sl=r.goodWx)==null?void 0:sl.distance:(dl=r.allWx)==null?void 0:dl.distance),1),t[148]||(t[148]=e.createElementVNode("div",{class:"fractional-line"},null,-1)),e.createElementVNode("div",null,e.toDisplayString((rl=r.goodWx)==null?void 0:rl.pfmSpd),1)]),t[152]||(t[152]=e.createElementVNode("div",{style:{width:"5%"}},"×",-1)),e.createElementVNode("div",eE,[e.createElementVNode("div",null,e.toDisplayString((cl=r.goodWx)==null?void 0:cl.sumDgoCons)+" "+e.toDisplayString(((Nl=r.allWx)==null?void 0:Nl.inEca.distance)>0?` - ${r.fuelConclusion.fo.dgoAsFoCons}`:""),1),t[149]||(t[149]=e.createElementVNode("div",{class:"fractional-line"},null,-1)),e.createElementVNode("div",null,e.toDisplayString((Dl=r.goodWx)==null?void 0:Dl.time),1)]),t[153]||(t[153]=e.createElementVNode("div",{style:{width:"5%"}},"=",-1)),e.createElementVNode("div",tE,e.toDisplayString(r.fuelConclusion.dgo.entireCons)+" MT",1),t[154]||(t[154]=e.createElementVNode("div",{style:{width:"5%"}},"(d')",-1))]),e.createElementVNode("div",lE,[t[158]||(t[158]=e.createElementVNode("div",{style:{width:"54%"}},"Maximum Warranted Consumption for Over-Consumption",-1)),t[159]||(t[159]=e.createElementVNode("div",{style:{width:"5%"}},"=",-1)),e.createElementVNode("div",oE,[e.createElementVNode("div",null,e.toDisplayString((ml=(Ml=l.reportData)==null?void 0:Ml.weather)!=null&&ml.noExtrapolation?(gl=r.goodWx)==null?void 0:gl.distance:(El=r.allWx)==null?void 0:El.distance),1),t[155]||(t[155]=e.createElementVNode("div",{class:"fractional-line"},null,-1)),e.createElementVNode("div",null,e.toDisplayString(r.timeConclusion.minusAbtSpd),1)]),t[160]||(t[160]=e.createElementVNode("div",{style:{width:"5%"}},"×",-1)),e.createElementVNode("div",nE,[e.createElementVNode("div",null,e.toDisplayString(r.fuelConclusion.dgo.overTolerance),1),t[156]||(t[156]=e.createElementVNode("div",{class:"fractional-line"},null,-1)),t[157]||(t[157]=e.createElementVNode("div",null,"24",-1))]),t[161]||(t[161]=e.createElementVNode("div",{style:{width:"5%"}},"=",-1)),e.createElementVNode("div",aE,e.toDisplayString(r.fuelConclusion.dgo.maxCons)+" MT",1),t[162]||(t[162]=e.createElementVNode("div",{style:{width:"5%"}},"(e')",-1))]),e.createElementVNode("div",iE,[t[166]||(t[166]=e.createElementVNode("div",{style:{width:"54%"}},"Minimum Warranted Consumption for Fuel-Consumption",-1)),t[167]||(t[167]=e.createElementVNode("div",{style:{width:"5%"}},"=",-1)),e.createElementVNode("div",sE,[e.createElementVNode("div",null,e.toDisplayString((Il=(yl=l.reportData)==null?void 0:yl.weather)!=null&&Il.noExtrapolation?(pl=r.goodWx)==null?void 0:pl.distance:(Al=r.allWx)==null?void 0:Al.distance),1),t[163]||(t[163]=e.createElementVNode("div",{class:"fractional-line"},null,-1)),e.createElementVNode("div",null,e.toDisplayString(r.timeConclusion.minusAbtSpd),1)]),t[168]||(t[168]=e.createElementVNode("div",{style:{width:"5%"}},"×",-1)),e.createElementVNode("div",dE,[e.createElementVNode("div",null,e.toDisplayString(r.fuelConclusion.dgo.underTolerance),1),t[164]||(t[164]=e.createElementVNode("div",{class:"fractional-line"},null,-1)),t[165]||(t[165]=e.createElementVNode("div",null,"24",-1))]),t[169]||(t[169]=e.createElementVNode("div",{style:{width:"5%"}},"=",-1)),e.createElementVNode("div",rE,e.toDisplayString(r.fuelConclusion.dgo.minCons)+" MT",1),t[170]||(t[170]=e.createElementVNode("div",{style:{width:"5%"}},"(f')",-1))])])):e.createCommentVNode("",!0)],2)])):e.createCommentVNode("",!0)]),t[213]||(t[213]=e.createElementVNode("div",{class:"dashed",style:{"margin-top":"20px"}},null,-1)),e.createElementVNode("div",cE,[e.createElementVNode("div",NE,[t[187]||(t[187]=e.createElementVNode("div",{class:"subtitle"},[e.createElementVNode("div",{class:"content"},[e.createElementVNode("i",{class:"iconfont"},""),e.createTextVNode(" Time Lost/Saved Calculation Method ")])],-1)),e.createElementVNode("div",DE,[e.createElementVNode("div",ME,[t[173]||(t[173]=e.createElementVNode("div",{style:{width:"35%","text-align":"left"}},"Total Time at Good Weather Performance Speed",-1)),t[174]||(t[174]=e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"=",-1)),e.createElementVNode("div",mE,[e.createElementVNode("div",null,e.toDisplayString((Tl=(Vl=l.reportData)==null?void 0:Vl.weather)!=null&&Tl.noExtrapolation?"Total Distance At Good Weather":"Total Distance"),1),t[171]||(t[171]=e.createElementVNode("div",{class:"fractional-line"},null,-1)),t[172]||(t[172]=e.createElementVNode("div",null,"Good Weather Performance Speed",-1))]),t[175]||(t[175]=e.createElementVNode("div",{style:{width:"10%","text-align":"center"}},"(a)",-1))]),e.createElementVNode("div",gE,[t[178]||(t[178]=e.createElementVNode("div",{style:{width:"35%","text-align":"left"}},"Total Time at ( Warranted Speed - Speed Under )",-1)),t[179]||(t[179]=e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"=",-1)),e.createElementVNode("div",EE,[e.createElementVNode("div",null,e.toDisplayString((zl=(xl=l.reportData)==null?void 0:xl.weather)!=null&&zl.noExtrapolation?"Good Weather Distance":"Total Distance"),1),t[176]||(t[176]=e.createElementVNode("div",{class:"fractional-line"},null,-1)),t[177]||(t[177]=e.createElementVNode("div",null,"Warranted Speed - Speed Under",-1))]),t[180]||(t[180]=e.createElementVNode("div",{style:{width:"10%","text-align":"center"}},"(b)",-1))]),e.createElementVNode("div",yE,[t[183]||(t[183]=e.createElementVNode("div",{style:{width:"35%","text-align":"left"}},"Total Time at ( Warranted Speed + Speed Over )",-1)),t[184]||(t[184]=e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"=",-1)),e.createElementVNode("div",IE,[e.createElementVNode("div",null,e.toDisplayString((Sl=(Cl=l.reportData)==null?void 0:Cl.weather)!=null&&Sl.noExtrapolation?"Good Weather Distance":"Total Distance"),1),t[181]||(t[181]=e.createElementVNode("div",{class:"fractional-line"},null,-1)),t[182]||(t[182]=e.createElementVNode("div",null,"Warranted Speed + Speed Over",-1))]),t[185]||(t[185]=e.createElementVNode("div",{style:{width:"10%","text-align":"center"}},"(c)",-1))]),t[186]||(t[186]=e.createElementVNode("div",{class:"equation flex-end",style:{"margin-right":"4%"}},[e.createElementVNode("span",null,"Time Lost = (a) - (b)"),e.createElementVNode("span",{style:{"margin-left":"20px"}},"Time Gained = (c) - (a)")],-1))])]),e.createElementVNode("div",pE,[t[211]||(t[211]=e.createElementVNode("div",{class:"subtitle"},[e.createElementVNode("div",{class:"content"},[e.createElementVNode("i",{class:"iconfont"},""),e.createTextVNode(" Fuel Over/Under Consumption Calculation Method ")])],-1)),e.createElementVNode("div",AE,[e.createElementVNode("div",VE,[t[190]||(t[190]=e.createElementVNode("div",{style:{width:"28%","text-align":"left"}},"Entire Voyage Consumption using vessel Good Weather Consumption",-1)),t[191]||(t[191]=e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"=",-1)),e.createElementVNode("div",TE,[e.createElementVNode("div",null,e.toDisplayString((fl=(kl=l.reportData)==null?void 0:kl.weather)!=null&&fl.noExtrapolation?"Good Weather Distance":"Total Distance"),1),t[188]||(t[188]=e.createElementVNode("div",{class:"fractional-line"},null,-1)),t[189]||(t[189]=e.createElementVNode("div",null,"Good Weather Performance Speed",-1))]),t[192]||(t[192]=e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"×",-1)),t[193]||(t[193]=e.createElementVNode("div",{style:{width:"30%"},class:"fraction"},[e.createElementVNode("div",null,"Good Weather Consumption"),e.createElementVNode("div",{class:"fractional-line"}),e.createElementVNode("div",null,"Good Weather Time")],-1)),t[194]||(t[194]=e.createElementVNode("div",{style:{width:"7%","text-align":"center"}},"(d)",-1))]),e.createElementVNode("div",xE,[t[197]||(t[197]=e.createElementVNode("div",{style:{width:"28%","text-align":"left"}},"Maximum Warranted Consumption for over-consumption",-1)),t[198]||(t[198]=e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"=",-1)),e.createElementVNode("div",zE,[e.createElementVNode("div",null,e.toDisplayString((_l=(jl=l.reportData)==null?void 0:jl.weather)!=null&&_l.noExtrapolation?"Good Weather Distance":"Total Distance"),1),t[195]||(t[195]=e.createElementVNode("div",{class:"fractional-line"},null,-1)),t[196]||(t[196]=e.createElementVNode("div",null,"Warranted Speed - Speed Under",-1))]),t[199]||(t[199]=e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"×",-1)),t[200]||(t[200]=e.createElementVNode("div",{style:{width:"30%"},class:"fraction"},[e.createElementVNode("div",null,"Warranted Consumption + Tolerance"),e.createElementVNode("div",{class:"fractional-line"}),e.createElementVNode("div",null,"24 hours")],-1)),t[201]||(t[201]=e.createElementVNode("div",{style:{width:"7%","text-align":"center"}},"(e)",-1))]),e.createElementVNode("div",CE,[t[204]||(t[204]=e.createElementVNode("div",{style:{width:"28%","text-align":"left"}},"Minimum Warranted Consumption for fuel saving",-1)),t[205]||(t[205]=e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"=",-1)),e.createElementVNode("div",SE,[e.createElementVNode("div",null,e.toDisplayString((Kl=(Xl=l.reportData)==null?void 0:Xl.weather)!=null&&Kl.noExtrapolation?"Good Weather Distance":"Total Distance"),1),t[202]||(t[202]=e.createElementVNode("div",{class:"fractional-line"},null,-1)),t[203]||(t[203]=e.createElementVNode("div",null,"Warranted Speed - Speed Under",-1))]),t[206]||(t[206]=e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"×",-1)),t[207]||(t[207]=e.createElementVNode("div",{style:{width:"30%"},class:"fraction"},[e.createElementVNode("div",null,"Warranted Consumption - Tolerance"),e.createElementVNode("div",{class:"fractional-line"}),e.createElementVNode("div",null,"24 hours")],-1)),t[208]||(t[208]=e.createElementVNode("div",{style:{width:"7%","text-align":"center"}},"(f)",-1))]),t[209]||(t[209]=e.createElementVNode("div",{class:"equation",style:{margin:"10px 0"}},[e.createElementVNode("span",null,"Fuel Over-consumption = (d) - (e) "),e.createElementVNode("span",{style:{"margin-left":"20px"}},"Fuel Saving = (f) - (d)")],-1)),t[210]||(t[210]=e.createElementVNode("div",{class:"equation"},[e.createTextVNode(" Fuel Over-consumption: Entire Voyage Consumption using Good Weather Consumption > Max CP Consumption "),e.createElementVNode("br"),e.createTextVNode(" Fuel Saving: Entire Voyage Consumption using Good Weather Consumption < Min CP Consumption "),e.createElementVNode("br"),e.createTextVNode(" No Fuel Over-consumption or Saving: Min CP Consumption ≤ Entire Voyage Consumption using Good Weather Consumption ≤ Max CP Consumption "),e.createElementVNode("br")],-1))])])])])])}),128))])],2)}const fE=Fe(NM,[["render",kE],["__scopeId","data-v-b0ef3073"]]),Lw="",jE={components:{},props:{reportData:{type:Object,default:()=>({})},isAdmin:{type:Boolean,default:()=>!1}},data(){return{date:"",showCF:!1,showAisDistance:!0,summaryTable:[],typeList:[]}},computed:{computeColspan(){let o=11;return this.showCF||(o=o-2),this.showAisDistance||(o=o-2),o},computedClass(){return function(o,t,l,d){var D;let i="";const a=((D=this.summaryTable)==null?void 0:D.length)-1;return l&&t!==a&&(i=o.abbreviation==="A"||o.abbreviation==="B"?"td-no-bottom":""),(o==null?void 0:o.goodWx)===!0&&!d&&(i=i+" good-weather"),(o==null?void 0:o.excluded)===!0&&!d&&(i=i+" excluded"),i}},computedSegClass(){return function(o,t){var d,i;const l=((d=this.summaryTable)==null?void 0:d.length)-1;if(l>-1){if(o.isFirstSeg&&t!==l)return"td-no-bottom td-top";if((i=this.summaryTable[t+1])!=null&&i.isFirstSeg)return"td-bottom";if(t!==l)return"td-no-bottom"}return"td-bottom"}},computedPort(){return function(o){var t;return!((o.abbreviation==="E"||o.abbreviation==="B")&&o.noon&&(t=o.noon)!=null&&t.port)}},computedTime(){return function(o,t){return t==="subtitle"?P(o).utc().format("MMMM-DD, YYYY/HHmm [Z]"):t==="table"?P(o).utc().format("MMMM-DD/HHmm[Z]"):P(o).utc().format("dddd, MMMM D, YYYY")}}},watch:{reportData:{handler(o,t){o!=null&&o.id&&this.$nextTick(()=>{this.checkData()})},immediate:!0}},mounted(){},methods:{getLonLat(o){return`${o.degree}°${re.LngLatHelper.roundPrecision(o.minute,1)}′${o.direction}`},checkData(){var d,i,a,D;this.showCF=(i=(d=this.reportData)==null?void 0:d.weather)==null?void 0:i.showCF,this.showAisDistance=!0;let o=[];(D=(a=this.reportData)==null?void 0:a.segments)==null||D.forEach((s,c)=>{let y=s.extend.cp;s.inventory.sample.hours.forEach((p,N)=>{let M=JSON.parse(JSON.stringify(p));M.cp=y,o.push(M)})}),o.sort(function(s,c){let y=s.date,p=c.date;return y-p});let t="",l="";o.forEach((s,c)=>{s.seg!==t&&(s.isFirstSeg=!0,t=s.seg);let y=s.type.charAt(0);s.abbreviation=y;const p=P(s.utc).utc().format("D-MMM");p!==l&&(s.lastdate=p,l=p),y==="A"?s.type="":y==="M"&&(s.type="*"),s.time=P(s.utc).utc().format("HH:mm[Z]"),s.lngPretty=this.getLonLat(re.LngLatHelper.lng2pretty(s.lng)),s.latPretty=this.getLonLat(re.LngLatHelper.lat2pretty(s.lat))}),this.summaryTable=o}}},UE={id:"second-table",class:"table"},bE={class:"summary-table"},OE={class:"summary-tbody"},wE={class:"voyage-map",style:{"page-break-inside":"avoid"}},YE=["src"];function QE(o,t,l,d,i,a){var D,s,c,y,p;return e.openBlock(),e.createElementBlock("div",{style:{"page-break-before":"always"},class:e.normalizeClass((s=(D=l.reportData)==null?void 0:D.weather)!=null&&s.referenceOnly||(y=(c=l.reportData)==null?void 0:c.weather)!=null&&y.overallAsGoodWx?"watermark fli-main":"fli-main")},[t[3]||(t[3]=e.createElementVNode("div",{class:"fli-logo-title"},[e.createElementVNode("img",{src:"https://img.idmwx.com/asset/fli_logo.png",class:"bgImg"}),e.createElementVNode("div",{class:"logo-title"},"Voyage Analysis Report")],-1)),e.createElementVNode("div",UE,[e.createElementVNode("div",null,[e.createElementVNode("table",bE,[t[0]||(t[0]=e.createElementVNode("thead",null,[e.createElementVNode("tr",null,[e.createElementVNode("th",{rowspan:"2"},"Seg"),e.createElementVNode("th",{rowspan:"2"},"Type"),e.createElementVNode("th",{rowspan:"2"}," Date "),e.createElementVNode("th",{rowspan:"2"},[e.createTextVNode("Time"),e.createElementVNode("br"),e.createTextVNode("(UTC)")]),e.createElementVNode("th",{colspan:"2"},"Coordinates"),e.createElementVNode("th",{rowspan:"2"},[e.createTextVNode("CP Speed "),e.createElementVNode("br"),e.createTextVNode("(kts)")]),e.createElementVNode("th",{rowspan:"2"},[e.createTextVNode("Analyzed Speed "),e.createElementVNode("br"),e.createTextVNode("(kts)")]),e.createElementVNode("th",{rowspan:"2"},[e.createTextVNode("Analyzed Distance"),e.createElementVNode("br"),e.createTextVNode("(nm)")]),e.createElementVNode("th",{rowspan:"2"},"Beaufort Wind Scale"),e.createElementVNode("th",{colspan:"2"},"Swell"),e.createElementVNode("th",{rowspan:"2"},[e.createTextVNode("Sig. Wave"),e.createElementVNode("br"),e.createTextVNode("(m)")]),e.createElementVNode("th",{rowspan:"2"},[e.createTextVNode("Current Factor"),e.createElementVNode("br"),e.createTextVNode("(kts)")]),e.createElementVNode("th",{rowspan:"2"},[e.createTextVNode("Reported Speed"),e.createElementVNode("br"),e.createTextVNode("(kts)")]),e.createElementVNode("th",{rowspan:"2"},[e.createTextVNode("Reported Distance"),e.createElementVNode("br"),e.createTextVNode("(nm)")]),e.createElementVNode("th",{colspan:"2"},"CP Consumption (mt)"),e.createElementVNode("th",{colspan:"2"},"Reported Daily Fuel Consumption (mt)"),e.createElementVNode("th",{colspan:"2"},"Reported BROB (mt)")]),e.createElementVNode("tr",null,[e.createElementVNode("th",null,"Lat"),e.createElementVNode("th",null,"Lon"),e.createElementVNode("th",null,"Direction"),e.createElementVNode("th",null,"Height (m)"),e.createElementVNode("th",null,"FO"),e.createElementVNode("th",null,"DO/GO"),e.createElementVNode("th",null,"FO"),e.createElementVNode("th",null,"DO/GO"),e.createElementVNode("th",null,"FO"),e.createElementVNode("th",null,"DO/GO")])],-1)),e.createElementVNode("tbody",OE,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(i.summaryTable,(N,M)=>{var C,A,V,T,I,S,x,k,m,U,O,w,Y,Q,h,R,G,W,L,Z,J,b;return e.openBlock(),e.createElementBlock("tr",{key:M},[e.createElementVNode("td",{class:e.normalizeClass(a.computedSegClass(N,M))},e.toDisplayString(N.isFirstSeg?N.seg:""),3),e.createElementVNode("td",{class:e.normalizeClass(a.computedClass(N,M))},e.toDisplayString(N.type),3),e.createElementVNode("td",{class:e.normalizeClass(a.computedClass(N,M))},e.toDisplayString(N.lastdate),3),e.createElementVNode("td",{class:e.normalizeClass(a.computedClass(N,M))},e.toDisplayString(N.time),3),a.computedPort(N)?(e.openBlock(),e.createElementBlock("td",{key:0,class:e.normalizeClass(a.computedClass(N,M))},e.toDisplayString(N.latPretty),3)):e.createCommentVNode("",!0),a.computedPort(N)?(e.openBlock(),e.createElementBlock("td",{key:1,class:e.normalizeClass(a.computedClass(N,M))},e.toDisplayString(N.lngPretty),3)):(e.openBlock(),e.createElementBlock("td",{key:2,colspan:"2",class:e.normalizeClass(a.computedClass(N,M))},e.toDisplayString((C=N.noon)==null?void 0:C.port),3)),e.createElementVNode("td",{class:e.normalizeClass(a.computedClass(N,M,!0,!0))},e.toDisplayString(N.abbreviation==="A"||N.abbreviation==="B"?"":(A=N.cp)==null?void 0:A.speed),3),e.createElementVNode("td",{class:e.normalizeClass(a.computedClass(N,M,!0))},e.toDisplayString(N.avgSpdCalc),3),e.createElementVNode("td",{class:e.normalizeClass(a.computedClass(N,M,!0))},e.toDisplayString(N.distanceCalc),3),e.createElementVNode("td",{class:e.normalizeClass(a.computedClass(N,M))},e.toDisplayString(((T=(V=N.meteo)==null?void 0:V.wind)==null?void 0:T.scale)??"--"),3),e.createElementVNode("td",{class:e.normalizeClass(a.computedClass(N,M))},e.toDisplayString(((x=(S=(I=N.meteo)==null?void 0:I.wave)==null?void 0:S.swell)==null?void 0:x.direction)??"--"),3),e.createElementVNode("td",{class:e.normalizeClass(a.computedClass(N,M))},e.toDisplayString(((U=(m=(k=N.meteo)==null?void 0:k.wave)==null?void 0:m.swell)==null?void 0:U.height)??"--"),3),e.createElementVNode("td",{class:e.normalizeClass(a.computedClass(N,M))},e.toDisplayString(((Y=(w=(O=N.meteo)==null?void 0:O.wave)==null?void 0:w.sig)==null?void 0:Y.height)??"--"),3),i.showCF?(e.openBlock(),e.createElementBlock("td",{key:3,class:e.normalizeClass(a.computedClass(N,M))},e.toDisplayString(((Q=N.meteo)==null?void 0:Q.cFactor)??"0"),3)):(e.openBlock(),e.createElementBlock("td",{key:4,class:e.normalizeClass(a.computedClass(N,M))},e.toDisplayString(N.abbreviation==="A"?"":N.dailyAvgCf||"0"),3)),e.createElementVNode("td",{class:e.normalizeClass(a.computedClass(N,M))},e.toDisplayString(N.abbreviation==="A"?"":((h=N.noon)==null?void 0:h.avgSpd)||"0.00"),3),e.createElementVNode("td",{class:e.normalizeClass(a.computedClass(N,M))},e.toDisplayString(N.abbreviation==="A"?"":((R=N.noon)==null?void 0:R.distanceSlr)||"0.0"),3),e.createElementVNode("td",{class:e.normalizeClass(a.computedClass(N,M,!0,!0))},e.toDisplayString(N.abbreviation==="A"||N.abbreviation==="B"?"":(G=N.cp)==null?void 0:G.fo),3),e.createElementVNode("td",{class:e.normalizeClass(a.computedClass(N,M,!0,!0))},e.toDisplayString(N.abbreviation==="A"||N.abbreviation==="B"?"":(W=N.cp)==null?void 0:W.dgo),3),e.createElementVNode("td",{class:e.normalizeClass(a.computedClass(N,M))},e.toDisplayString(N.abbreviation==="A"?"":((L=N.noon)==null?void 0:L.foCons)||"0.00"),3),e.createElementVNode("td",{class:e.normalizeClass(a.computedClass(N,M))},e.toDisplayString(N.abbreviation==="A"?"":((Z=N.noon)==null?void 0:Z.dgoCons)||"0.00"),3),e.createElementVNode("td",{class:e.normalizeClass(a.computedClass(N,M))},e.toDisplayString(N.abbreviation==="A"?"":(J=N.noon)==null?void 0:J.foBrob),3),e.createElementVNode("td",{class:e.normalizeClass(a.computedClass(N,M))},e.toDisplayString(N.abbreviation==="A"?"":(b=N.noon)==null?void 0:b.dgoBrob),3)])}),128))])])])]),t[4]||(t[4]=e.createStaticVNode('<div style="page-break-inside:avoid;" class="table-legend dashed" data-v-ec7ec0f5><div class="item" data-v-ec7ec0f5><div class="legend" data-v-ec7ec0f5><div class="legend-bg gwd" data-v-ec7ec0f5></div></div> Good Weather Days </div><div class="item" data-v-ec7ec0f5><div class="legend" data-v-ec7ec0f5><div class="legend-bg adverse" data-v-ec7ec0f5></div></div> Adverse Weather Days </div><div class="item" data-v-ec7ec0f5><div class="legend" data-v-ec7ec0f5><div class="legend-bg excluded" data-v-ec7ec0f5></div></div> Excluded Periods </div></div>',1)),e.createElementVNode("div",wE,[t[1]||(t[1]=e.createElementVNode("div",{class:"title"},[e.createElementVNode("i",{class:"iconfont"},""),e.createElementVNode("div",{class:"content"},"Voyage Map")],-1)),e.createElementVNode("img",{style:{width:"100%"},src:(p=l.reportData)==null?void 0:p.chartUrl,alt:""},null,8,YE),t[2]||(t[2]=e.createStaticVNode('<div class="legend-block" data-v-ec7ec0f5><div style="position:relative;left:-20px;" data-v-ec7ec0f5><div style="position:relative;display:inline-block;top:-12px;left:15px;transform:scale(0.95);" data-v-ec7ec0f5><div data-v-ec7ec0f5>7</div><br data-v-ec7ec0f5><div data-v-ec7ec0f5>W 4</div></div><i class="iconfont" style="font-size:30px;font-weight:600;position:relative;top:-20px;margin:8px 0 0 4px;color:var(--idm-black-6);" data-v-ec7ec0f5></i><div style="display:inline-block;transform:scale(0.95);text-align:left;margin-left:5px;" data-v-ec7ec0f5> LEGEND: <br data-v-ec7ec0f5> Wind from NE(045) <br data-v-ec7ec0f5> Each barb = 10 kts <br data-v-ec7ec0f5> 1/2 barb = 5 kts <br data-v-ec7ec0f5></div></div><div style="transform:scale(0.95);" data-v-ec7ec0f5> 7 - DAY OF THE MONTH <br data-v-ec7ec0f5> W 4 - PRIMARY WAVE FROM WEST, 4 METERS<br data-v-ec7ec0f5><div class="goodWx" data-v-ec7ec0f5>Date</div> Good weather days<br data-v-ec7ec0f5></div></div>',1))])],2)}const hE=Fe(jE,[["render",QE],["__scopeId","data-v-ec7ec0f5"]]),Zw="",BE={components:{Summary:fE,Inventory:hE},props:{initialData:{type:Object,default:()=>({})},isAdmin:{type:Boolean,default:()=>!1},editorDisabled:{type:Boolean,default:()=>!1}},data(){return{reportData:{}}},watch:{initialData:{handler(o,t){o!=null&&o.id&&this.$nextTick(()=>{this.reportData=o})},immediate:!0}},methods:{commit(o){this.$emit("commit",o)}}},RE={class:"voyage-report"};function FE(o,t,l,d,i,a){const D=e.resolveComponent("Summary"),s=e.resolveComponent("Inventory");return e.openBlock(),e.createElementBlock("div",RE,[e.createVNode(D,{"report-data":i.reportData,class:"main","editor-disabled":l.editorDisabled,onCommit:a.commit},null,8,["report-data","editor-disabled","onCommit"]),e.createVNode(s,{"is-admin":l.isAdmin,"report-data":i.reportData,class:"main"},null,8,["is-admin","report-data"])])}const gs=Fe(BE,[["render",FE],["__scopeId","data-v-77dca605"]]),Hw="",PE={name:"OrmVoyageSummary",components:{Lng:On,Lat:wn,Editor:ao},props:{report:{type:Object,default:()=>({})}},emits:["commit"],data(){return{exclusion:[],noGoodWxDay:"Not available due to no good weather days.",editable:!1,remarks:"",noons:[]}},computed:{computePrevTime(){return function(o){return P(o.utc).subtract(o.timeCalc,"hour").format()}},computeDuration(){return function(o,t){const l=P(o).diff(P(t),"hours",!0);return Math.round(l*100)/100}},computeUTCTime(){return function(o,t="MMM-DD/HHmm[Z]"){return`${P(o).utc().format(t)}`}},computeWeatherDef(){return function(o){let t="";o!=null&&o.waveSwitch?t+=`Wind wave height is ${o==null?void 0:o.waveHeight} meters or less (Douglas Sea State ${o==null?void 0:o.seaScale})`:o!=null&&o.swellSwitch?t+=`Swell height is ${o==null?void 0:o.swellHeight} meters or less (Douglas Sea State ${o==null?void 0:o.seaScale})`:o!=null&&o.sigSwitch&&(t+=`Significant wave height is ${o==null?void 0:o.sigHeight} meters or less (Douglas Sea State ${o==null?void 0:o.seaScale})`);let l=`Winds are BF/${o==null?void 0:o.windScale} or less, ${t}`;return o!=null&&o.noAdverseCur&&(l+=", No Adverse Current"),o!=null&&o.waterTempSwitch&&(l+=`, water temperature is ${o==null?void 0:o.waterTemp} °C or less`),o!=null&&o.noExtrapolation&&(l+=", No Extrapolation"),o!=null&&o.overallAsGoodWx&&(l="No specific thresholds for wind/wave/currents are defined in the Charter Party.",o.disableWxFactor&&o.disableCFactor?l+=" Both Wx Factor and Current Factor are ignored.":o.disableWxFactor?l+=" Wx Factor is ignored.":o.disableCFactor&&(l+=" Current Factor is ignored."),l+=" Therefore the Good Weather Definition in this reports does not apply any thresholds."),l}},computeLng(){return function(o){return re.LngLatHelper.lng2pretty(o)}},computeLat(){return function(o){return re.LngLatHelper.lat2pretty(o)}},computeAbtSpeed(){return function(o,t,l){return l==="Over"?o.abt4SpdOver:o.abt4SpdUnder}},computeAbtCons(){return function(o,t,l){if(o.consPercentage){if(t==="fo")return l==="Over"?`${o.consOfOver}%`:`${o.consOfUnder}%`;if(t==="dgo")return l==="Over"?`${o.consDgoOfOver??o.consOfOver}%`:`${o.consDgoOfUnder??o.consOfUnder}%`}else{if(t==="fo")return l==="Over"?`${o.consOfOver}`:`${o.consOfUnder}`;if(t==="dgo")return l==="Over"?`${o.consDgoOfOver??o.consOfOver}`:`${o.consDgoOfUnder??o.consOfUnder}`}}},computeBlankHtml(){return function(o){return!(o!=null&&o.replace(/<[^>]+>/g,""))}}},watch:{report:{handler(o,t){o!=null&&o.id&&this.$nextTick(()=>{this.prepare()})},immediate:!0}},methods:{prepare(){var o,t;this.remarks=this.report.remarks||"Please double click to modify remark",this.exclusion=[],this.noons=[],(t=(o=this.report)==null?void 0:o.segments)==null||t.forEach((l,d)=>{var D,s;l.excluded.detail.forEach(c=>{const y={time:P(c.begin).utc().format("MMM-DD/HHmm[Z]")+" - "+P(c.end).utc().format("MMM-DD/HHmm[Z]"),duration:c.duration,distance:c.distance,fo:c.foCons,dgo:c.dgoCons};this.exclusion.push(y)});const a=(s=(D=l==null?void 0:l.inventory)==null?void 0:D.sample)==null?void 0:s.hours.filter(c=>c.noon);this.noons.push([a])})},handleCommit(o){this.editable=!1,this.$emit("commit",o)},handleEdit(){this.editable=!0}}},GE={class:"report-summary"},WE={class:"section voyage-section flex-space"},LE={class:"flex-end",style:{width:"50%","flex-wrap":"wrap"}},ZE={class:"flex-space label-block",style:{width:"100%"}},HE={style:{"text-transform":"uppercase"}},JE={class:"flex-space label-block",style:{width:"100%"}},_E={class:"flex-end",style:{flex:"1","text-transform":"uppercase"}},XE={class:"flex-space label-block",style:{width:"100%"}},KE={class:"flex-end",style:{flex:"1","text-transform":"uppercase"}},uE={class:"flex-end",style:{width:"50%","flex-wrap":"wrap"}},qE={class:"flex-space label-block",style:{width:"100%"}},$E={key:0,class:"flex-end",style:{flex:"1"}},vE={key:1,class:"flex-end",style:{flex:"1"}},ey={class:"flex-end",style:{width:"150px"}},ty={class:"flex-space label-block",style:{width:"100%"}},ly={key:0,class:"flex-end",style:{flex:"1"}},oy={key:1,class:"flex-end",style:{flex:"1"}},ny={class:"flex-end",style:{width:"150px"}},ay={class:"flex-space label-block",style:{width:"100%"}},iy={class:"flex-end",style:{flex:"1","text-transform":"uppercase"}},sy={class:"section weather-section"},dy={class:"definition"},ry={class:"txt"},cy={class:"section summary-section"},Ny={class:"phase-box"},Dy={class:"phase-index"},My={class:"phase-position"},my={key:0},gy={key:1},Ey={class:"phase-position"},yy={key:0},Iy={key:1},py={class:"phase-cp flex-space"},Ay={class:"cp-box"},Vy={class:"flex-space"},Ty={class:"phase-conclusion flex-space"},xy={class:"item-conclusion"},zy={class:"value flex-start"},Cy={key:0,class:"label flex-end"},Sy={key:0},ky={key:1},fy={key:2},jy={key:1,class:"label flex-end"},Uy={key:2,class:"value flex-end"},by={key:0},Oy={class:"gain"},wy={key:1},Yy={class:"lost"},Qy={key:2},hy={class:"item-conclusion"},By={class:"value flex-start"},Ry={key:0,class:"label flex-end"},Fy={key:0},Py={key:1},Gy={key:2},Wy={key:1,class:"label flex-end"},Ly={key:2,class:"value flex-end"},Zy={key:0},Hy={class:"gain"},Jy={key:1},_y={class:"lost"},Xy={key:2},Ky={class:"item-conclusion"},uy={class:"value flex-start"},qy={key:0,class:"label flex-end"},$y={key:0},vy={key:1},eI={key:2},tI={key:1,class:"label flex-end"},lI={key:2,class:"value flex-end"},oI={key:0},nI={class:"gain"},aI={key:1},iI={class:"lost"},sI={key:2},dI={key:0,class:"exclusion-block"},rI={style:{margin:"8px 0"}},cI={class:"remark-table"},NI=["innerHTML"],DI={class:"section segment-section"},MI={class:"segment-index flex-center"},mI={class:"segment-position"},gI={key:0},EI={key:1},yI={class:"segment-position"},II={key:0},pI={key:1},AI={style:{margin:"10px 0 0"}},VI={class:"good-wx"},TI={class:"good-wx"},xI={class:"good-wx"},zI={class:"good-wx"},CI={class:"good-wx"},SI={class:"good-wx"},kI={class:"good-wx"},fI={class:"good-wx"},jI={class:"good-wx"},UI={class:"good-wx"},bI={class:"good-wx"},OI={class:"good-wx"},wI={class:"good-wx"},YI={class:"good-wx"},QI={key:0,style:{"margin-top":"10px"}},hI={key:0},BI={key:0,class:"flex-end tip"},RI={key:1,class:"segment-speed"},FI={class:"flex-center"},PI={class:"speed-right flex-space"},GI={class:"speed"},WI={key:1,class:"speed"},LI={key:0,class:"speed"},ZI={class:"speed"},HI={class:"speed"},JI={class:"speed"},_I={key:2,class:"under"},XI={key:3,class:"over"},KI={class:"flex-center"},uI={class:"speed-right formula flex-space"},qI={key:0},$I={key:2,class:"segment-speed"},vI={class:"flex-center"},e0={class:"speed-right flex-space"},t0={class:"speed"},l0={class:"speed"},o0={key:2,class:"under"},n0={key:3,class:"over"},a0={class:"flex-center"},i0={class:"speed-right formula flex-space"},s0={class:"segment-formula"},d0={class:"header-block flex-start"},r0={class:"title"},c0={key:0,style:{"margin-left":"4px","font-weight":"300"}},N0={class:"formula-block"},D0={class:"flex-evenly"},M0={class:"formula-right flex-evenly"},m0={class:"fraction",style:{width:"240px"}},g0={class:"flex-center"},E0={class:"formula-left flex-space"},y0={class:"formula-right flex-evenly"},I0={class:"fraction",style:{width:"240px"}},p0={class:"flex-center"},A0={class:"formula-left flex-space"},V0={class:"formula-right flex-evenly"},T0={class:"fraction",style:{width:"240px"}},x0={class:"formula-desc"},z0={class:"flex-end"},C0={class:"flex-end"},S0={class:"flex-end"},k0={key:0,class:"formula-block",style:{"font-weight":"400"}},f0={class:"flex-evenly"},j0={class:"formula-right flex-evenly"},U0={class:"fraction",style:{width:"240px"}},b0={class:"flex-center"},O0={class:"formula-left flex-space"},w0={class:"formula-right flex-evenly"},Y0={class:"fraction",style:{width:"240px"}},Q0={class:"flex-center"},h0={class:"formula-left flex-space"},B0={class:"formula-right flex-evenly"},R0={class:"fraction",style:{width:"240px"}},F0={class:"formula-conclusion",style:{"margin-bottom":"0"}},P0={key:0,class:"flex-evenly",style:{width:"500px"}},G0={key:1,class:"flex-evenly",style:{width:"500px"}},W0={key:1,class:"formula-conclusion"},L0={class:"segment-formula"},Z0={class:"header-block flex-start"},H0={class:"title"},J0={key:0,style:{"margin-left":"4px","font-weight":"300"}},_0={class:"formula-block"},X0={class:"flex-evenly"},K0={class:"formula-right flex-evenly"},u0={class:"fraction",style:{width:"240px"}},q0={style:{"line-height":"1"}},$0={key:0,class:"tips flex-end",style:{"font-size":"14px"}},v0={class:"flex-center"},ep={class:"formula-right flex-evenly"},tp={class:"fraction",style:{width:"240px"}},lp={class:"flex-center"},op={class:"formula-right flex-evenly"},np={class:"fraction",style:{width:"240px"}},ap={class:"flex-center"},ip={class:"formula-right flex-evenly"},sp={class:"fraction",style:{width:"270px"}},dp={class:"flex-center"},rp={class:"formula-right flex-evenly"},cp={class:"fraction",style:{width:"270px"}},Np={class:"header-block flex-start",style:{"margin-top":"10px"}},Dp={class:"title"},Mp={key:0,class:"formula-block"},mp={key:0,class:"flex-evenly"},gp={class:"formula-right flex-evenly"},Ep={class:"fraction",style:{width:"60px"}},yp={class:"fraction",style:{width:"60px"}},Ip={class:"flex-evenly"},pp={class:"formula-right flex-evenly"},Ap={class:"fraction",style:{width:"240px"}},Vp={class:"fraction",style:{width:"240px"}},Tp={key:0},xp={class:"flex-evenly"},zp={class:"formula-right flex-evenly"},Cp={class:"fraction",style:{width:"240px"}},Sp={class:"fraction",style:{width:"240px"}},kp={class:"flex-evenly"},fp={class:"formula-right flex-evenly"},jp={class:"fraction",style:{width:"240px"}},Up={class:"fraction",style:{width:"240px"}},bp={class:"formula-conclusion",style:{"margin-bottom":"0"}},Op={class:"flex-evenly",style:{width:"500px"}},wp={key:0,class:"flex-evenly"},Yp={class:"fraction"},Qp={class:"flex-evenly",style:{width:"700px"}},hp={key:0,class:"flex-evenly",style:{width:"500px"}},Bp={class:"fraction",style:{width:"140px"}},Rp={key:1,class:"formula-conclusion"},Fp={class:"header-block flex-end",style:{"margin-top":"10px"}},Pp={class:"title"},Gp={key:0,class:"formula-block"},Wp={class:"flex-evenly"},Lp={class:"formula-right flex-evenly"},Zp={class:"fraction",style:{width:"240px"}},Hp={class:"fraction",style:{width:"240px"}},Jp={key:0},_p={class:"flex-evenly"},Xp={class:"formula-right flex-evenly"},Kp={class:"fraction",style:{width:"240px"}},up={class:"fraction",style:{width:"240px"}},qp={class:"flex-evenly"},$p={class:"formula-right flex-evenly"},vp={class:"fraction",style:{width:"240px"}},eA={class:"fraction",style:{width:"240px"}},tA={class:"formula-conclusion",style:{"margin-bottom":"0"}},lA={key:0,class:"flex-evenly",style:{width:"500px"}},oA={key:1,class:"flex-evenly",style:{width:"700px"}},nA={key:1,class:"formula-conclusion"};function aA(o,t,l,d,i,a){var y,p,N,M,C,A,V,T,I,S,x,k,m,U,O,w,Y,Q,h,R,G,W,L,Z,J,b,te,le,oe,ne,ae;const D=e.resolveComponent("Lat"),s=e.resolveComponent("Lng"),c=e.resolveComponent("Editor");return e.openBlock(),e.createElementBlock("div",GE,[e.createElementVNode("div",WE,[e.createElementVNode("div",LE,[e.createElementVNode("div",ZE,[t[3]||(t[3]=e.createElementVNode("label",{class:"flex-end",style:{width:"140px"}},"Prepare for",-1)),e.createElementVNode("span",HE,e.toDisplayString(l.report.preparedFor),1)]),e.createElementVNode("div",JE,[t[4]||(t[4]=e.createElementVNode("label",{class:"flex-end",style:{width:"140px"}},"Vessel",-1)),e.createElementVNode("span",_E,e.toDisplayString((p=(y=l.report)==null?void 0:y.vessel)==null?void 0:p.name)+" ("+e.toDisplayString((M=(N=l.report)==null?void 0:N.vessel)==null?void 0:M.type)+")",1)]),e.createElementVNode("div",XE,[t[5]||(t[5]=e.createElementVNode("label",{class:"flex-end",style:{width:"140px"}},"Voyage No",-1)),e.createElementVNode("span",KE,e.toDisplayString(((A=(C=l.report)==null?void 0:C.voyage)==null?void 0:A.voyNum)||((T=(V=l.report)==null?void 0:V.voyage)==null?void 0:T.number)),1)])]),e.createElementVNode("div",uE,[e.createElementVNode("div",qE,[t[7]||(t[7]=e.createElementVNode("label",{class:"flex-end",style:{width:"140px"}},"Departure Port",-1)),(S=(I=l.report)==null?void 0:I.departure)!=null&&S.portName?(e.openBlock(),e.createElementBlock("span",$E,e.toDisplayString((k=(x=l.report)==null?void 0:x.departure)==null?void 0:k.portName),1)):(e.openBlock(),e.createElementBlock("div",vE,[e.createVNode(D,{lat:(U=(m=l.report)==null?void 0:m.departure)==null?void 0:U.lat,label:"",style:{"font-size":"14px","font-weight":"400"}},null,8,["lat"]),t[6]||(t[6]=e.createElementVNode("span",{style:{"margin-right":"3px"}},",",-1)),e.createVNode(s,{lng:(O=l.report.departure)==null?void 0:O.lng,label:"",style:{"font-size":"14px","font-weight":"400"}},null,8,["lng"])])),e.createElementVNode("span",ey,e.toDisplayString(a.computeUTCTime((w=l.report.departure)==null?void 0:w.utcTime,"MMM-DD/HHmm[Z], YYYY")),1)]),e.createElementVNode("div",ty,[t[9]||(t[9]=e.createElementVNode("label",{class:"flex-end",style:{width:"140px"}},"Arrival Port",-1)),(Q=(Y=l.report)==null?void 0:Y.arrival)!=null&&Q.portName?(e.openBlock(),e.createElementBlock("span",ly,e.toDisplayString((R=(h=l.report)==null?void 0:h.arrival)==null?void 0:R.portName),1)):(e.openBlock(),e.createElementBlock("div",oy,[e.createVNode(D,{lat:(W=(G=l.report)==null?void 0:G.arrival)==null?void 0:W.lat,label:"",style:{"font-size":"14px","font-weight":"400"}},null,8,["lat"]),t[8]||(t[8]=e.createElementVNode("span",{style:{"margin-right":"3px"}},",",-1)),e.createVNode(s,{lng:(Z=(L=l.report)==null?void 0:L.arrival)==null?void 0:Z.lng,label:"",style:{"font-size":"14px","font-weight":"400"}},null,8,["lng"])])),e.createElementVNode("span",ny,e.toDisplayString(a.computeUTCTime((b=(J=l.report)==null?void 0:J.arrival)==null?void 0:b.utcTime,"MMM-DD/HHmm[Z], YYYY")),1)]),e.createElementVNode("div",ay,[t[10]||(t[10]=e.createElementVNode("label",{class:"flex-end",style:{width:"140px"}},"Load Condition",-1)),e.createElementVNode("span",iy,e.toDisplayString((le=(te=l.report)==null?void 0:te.voyage)==null?void 0:le.loadCondition),1)])])]),e.createElementVNode("div",sy,[t[11]||(t[11]=e.createElementVNode("div",{class:"header-block flex-start"},[e.createElementVNode("i",{class:"iconfont"},""),e.createElementVNode("div",{class:"title"},"Good Weather Definition")],-1)),e.createElementVNode("div",dy,[e.createElementVNode("div",ry,e.toDisplayString(a.computeWeatherDef(l.report.weather)),1)])]),e.createElementVNode("div",cy,[t[41]||(t[41]=e.createElementVNode("div",{class:"header-block flex-center"},[e.createElementVNode("i",{class:"iconfont"},""),e.createElementVNode("div",{class:"title"},"Analysis Summary")],-1)),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList((oe=l.report)==null?void 0:oe.segments,(n,H)=>{var q,$,v,ie,se,_,De,K,Ne,Me,me,ce,Ie,pe,Ae,Ve,Te,xe,ze,Ce,Se,ke,fe,je,Ue,be,ge,we,Ye,Oe,f,ye,Qe,Pe,Ge,j,We,Le,r,ee,Ee;return e.openBlock(),e.createElementBlock("div",{key:"summary"+H,class:"segment-box flex-space"},[e.createElementVNode("div",Ny,[e.createElementVNode("div",Dy,"Seg."+e.toDisplayString(H+1),1),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList((q=n==null?void 0:n.extend)==null?void 0:q.segTimes,(B,Be)=>{var de,Re,Ze,He,Ke,ue,qe,$e,ve,et;return e.openBlock(),e.createElementBlock("div",{key:Be,class:"phase-row flex-space"},[e.createElementVNode("div",My,[(de=B==null?void 0:B.departure)!=null&&de.portName?(e.openBlock(),e.createElementBlock("span",my,e.toDisplayString((Re=B==null?void 0:B.departure)==null?void 0:Re.portName),1)):(e.openBlock(),e.createElementBlock("span",gy,e.toDisplayString(a.computeLat((Ze=B==null?void 0:B.departure)==null?void 0:Ze.lat).pretty)+", "+e.toDisplayString(a.computeLng((He=B==null?void 0:B.departure)==null?void 0:He.lng).pretty),1)),e.createElementVNode("label",null,"("+e.toDisplayString(a.computeUTCTime((Ke=B==null?void 0:B.departure)==null?void 0:Ke.utcTime))+")",1)]),t[12]||(t[12]=e.createElementVNode("div",{class:"phase-split"},"to",-1)),e.createElementVNode("div",Ey,[(ue=B==null?void 0:B.arrival)!=null&&ue.portName?(e.openBlock(),e.createElementBlock("span",yy,e.toDisplayString((qe=B==null?void 0:B.arrival)==null?void 0:qe.portName),1)):(e.openBlock(),e.createElementBlock("span",Iy,e.toDisplayString(a.computeLat(($e=B==null?void 0:B.arrival)==null?void 0:$e.lat).pretty)+", "+e.toDisplayString(a.computeLng((ve=B==null?void 0:B.arrival)==null?void 0:ve.lng).pretty),1)),e.createElementVNode("label",null,"("+e.toDisplayString(a.computeUTCTime((et=B==null?void 0:B.arrival)==null?void 0:et.utcTime))+")",1)])])}),128)),t[39]||(t[39]=e.createElementVNode("div",{class:"bb"},null,-1)),e.createElementVNode("div",py,[e.createElementVNode("div",Ay,[t[20]||(t[20]=e.createElementVNode("div",{class:"flex-space"},[e.createElementVNode("label",null,"CP"),e.createElementVNode("label",null,"SPEED (kts)"),e.createElementVNode("label",null,"DAILY FO CONS (mt)"),e.createElementVNode("label",null,"DAILY DO/GO CONS (mt)")],-1)),e.createElementVNode("div",Vy,[t[19]||(t[19]=e.createElementVNode("span",null,[e.createElementVNode("span",{style:{"vertical-align":"super"}}),e.createElementVNode("span",null,"-")],-1)),e.createElementVNode("span",null,[e.createElementVNode("span",null,e.toDisplayString((v=($=n==null?void 0:n.extend)==null?void 0:$.cp)==null?void 0:v.speed)+" |",1),e.createElementVNode("span",null,[t[13]||(t[13]=e.createElementVNode("span",{style:{"vertical-align":"super"}},"+",-1)),e.createElementVNode("span",null,e.toDisplayString(a.computeAbtSpeed(n==null?void 0:n.timeConclusion,(se=(ie=n==null?void 0:n.extend)==null?void 0:ie.cp)==null?void 0:se.speed,"Over"))+",",1)]),e.createElementVNode("span",null,[t[14]||(t[14]=e.createElementVNode("span",{style:{"vertical-align":"super"}},"-",-1)),e.createElementVNode("span",null,e.toDisplayString(a.computeAbtSpeed(n==null?void 0:n.timeConclusion,(De=(_=n==null?void 0:n.extend)==null?void 0:_.cp)==null?void 0:De.speed,"Under")),1)])]),e.createElementVNode("span",null,[e.createElementVNode("span",null,e.toDisplayString((Ne=(K=n==null?void 0:n.extend)==null?void 0:K.cp)==null?void 0:Ne.fo)+" |",1),e.createElementVNode("span",null,[t[15]||(t[15]=e.createElementVNode("span",{style:{"vertical-align":"super"}},"+",-1)),e.createElementVNode("span",null,e.toDisplayString(a.computeAbtCons(n==null?void 0:n.fuelConclusion,"fo","Over"))+",",1)]),e.createElementVNode("span",null,[t[16]||(t[16]=e.createElementVNode("span",{style:{"vertical-align":"super"}},"-",-1)),e.createElementVNode("span",null,e.toDisplayString(a.computeAbtCons(n==null?void 0:n.fuelConclusion,"fo","Under")),1)])]),e.createElementVNode("span",null,[e.createElementVNode("span",null,e.toDisplayString((me=(Me=n==null?void 0:n.extend)==null?void 0:Me.cp)==null?void 0:me.dgo)+" |",1),e.createElementVNode("span",null,[t[17]||(t[17]=e.createElementVNode("span",{style:{"vertical-align":"super"}},"+",-1)),e.createElementVNode("span",null,e.toDisplayString(a.computeAbtCons(n==null?void 0:n.fuelConclusion,"dgo","Over"))+",",1)]),e.createElementVNode("span",null,[t[18]||(t[18]=e.createElementVNode("span",{style:{"vertical-align":"super"}},"-",-1)),e.createElementVNode("span",null,e.toDisplayString(a.computeAbtCons(n==null?void 0:n.fuelConclusion,"dgo","Under")),1)])])])])]),t[40]||(t[40]=e.createElementVNode("div",{class:"bb"},null,-1)),e.createElementVNode("div",Ty,[e.createElementVNode("div",xy,[t[26]||(t[26]=e.createElementVNode("div",{class:"label flex-start"},"Total Voyage Time",-1)),e.createElementVNode("div",zy,[e.createElementVNode("div",null,e.toDisplayString(n.allWx.time),1),t[21]||(t[21]=e.createElementVNode("div",{class:"unit"},"hrs",-1))]),n.goodWx.distance?(e.openBlock(),e.createElementBlock("div",Cy,[((ce=n==null?void 0:n.timeConclusion)==null?void 0:ce.conclusionStatus)==="Gain"?(e.openBlock(),e.createElementBlock("div",Sy,"Time Gained")):((Ie=n==null?void 0:n.timeConclusion)==null?void 0:Ie.conclusionStatus)==="Lost"?(e.openBlock(),e.createElementBlock("div",ky,"Time Lost")):(e.openBlock(),e.createElementBlock("div",fy,"No Time Lost/Gained"))])):(e.openBlock(),e.createElementBlock("div",jy,e.toDisplayString(i.noGoodWxDay),1)),n.goodWx.distance?(e.openBlock(),e.createElementBlock("div",Uy,[((pe=n==null?void 0:n.timeConclusion)==null?void 0:pe.conclusionStatus)==="Gain"?(e.openBlock(),e.createElementBlock("div",by,[t[22]||(t[22]=e.createElementVNode("i",{class:"iconfont gain"},"",-1)),e.createElementVNode("span",Oy,e.toDisplayString((Ae=n==null?void 0:n.timeConclusion)==null?void 0:Ae.timeGain),1),t[23]||(t[23]=e.createElementVNode("span",{class:"unit"},"hrs",-1))])):((Ve=n==null?void 0:n.timeConclusion)==null?void 0:Ve.conclusionStatus)==="Lost"?(e.openBlock(),e.createElementBlock("div",wy,[t[24]||(t[24]=e.createElementVNode("i",{class:"iconfont lost"},"",-1)),e.createElementVNode("span",Yy,e.toDisplayString((Te=n==null?void 0:n.timeConclusion)==null?void 0:Te.timeLost),1),t[25]||(t[25]=e.createElementVNode("span",{class:"unit"},"hrs",-1))])):(e.openBlock(),e.createElementBlock("div",Qy,"N/A"))])):e.createCommentVNode("",!0)]),e.createElementVNode("div",hy,[t[32]||(t[32]=e.createElementVNode("div",{class:"label flex-start"},"Total FO Consumption",-1)),e.createElementVNode("div",By,[e.createElementVNode("div",null,e.toDisplayString(n.allWx.sumFoCons),1),t[27]||(t[27]=e.createElementVNode("div",{class:"unit"},"mt",-1))]),n.goodWx.distance?(e.openBlock(),e.createElementBlock("div",Ry,[((ze=(xe=n==null?void 0:n.fuelConclusion)==null?void 0:xe.fo)==null?void 0:ze.conclusionStatus)==="Saving"?(e.openBlock(),e.createElementBlock("div",Fy,"FO Saving")):((Se=(Ce=n==null?void 0:n.fuelConclusion)==null?void 0:Ce.fo)==null?void 0:Se.conclusionStatus)==="Over"?(e.openBlock(),e.createElementBlock("div",Py,"FO Over-consumption")):(e.openBlock(),e.createElementBlock("div",Gy,"No FO Over-consumption/Saving"))])):(e.openBlock(),e.createElementBlock("div",Wy,e.toDisplayString(i.noGoodWxDay),1)),n.goodWx.distance?(e.openBlock(),e.createElementBlock("div",Ly,[((fe=(ke=n==null?void 0:n.fuelConclusion)==null?void 0:ke.fo)==null?void 0:fe.conclusionStatus)==="Saving"?(e.openBlock(),e.createElementBlock("div",Zy,[t[28]||(t[28]=e.createElementVNode("i",{class:"iconfont gain"},"",-1)),e.createElementVNode("span",Hy,e.toDisplayString((Ue=(je=n==null?void 0:n.fuelConclusion)==null?void 0:je.fo)==null?void 0:Ue.saving),1),t[29]||(t[29]=e.createElementVNode("span",{class:"unit"},"mt",-1))])):((ge=(be=n==null?void 0:n.fuelConclusion)==null?void 0:be.fo)==null?void 0:ge.conclusionStatus)==="Over"?(e.openBlock(),e.createElementBlock("div",Jy,[t[30]||(t[30]=e.createElementVNode("i",{class:"iconfont lost"},"",-1)),e.createElementVNode("span",_y,e.toDisplayString((Ye=(we=n==null?void 0:n.fuelConclusion)==null?void 0:we.fo)==null?void 0:Ye.overCons),1),t[31]||(t[31]=e.createElementVNode("span",{class:"unit"},"mt",-1))])):(e.openBlock(),e.createElementBlock("div",Xy,"N/A"))])):e.createCommentVNode("",!0)]),e.createElementVNode("div",Ky,[t[38]||(t[38]=e.createElementVNode("div",{class:"label flex-start"},"Total DO/GO Consumption",-1)),e.createElementVNode("div",uy,[e.createElementVNode("div",null,e.toDisplayString(n.allWx.sumDgoCons),1),t[33]||(t[33]=e.createElementVNode("div",{class:"unit"},"mt",-1))]),n.goodWx.distance?(e.openBlock(),e.createElementBlock("div",qy,[((f=(Oe=n==null?void 0:n.fuelConclusion)==null?void 0:Oe.dgo)==null?void 0:f.conclusionStatus)==="Saving"?(e.openBlock(),e.createElementBlock("div",$y,"DO/GO Saving")):((Qe=(ye=n==null?void 0:n.fuelConclusion)==null?void 0:ye.dgo)==null?void 0:Qe.conclusionStatus)==="Over"?(e.openBlock(),e.createElementBlock("div",vy,"DO/GO Over-consumption")):(e.openBlock(),e.createElementBlock("div",eI,"No DO/GO Over-consumption/Saving"))])):(e.openBlock(),e.createElementBlock("div",tI,e.toDisplayString(i.noGoodWxDay),1)),n.goodWx.distance?(e.openBlock(),e.createElementBlock("div",lI,[((Ge=(Pe=n==null?void 0:n.fuelConclusion)==null?void 0:Pe.dgo)==null?void 0:Ge.conclusionStatus)==="Saving"?(e.openBlock(),e.createElementBlock("div",oI,[t[34]||(t[34]=e.createElementVNode("i",{class:"iconfont gain"},"",-1)),e.createElementVNode("span",nI,e.toDisplayString((We=(j=n==null?void 0:n.fuelConclusion)==null?void 0:j.dgo)==null?void 0:We.saving),1),t[35]||(t[35]=e.createElementVNode("span",{class:"unit"},"mt",-1))])):((r=(Le=n==null?void 0:n.fuelConclusion)==null?void 0:Le.dgo)==null?void 0:r.conclusionStatus)==="Over"?(e.openBlock(),e.createElementBlock("div",aI,[t[36]||(t[36]=e.createElementVNode("i",{class:"iconfont lost"},"",-1)),e.createElementVNode("span",iI,e.toDisplayString((Ee=(ee=n==null?void 0:n.fuelConclusion)==null?void 0:ee.dgo)==null?void 0:Ee.overCons),1),t[37]||(t[37]=e.createElementVNode("span",{class:"unit"},"mt",-1))])):(e.openBlock(),e.createElementBlock("div",sI,"N/A"))])):e.createCommentVNode("",!0)])])])])}),128)),t[42]||(t[42]=e.createElementVNode("div",{class:"tips flex-end"},"*Please see voyage analysis pages for the details.",-1))]),e.createElementVNode("div",{class:e.normalizeClass(a.computeBlankHtml((ne=l.report)==null?void 0:ne.remarks)&&!i.exclusion.length?"section remark-section print-hidden":"section remark-section")},[t[46]||(t[46]=e.createElementVNode("div",{class:"header-block flex-start"},[e.createElementVNode("i",{class:"iconfont"},""),e.createElementVNode("div",{class:"title"},"Remarks")],-1)),i.exclusion.length?(e.openBlock(),e.createElementBlock("div",dI,[t[44]||(t[44]=e.createElementVNode("div",{class:"title"},"Exclusion",-1)),t[45]||(t[45]=e.createElementVNode("div",{class:"sub-title"},[e.createElementVNode("div",null,"The voyage analysis does not include following information on time, distance, and consumed fuel.")],-1)),e.createElementVNode("div",rI,[e.createElementVNode("table",cI,[t[43]||(t[43]=e.createElementVNode("thead",null,[e.createElementVNode("tr",null,[e.createElementVNode("td"),e.createElementVNode("td",{style:{width:"40%"}},"Time"),e.createElementVNode("td",null,"Duration (hrs)"),e.createElementVNode("td",null,"Distance (nm)"),e.createElementVNode("td",null,"FO (mt)"),e.createElementVNode("td",null,"DO/GO (mt)")])],-1)),e.createElementVNode("tbody",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(i.exclusion,(n,H)=>(e.openBlock(),e.createElementBlock("tr",{key:H},[e.createElementVNode("td",null,e.toDisplayString(H+1),1),e.createElementVNode("td",null,e.toDisplayString(n.time),1),e.createElementVNode("td",null,e.toDisplayString(n.duration),1),e.createElementVNode("td",null,e.toDisplayString(n.distance),1),e.createElementVNode("td",null,e.toDisplayString(n.fo),1),e.createElementVNode("td",null,e.toDisplayString(n.dgo),1)]))),128))])])])])):e.createCommentVNode("",!0),e.createElementVNode("div",{class:e.normalizeClass(a.computeBlankHtml((ae=l.report)==null?void 0:ae.remarks)?"remark-block print-hidden":"remark-block page-avoid")},[i.editable?(e.openBlock(),e.createBlock(c,{key:0,modelValue:i.remarks,"onUpdate:modelValue":t[0]||(t[0]=n=>i.remarks=n),class:"editor",height:"120px",onBlur:t[1]||(t[1]=n=>a.handleCommit(n))},null,8,["modelValue"])):(e.openBlock(),e.createElementBlock("div",{key:1,class:"txt",onDblclick:t[2]||(t[2]=(...n)=>a.handleEdit&&a.handleEdit(...n)),innerHTML:i.remarks},null,40,NI))],2)],2),e.createElementVNode("div",DI,[t[256]||(t[256]=e.createElementVNode("div",{class:"header-block flex-center"},[e.createElementVNode("i",{class:"iconfont"},""),e.createElementVNode("div",{class:"title"},"Speed and Consumption Calculation")],-1)),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(l.report.segments,(n,H)=>{var q,$,v,ie,se,_,De,K,Ne,Me,me,ce,Ie,pe,Ae,Ve,Te,xe,ze,Ce,Se,ke,fe,je,Ue,be,ge,we,Ye,Oe,f,ye,Qe,Pe,Ge,j,We,Le,r,ee,Ee,B,Be,de,Re,Ze,He,Ke,ue,qe,$e,ve,et,at,it,st,dt,rt,ct,Nt,Dt,Mt,mt,gt,Et,yt,It,pt,At,Vt,Tt,Ct,z,St,kt,ft,jt,Ut,bt,Ot,wt,ot,bl,Ol,wl,Yl,Ql,hl,Bl,Rl,Fl,Pl,Gl,Wl,Ll,Zl,Hl,Jl,E,he,tt,lt,xt,Yt,Qt,ht,Bt,Rt,Ft,Pt,Gt,Wt,Lt,Zt,Ht,Jt,_t,Xt,Kt,ut,qt,$t,vt,el,tl,ll,ol,nl,al,il,sl,dl,rl,cl,Nl,Dl,Ml,ml,gl,El,yl,Il,pl,Al,Vl,Tl,xl,zl,Cl,Sl,kl,fl,jl,_l,Xl,Kl,Xe,ql,eo,to,lo,oo,io,so,ro,co,No,Do,Mo,mo,go,Eo,yo,Io,po,Ao,Vo,To,xo,zo,Co,So,ko,fo,jo,Uo,bo,Oo,wo,Yo,Qo,ho,g,Bo,Ro,Fo,Po,Go,Wo,Lo,Zo,$l,Jo,_o,Xo,Ko,uo,qo,$o,vo,en,tn,ln,on,nn,an,sn,dn,rn,cn,X,ul,Nn,Dn,Mn,mn,gn,En,yn,In,nt,pn,An,Vn,Tn,u,no,xn,zn,Cn,Sn,kn,fn,jn,Un,zt,Pn,Gn,Wn,Ln,Zn,Hn,Jn,_n,Xn,Kn,un,qn,$n,vn,ea,ta,la,oa,na,aa,ia,sa,da,ra,ca,Na,Da,Ma,ma,ga,Ea,ya,Ia,pa,Aa,Va,Ta,xa,za,Ca,Sa,ka,fa,ja,Ua,ba,Oa,wa,Ya,Qa,ha,Ba,Ra,Fa,Pa,Ga,Wa,La,Za,Ha,Ja,_a,Xa,Ka,ua,qa,$a,va,ei,ti,li,oi,ni,ai,ii,si,di,ri,ci,Ni,Di,Mi,mi,gi,Ei,yi,Ii,pi,Ai,Vi,Ti,xi,zi,Ci,Si,ki,fi,ji,Ui,bi,Oi,wi,Yi,Qi,hi,Bi,Ri,Fi,Pi,Gi,Wi,Li,Zi,Hi,Ji,_i,Xi,Ki,ui,qi;return e.openBlock(),e.createElementBlock("div",{key:H,class:"segment-block"},[e.createElementVNode("div",MI,"Voyage Analysis Seg. "+e.toDisplayString(H+1),1),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList((q=n==null?void 0:n.extend)==null?void 0:q.segTimes,(Je,Bn)=>{var Ho,Yn,$i,vi,es,ts,ls,os,ns,as;return e.openBlock(),e.createElementBlock("div",{key:Bn,class:"segment-row flex-space"},[e.createElementVNode("div",mI,[(Ho=Je==null?void 0:Je.departure)!=null&&Ho.portName?(e.openBlock(),e.createElementBlock("span",gI,e.toDisplayString((Yn=Je==null?void 0:Je.departure)==null?void 0:Yn.portName),1)):(e.openBlock(),e.createElementBlock("span",EI,e.toDisplayString(a.computeLat(($i=Je==null?void 0:Je.departure)==null?void 0:$i.lat).pretty)+", "+e.toDisplayString(a.computeLng((vi=Je==null?void 0:Je.departure)==null?void 0:vi.lng).pretty),1)),e.createElementVNode("label",null,"("+e.toDisplayString(a.computeUTCTime((es=Je==null?void 0:Je.departure)==null?void 0:es.utcTime))+")",1)]),t[47]||(t[47]=e.createElementVNode("div",{class:"segment-split"},"to",-1)),e.createElementVNode("div",yI,[(ts=Je==null?void 0:Je.arrival)!=null&&ts.portName?(e.openBlock(),e.createElementBlock("span",II,e.toDisplayString((ls=Je==null?void 0:Je.arrival)==null?void 0:ls.portName),1)):(e.openBlock(),e.createElementBlock("span",pI,e.toDisplayString(a.computeLat((os=Je==null?void 0:Je.arrival)==null?void 0:os.lat).pretty)+", "+e.toDisplayString(a.computeLng((ns=Je==null?void 0:Je.arrival)==null?void 0:ns.lng).pretty),1)),e.createElementVNode("label",null,"("+e.toDisplayString(a.computeUTCTime((as=Je==null?void 0:Je.arrival)==null?void 0:as.utcTime))+")",1)])])}),128)),t[253]||(t[253]=e.createElementVNode("div",{class:"bb"},null,-1)),e.createElementVNode("div",AI,[e.createElementVNode("table",null,[e.createElementVNode("tbody",null,[t[55]||(t[55]=e.createElementVNode("tr",null,[e.createElementVNode("td",{class:"label",style:{width:"35%"}}),e.createElementVNode("td",{class:"label",colspan:"2"},"Good Weather"),e.createElementVNode("td",{class:"label",colspan:"2"},"All Weather")],-1)),t[56]||(t[56]=e.createElementVNode("tr",null,[e.createElementVNode("td",{class:"label"}),e.createElementVNode("td",{class:"label"},"out of ECA"),e.createElementVNode("td",{class:"label"},"in ECA"),e.createElementVNode("td",{class:"label"},"out of ECA"),e.createElementVNode("td",{class:"label"},"in ECA")],-1)),e.createElementVNode("tr",null,[t[48]||(t[48]=e.createElementVNode("td",{class:"label"},"Total Distance (nm)",-1)),e.createElementVNode("td",VI,e.toDisplayString((v=($=n==null?void 0:n.goodWx)==null?void 0:$.outEca)==null?void 0:v.distance),1),e.createElementVNode("td",TI,e.toDisplayString((se=(ie=n==null?void 0:n.goodWx)==null?void 0:ie.inEca)==null?void 0:se.distance),1),e.createElementVNode("td",null,e.toDisplayString((De=(_=n==null?void 0:n.allWx)==null?void 0:_.outEca)==null?void 0:De.distance),1),e.createElementVNode("td",null,e.toDisplayString((Ne=(K=n==null?void 0:n.allWx)==null?void 0:K.inEca)==null?void 0:Ne.distance),1)]),e.createElementVNode("tr",null,[t[49]||(t[49]=e.createElementVNode("td",{class:"label"},"Total Time (hrs)",-1)),e.createElementVNode("td",xI,e.toDisplayString((me=(Me=n==null?void 0:n.goodWx)==null?void 0:Me.outEca)==null?void 0:me.time),1),e.createElementVNode("td",zI,e.toDisplayString((Ie=(ce=n==null?void 0:n.goodWx)==null?void 0:ce.inEca)==null?void 0:Ie.time),1),e.createElementVNode("td",null,e.toDisplayString((Ae=(pe=n==null?void 0:n.allWx)==null?void 0:pe.outEca)==null?void 0:Ae.time),1),e.createElementVNode("td",null,e.toDisplayString((Te=(Ve=n==null?void 0:n.allWx)==null?void 0:Ve.inEca)==null?void 0:Te.time),1)]),e.createElementVNode("tr",null,[t[50]||(t[50]=e.createElementVNode("td",{class:"label"},"Average Speed (kts)",-1)),e.createElementVNode("td",CI,e.toDisplayString(((ze=(xe=n==null?void 0:n.goodWx)==null?void 0:xe.outEca)==null?void 0:ze.avgSpd)||"--"),1),e.createElementVNode("td",SI,e.toDisplayString(((Se=(Ce=n==null?void 0:n.goodWx)==null?void 0:Ce.inEca)==null?void 0:Se.avgSpd)||"--"),1),e.createElementVNode("td",null,e.toDisplayString(((fe=(ke=n==null?void 0:n.allWx)==null?void 0:ke.outEca)==null?void 0:fe.avgSpd)||"--"),1),e.createElementVNode("td",null,e.toDisplayString(((Ue=(je=n==null?void 0:n.allWx)==null?void 0:je.inEca)==null?void 0:Ue.avgSpd)||"--"),1)]),e.createElementVNode("tr",null,[t[51]||(t[51]=e.createElementVNode("td",{class:"label"},"FO Consumption (mt)",-1)),e.createElementVNode("td",kI,e.toDisplayString(((ge=(be=n==null?void 0:n.goodWx)==null?void 0:be.outEca)==null?void 0:ge.sumFoCons)||"--"),1),e.createElementVNode("td",fI,e.toDisplayString(((Ye=(we=n==null?void 0:n.goodWx)==null?void 0:we.inEca)==null?void 0:Ye.sumFoCons)||"--"),1),e.createElementVNode("td",null,e.toDisplayString(((f=(Oe=n==null?void 0:n.allWx)==null?void 0:Oe.outEca)==null?void 0:f.sumFoCons)||"--"),1),e.createElementVNode("td",null,e.toDisplayString(((Qe=(ye=n==null?void 0:n.allWx)==null?void 0:ye.inEca)==null?void 0:Qe.sumFoCons)||"--"),1)]),e.createElementVNode("tr",null,[t[52]||(t[52]=e.createElementVNode("td",{class:"label"},"Averaged Daily FO Consumption (mt)",-1)),e.createElementVNode("td",jI,e.toDisplayString(((Ge=(Pe=n==null?void 0:n.goodWx)==null?void 0:Pe.outEca)==null?void 0:Ge.avgFoCons)||"--"),1),e.createElementVNode("td",UI,e.toDisplayString(((We=(j=n==null?void 0:n.goodWx)==null?void 0:j.inEca)==null?void 0:We.avgFoCons)||"--"),1),e.createElementVNode("td",null,e.toDisplayString(((r=(Le=n==null?void 0:n.allWx)==null?void 0:Le.outEca)==null?void 0:r.avgFoCons)||"--"),1),e.createElementVNode("td",null,e.toDisplayString(((Ee=(ee=n==null?void 0:n.allWx)==null?void 0:ee.inEca)==null?void 0:Ee.avgFoCons)||"--"),1)]),e.createElementVNode("tr",null,[t[53]||(t[53]=e.createElementVNode("td",{class:"label"},"DO/GO Consumption (mt)",-1)),e.createElementVNode("td",bI,e.toDisplayString(((Be=(B=n==null?void 0:n.goodWx)==null?void 0:B.outEca)==null?void 0:Be.sumDgoCons)||"--"),1),e.createElementVNode("td",OI,e.toDisplayString(((Re=(de=n==null?void 0:n.goodWx)==null?void 0:de.inEca)==null?void 0:Re.sumDgoCons)||"--"),1),e.createElementVNode("td",null,e.toDisplayString(((He=(Ze=n==null?void 0:n.allWx)==null?void 0:Ze.outEca)==null?void 0:He.sumDgoCons)||"--"),1),e.createElementVNode("td",null,e.toDisplayString(((ue=(Ke=n==null?void 0:n.allWx)==null?void 0:Ke.inEca)==null?void 0:ue.sumDgoCons)||"--"),1)]),e.createElementVNode("tr",null,[t[54]||(t[54]=e.createElementVNode("td",{class:"label"},"Averaged Daily DO/GO Consumption (mt)",-1)),e.createElementVNode("td",wI,e.toDisplayString((($e=(qe=n==null?void 0:n.goodWx)==null?void 0:qe.outEca)==null?void 0:$e.avgDgoCons)||"--"),1),e.createElementVNode("td",YI,e.toDisplayString(((et=(ve=n==null?void 0:n.goodWx)==null?void 0:ve.inEca)==null?void 0:et.avgDgoCons)||"--"),1),e.createElementVNode("td",null,e.toDisplayString(((it=(at=n==null?void 0:n.allWx)==null?void 0:at.outEca)==null?void 0:it.avgDgoCons)||"--"),1),e.createElementVNode("td",null,e.toDisplayString(((dt=(st=n==null?void 0:n.allWx)==null?void 0:st.inEca)==null?void 0:dt.avgDgoCons)||"--"),1)])])]),(rt=n==null?void 0:n.goodWx)!=null&&rt.distance?(e.openBlock(),e.createElementBlock("table",QI,[e.createElementVNode("tbody",null,[t[58]||(t[58]=e.createElementVNode("tr",null,[e.createElementVNode("td",{class:"label",colspan:"3"},"Good Weather Period")],-1)),t[59]||(t[59]=e.createElementVNode("tr",null,[e.createElementVNode("td",{class:"label"},"Date"),e.createElementVNode("td",{class:"label"},"Time range"),e.createElementVNode("td",{class:"label"},"Duration (hrs)")],-1)),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(i.noons[H],(Je,Bn)=>(e.openBlock(),e.createElementBlock(e.Fragment,{key:Bn},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(Je,(Ho,Yn)=>(e.openBlock(),e.createElementBlock(e.Fragment,{key:Yn},[Ho.goodWx?(e.openBlock(),e.createElementBlock("tr",hI,[e.createElementVNode("td",null,e.toDisplayString(Ho.type)+" "+e.toDisplayString(a.computeUTCTime(Ho.utc,"MMM-DD")),1),e.createElementVNode("td",null,[e.createElementVNode("span",null,e.toDisplayString(a.computeUTCTime(a.computePrevTime(Ho),"MMM-DD/HHmm[Z],YYYY")),1),t[57]||(t[57]=e.createElementVNode("span",{style:{margin:"0 4px"}},"~",-1)),e.createElementVNode("span",null,e.toDisplayString(a.computeUTCTime(Ho.utc,"MMM-DD/HHmm[Z],YYYY")),1)]),e.createElementVNode("td",null,[e.createElementVNode("span",null,e.toDisplayString(a.computeDuration(Ho.utc,a.computePrevTime(Ho))),1)])])):e.createCommentVNode("",!0)],64))),128))],64))),128))])])):e.createCommentVNode("",!0)]),(ct=i.exclusion[H])!=null&&ct.time?(e.openBlock(),e.createElementBlock("div",BI,"*The Performance Speed Evaluation excludes exclusion time, distance, and consumed fuel.")):e.createCommentVNode("",!0),(Nt=n==null?void 0:n.goodWx)!=null&&Nt.distance?(e.openBlock(),e.createElementBlock("div",RI,[e.createElementVNode("div",FI,[t[69]||(t[69]=e.createElementVNode("div",{class:"speed-left flex-space"},[e.createElementVNode("label",null,"Good Weather Performance Speed"),e.createElementVNode("label",null,"=")],-1)),e.createElementVNode("div",PI,[(Mt=(Dt=l.report)==null?void 0:Dt.weather)!=null&&Mt.overallAsGoodWx?(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[(z=(Ct=l.report)==null?void 0:Ct.weather)!=null&&z.disableWxFactor&&((kt=(St=l.report)==null?void 0:St.weather)!=null&&kt.disableCFactor)?(e.openBlock(),e.createElementBlock("span",LI,e.toDisplayString((ft=n==null?void 0:n.goodWx)==null?void 0:ft.pfmSpd)+" (kts)",1)):(Ut=(jt=l.report)==null?void 0:jt.weather)!=null&&Ut.disableWxFactor?(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[e.createElementVNode("span",null,e.toDisplayString((bt=n==null?void 0:n.goodWx)==null?void 0:bt.avgSpd),1),t[62]||(t[62]=e.createElementVNode("span",null,"-",-1)),e.createElementVNode("span",null,e.toDisplayString(((Ot=n==null?void 0:n.goodWx)==null?void 0:Ot.avgCf)>0?(wt=n==null?void 0:n.goodWx)==null?void 0:wt.avgCf:`(${(ot=n==null?void 0:n.goodWx)==null?void 0:ot.avgCf})`),1),t[63]||(t[63]=e.createElementVNode("label",null,"=",-1)),e.createElementVNode("span",ZI,e.toDisplayString((bl=n==null?void 0:n.goodWx)==null?void 0:bl.pfmSpd)+" (kts)",1)],64)):(wl=(Ol=l.report)==null?void 0:Ol.weather)!=null&&wl.disableCFactor?(e.openBlock(),e.createElementBlock(e.Fragment,{key:2},[e.createElementVNode("span",null,e.toDisplayString((Yl=n==null?void 0:n.goodWx)==null?void 0:Yl.avgSpd),1),t[64]||(t[64]=e.createElementVNode("span",null,"-",-1)),e.createElementVNode("span",null,e.toDisplayString(((Ql=n==null?void 0:n.goodWx)==null?void 0:Ql.avgWf)>0?(hl=n==null?void 0:n.goodWx)==null?void 0:hl.avgWf:`(${(Bl=n==null?void 0:n.goodWx)==null?void 0:Bl.avgWf})`),1),t[65]||(t[65]=e.createElementVNode("label",null,"=",-1)),e.createElementVNode("span",HI,e.toDisplayString((Rl=n==null?void 0:n.goodWx)==null?void 0:Rl.pfmSpd)+" (kts)",1)],64)):(e.openBlock(),e.createElementBlock(e.Fragment,{key:3},[e.createElementVNode("span",null,e.toDisplayString((Fl=n==null?void 0:n.goodWx)==null?void 0:Fl.avgSpd),1),t[67]||(t[67]=e.createElementVNode("span",null,"-",-1)),e.createElementVNode("span",null,e.toDisplayString(((Pl=n==null?void 0:n.goodWx)==null?void 0:Pl.avgWf)>0?(Gl=n==null?void 0:n.goodWx)==null?void 0:Gl.avgWf:`(${(Wl=n==null?void 0:n.goodWx)==null?void 0:Wl.avgWf})`),1),(Zl=(Ll=l.report)==null?void 0:Ll.weather)!=null&&Zl.favorableCur&&((Hl=n==null?void 0:n.goodWx)==null?void 0:Hl.avgCf)>0?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[t[66]||(t[66]=e.createElementVNode("span",null,"-",-1)),e.createElementVNode("span",null,e.toDisplayString(((Jl=n==null?void 0:n.goodWx)==null?void 0:Jl.avgCf)>0?(E=n==null?void 0:n.goodWx)==null?void 0:E.avgCf:`(${(he=n==null?void 0:n.goodWx)==null?void 0:he.avgCf})`),1)],64)),t[68]||(t[68]=e.createElementVNode("label",null,"=",-1)),e.createElementVNode("span",JI,e.toDisplayString((tt=n==null?void 0:n.goodWx)==null?void 0:tt.pfmSpd)+" (kts)",1)],64))],64)):(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[(gt=(mt=l.report)==null?void 0:mt.weather)!=null&>.favorableCur&&((Et=n==null?void 0:n.goodWx)==null?void 0:Et.avgCf)>0?(e.openBlock(),e.createElementBlock("span",WI,e.toDisplayString((Tt=n==null?void 0:n.goodWx)==null?void 0:Tt.pfmSpd)+" (kts)",1)):(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[e.createElementVNode("span",null,e.toDisplayString((yt=n==null?void 0:n.goodWx)==null?void 0:yt.avgSpd),1),t[60]||(t[60]=e.createElementVNode("span",null,"-",-1)),e.createElementVNode("span",null,e.toDisplayString(((It=n==null?void 0:n.goodWx)==null?void 0:It.avgCf)>0?(pt=n==null?void 0:n.goodWx)==null?void 0:pt.avgCf:`(${(At=n==null?void 0:n.goodWx)==null?void 0:At.avgCf})`),1),t[61]||(t[61]=e.createElementVNode("label",null,"=",-1)),e.createElementVNode("span",GI,e.toDisplayString((Vt=n==null?void 0:n.goodWx)==null?void 0:Vt.pfmSpd)+" (kts)",1)],64))],64)),((lt=n==null?void 0:n.goodWx)==null?void 0:lt.pfmStatus)==="Under"?(e.openBlock(),e.createElementBlock("span",_I,"(Under-performance)")):e.createCommentVNode("",!0),((xt=n==null?void 0:n.goodWx)==null?void 0:xt.pfmStatus)==="Over"?(e.openBlock(),e.createElementBlock("span",XI,"(Over-performance)")):e.createCommentVNode("",!0)])]),e.createElementVNode("div",KI,[t[86]||(t[86]=e.createElementVNode("div",{class:"speed-left formula flex-space"},[e.createElementVNode("label",null,"Good Weather Performance Speed"),e.createElementVNode("label",null,"=")],-1)),e.createElementVNode("div",uI,[(Qt=(Yt=l.report)==null?void 0:Yt.weather)!=null&&Qt.overallAsGoodWx?(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[(Pt=(Ft=l.report)==null?void 0:Ft.weather)!=null&&Pt.disableWxFactor&&((Wt=(Gt=l.report)==null?void 0:Gt.weather)!=null&&Wt.disableCFactor)?(e.openBlock(),e.createElementBlock("label",qI,"GW Average Speed")):(Zt=(Lt=l.report)==null?void 0:Lt.weather)!=null&&Zt.disableWxFactor?(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[t[75]||(t[75]=e.createElementVNode("label",null,"GW Average Speed",-1)),t[76]||(t[76]=e.createElementVNode("label",null,"-",-1)),t[77]||(t[77]=e.createElementVNode("label",null,"GW Current Factor",-1))],64)):(Jt=(Ht=l.report)==null?void 0:Ht.weather)!=null&&Jt.disableCFactor?(e.openBlock(),e.createElementBlock(e.Fragment,{key:2},[t[78]||(t[78]=e.createElementVNode("label",null,"GW Average Speed",-1)),t[79]||(t[79]=e.createElementVNode("label",null,"-",-1)),t[80]||(t[80]=e.createElementVNode("label",null,"GW Weather Factor",-1))],64)):(e.openBlock(),e.createElementBlock(e.Fragment,{key:3},[t[83]||(t[83]=e.createElementVNode("label",null,"GW Average Speed",-1)),t[84]||(t[84]=e.createElementVNode("label",null,"-",-1)),t[85]||(t[85]=e.createElementVNode("label",null,"GW Weather Factor",-1)),(Xt=(_t=l.report)==null?void 0:_t.weather)!=null&&Xt.favorableCur&&((Kt=n==null?void 0:n.goodWx)==null?void 0:Kt.avgCf)>0?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[t[81]||(t[81]=e.createElementVNode("label",null,"-",-1)),t[82]||(t[82]=e.createElementVNode("label",null,"GW Current Factor",-1))],64))],64))],64)):(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[(Bt=(ht=l.report)==null?void 0:ht.weather)!=null&&Bt.favorableCur&&((Rt=n==null?void 0:n.goodWx)==null?void 0:Rt.avgCf)>0?(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[t[73]||(t[73]=e.createElementVNode("label",null,"GW Average Speed",-1)),t[74]||(t[74]=e.createElementVNode("label",{style:{"font-weight":"300"}},"(Good Weather Current Factor Not Applied)",-1))],64)):(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[t[70]||(t[70]=e.createElementVNode("label",null,"GW Average Speed",-1)),t[71]||(t[71]=e.createElementVNode("label",null,"-",-1)),t[72]||(t[72]=e.createElementVNode("label",null,"GW Current Factor",-1))],64))],64))])])])):(e.openBlock(),e.createElementBlock("div",$I,[e.createElementVNode("div",vI,[t[92]||(t[92]=e.createElementVNode("div",{class:"speed-left flex-space"},[e.createElementVNode("label",null,"All Weather Performance Speed"),e.createElementVNode("label",null,"=")],-1)),e.createElementVNode("div",e0,[(qt=(ut=l.report)==null?void 0:ut.weather)!=null&&qt.favorableCur&&(($t=n==null?void 0:n.allWx)==null?void 0:$t.avgCf)>0?(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[e.createElementVNode("span",null,e.toDisplayString((sl=n==null?void 0:n.allWx)==null?void 0:sl.avgSpd),1),t[90]||(t[90]=e.createElementVNode("span",null,"-",-1)),e.createElementVNode("span",null,e.toDisplayString(((dl=n==null?void 0:n.allWx)==null?void 0:dl.avgWf)>0?(rl=n==null?void 0:n.allWx)==null?void 0:rl.avgWf:`(${(cl=n==null?void 0:n.allWx)==null?void 0:cl.avgWf})`),1),t[91]||(t[91]=e.createElementVNode("label",null,"=",-1)),e.createElementVNode("span",l0,e.toDisplayString((Nl=n==null?void 0:n.allWx)==null?void 0:Nl.pfmSpd)+" (kts)",1)],64)):(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[e.createElementVNode("span",null,e.toDisplayString((vt=n==null?void 0:n.allWx)==null?void 0:vt.avgSpd),1),t[87]||(t[87]=e.createElementVNode("span",null,"-",-1)),e.createElementVNode("span",null,e.toDisplayString(((el=n==null?void 0:n.allWx)==null?void 0:el.avgCf)>0?(tl=n==null?void 0:n.allWx)==null?void 0:tl.avgCf:`(${(ll=n==null?void 0:n.allWx)==null?void 0:ll.avgCf})`),1),t[88]||(t[88]=e.createElementVNode("span",null,"-",-1)),e.createElementVNode("span",null,e.toDisplayString(((ol=n==null?void 0:n.allWx)==null?void 0:ol.avgWf)>0?(nl=n==null?void 0:n.allWx)==null?void 0:nl.avgWf:`(${(al=n==null?void 0:n.allWx)==null?void 0:al.avgWf})`),1),t[89]||(t[89]=e.createElementVNode("label",null,"=",-1)),e.createElementVNode("span",t0,e.toDisplayString((il=n==null?void 0:n.allWx)==null?void 0:il.pfmSpd)+" (kts)",1)],64)),((Dl=n==null?void 0:n.allWx)==null?void 0:Dl.pfmStatus)==="Under"?(e.openBlock(),e.createElementBlock("span",o0,"(Under-performance)")):e.createCommentVNode("",!0),((Ml=n==null?void 0:n.allWx)==null?void 0:Ml.pfmStatus)==="Over"?(e.openBlock(),e.createElementBlock("span",n0,"(Over-performance)")):e.createCommentVNode("",!0)])]),e.createElementVNode("div",a0,[t[102]||(t[102]=e.createElementVNode("div",{class:"speed-left formula flex-space"},[e.createElementVNode("label",null,"All Weather Performance Speed"),e.createElementVNode("label",null,"=")],-1)),e.createElementVNode("div",i0,[(gl=(ml=l.report)==null?void 0:ml.weather)!=null&&gl.favorableCur&&((El=n==null?void 0:n.allWx)==null?void 0:El.avgCf)>0?(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[t[98]||(t[98]=e.createElementVNode("label",null,"All Weather Average Speed",-1)),t[99]||(t[99]=e.createElementVNode("label",null,"-",-1)),t[100]||(t[100]=e.createElementVNode("label",null,"Weather Factor ",-1)),t[101]||(t[101]=e.createElementVNode("label",{style:{"font-weight":"300"}},"(Current Factor Not Applied)",-1))],64)):(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[t[93]||(t[93]=e.createElementVNode("label",null,"All Weather Average Speed",-1)),t[94]||(t[94]=e.createElementVNode("label",null,"-",-1)),t[95]||(t[95]=e.createElementVNode("label",null,"Current Factor",-1)),t[96]||(t[96]=e.createElementVNode("label",null,"-",-1)),t[97]||(t[97]=e.createElementVNode("label",null,"Weather Factor",-1))],64))])])])),t[254]||(t[254]=e.createElementVNode("div",{class:"bb",style:{margin:"10px 0"}},null,-1)),e.createElementVNode("div",s0,[e.createElementVNode("div",d0,[t[103]||(t[103]=e.createElementVNode("i",{class:"iconfont"},"",-1)),e.createElementVNode("div",r0,[e.createElementVNode("span",null,"Seg. "+e.toDisplayString(H+1)+" Time Analysis",1),(Il=(yl=l.report)==null?void 0:yl.weather)!=null&&Il.noExtrapolation?(e.openBlock(),e.createElementBlock("span",c0,"( no extrapolation beyond the good weather period )")):e.createCommentVNode("",!0)])]),e.createElementVNode("div",N0,[e.createElementVNode("div",D0,[t[107]||(t[107]=e.createElementVNode("div",{class:"formula-left flex-space"},[e.createElementVNode("label",null,"Total Time at Good Weather Performance Speed"),e.createElementVNode("label",null,"=")],-1)),e.createElementVNode("div",M0,[e.createElementVNode("div",m0,[e.createElementVNode("div",null,e.toDisplayString((Al=(pl=l.report)==null?void 0:pl.weather)!=null&&Al.noExtrapolation?"Total Distance At Good Weather":"Total Distance"),1),t[104]||(t[104]=e.createElementVNode("div",{class:"line"},null,-1)),t[105]||(t[105]=e.createElementVNode("div",null,"Good Weather Performance Speed",-1))]),t[106]||(t[106]=e.createElementVNode("div",null,"(a)",-1))])]),e.createElementVNode("div",g0,[e.createElementVNode("div",E0,[e.createElementVNode("label",null,"Total Time at (CP Speed - "+e.toDisplayString(a.computeAbtSpeed(n==null?void 0:n.timeConclusion,(Tl=(Vl=n==null?void 0:n.extend)==null?void 0:Vl.cp)==null?void 0:Tl.speed,"Under"))+"kts)",1),t[108]||(t[108]=e.createElementVNode("label",null,"=",-1))]),e.createElementVNode("div",y0,[e.createElementVNode("div",I0,[e.createElementVNode("div",null,e.toDisplayString((zl=(xl=l.report)==null?void 0:xl.weather)!=null&&zl.noExtrapolation?"Total Distance At Good Weather":"Total Distance"),1),t[109]||(t[109]=e.createElementVNode("div",{class:"line"},null,-1)),e.createElementVNode("div",null,"CP Speed - "+e.toDisplayString(a.computeAbtSpeed(n==null?void 0:n.timeConclusion,(Sl=(Cl=n==null?void 0:n.extend)==null?void 0:Cl.cp)==null?void 0:Sl.speed,"Under"))+"kts",1)]),t[110]||(t[110]=e.createElementVNode("div",null,"(b)",-1))])]),e.createElementVNode("div",p0,[e.createElementVNode("div",A0,[e.createElementVNode("label",null,"Total Time at (CP Speed + "+e.toDisplayString(a.computeAbtSpeed(n==null?void 0:n.timeConclusion,(fl=(kl=n==null?void 0:n.extend)==null?void 0:kl.cp)==null?void 0:fl.speed,"Over"))+"kts)",1),t[111]||(t[111]=e.createElementVNode("label",null,"=",-1))]),e.createElementVNode("div",V0,[e.createElementVNode("div",T0,[e.createElementVNode("div",null,e.toDisplayString((_l=(jl=l.report)==null?void 0:jl.weather)!=null&&_l.noExtrapolation?"Total Distance At Good Weather":"Total Distance"),1),t[112]||(t[112]=e.createElementVNode("div",{class:"line"},null,-1)),e.createElementVNode("div",null,"CP Speed + "+e.toDisplayString(a.computeAbtSpeed(n==null?void 0:n.timeConclusion,(Kl=(Xl=n==null?void 0:n.extend)==null?void 0:Xl.cp)==null?void 0:Kl.speed,"Over"))+"kts",1)]),t[113]||(t[113]=e.createElementVNode("div",null,"(c)",-1))])]),t[114]||(t[114]=e.createStaticVNode('<div class="flex-start" data-v-d9351c5d><div class="flex-space" style="width:300px;font-weight:400;" data-v-d9351c5d><label data-v-d9351c5d>Time Lost</label><div data-v-d9351c5d>=</div><div data-v-d9351c5d>(a)</div><div data-v-d9351c5d>-</div><div data-v-d9351c5d>(b)</div></div><div class="flex-space" style="width:300px;margin-left:200px;font-weight:400;" data-v-d9351c5d><label data-v-d9351c5d>Time Gained</label><div data-v-d9351c5d>=</div><div data-v-d9351c5d>(c)</div><div data-v-d9351c5d>-</div><div data-v-d9351c5d>(a)</div></div></div>',1))]),e.createElementVNode("div",x0,[e.createElementVNode("div",z0,[t[115]||(t[115]=e.createElementVNode("label",null,"Time Lost",-1)),e.createElementVNode("div",null," Total Time at Good Weather Performance Speed > Total Time at (CP Speed - "+e.toDisplayString(a.computeAbtSpeed(n==null?void 0:n.timeConclusion,(ql=(Xe=n==null?void 0:n.extend)==null?void 0:Xe.cp)==null?void 0:ql.speed,"Under"))+" kts) ",1)]),e.createElementVNode("div",C0,[t[116]||(t[116]=e.createElementVNode("label",null,"Time Gained",-1)),e.createElementVNode("div",null," Total Time at Good Weather Performance Speed < Total Time at (CP Speed + "+e.toDisplayString(a.computeAbtSpeed(n==null?void 0:n.timeConclusion,(to=(eo=n==null?void 0:n.extend)==null?void 0:eo.cp)==null?void 0:to.speed,"Over"))+" kts) ",1)]),e.createElementVNode("div",S0,[t[117]||(t[117]=e.createElementVNode("label",null,"No Time Lost and Gained",-1)),e.createElementVNode("div",null," Total Time at (CP Speed + "+e.toDisplayString(a.computeAbtSpeed(n==null?void 0:n.timeConclusion,(oo=(lo=n==null?void 0:n.extend)==null?void 0:lo.cp)==null?void 0:oo.speed,"Over"))+" kts) ≤ Total Time at Good Weather Performance Speed ≤ Total Time at (CP Speed -"+e.toDisplayString(a.computeAbtSpeed(n==null?void 0:n.timeConclusion,(so=(io=n==null?void 0:n.extend)==null?void 0:io.cp)==null?void 0:so.speed,"Under"))+" kts) ",1)])]),(ro=n==null?void 0:n.goodWx)!=null&&ro.distance?(e.openBlock(),e.createElementBlock("div",k0,[e.createElementVNode("div",f0,[t[121]||(t[121]=e.createElementVNode("div",{class:"formula-left flex-space"},[e.createElementVNode("label",null,"Total Time at Good Weather Performance Speed"),e.createElementVNode("label",null,"=")],-1)),e.createElementVNode("div",j0,[e.createElementVNode("div",U0,[e.createElementVNode("div",null,e.toDisplayString((No=(co=l.report)==null?void 0:co.weather)!=null&&No.noExtrapolation?(Do=n==null?void 0:n.goodWx)==null?void 0:Do.distance:(Mo=n==null?void 0:n.allWx)==null?void 0:Mo.distance),1),t[118]||(t[118]=e.createElementVNode("div",{class:"line"},null,-1)),e.createElementVNode("div",null,e.toDisplayString((mo=n==null?void 0:n.goodWx)==null?void 0:mo.pfmSpd),1)]),t[119]||(t[119]=e.createElementVNode("div",null,"=",-1)),e.createElementVNode("div",null,e.toDisplayString((go=n==null?void 0:n.timeConclusion)==null?void 0:go.timeAtPfmSpd)+" (hrs)",1),t[120]||(t[120]=e.createElementVNode("div",null,"(a')",-1))])]),e.createElementVNode("div",b0,[e.createElementVNode("div",O0,[e.createElementVNode("label",null,"Total Time at (CP Speed - "+e.toDisplayString(a.computeAbtSpeed(n==null?void 0:n.timeConclusion,(yo=(Eo=n==null?void 0:n.extend)==null?void 0:Eo.cp)==null?void 0:yo.speed,"Under"))+"kts)",1),t[122]||(t[122]=e.createElementVNode("label",null,"=",-1))]),e.createElementVNode("div",w0,[e.createElementVNode("div",Y0,[e.createElementVNode("div",null,e.toDisplayString((po=(Io=l.report)==null?void 0:Io.weather)!=null&&po.noExtrapolation?(Ao=n==null?void 0:n.goodWx)==null?void 0:Ao.distance:(Vo=n==null?void 0:n.allWx)==null?void 0:Vo.distance),1),t[123]||(t[123]=e.createElementVNode("div",{class:"line"},null,-1)),e.createElementVNode("div",null,e.toDisplayString((To=n==null?void 0:n.timeConclusion)==null?void 0:To.minusAbtSpd),1)]),t[124]||(t[124]=e.createElementVNode("div",null,"=",-1)),e.createElementVNode("div",null,e.toDisplayString((xo=n==null?void 0:n.timeConclusion)==null?void 0:xo.timeAtMinusAbtSpd)+" (hrs)",1),t[125]||(t[125]=e.createElementVNode("div",null,"(b')",-1))])]),e.createElementVNode("div",Q0,[e.createElementVNode("div",h0,[e.createElementVNode("label",null,"Total Time at (CP Speed + "+e.toDisplayString(a.computeAbtSpeed(n==null?void 0:n.timeConclusion,(Co=(zo=n==null?void 0:n.extend)==null?void 0:zo.cp)==null?void 0:Co.speed,"Over"))+"kts)",1),t[126]||(t[126]=e.createElementVNode("label",null,"=",-1))]),e.createElementVNode("div",B0,[e.createElementVNode("div",R0,[e.createElementVNode("div",null,e.toDisplayString((ko=(So=l.report)==null?void 0:So.weather)!=null&&ko.noExtrapolation?(fo=n==null?void 0:n.goodWx)==null?void 0:fo.distance:(jo=n==null?void 0:n.allWx)==null?void 0:jo.distance),1),t[127]||(t[127]=e.createElementVNode("div",{class:"line"},null,-1)),e.createElementVNode("div",null,e.toDisplayString((Uo=n==null?void 0:n.timeConclusion)==null?void 0:Uo.plusAbtSpd),1)]),t[128]||(t[128]=e.createElementVNode("div",null,"=",-1)),e.createElementVNode("div",null,e.toDisplayString((bo=n==null?void 0:n.timeConclusion)==null?void 0:bo.timeAtPlusAbtSpd)+" (hrs)",1),t[129]||(t[129]=e.createElementVNode("div",null,"(c')",-1))])]),e.createElementVNode("div",F0,[((Oo=n==null?void 0:n.timeConclusion)==null?void 0:Oo.conclusionStatus)==="Lost"?(e.openBlock(),e.createElementBlock("div",P0,[t[130]||(t[130]=e.createElementVNode("div",null,"Time Lost",-1)),t[131]||(t[131]=e.createElementVNode("div",null,"=",-1)),t[132]||(t[132]=e.createElementVNode("div",null,"(a') - (b')",-1)),t[133]||(t[133]=e.createElementVNode("div",null,"=",-1)),e.createElementVNode("div",null,e.toDisplayString((wo=n==null?void 0:n.timeConclusion)==null?void 0:wo.timeAtPfmSpd),1),t[134]||(t[134]=e.createElementVNode("div",null,"-",-1)),e.createElementVNode("div",null,e.toDisplayString((Yo=n==null?void 0:n.timeConclusion)==null?void 0:Yo.timeAtMinusAbtSpd),1),t[135]||(t[135]=e.createElementVNode("div",null,"=",-1)),e.createElementVNode("div",null,e.toDisplayString((Qo=n==null?void 0:n.timeConclusion)==null?void 0:Qo.timeLost)+" (hrs)",1)])):((ho=n==null?void 0:n.timeConclusion)==null?void 0:ho.conclusionStatus)==="Gain"?(e.openBlock(),e.createElementBlock("div",G0,[t[136]||(t[136]=e.createElementVNode("div",null,"Time Lost",-1)),t[137]||(t[137]=e.createElementVNode("div",null,"=",-1)),t[138]||(t[138]=e.createElementVNode("div",null,"(c') - (a')",-1)),t[139]||(t[139]=e.createElementVNode("div",null,"=",-1)),e.createElementVNode("div",null,e.toDisplayString((g=n==null?void 0:n.timeConclusion)==null?void 0:g.timeAtPlusAbtSpd),1),t[140]||(t[140]=e.createElementVNode("div",null,"-",-1)),e.createElementVNode("div",null,e.toDisplayString((Bo=n==null?void 0:n.timeConclusion)==null?void 0:Bo.timeAtPfmSpd),1),t[141]||(t[141]=e.createElementVNode("div",null,"=",-1)),e.createElementVNode("div",null,e.toDisplayString((Ro=n==null?void 0:n.timeConclusion)==null?void 0:Ro.timeGain)+" (hrs)",1)])):e.createCommentVNode("",!0),e.createElementVNode("div",{class:e.normalizeClass(((Fo=n==null?void 0:n.timeConclusion)==null?void 0:Fo.conclusionStatus)==="Lost"?"flex-center lost":((Po=n==null?void 0:n.timeConclusion)==null?void 0:Po.conclusionStatus)==="Gain"?"flex-center gain":"flex-center")},[t[142]||(t[142]=e.createElementVNode("label",{style:{"font-weight":"400","margin-right":"4px",color:"var(--idm-black-9)"}}," Conclusion: ",-1)),e.createElementVNode("div",null,e.toDisplayString(((Go=n==null?void 0:n.timeConclusion)==null?void 0:Go.conclusion)||""),1)],2)])])):(e.openBlock(),e.createElementBlock("div",W0,e.toDisplayString(i.noGoodWxDay),1))]),t[255]||(t[255]=e.createElementVNode("div",{class:"bb",style:{margin:"10px 0"}},null,-1)),e.createElementVNode("div",L0,[e.createElementVNode("div",Z0,[t[143]||(t[143]=e.createElementVNode("i",{class:"iconfont"},"",-1)),e.createElementVNode("div",H0,[e.createElementVNode("span",null,"Seg. "+e.toDisplayString(H+1)+" Consumption Analysis",1),(Lo=(Wo=l.report)==null?void 0:Wo.weather)!=null&&Lo.noExtrapolation?(e.openBlock(),e.createElementBlock("span",J0,"( no extrapolation beyond the good weather period )")):e.createCommentVNode("",!0)])]),e.createElementVNode("div",_0,[e.createElementVNode("div",X0,[t[149]||(t[149]=e.createElementVNode("div",{class:"formula-left flex-space"},[e.createElementVNode("label",null,"Entire Voyage Consumption using Good Weather Consumption"),e.createElementVNode("label",null,"=")],-1)),e.createElementVNode("div",K0,[e.createElementVNode("div",u0,[e.createElementVNode("div",null,e.toDisplayString(($l=(Zo=l.report)==null?void 0:Zo.weather)!=null&&$l.noExtrapolation?"Total Distance At Good Weather":"Total Distance"),1),t[144]||(t[144]=e.createElementVNode("div",{class:"line"},null,-1)),t[145]||(t[145]=e.createElementVNode("div",null,"Good Weather Performance Speed",-1))]),t[146]||(t[146]=e.createElementVNode("div",null,"x",-1)),t[147]||(t[147]=e.createElementVNode("div",{class:"fraction",style:{width:"270px"}},[e.createElementVNode("div",null,"Good Weather Consumption*"),e.createElementVNode("div",{class:"line"}),e.createElementVNode("div",null,"Good Weather Time")],-1)),t[148]||(t[148]=e.createElementVNode("div",null,"(d)",-1))])]),e.createElementVNode("div",q0,[t[150]||(t[150]=e.createElementVNode("div",{class:"tips flex-end",style:{"font-size":"14px"}},"* For FO: Good Weather FO Cons. + Good Weather M/E DO/GO Cons. in ECA",-1)),((_o=(Jo=n.extend)==null?void 0:Jo.cp)==null?void 0:_o.dgo)>0?(e.openBlock(),e.createElementBlock("div",$0," * For DO/GO: Good Weather DO/GO Cons. - Good Weather M/E DO/GO Cons. in ECA ")):e.createCommentVNode("",!0)]),e.createElementVNode("div",v0,[t[155]||(t[155]=e.createElementVNode("div",{class:"formula-left flex-space"},[e.createElementVNode("label",null,"Max CP Consumption"),e.createElementVNode("label",null,"=")],-1)),e.createElementVNode("div",ep,[e.createElementVNode("div",tp,[e.createElementVNode("div",null,e.toDisplayString((Ko=(Xo=l.report)==null?void 0:Xo.weather)!=null&&Ko.noExtrapolation?"Total Distance At Good Weather":"Total Distance"),1),t[151]||(t[151]=e.createElementVNode("div",{class:"line"},null,-1)),e.createElementVNode("div",null,"CP Speed - "+e.toDisplayString(a.computeAbtSpeed(n==null?void 0:n.timeConclusion,(qo=(uo=n==null?void 0:n.extend)==null?void 0:uo.cp)==null?void 0:qo.speed,"Under"))+"kts",1)]),t[152]||(t[152]=e.createElementVNode("div",null,"x",-1)),t[153]||(t[153]=e.createElementVNode("div",{class:"fraction",style:{width:"270px"}},[e.createElementVNode("div",null,"Daily CP Consumption + Consumer Over"),e.createElementVNode("div",{class:"line"}),e.createElementVNode("div",null,"24 hours")],-1)),t[154]||(t[154]=e.createElementVNode("div",null,"(e)",-1))])]),e.createElementVNode("div",lp,[t[160]||(t[160]=e.createElementVNode("div",{class:"formula-left flex-space"},[e.createElementVNode("label",null,"Min CP Consumption"),e.createElementVNode("label",null,"=")],-1)),e.createElementVNode("div",op,[e.createElementVNode("div",np,[e.createElementVNode("div",null,e.toDisplayString((vo=($o=l.report)==null?void 0:$o.weather)!=null&&vo.noExtrapolation?"Total Distance At Good Weather":"Total Distance"),1),t[156]||(t[156]=e.createElementVNode("div",{class:"line"},null,-1)),e.createElementVNode("div",null,"CP Speed + "+e.toDisplayString(a.computeAbtSpeed(n==null?void 0:n.timeConclusion,(tn=(en=n==null?void 0:n.extend)==null?void 0:en.cp)==null?void 0:tn.speed,"Over"))+"kts",1)]),t[157]||(t[157]=e.createElementVNode("div",null,"x",-1)),t[158]||(t[158]=e.createElementVNode("div",{class:"fraction",style:{width:"270px"}},[e.createElementVNode("div",null,"Daily CP Consumption - Consumer Under"),e.createElementVNode("div",{class:"line"}),e.createElementVNode("div",null,"24 hours")],-1)),t[159]||(t[159]=e.createElementVNode("div",null,"(f)",-1))])]),t[167]||(t[167]=e.createStaticVNode('<div class="flex-start" data-v-d9351c5d><div class="flex-space" style="width:300px;font-weight:400;" data-v-d9351c5d><label data-v-d9351c5d>Fuel Over-consumption</label><div data-v-d9351c5d>=</div><div data-v-d9351c5d>(d)</div><div data-v-d9351c5d>-</div><div data-v-d9351c5d>(e)</div></div><div class="flex-space" style="width:300px;margin-left:200px;font-weight:400;" data-v-d9351c5d><label data-v-d9351c5d>Fuel Saving</label><div data-v-d9351c5d>=</div><div data-v-d9351c5d>(f)</div><div data-v-d9351c5d>-</div><div data-v-d9351c5d>(d)</div></div></div>',1)),((on=(ln=n.extend)==null?void 0:ln.cp)==null?void 0:on.dgo)>0?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[e.createElementVNode("div",ap,[t[163]||(t[163]=e.createElementVNode("div",{class:"formula-left flex-space"},[e.createElementVNode("label",null,"Fuel Over-consumption in ECA"),e.createElementVNode("label",null,"=")],-1)),e.createElementVNode("div",ip,[e.createElementVNode("div",sp,[t[161]||(t[161]=e.createElementVNode("div",null,"ECA Distance × Fuel Over-consumption",-1)),t[162]||(t[162]=e.createElementVNode("div",{class:"line"},null,-1)),e.createElementVNode("div",null,e.toDisplayString((an=(nn=l.report)==null?void 0:nn.weather)!=null&&an.noExtrapolation?"Total Distance At Good Weather":"Total Distance"),1)])])]),e.createElementVNode("div",dp,[t[166]||(t[166]=e.createElementVNode("div",{class:"formula-left flex-space"},[e.createElementVNode("label",null,"Fuel Saving in ECA"),e.createElementVNode("label",null,"=")],-1)),e.createElementVNode("div",rp,[e.createElementVNode("div",cp,[t[164]||(t[164]=e.createElementVNode("div",null,"ECA Distance × Fuel Saving",-1)),t[165]||(t[165]=e.createElementVNode("div",{class:"line"},null,-1)),e.createElementVNode("div",null,e.toDisplayString((dn=(sn=l.report)==null?void 0:sn.weather)!=null&&dn.noExtrapolation?"Total Distance At Good Weather":"Total Distance"),1)])])])],64)):e.createCommentVNode("",!0)]),t[252]||(t[252]=e.createElementVNode("div",{class:"formula-desc"},[e.createElementVNode("div",{class:"flex-end"},[e.createElementVNode("label",null,"Fuel Over-consumption"),e.createElementVNode("div",null,"Entire Voyage Consumption using Good Weather Consumption > Max CP Consumption")]),e.createElementVNode("div",{class:"flex-end"},[e.createElementVNode("label",null,"Fuel Saving"),e.createElementVNode("div",null,"Entire Voyage Consumption using Good Weather Consumption < Min CP Consumption")]),e.createElementVNode("div",{class:"flex-end"},[e.createElementVNode("label",null,"No Fuel Over-consumption or Saving"),e.createElementVNode("div",null,"Min CP Consumption ≤ Entire Voyage Consumption using Good Weather Consumption ≤ Max CP Consumption")])],-1)),e.createElementVNode("div",Np,[t[168]||(t[168]=e.createElementVNode("i",{class:"iconfont"}," ",-1)),e.createElementVNode("div",Dp,"Seg. "+e.toDisplayString(H+1)+" Fuel Oil",1)]),(rn=n==null?void 0:n.goodWx)!=null&&rn.distance?(e.openBlock(),e.createElementBlock("div",Mp,[((X=(cn=n==null?void 0:n.goodWx)==null?void 0:cn.inEca)==null?void 0:X.distance)>0?(e.openBlock(),e.createElementBlock("div",mp,[t[174]||(t[174]=e.createElementVNode("div",{class:"formula-left flex-space"},[e.createElementVNode("label",null,"* Good Weather M/E DO/GO Cons. in ECA"),e.createElementVNode("label",null,"=")],-1)),e.createElementVNode("div",gp,[e.createElementVNode("div",Ep,[e.createElementVNode("div",null,e.toDisplayString((Nn=(ul=n==null?void 0:n.goodWx)==null?void 0:ul.inEca)==null?void 0:Nn.sumDgoCons),1)]),t[171]||(t[171]=e.createElementVNode("div",null,"-",-1)),e.createElementVNode("div",yp,[e.createElementVNode("div",null,e.toDisplayString((Mn=(Dn=n==null?void 0:n.extend)==null?void 0:Dn.cp)==null?void 0:Mn.dgo),1),t[169]||(t[169]=e.createElementVNode("div",{class:"line"},null,-1)),t[170]||(t[170]=e.createElementVNode("div",null,"24",-1))]),t[172]||(t[172]=e.createElementVNode("div",null,"*",-1)),e.createElementVNode("div",null,e.toDisplayString((gn=(mn=n==null?void 0:n.goodWx)==null?void 0:mn.inEca)==null?void 0:gn.time),1),t[173]||(t[173]=e.createElementVNode("div",null,"=",-1)),e.createElementVNode("div",null,e.toDisplayString((yn=(En=n==null?void 0:n.fuelConclusion)==null?void 0:En.fo)==null?void 0:yn.dgoAsFoCons)+" (mt)",1)])])):e.createCommentVNode("",!0),e.createElementVNode("div",Ip,[t[181]||(t[181]=e.createElementVNode("div",{class:"formula-left flex-space"},[e.createElementVNode("label",null,"Entire Voyage Consumption using Good Weather Consumption"),e.createElementVNode("label",null,"=")],-1)),e.createElementVNode("div",pp,[e.createElementVNode("div",Ap,[e.createElementVNode("div",null,e.toDisplayString((nt=(In=l.report)==null?void 0:In.weather)!=null&&nt.noExtrapolation?(pn=n==null?void 0:n.goodWx)==null?void 0:pn.distance:(An=n==null?void 0:n.allWx)==null?void 0:An.distance),1),t[175]||(t[175]=e.createElementVNode("div",{class:"line"},null,-1)),e.createElementVNode("div",null,e.toDisplayString((Vn=n==null?void 0:n.goodWx)==null?void 0:Vn.pfmSpd),1)]),t[178]||(t[178]=e.createElementVNode("div",null,"x",-1)),e.createElementVNode("div",Vp,[e.createElementVNode("div",null,[e.createElementVNode("span",null,e.toDisplayString((Tn=n==null?void 0:n.goodWx)==null?void 0:Tn.sumFoCons),1),((no=(u=n==null?void 0:n.goodWx)==null?void 0:u.inEca)==null?void 0:no.distance)>0?(e.openBlock(),e.createElementBlock("span",Tp,[t[176]||(t[176]=e.createElementVNode("span",null," + ",-1)),e.createElementVNode("span",null,e.toDisplayString((zn=(xn=n==null?void 0:n.fuelConclusion)==null?void 0:xn.fo)==null?void 0:zn.dgoAsFoCons),1)])):e.createCommentVNode("",!0)]),t[177]||(t[177]=e.createElementVNode("div",{class:"line"},null,-1)),e.createElementVNode("div",null,e.toDisplayString((Cn=n==null?void 0:n.goodWx)==null?void 0:Cn.time),1)]),t[179]||(t[179]=e.createElementVNode("div",null,"=",-1)),e.createElementVNode("div",null,e.toDisplayString((kn=(Sn=n.fuelConclusion)==null?void 0:Sn.fo)==null?void 0:kn.entireCons)+" (mt)",1),t[180]||(t[180]=e.createElementVNode("div",null,"(d')",-1))])]),e.createElementVNode("div",xp,[t[188]||(t[188]=e.createElementVNode("div",{class:"formula-left flex-space"},[e.createElementVNode("label",null,"Max CP Consumption"),e.createElementVNode("label",null,"=")],-1)),e.createElementVNode("div",zp,[e.createElementVNode("div",Cp,[e.createElementVNode("div",null,e.toDisplayString((jn=(fn=l.report)==null?void 0:fn.weather)!=null&&jn.noExtrapolation?(Un=n==null?void 0:n.goodWx)==null?void 0:Un.distance:(zt=n==null?void 0:n.allWx)==null?void 0:zt.distance),1),t[182]||(t[182]=e.createElementVNode("div",{class:"line"},null,-1)),e.createElementVNode("div",null,e.toDisplayString((Pn=n==null?void 0:n.timeConclusion)==null?void 0:Pn.minusAbtSpd),1)]),t[185]||(t[185]=e.createElementVNode("div",null,"x",-1)),e.createElementVNode("div",Sp,[e.createElementVNode("div",null,e.toDisplayString((Wn=(Gn=n==null?void 0:n.fuelConclusion)==null?void 0:Gn.fo)==null?void 0:Wn.overTolerance),1),t[183]||(t[183]=e.createElementVNode("div",{class:"line"},null,-1)),t[184]||(t[184]=e.createElementVNode("div",null,"24",-1))]),t[186]||(t[186]=e.createElementVNode("div",null,"=",-1)),e.createElementVNode("div",null,e.toDisplayString((Zn=(Ln=n.fuelConclusion)==null?void 0:Ln.fo)==null?void 0:Zn.maxCons)+" (mt)",1),t[187]||(t[187]=e.createElementVNode("div",null,"(e')",-1))])]),e.createElementVNode("div",kp,[t[195]||(t[195]=e.createElementVNode("div",{class:"formula-left flex-space"},[e.createElementVNode("label",null,"Min CP Consumption"),e.createElementVNode("label",null,"=")],-1)),e.createElementVNode("div",fp,[e.createElementVNode("div",jp,[e.createElementVNode("div",null,e.toDisplayString((Jn=(Hn=l.report)==null?void 0:Hn.weather)!=null&&Jn.noExtrapolation?(_n=n==null?void 0:n.goodWx)==null?void 0:_n.distance:(Xn=n==null?void 0:n.allWx)==null?void 0:Xn.distance),1),t[189]||(t[189]=e.createElementVNode("div",{class:"line"},null,-1)),e.createElementVNode("div",null,e.toDisplayString((Kn=n==null?void 0:n.timeConclusion)==null?void 0:Kn.plusAbtSpd),1)]),t[192]||(t[192]=e.createElementVNode("div",null,"x",-1)),e.createElementVNode("div",Up,[e.createElementVNode("div",null,e.toDisplayString((qn=(un=n==null?void 0:n.fuelConclusion)==null?void 0:un.fo)==null?void 0:qn.underTolerance),1),t[190]||(t[190]=e.createElementVNode("div",{class:"line"},null,-1)),t[191]||(t[191]=e.createElementVNode("div",null,"24",-1))]),t[193]||(t[193]=e.createElementVNode("div",null,"=",-1)),e.createElementVNode("div",null,e.toDisplayString((vn=($n=n.fuelConclusion)==null?void 0:$n.fo)==null?void 0:vn.minCons)+" (mt)",1),t[194]||(t[194]=e.createElementVNode("div",null,"(f')",-1))])]),e.createElementVNode("div",bp,[((ta=(ea=n==null?void 0:n.fuelConclusion)==null?void 0:ea.fo)==null?void 0:ta.conclusionStatus)==="Over"?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[e.createElementVNode("div",Op,[t[196]||(t[196]=e.createElementVNode("div",null,"Fuel Oil Over-consumption",-1)),t[197]||(t[197]=e.createElementVNode("div",null,"=",-1)),t[198]||(t[198]=e.createElementVNode("div",null,"(d') - (e')",-1)),t[199]||(t[199]=e.createElementVNode("div",null,"=",-1)),e.createElementVNode("div",null,e.toDisplayString((oa=(la=n==null?void 0:n.fuelConclusion)==null?void 0:la.fo)==null?void 0:oa.entireCons),1),t[200]||(t[200]=e.createElementVNode("div",null,"-",-1)),e.createElementVNode("div",null,e.toDisplayString((aa=(na=n==null?void 0:n.fuelConclusion)==null?void 0:na.fo)==null?void 0:aa.maxCons),1),t[201]||(t[201]=e.createElementVNode("div",null,"=",-1)),e.createElementVNode("div",null,e.toDisplayString((sa=(ia=n==null?void 0:n.fuelConclusion)==null?void 0:ia.fo)==null?void 0:sa.overCons),1)]),(ra=(da=n==null?void 0:n.goodWx)==null?void 0:da.inEca)!=null&&ra.distance?(e.openBlock(),e.createElementBlock("div",wp,[t[203]||(t[203]=e.createElementVNode("div",null,"Fuel Oil Over-consumption in ECA",-1)),t[204]||(t[204]=e.createElementVNode("div",null,"=",-1)),e.createElementVNode("div",Yp,[e.createElementVNode("div",null,e.toDisplayString((Na=(ca=n==null?void 0:n.goodWx)==null?void 0:ca.inEca)==null?void 0:Na.distance)+" * "+e.toDisplayString((Ma=(Da=n==null?void 0:n.fuelConclusion)==null?void 0:Da.fo)==null?void 0:Ma.overCons),1),t[202]||(t[202]=e.createElementVNode("div",{class:"line"},null,-1)),e.createElementVNode("div",null,e.toDisplayString((ga=(ma=l.report)==null?void 0:ma.weather)!=null&&ga.noExtrapolation?(Ea=n==null?void 0:n.goodWx)==null?void 0:Ea.distance:(ya=n==null?void 0:n.allWx)==null?void 0:ya.distance),1)]),t[205]||(t[205]=e.createElementVNode("div",null,"=",-1)),e.createElementVNode("div",null,e.toDisplayString((pa=(Ia=n==null?void 0:n.fuelConclusion)==null?void 0:Ia.fo)==null?void 0:pa.foOverConsInEca)+" (mt)",1)])):e.createCommentVNode("",!0)],64)):((Va=(Aa=n==null?void 0:n.fuelConclusion)==null?void 0:Aa.fo)==null?void 0:Va.conclusionStatus)==="Saving"?(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[e.createElementVNode("div",Qp,[t[206]||(t[206]=e.createElementVNode("div",null,"Fuel Oil Saving",-1)),t[207]||(t[207]=e.createElementVNode("div",null,"=",-1)),t[208]||(t[208]=e.createElementVNode("div",null,"(f') - (d')",-1)),t[209]||(t[209]=e.createElementVNode("div",null,"=",-1)),e.createElementVNode("div",null,e.toDisplayString((xa=(Ta=n==null?void 0:n.fuelConclusion)==null?void 0:Ta.fo)==null?void 0:xa.minCons),1),t[210]||(t[210]=e.createElementVNode("div",null,"-",-1)),e.createElementVNode("div",null,e.toDisplayString((Ca=(za=n==null?void 0:n.fuelConclusion)==null?void 0:za.fo)==null?void 0:Ca.entireCons),1),t[211]||(t[211]=e.createElementVNode("div",null,"=",-1)),e.createElementVNode("div",null,e.toDisplayString((ka=(Sa=n==null?void 0:n.fuelConclusion)==null?void 0:Sa.fo)==null?void 0:ka.saving)+" (mt)",1)]),(ja=(fa=n==null?void 0:n.goodWx)==null?void 0:fa.inEca)!=null&&ja.distance?(e.openBlock(),e.createElementBlock("div",hp,[t[213]||(t[213]=e.createElementVNode("div",null,"Fuel Oil Saving in ECA",-1)),t[214]||(t[214]=e.createElementVNode("div",null,"=",-1)),e.createElementVNode("div",Bp,[e.createElementVNode("div",null,e.toDisplayString((ba=(Ua=l.report)==null?void 0:Ua.weather)!=null&&ba.noExtrapolation?(wa=(Oa=n==null?void 0:n.goodWx)==null?void 0:Oa.inEca)==null?void 0:wa.distance:(Qa=(Ya=n==null?void 0:n.allWx)==null?void 0:Ya.inEca)==null?void 0:Qa.distance)+" * "+e.toDisplayString((Ba=(ha=n==null?void 0:n.fuelConclusion)==null?void 0:ha.fo)==null?void 0:Ba.saving),1),t[212]||(t[212]=e.createElementVNode("div",{class:"line",style:{"border-color":"var(--idm-black-9)"}},null,-1)),e.createElementVNode("div",null,e.toDisplayString((Fa=(Ra=l.report)==null?void 0:Ra.weather)!=null&&Fa.noExtrapolation?(Pa=n==null?void 0:n.goodWx)==null?void 0:Pa.distance:(Ga=n==null?void 0:n.allWx)==null?void 0:Ga.distance),1)]),t[215]||(t[215]=e.createElementVNode("div",null,"=",-1)),e.createElementVNode("div",null,e.toDisplayString((La=(Wa=n==null?void 0:n.fuelConclusion)==null?void 0:Wa.fo)==null?void 0:La.foSavingInEca)+" (mt)",1)])):e.createCommentVNode("",!0)],64)):e.createCommentVNode("",!0),e.createElementVNode("div",{class:e.normalizeClass(((Ha=(Za=n==null?void 0:n.fuelConclusion)==null?void 0:Za.fo)==null?void 0:Ha.conclusionStatus)==="Over"?"flex-center lost":((_a=(Ja=n==null?void 0:n.fuelConclusion)==null?void 0:Ja.fo)==null?void 0:_a.conclusionStatus)==="Saving"?"flex-center gain":"flex-center")},[t[216]||(t[216]=e.createElementVNode("label",{style:{"font-weight":"400","margin-right":"4px",color:"var(--idm-black-9)"}}," Conclusion: ",-1)),e.createElementVNode("div",null,e.toDisplayString(((Ka=(Xa=n==null?void 0:n.fuelConclusion)==null?void 0:Xa.fo)==null?void 0:Ka.conclusion)||""),1)],2)])])):(e.openBlock(),e.createElementBlock("div",Rp,e.toDisplayString(i.noGoodWxDay),1)),((qa=(ua=n==null?void 0:n.extend)==null?void 0:ua.cp)==null?void 0:qa.dgo)>0?(e.openBlock(),e.createElementBlock(e.Fragment,{key:2},[e.createElementVNode("div",Fp,[t[217]||(t[217]=e.createElementVNode("i",{class:"iconfont"},"",-1)),e.createElementVNode("div",Pp,"Seg. "+e.toDisplayString(H+1)+" Diesel/Gas Oil",1)]),($a=n==null?void 0:n.goodWx)!=null&&$a.distance?(e.openBlock(),e.createElementBlock("div",Gp,[e.createElementVNode("div",Wp,[t[224]||(t[224]=e.createElementVNode("div",{class:"formula-left flex-space"},[e.createElementVNode("label",null,"Entire Voyage Consumption using Good Weather Consumption"),e.createElementVNode("label",null,"=")],-1)),e.createElementVNode("div",Lp,[e.createElementVNode("div",Zp,[e.createElementVNode("div",null,e.toDisplayString((ei=(va=l.report)==null?void 0:va.weather)!=null&&ei.noExtrapolation?(ti=n==null?void 0:n.goodWx)==null?void 0:ti.distance:(li=n==null?void 0:n.allWx)==null?void 0:li.distance),1),t[218]||(t[218]=e.createElementVNode("div",{class:"line"},null,-1)),e.createElementVNode("div",null,e.toDisplayString((oi=n==null?void 0:n.goodWx)==null?void 0:oi.pfmSpd),1)]),t[221]||(t[221]=e.createElementVNode("div",null,"x",-1)),e.createElementVNode("div",Hp,[e.createElementVNode("div",null,[e.createElementVNode("span",null,e.toDisplayString((ni=n==null?void 0:n.goodWx)==null?void 0:ni.sumDgoCons),1),((ii=(ai=n==null?void 0:n.goodWx)==null?void 0:ai.inEca)==null?void 0:ii.distance)>0?(e.openBlock(),e.createElementBlock("span",Jp,[t[219]||(t[219]=e.createElementVNode("span",null," - ",-1)),e.createElementVNode("span",null,e.toDisplayString((di=(si=n==null?void 0:n.fuelConclusion)==null?void 0:si.fo)==null?void 0:di.dgoAsFoCons),1)])):e.createCommentVNode("",!0)]),t[220]||(t[220]=e.createElementVNode("div",{class:"line"},null,-1)),e.createElementVNode("div",null,e.toDisplayString((ri=n==null?void 0:n.goodWx)==null?void 0:ri.time),1)]),t[222]||(t[222]=e.createElementVNode("div",null,"=",-1)),e.createElementVNode("div",null,e.toDisplayString((Ni=(ci=n.fuelConclusion)==null?void 0:ci.dgo)==null?void 0:Ni.entireCons)+" (mt)",1),t[223]||(t[223]=e.createElementVNode("div",null,"(d'')",-1))])]),e.createElementVNode("div",_p,[t[231]||(t[231]=e.createElementVNode("div",{class:"formula-left flex-space"},[e.createElementVNode("label",null,"Max CP Consumption"),e.createElementVNode("label",null,"=")],-1)),e.createElementVNode("div",Xp,[e.createElementVNode("div",Kp,[e.createElementVNode("div",null,e.toDisplayString((Mi=(Di=l.report)==null?void 0:Di.weather)!=null&&Mi.noExtrapolation?(mi=n==null?void 0:n.goodWx)==null?void 0:mi.distance:(gi=n==null?void 0:n.allWx)==null?void 0:gi.distance),1),t[225]||(t[225]=e.createElementVNode("div",{class:"line"},null,-1)),e.createElementVNode("div",null,e.toDisplayString((Ei=n==null?void 0:n.timeConclusion)==null?void 0:Ei.minusAbtSpd),1)]),t[228]||(t[228]=e.createElementVNode("div",null,"x",-1)),e.createElementVNode("div",up,[e.createElementVNode("div",null,e.toDisplayString((Ii=(yi=n==null?void 0:n.fuelConclusion)==null?void 0:yi.dgo)==null?void 0:Ii.overTolerance),1),t[226]||(t[226]=e.createElementVNode("div",{class:"line"},null,-1)),t[227]||(t[227]=e.createElementVNode("div",null,"24",-1))]),t[229]||(t[229]=e.createElementVNode("div",null,"=",-1)),e.createElementVNode("div",null,e.toDisplayString((Ai=(pi=n.fuelConclusion)==null?void 0:pi.dgo)==null?void 0:Ai.maxCons)+" (mt)",1),t[230]||(t[230]=e.createElementVNode("div",null,"(e'')",-1))])]),e.createElementVNode("div",qp,[t[238]||(t[238]=e.createElementVNode("div",{class:"formula-left flex-space"},[e.createElementVNode("label",null,"Min CP Consumption"),e.createElementVNode("label",null,"=")],-1)),e.createElementVNode("div",$p,[e.createElementVNode("div",vp,[e.createElementVNode("div",null,e.toDisplayString((Ti=(Vi=l.report)==null?void 0:Vi.weather)!=null&&Ti.noExtrapolation?(xi=n==null?void 0:n.goodWx)==null?void 0:xi.distance:(zi=n==null?void 0:n.allWx)==null?void 0:zi.distance),1),t[232]||(t[232]=e.createElementVNode("div",{class:"line"},null,-1)),e.createElementVNode("div",null,e.toDisplayString((Ci=n==null?void 0:n.timeConclusion)==null?void 0:Ci.plusAbtSpd),1)]),t[235]||(t[235]=e.createElementVNode("div",null,"x",-1)),e.createElementVNode("div",eA,[e.createElementVNode("div",null,e.toDisplayString((ki=(Si=n==null?void 0:n.fuelConclusion)==null?void 0:Si.dgo)==null?void 0:ki.underTolerance),1),t[233]||(t[233]=e.createElementVNode("div",{class:"line"},null,-1)),t[234]||(t[234]=e.createElementVNode("div",null,"24",-1))]),t[236]||(t[236]=e.createElementVNode("div",null,"=",-1)),e.createElementVNode("div",null,e.toDisplayString((ji=(fi=n.fuelConclusion)==null?void 0:fi.dgo)==null?void 0:ji.minCons)+" (mt)",1),t[237]||(t[237]=e.createElementVNode("div",null,"(f'')",-1))])]),e.createElementVNode("div",tA,[((bi=(Ui=n==null?void 0:n.fuelConclusion)==null?void 0:Ui.dgo)==null?void 0:bi.conclusionStatus)==="Over"?(e.openBlock(),e.createElementBlock("div",lA,[t[239]||(t[239]=e.createElementVNode("div",null,"Diesel/Gas Oil Over-consumption",-1)),t[240]||(t[240]=e.createElementVNode("div",null,"=",-1)),t[241]||(t[241]=e.createElementVNode("div",null,"(d'') - (e'')",-1)),t[242]||(t[242]=e.createElementVNode("div",null,"=",-1)),e.createElementVNode("div",null,e.toDisplayString((wi=(Oi=n==null?void 0:n.fuelConclusion)==null?void 0:Oi.dgo)==null?void 0:wi.entireCons),1),t[243]||(t[243]=e.createElementVNode("div",null,"-",-1)),e.createElementVNode("div",null,e.toDisplayString((Qi=(Yi=n==null?void 0:n.fuelConclusion)==null?void 0:Yi.dgo)==null?void 0:Qi.maxCons),1),t[244]||(t[244]=e.createElementVNode("div",null,"=",-1)),e.createElementVNode("div",null,e.toDisplayString((Bi=(hi=n==null?void 0:n.fuelConclusion)==null?void 0:hi.dgo)==null?void 0:Bi.overCons),1)])):((Fi=(Ri=n==null?void 0:n.fuelConclusion)==null?void 0:Ri.dgo)==null?void 0:Fi.conclusionStatus)==="Saving"?(e.openBlock(),e.createElementBlock("div",oA,[t[245]||(t[245]=e.createElementVNode("div",null,"Diesel/Gas Oil Saving",-1)),t[246]||(t[246]=e.createElementVNode("div",null,"=",-1)),t[247]||(t[247]=e.createElementVNode("div",null,"(f'') - (d'')",-1)),t[248]||(t[248]=e.createElementVNode("div",null,"=",-1)),e.createElementVNode("div",null,e.toDisplayString((Gi=(Pi=n==null?void 0:n.fuelConclusion)==null?void 0:Pi.dgo)==null?void 0:Gi.minCons),1),t[249]||(t[249]=e.createElementVNode("div",null,"-",-1)),e.createElementVNode("div",null,e.toDisplayString((Li=(Wi=n==null?void 0:n.fuelConclusion)==null?void 0:Wi.dgo)==null?void 0:Li.entireCons),1),t[250]||(t[250]=e.createElementVNode("div",null,"=",-1)),e.createElementVNode("div",null,e.toDisplayString((Hi=(Zi=n==null?void 0:n.fuelConclusion)==null?void 0:Zi.dgo)==null?void 0:Hi.saving)+" (mt)",1)])):e.createCommentVNode("",!0),e.createElementVNode("div",{class:e.normalizeClass(((_i=(Ji=n==null?void 0:n.fuelConclusion)==null?void 0:Ji.dgo)==null?void 0:_i.conclusionStatus)==="Over"?"flex-center lost":((Ki=(Xi=n==null?void 0:n.fuelConclusion)==null?void 0:Xi.dgo)==null?void 0:Ki.conclusionStatus)==="Saving"?"flex-center gain":"flex-center")},[t[251]||(t[251]=e.createElementVNode("label",{style:{"font-weight":"400","margin-right":"4px",color:"var(--idm-black-9)"}}," Conclusion: ",-1)),e.createElementVNode("div",null,e.toDisplayString(((qi=(ui=n==null?void 0:n.fuelConclusion)==null?void 0:ui.dgo)==null?void 0:qi.conclusion)||""),1)],2)])])):(e.openBlock(),e.createElementBlock("div",nA,e.toDisplayString(i.noGoodWxDay),1))],64)):e.createCommentVNode("",!0)])])}),128))])])}const iA=Fe(PE,[["render",aA],["__scopeId","data-v-d9351c5d"]]),Jw="",sA={name:"OrmVygInventory",components:{},props:{report:{type:Object,default:()=>({})},inventory:{type:Array,default:()=>[]},showFactor:{type:Boolean,default:!1}},data(){return{showCF:!1,showAisDistance:!0,showSig:!0,showSwell:!0,showWave:!0,showWaterTemp:!1}},computed:{computeTDClass(){return function(o){if(o.type==="BOSP")return"";{const t=[];return t.push(o.noonLength?"no-border-bottom":"no-border"),t.push(o.excluded?"excluded":o.goodWx?"good-wx":""),t.join(" ")}}},computeWxColspan(){let o=12;return this.showCF||(o-=2),this.showAisDistance||(o-=2),this.showWave||(o-=1),this.showSwell||(o-=1),this.showSig||(o-=1),this.showWaterTemp||(o-=1),o},computeUTCTime(){return function(o,t="MMM-DD/HHmm[Z]"){return`${P(o).utc().format(t)}`}},computeLng(){return function(o){return re.LngLatHelper.lng2pretty(o)}},computeLat(){return function(o){return re.LngLatHelper.lat2pretty(o)}},computePrecision(){return function(o,t=2,l="0.0"){return o?re.LngLatHelper.roundPrecision(o,t):l}}},watch:{report:{handler(o,t){o!=null&&o.id&&this.$nextTick(()=>{this.prepare()})},immediate:!0}},methods:{prepare(){var o,t,l,d,i,a,D,s,c,y,p,N;this.showCF=((t=(o=this.report)==null?void 0:o.weather)==null?void 0:t.showCF)??!1,this.showAisDistance=((d=(l=this.report)==null?void 0:l.weather)==null?void 0:d.showAisDistance)??!0,this.showSig=((a=(i=this.report)==null?void 0:i.weather)==null?void 0:a.showSig)??!0,this.showSwell=((s=(D=this.report)==null?void 0:D.weather)==null?void 0:s.showSwell)??!0,this.showWave=((y=(c=this.report)==null?void 0:c.weather)==null?void 0:y.showWave)??!0,this.showWaterTemp=((N=(p=this.report)==null?void 0:p.weather)==null?void 0:N.waterTempSwitch)||!1}}},dA={class:"report-inventory"},rA={class:"section summary-section"},cA={class:"summary-block"},NA={class:"label",rowspan:"4"},DA={class:"section inventory-section"},MA={class:"inventory-block flex-center"},mA={style:{"font-size":"12px"}},gA=["colspan"],EA={key:0,class:"label",colspan:"2"},yA={key:0,class:"label",rowspan:"2"},IA={key:1,class:"label",rowspan:"2"},pA={key:2,class:"label",rowspan:"2"},AA={key:3,class:"label",colspan:"2"},VA={key:4,class:"label",rowspan:"2"},TA={key:5,class:"label",colspan:"2"},xA={key:6,class:"label",rowspan:"2"},zA={key:7,class:"label",rowspan:"2"},CA={key:8,class:"label",rowspan:"2"},SA={key:0,class:"label"},kA={key:1,class:"label"},fA={key:2,class:"label"},jA={key:3,class:"label"},UA={class:"summary-tbody"};function bA(o,t,l,d,i,a){var D;return e.openBlock(),e.createElementBlock("div",dA,[e.createElementVNode("div",rA,[t[5]||(t[5]=e.createElementVNode("div",{class:"header-block flex-center"},[e.createElementVNode("i",{class:"iconfont"},""),e.createElementVNode("div",{class:"title"},"Speed and Weather Analysis")],-1)),e.createElementVNode("div",cA,[e.createElementVNode("table",null,[t[4]||(t[4]=e.createElementVNode("thead",null,[e.createElementVNode("tr",null,[e.createElementVNode("th",{class:"label",rowspan:"2"},"Seg."),e.createElementVNode("th",{class:"label",rowspan:"2"},"Periods"),e.createElementVNode("th",{class:"label",rowspan:"2"},[e.createElementVNode("div",null,"Distance"),e.createElementVNode("div",null,"(nm)")]),e.createElementVNode("th",{class:"label",rowspan:"2"},[e.createElementVNode("div",null,"Time"),e.createElementVNode("div",null,"(hrs)")]),e.createElementVNode("th",{class:"label",rowspan:"2"},[e.createElementVNode("div",null,"Average Speed"),e.createElementVNode("div",null,"(kts)")]),e.createElementVNode("th",{class:"label",colspan:"2"},"Total Consumption (mt)")]),e.createElementVNode("tr",null,[e.createElementVNode("th",{class:"label"},"FO"),e.createElementVNode("th",{class:"label"},"DO/GO")])],-1)),e.createElementVNode("tbody",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList((D=l.report)==null?void 0:D.segments,(s,c)=>{var y,p,N,M,C,A,V,T,I,S,x,k,m,U,O,w,Y,Q,h,R;return e.openBlock(),e.createElementBlock(e.Fragment,{key:c},[e.createElementVNode("tr",null,[e.createElementVNode("td",NA,e.toDisplayString(c+1),1),t[0]||(t[0]=e.createElementVNode("td",{class:"label"},"Entire Period",-1)),e.createElementVNode("td",null,e.toDisplayString(a.computePrecision((y=s==null?void 0:s.allWx)==null?void 0:y.distance,2,"0.0")),1),e.createElementVNode("td",null,e.toDisplayString(a.computePrecision((p=s==null?void 0:s.allWx)==null?void 0:p.time,2,"0.0")),1),e.createElementVNode("td",null,e.toDisplayString(a.computePrecision((N=s==null?void 0:s.allWx)==null?void 0:N.avgSpd,2,"0.0")),1),e.createElementVNode("td",null,e.toDisplayString(a.computePrecision((M=s==null?void 0:s.allWx)==null?void 0:M.sumFoCons,3,"0.000")),1),e.createElementVNode("td",null,e.toDisplayString(a.computePrecision((C=s==null?void 0:s.allWx)==null?void 0:C.sumDgoCons,3,"0.000")),1)]),e.createElementVNode("tr",null,[t[1]||(t[1]=e.createElementVNode("td",{class:"label"},"Good Weather Period",-1)),e.createElementVNode("td",null,e.toDisplayString(a.computePrecision((A=s==null?void 0:s.goodWx)==null?void 0:A.distance,2,"0.0")),1),e.createElementVNode("td",null,e.toDisplayString(a.computePrecision((V=s==null?void 0:s.goodWx)==null?void 0:V.time,2,"0.0")),1),e.createElementVNode("td",null,e.toDisplayString(a.computePrecision((T=s==null?void 0:s.goodWx)==null?void 0:T.avgSpd,2,"0.0")),1),e.createElementVNode("td",null,e.toDisplayString(a.computePrecision((I=s==null?void 0:s.goodWx)==null?void 0:I.sumFoCons,3,"0.000")),1),e.createElementVNode("td",null,e.toDisplayString(a.computePrecision((S=s==null?void 0:s.goodWx)==null?void 0:S.sumDgoCons,3,"0.000")),1)]),e.createElementVNode("tr",null,[t[2]||(t[2]=e.createElementVNode("td",{class:"label"},"Adverse Weather Period",-1)),e.createElementVNode("td",null,e.toDisplayString(a.computePrecision((x=s==null?void 0:s.badWx)==null?void 0:x.distance,2,"0.0")),1),e.createElementVNode("td",null,e.toDisplayString(a.computePrecision((k=s==null?void 0:s.badWx)==null?void 0:k.time,2,"0.0")),1),e.createElementVNode("td",null,e.toDisplayString(a.computePrecision((m=s==null?void 0:s.badWx)==null?void 0:m.avgSpd,2,"0.0")),1),e.createElementVNode("td",null,e.toDisplayString(a.computePrecision((U=s==null?void 0:s.badWx)==null?void 0:U.sumFoCons,3,"0.000")),1),e.createElementVNode("td",null,e.toDisplayString(a.computePrecision((O=s==null?void 0:s.badWx)==null?void 0:O.sumDgoCons,3,"0.000")),1)]),e.createElementVNode("tr",null,[t[3]||(t[3]=e.createElementVNode("td",{class:"label"},"Excluded Period",-1)),e.createElementVNode("td",null,e.toDisplayString(a.computePrecision((w=s==null?void 0:s.excluded)==null?void 0:w.sumDistance,2,"0.0")),1),e.createElementVNode("td",null,e.toDisplayString(a.computePrecision((Y=s==null?void 0:s.excluded)==null?void 0:Y.sumDuration,2,"0.0")),1),e.createElementVNode("td",null,e.toDisplayString(a.computePrecision((Q=s==null?void 0:s.excluded)==null?void 0:Q.avgSpd,2,"0.0")),1),e.createElementVNode("td",null,e.toDisplayString(a.computePrecision((h=s==null?void 0:s.excluded)==null?void 0:h.sumFoCons,3,"0.000")),1),e.createElementVNode("td",null,e.toDisplayString(a.computePrecision((R=s==null?void 0:s.excluded)==null?void 0:R.sumDgoCons,3,"0.000")),1)])],64)}),128))])])])]),e.createElementVNode("div",DA,[t[42]||(t[42]=e.createStaticVNode('<div class="legends flex-space" data-v-8f17d50b><div class="flex-start" style="flex:1.2;" data-v-8f17d50b><div class="legend good-wx" data-v-8f17d50b></div><div class="label flex-end" data-v-8f17d50b>Charter Party Defined Good Weather Days</div></div><div class="flex-start" style="flex:1.2;" data-v-8f17d50b><div class="legend adverse-wx" data-v-8f17d50b></div><div class="label" data-v-8f17d50b>Charter Party Defined Adverse Weather Days</div></div><div class="flex-start" style="flex:1;" data-v-8f17d50b><div class="legend excluded" data-v-8f17d50b></div><div class="label" data-v-8f17d50b>Excluded Periods From Analysis</div></div><div class="report flex-space" style="flex:1.6;" data-v-8f17d50b><div data-v-8f17d50b><label data-v-8f17d50b>B</label><span data-v-8f17d50b>BOSP</span></div><div data-v-8f17d50b><label data-v-8f17d50b>N</label><span data-v-8f17d50b>NOON</span></div><div data-v-8f17d50b><label data-v-8f17d50b>E</label><span data-v-8f17d50b>EOSP</span></div><div data-v-8f17d50b><label data-v-8f17d50b>*</label><span data-v-8f17d50b>Ship Reported Position</span></div></div></div><div style="text-align:right;padding-bottom:5px;font-size:14px;font-weight:400;color:var(--idm-black-7);" data-v-8f17d50b> The 'ORM Analysis Weather' row data represents the weather conditions within the 3-hour period prior to the indicated time point. </div>',2)),e.createElementVNode("div",MA,[e.createElementVNode("table",mA,[e.createElementVNode("thead",null,[e.createElementVNode("tr",null,[t[6]||(t[6]=e.createElementVNode("th",{class:"label",rowspan:"3"},"Seg",-1)),t[7]||(t[7]=e.createElementVNode("th",{class:"label",rowspan:"3"},"Date",-1)),t[8]||(t[8]=e.createElementVNode("th",{class:"label",colspan:"2"},"Position",-1)),t[9]||(t[9]=e.createElementVNode("th",{class:"label",colspan:"3"},"CP",-1)),e.createElementVNode("th",{class:"label",colspan:a.computeWxColspan},"ORM Weather Analysis",8,gA),l.showFactor?(e.openBlock(),e.createElementBlock("th",EA,"Factor")):e.createCommentVNode("",!0),t[10]||(t[10]=e.createElementVNode("th",{class:"label",colspan:"12"},"Vessel Reported",-1)),t[11]||(t[11]=e.createElementVNode("th",{class:"label",rowspan:"3"},"In ECA",-1))]),e.createElementVNode("tr",null,[t[16]||(t[16]=e.createElementVNode("th",{class:"label",rowspan:"2"},"Lat",-1)),t[17]||(t[17]=e.createElementVNode("th",{class:"label",rowspan:"2"},"Lon",-1)),t[18]||(t[18]=e.createElementVNode("th",{class:"label",rowspan:"2"},[e.createTextVNode("Spd "),e.createElementVNode("br"),e.createTextVNode("(kts)")],-1)),t[19]||(t[19]=e.createElementVNode("th",{class:"label",colspan:"2"},"Daily Cons.(mt)",-1)),i.showAisDistance?(e.openBlock(),e.createElementBlock("th",yA,t[12]||(t[12]=[e.createTextVNode("Spd"),e.createElementVNode("br",null,null,-1),e.createTextVNode("(kts)")]))):e.createCommentVNode("",!0),i.showAisDistance?(e.openBlock(),e.createElementBlock("th",IA,t[13]||(t[13]=[e.createTextVNode("Dis"),e.createElementVNode("br",null,null,-1),e.createTextVNode("(nm)")]))):e.createCommentVNode("",!0),t[20]||(t[20]=e.createElementVNode("th",{class:"label",colspan:"2"},"Wind",-1)),i.showWave?(e.openBlock(),e.createElementBlock("th",pA,t[14]||(t[14]=[e.createTextVNode("Sea HT"),e.createElementVNode("br",null,null,-1),e.createTextVNode("(m)")]))):e.createCommentVNode("",!0),i.showSwell?(e.openBlock(),e.createElementBlock("th",AA,"Swell")):e.createCommentVNode("",!0),i.showSig?(e.openBlock(),e.createElementBlock("th",VA,t[15]||(t[15]=[e.createTextVNode("Sig Wave"),e.createElementVNode("br",null,null,-1),e.createTextVNode("(m)")]))):e.createCommentVNode("",!0),i.showCF?(e.openBlock(),e.createElementBlock("th",TA,"Current")):e.createCommentVNode("",!0),t[21]||(t[21]=e.createElementVNode("th",{class:"label",rowspan:"2"},[e.createTextVNode("Avg. CF"),e.createElementVNode("br"),e.createTextVNode("(kts)")],-1)),l.showFactor?(e.openBlock(),e.createElementBlock("th",xA,"cFactor")):e.createCommentVNode("",!0),l.showFactor?(e.openBlock(),e.createElementBlock("th",zA,"wxFactor")):e.createCommentVNode("",!0),i.showWaterTemp?(e.openBlock(),e.createElementBlock("th",CA,"Water Temp.")):e.createCommentVNode("",!0),t[22]||(t[22]=e.createElementVNode("th",{class:"label",rowspan:"2"},[e.createTextVNode("Spd"),e.createElementVNode("br"),e.createTextVNode("(kts)")],-1)),t[23]||(t[23]=e.createElementVNode("th",{class:"label",rowspan:"2"},[e.createTextVNode("Time"),e.createElementVNode("br"),e.createTextVNode("(h)")],-1)),t[24]||(t[24]=e.createElementVNode("th",{class:"label",rowspan:"2"},[e.createTextVNode("Dis"),e.createElementVNode("br"),e.createTextVNode("(nm)")],-1)),t[25]||(t[25]=e.createElementVNode("th",{class:"label",colspan:"2"},"Engine",-1)),t[26]||(t[26]=e.createElementVNode("th",{class:"label",colspan:"2"},"BROB(mt)",-1)),t[27]||(t[27]=e.createElementVNode("th",{class:"label",colspan:"2"},"DailyCons(mt)",-1)),t[28]||(t[28]=e.createElementVNode("th",{class:"label",colspan:"2"},"Wind",-1)),t[29]||(t[29]=e.createElementVNode("th",{class:"label",rowspan:"2"},[e.createTextVNode("Sea HT"),e.createElementVNode("br"),e.createTextVNode("(m)")],-1))]),e.createElementVNode("tr",null,[t[30]||(t[30]=e.createElementVNode("th",{class:"label"},"FO",-1)),t[31]||(t[31]=e.createElementVNode("th",{class:"label"},"DO/GO",-1)),t[32]||(t[32]=e.createElementVNode("th",{class:"label"},"Dir",-1)),t[33]||(t[33]=e.createElementVNode("th",{class:"label"},"BF",-1)),i.showSwell?(e.openBlock(),e.createElementBlock("th",SA,"Dir")):e.createCommentVNode("",!0),i.showSwell?(e.openBlock(),e.createElementBlock("th",kA,"HT(m)")):e.createCommentVNode("",!0),i.showCF?(e.openBlock(),e.createElementBlock("th",fA,"Dir")):e.createCommentVNode("",!0),i.showCF?(e.openBlock(),e.createElementBlock("th",jA,"CF(kts)")):e.createCommentVNode("",!0),t[34]||(t[34]=e.createElementVNode("th",{class:"label"},"RPM",-1)),t[35]||(t[35]=e.createElementVNode("th",{class:"label"},"Slip%",-1)),t[36]||(t[36]=e.createElementVNode("th",{class:"label"},"FO",-1)),t[37]||(t[37]=e.createElementVNode("th",{class:"label"},"DO/GO",-1)),t[38]||(t[38]=e.createElementVNode("th",{class:"label"},"FO",-1)),t[39]||(t[39]=e.createElementVNode("th",{class:"label"},"DO/GO",-1)),t[40]||(t[40]=e.createElementVNode("th",{class:"label"},"Dir",-1)),t[41]||(t[41]=e.createElementVNode("th",{class:"label"},"BF",-1))])]),e.createElementVNode("tbody",UA,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(l.inventory,(s,c)=>{var y,p,N,M,C,A,V,T,I,S,x,k,m,U,O,w,Y,Q,h,R,G,W,L,Z;return e.openBlock(),e.createElementBlock("tr",{key:c},[e.createElementVNode("td",{class:e.normalizeClass(s.segLength?"no-border-bottom":"no-border")},e.toDisplayString(s.segLength?s.seg:""),3),e.createElementVNode("td",{class:e.normalizeClass(s.excluded?"excluded":s.goodWx?"good-wx":"")},e.toDisplayString(s.time),3),["B","E"].includes(s.abbrev)&&((y=s.noon)!=null&&y.port)?(e.openBlock(),e.createElementBlock("td",{key:0,class:e.normalizeClass(s.excluded?"excluded":s.goodWx?"good-wx":""),colspan:"2",style:{"max-width":"150px","text-wrap":"wrap"}},e.toDisplayString((p=s.noon)==null?void 0:p.port),3)):(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[e.createElementVNode("td",{class:e.normalizeClass(s.excluded?"excluded":s.goodWx?"good-wx":"")},e.toDisplayString(s._lat.pretty),3),e.createElementVNode("td",{class:e.normalizeClass(s.excluded?"excluded":s.goodWx?"good-wx":"")},e.toDisplayString(s._lng.pretty),3)],64)),e.createElementVNode("td",{class:e.normalizeClass(a.computeTDClass(s))},e.toDisplayString(!["A","B"].includes(s.abbrev)&&c?s.cp.speed:""),3),e.createElementVNode("td",{class:e.normalizeClass(a.computeTDClass(s))},e.toDisplayString(!["A","B"].includes(s.abbrev)&&c?s.cp.fo:""),3),e.createElementVNode("td",{class:e.normalizeClass(a.computeTDClass(s))},e.toDisplayString(!["A","B"].includes(s.abbrev)&&c?s.cp.dgo:""),3),i.showAisDistance?(e.openBlock(),e.createElementBlock("td",{key:2,class:e.normalizeClass(a.computeTDClass(s))},e.toDisplayString(!["A","B"].includes(s.abbrev)&&c?s.avgSpdCalc:""),3)):e.createCommentVNode("",!0),i.showAisDistance?(e.openBlock(),e.createElementBlock("td",{key:3,class:e.normalizeClass(a.computeTDClass(s))},e.toDisplayString(!["A","B"].includes(s.abbrev)&&c?s.distanceCalc:""),3)):e.createCommentVNode("",!0),e.createElementVNode("td",{class:e.normalizeClass(s.excluded?"excluded":s.goodWx?"good-wx":"")},e.toDisplayString(s.type==="BOSP"?"-":((M=(N=s.meteo)==null?void 0:N.wind)==null?void 0:M.direction)??"-"),3),e.createElementVNode("td",{class:e.normalizeClass(s.excluded?"excluded":s.goodWx?"good-wx":"")},e.toDisplayString(s.type==="BOSP"?"-":((A=(C=s.meteo)==null?void 0:C.wind)==null?void 0:A.scale)??"-"),3),i.showWave?(e.openBlock(),e.createElementBlock("td",{key:4,class:e.normalizeClass(s.excluded?"excluded":s.goodWx?"good-wx":"")},e.toDisplayString(s.type==="BOSP"?"-":((I=(T=(V=s.meteo)==null?void 0:V.wave)==null?void 0:T.wd)==null?void 0:I.height)??"-"),3)):e.createCommentVNode("",!0),i.showSwell?(e.openBlock(),e.createElementBlock("td",{key:5,class:e.normalizeClass(s.excluded?"excluded":s.goodWx?"good-wx":"")},e.toDisplayString(s.type==="BOSP"?"-":((k=(x=(S=s.meteo)==null?void 0:S.wave)==null?void 0:x.swell)==null?void 0:k.direction)??"-"),3)):e.createCommentVNode("",!0),i.showSwell?(e.openBlock(),e.createElementBlock("td",{key:6,class:e.normalizeClass(s.excluded?"excluded":s.goodWx?"good-wx":"")},e.toDisplayString(s.type==="BOSP"?"-":((O=(U=(m=s.meteo)==null?void 0:m.wave)==null?void 0:U.swell)==null?void 0:O.height)??"-"),3)):e.createCommentVNode("",!0),i.showSig?(e.openBlock(),e.createElementBlock("td",{key:7,class:e.normalizeClass(s.excluded?"excluded":s.goodWx?"good-wx":"")},e.toDisplayString(s.type==="BOSP"?"-":((Q=(Y=(w=s.meteo)==null?void 0:w.wave)==null?void 0:Y.sig)==null?void 0:Q.height)??"-"),3)):e.createCommentVNode("",!0),i.showCF?(e.openBlock(),e.createElementBlock("td",{key:8,class:e.normalizeClass(s.excluded?"excluded":s.goodWx?"good-wx":"")},e.toDisplayString(s.type==="BOSP"?"-":((R=(h=s.meteo)==null?void 0:h.current)==null?void 0:R.direction)??"-"),3)):e.createCommentVNode("",!0),i.showCF?(e.openBlock(),e.createElementBlock("td",{key:9,class:e.normalizeClass(s.excluded?"excluded":s.goodWx?"good-wx":"")},e.toDisplayString(s.type==="BOSP"?"-":((G=s.meteo)==null?void 0:G.cFactor)??"-"),3)):e.createCommentVNode("",!0),e.createElementVNode("td",{class:e.normalizeClass(a.computeTDClass(s))},e.toDisplayString(!["A","B"].includes(s.abbrev)&&c?s.dailyAvgCf:""),3),l.showFactor?(e.openBlock(),e.createElementBlock("td",{key:10,class:e.normalizeClass(s.excluded?"excluded":s.goodWx?"good-wx":"")},e.toDisplayString(((W=s.meteo)==null?void 0:W.cFactor)??"--"),3)):e.createCommentVNode("",!0),l.showFactor?(e.openBlock(),e.createElementBlock("td",{key:11,class:e.normalizeClass(s.excluded?"excluded":s.goodWx?"good-wx":"")},e.toDisplayString(((L=s.meteo)==null?void 0:L.wxFactor)??"--"),3)):e.createCommentVNode("",!0),i.showWaterTemp?(e.openBlock(),e.createElementBlock("td",{key:12,class:e.normalizeClass(s.excluded?"excluded":s.goodWx?"good-wx":"")},e.toDisplayString(((Z=s.meteo)==null?void 0:Z.waterTemp)??"--"),3)):e.createCommentVNode("",!0),e.createElementVNode("td",{class:e.normalizeClass(a.computeTDClass(s))},e.toDisplayString(!["A","B"].includes(s.abbrev)&&c?s.noon.avgSpd||"0.00":""),3),e.createElementVNode("td",{class:e.normalizeClass(a.computeTDClass(s))},e.toDisplayString(!["A","B"].includes(s.abbrev)&&c?s.noon.timeSlr||"0.0":""),3),e.createElementVNode("td",{class:e.normalizeClass(a.computeTDClass(s))},e.toDisplayString(!["A","B"].includes(s.abbrev)&&c?s.noon.distanceSlr||"0.0":""),3),e.createElementVNode("td",{class:e.normalizeClass(a.computeTDClass(s))},e.toDisplayString(!["A","B"].includes(s.abbrev)&&c?s.noon.rpm||"0":""),3),e.createElementVNode("td",{class:e.normalizeClass(a.computeTDClass(s))},e.toDisplayString(!["A","B"].includes(s.abbrev)&&c?s.noon.slip||"0":""),3),e.createElementVNode("td",{class:e.normalizeClass(a.computeTDClass(s))},e.toDisplayString(["A"].includes(s.abbrev)?"":s.noon.foBrob||"0.00"),3),e.createElementVNode("td",{class:e.normalizeClass(a.computeTDClass(s))},e.toDisplayString(["A"].includes(s.abbrev)?"":s.noon.dgoBrob||"0.00"),3),e.createElementVNode("td",{class:e.normalizeClass(a.computeTDClass(s))},e.toDisplayString(!["A","B"].includes(s.abbrev)&&c?s.noon.foCons||"0.00":""),3),e.createElementVNode("td",{class:e.normalizeClass(a.computeTDClass(s))},e.toDisplayString(!["A","B"].includes(s.abbrev)&&c?s.noon.dgoCons||"0.00":""),3),e.createElementVNode("td",{class:e.normalizeClass(a.computeTDClass(s))},e.toDisplayString(!["A","B"].includes(s.abbrev)&&c?s.noon.windDir||"--":""),3),e.createElementVNode("td",{class:e.normalizeClass(a.computeTDClass(s))},e.toDisplayString(!["A","B"].includes(s.abbrev)&&c?s.noon.windBF||"--":""),3),e.createElementVNode("td",{class:e.normalizeClass(a.computeTDClass(s))},e.toDisplayString(!["A","B"].includes(s.abbrev)&&c?s.noon.seasHt||"--":""),3),e.createElementVNode("td",{class:e.normalizeClass(a.computeTDClass(s))},e.toDisplayString(!["A","B"].includes(s.abbrev)&&c?s.inEca===!1?"":"Inside ECA":""),3)])}),128))])])])])])}const OA=Fe(sA,[["render",bA],["__scopeId","data-v-8f17d50b"]]),_w="",wA={name:"OrmVoyageChart",components:{Lng:On,Lat:wn},props:{report:{type:Object,default:()=>({})},inventory:{type:Array,default:()=>[]}},data(){return{spdFoConsChart:void 0,spdDgoConsChart:void 0,wxChart:void 0,currChart:void 0}},computed:{computeUTCTime(){return function(o,t="MMM-DD/HHmm[Z]"){return`${P(o).utc().format(t)}`}}},watch:{inventory:{handler(o,t){o!=null&&o.length&&this.$nextTick(()=>{this.initChart()})},immediate:!0}},methods:{initChart(){this.spdFoConsChart||(this.spdFoConsChart=e.markRaw(Rn.init(this.$refs.spdFoConsChart))),this.spdDgoConsChart||(this.spdDgoConsChart=e.markRaw(Rn.init(this.$refs.spdDgoConsChart))),this.currChart||(this.currChart=e.markRaw(Rn.init(this.$refs.currChart))),this.renderSpdConsChart(),this.renderWxCurrChart()},renderSpdConsChart(){var N,M,C,A,V,T;let o=[];const t=[],l=[],d={dateTime:0,noonAvgSpd:1,noonFoCons:2,noonDgoCons:3,anlyAvgSpd:4,cpSpeed:5,goodWx:6,dgo:7,fo:8,excluded:9};let i=0,a=0;const D=this.inventory.filter(I=>I.noon)||[],s=[];this.inventory.forEach((I,S)=>{var x,k;S===0&&s.push(I.utc),I.type==="EOSP"&&((x=this.inventory[S+1])==null?void 0:x.type)==="BOSP"&&(s.push(I.utc),s.push((k=this.inventory[S+1])==null?void 0:k.utc)),S===this.inventory.length-1&&s.push(I.utc)}),s.forEach((I,S)=>{if(S%2===0){const x=P(s[S+1]).diff(P(s[S]),"minute",!0);for(let k=0;k<=x+1;k++)t.push(this.computeUTCTime(P(s[S]).clone().utc().add(k,"m").format(),"MM-DD/HHmm[Z]"))}}),D.forEach((I,S)=>{var k,m,U,O,w,Y,Q,h,R,G,W,L,Z,J;const x=this.computeUTCTime(I.utc,"MM-DD/HHmm[Z]");if(I.noon&&!o.some(b=>b.slice(0,5)===I.utc.slice(5,10))&&o.push(x),S===D.length-1&&(o=o.filter(b=>b.slice(0,5)!==I.utc.slice(5,10)),o.push(x)),i=Math.ceil(((k=I.noon)==null?void 0:k.foCons)>i?(m=I.noon)==null?void 0:m.foCons:i),i=Math.ceil(((U=I.cp)==null?void 0:U.fo)>i?(O=I.cp)==null?void 0:O.fo:i),a=Math.ceil(((w=I.noon)==null?void 0:w.dgoCons)>a?(Y=I.noon)==null?void 0:Y.dgoCons:a),a=Math.ceil(((Q=I.cp)==null?void 0:Q.dgo)>a?(h=I.cp)==null?void 0:h.dgo:a),l.push([x,(R=I.noon)==null?void 0:R.avgSpd,(G=I.noon)==null?void 0:G.foCons,(W=I.noon)==null?void 0:W.dgoCons,I.avgSpdCalc,I.cp.speed,I.goodWx&&!I.excluded?100:0,I.cp.dgo,I.cp.fo,I.excluded?100:0]),S<D.length-1){const b=D[S+1];l.push([x,(L=b.noon)==null?void 0:L.avgSpd,(Z=b.noon)==null?void 0:Z.foCons,(J=b.noon)==null?void 0:J.dgoCons,b.avgSpdCalc,b.cp.speed,b.goodWx&&!b.excluded?100:0,b.cp.dgo,b.cp.fo,b.excluded?100:0])}});const c=Math.ceil(o.length/10);o=o.filter((I,S)=>S===0||S===o.length-1||S%c===0);const y={animation:!1,title:{text:"Ship Speed and FO Consumption",textStyle:{color:"#000000B3",fontWeight:"500"},left:100,top:"5%"},tooltip:{trigger:"axis"},legend:{show:!0,top:"8%",right:140,itemWidth:45,data:["CP SPD","SOG","CP FO Cons","FO Cons",{name:"Good Weather Days",icon:"rect",itemStyle:{color:"rgba(13,221,159,0.1)"}},{name:"Excluded Days",icon:"rect",itemStyle:{color:"rgba(0,0,0,0.1)"}}]},grid:{bottom:40,containLabel:!1},xAxis:[{type:"category",data:t,boundaryGap:!0,axisTick:{alignWithLabel:!0,customValues:o},axisLabel:{interval:"auto",customValues:o}}],yAxis:[{name:"SOG (kts)",nameLocation:"middle",position:"left",nameGap:35,offset:10,max:20,min:0,alignTicks:!0,axisLine:{lineStyle:{color:"#F44336"}}},{name:"FO Cons (mt)",nameLocation:"middle",position:"right",nameGap:35,offset:10,max:i+1,min:0,alignTicks:!0,axisLine:{lineStyle:{color:"#2a57b7"}},splitLine:{show:!1}}],series:[{name:"CP SPD",type:"line",yAxisIndex:0,showSymbol:!1,encode:{x:d.dateTime,y:d.cpSpeed},lineStyle:{color:"#F44336",type:"dashed"},itemStyle:{color:"#F44336"},data:l,z:2},{name:"CP FO Cons",type:"line",yAxisIndex:1,showSymbol:!1,itemStyle:{color:"#2a57b7"},lineStyle:{color:"#2a57b7",type:"dashed"},encode:{x:d.dateTime,y:d.fo},data:l,z:3},{name:"SOG",type:"line",yAxisIndex:0,showSymbol:!1,encode:{x:d.dateTime,y:(M=(N=this.report)==null?void 0:N.weather)!=null&&M.believeRptDistance?d.noonAvgSpd:d.anlyAvgSpd},lineStyle:{color:"#F44336",type:"solid"},itemStyle:{color:"#F44336"},data:l,z:4},{name:"FO Cons",yAxisIndex:1,type:"line",showSymbol:!1,itemStyle:{color:"#2a57b7"},encode:{x:d.dateTime,y:d.noonFoCons},data:l,z:5},{name:"Good Weather Days",type:"line",encode:{x:d.dateTime,y:d.goodWx},itemStyle:{color:"rgba(209,249,190,0)"},areaStyle:{color:"rgba(13,221,159,0.1)"},data:l,z:1},{name:"Excluded Days",type:"line",encode:{x:d.dateTime,y:d.excluded},itemStyle:{color:"rgba(209,249,190,0)"},areaStyle:{color:"rgba(0,0,0,0.1)"},data:l,z:1}]};(C=this.spdFoConsChart)==null||C.setOption(y);const p={animation:!1,title:{text:"Ship Speed and DGO Consumption",textStyle:{color:"#000000B3",fontWeight:"500"},top:"5%",left:100},tooltip:{trigger:"axis"},legend:{show:!0,top:"8%",right:140,itemWidth:45,data:["CP SPD","SOG","CP DGO Cons","DGO Cons",{name:"Good Weather Days",icon:"rect",itemStyle:{color:"rgba(13,221,159,0.1)"}},{name:"Excluded Days",icon:"rect",itemStyle:{color:"rgba(0,0,0,0.1)"}}]},grid:{bottom:40,containLabel:!1},xAxis:[{type:"category",data:t,boundaryGap:!0,axisTick:{alignWithLabel:!0,customValues:o},axisLabel:{interval:"auto",customValues:o}}],yAxis:[{name:"SOG (kts)",nameLocation:"middle",position:"left",nameGap:35,offset:10,max:20,min:0,alignTicks:!0,axisLine:{lineStyle:{color:"#F44336"}}},{name:"DGO Cons (mt)",nameLocation:"middle",position:"right",nameGap:35,max:a+.2,min:0,alignTicks:!0,splitLine:{show:!1},axisLine:{lineStyle:{color:"#7191d1"}}}],series:[{name:"CP SPD",type:"line",yAxisIndex:0,showSymbol:!1,encode:{x:d.dateTime,y:d.cpSpeed},lineStyle:{color:"#F44336",type:"dashed"},itemStyle:{color:"#F44336"},data:l,z:2},{name:"CP DGO Cons",type:"line",yAxisIndex:1,showSymbol:!1,itemStyle:{color:"#7191d1"},lineStyle:{color:"#7191d1",type:"dashed"},encode:{x:d.dateTime,y:d.dgo},data:l,z:3},{name:"SOG",type:"line",yAxisIndex:0,showSymbol:!1,encode:{x:d.dateTime,y:(V=(A=this.report)==null?void 0:A.weather)!=null&&V.believeRptDistance?d.noonAvgSpd:d.anlyAvgSpd},lineStyle:{color:"#F44336",type:"solid"},itemStyle:{color:"#F44336"},data:l,z:4},{name:"DGO Cons",type:"line",showSymbol:!1,yAxisIndex:1,itemStyle:{color:"#7191d1"},encode:{x:d.dateTime,y:d.noonDgoCons},data:l,z:5},{name:"Good Weather Days",type:"line",encode:{x:d.dateTime,y:d.goodWx},itemStyle:{color:"rgba(209,249,190,0)"},areaStyle:{color:"rgba(13,221,159,0.1)"},data:l,z:1},{name:"Excluded Days",type:"line",encode:{x:d.dateTime,y:d.excluded},itemStyle:{color:"rgba(209,249,190,0)"},areaStyle:{color:"rgba(0,0,0,0.1)"},data:l,z:1}]};(T=this.spdDgoConsChart)==null||T.setOption(p)},renderWxCurrChart(){var C;let o=[];const t=[],l=[],d={dateTime:0,noonWdBF:1,anlyWdBF:2,anlyWdDir:3,noonSeasHt:4,anlySigWvHt:5,anlyCurFct:6,goodWx:7,excluded:8};let i=4;const a=this.inventory||[],D=[];a.forEach((A,V)=>{var T,I;V===0&&D.push(A.utc),A.type==="EOSP"&&((T=a[V+1])==null?void 0:T.type)==="BOSP"&&(D.push(A.utc),D.push((I=a[V+1])==null?void 0:I.utc)),V===a.length-1&&D.push(A.utc)}),D.forEach((A,V)=>{if(V%2===0){const T=P(D[V+1]).diff(P(D[V]),"minute",!0);for(let I=0;I<=T+1;I++)t.push(this.computeUTCTime(P(D[V]).clone().utc().add(I,"m").format(),"MM-DD/HHmm[Z]"))}}),a.forEach((A,V)=>{var I,S,x,k,m,U,O,w,Y,Q,h,R,G,W,L,Z,J,b,te,le,oe,ne,ae,n,H,q,$,v,ie,se;const T=this.computeUTCTime(A.utc,"MM-DD/HHmm[Z]");if(A.noon&&!o.some(_=>_.slice(0,5)===A.utc.slice(5,10))&&o.push(T),V===a.length-1&&(o=o.filter(_=>_.slice(0,5)!==A.utc.slice(5,10)),o.push(T)),i=Math.ceil(((x=(S=(I=A.meteo)==null?void 0:I.wave)==null?void 0:S.sig)==null?void 0:x.height)>i?(U=(m=(k=A.meteo)==null?void 0:k.wave)==null?void 0:m.sig)==null?void 0:U.height:i),l.push([T,((O=A.noon)==null?void 0:O.windBF)||((Y=(w=A.meteo)==null?void 0:w.wind)==null?void 0:Y.scale),(h=(Q=A.meteo)==null?void 0:Q.wind)==null?void 0:h.scale,(G=(R=A.meteo)==null?void 0:R.wind)==null?void 0:G.direction,(W=A.noon)==null?void 0:W.seasHt,(J=(Z=(L=A.meteo)==null?void 0:L.wave)==null?void 0:Z.sig)==null?void 0:J.height,A.dailyAvgCf??((b=l[l.length-1])==null?void 0:b[d.anlyCurFct]),A.goodWx&&!A.excluded?20:0,A.excluded?20:0]),V<a.length-1){const _=a[V+1];l.push([T,((te=A.noon)==null?void 0:te.windBF)||((oe=(le=A.meteo)==null?void 0:le.wind)==null?void 0:oe.scale),(ae=(ne=_.meteo)==null?void 0:ne.wind)==null?void 0:ae.scale,(H=(n=_.meteo)==null?void 0:n.wind)==null?void 0:H.direction,(q=_.noon)==null?void 0:q.seasHt,(ie=(v=($=A.meteo)==null?void 0:$.wave)==null?void 0:v.sig)==null?void 0:ie.height,_.dailyAvgCf??((se=l[l.length-1])==null?void 0:se[d.anlyCurFct]),_.goodWx&&!_.excluded?20:0,_.excluded?20:0])}});const s=Math.ceil(o.length/10);o=o.filter((A,V)=>V===0||V===o.length-1||V%s===0);let c=-2.5,y=2.5,p=1,N=5;c<-2.5||y>2.5?(c=Math.floor(this.findMinValue(l,6)/5)*5,y=Math.ceil(this.findMaxValue(l,6)/5)*5,p=Math.ceil(Math.max([Math.abs(c),Math.abs(y)])/5),N=Math.ceil(Math.abs(c)/p)+Math.ceil(Math.abs(y)/p)):(p=.5,c=Math.floor(this.findMinValue(l,6)/.5)*p,y=2.5,N=Math.abs(c)/p+5);const M={animation:!1,title:{text:"Weather and Current Factor",top:"5%",textStyle:{color:"#000000B3",fontWeight:"500"},left:100},tooltip:{trigger:"axis"},legend:{show:!0,top:"8%",right:140,itemWidth:45,data:["Current Factor","Wind BF","Sig.wave Height",{name:"Good Weather Days",icon:"rect",itemStyle:{color:"rgba(13,221,159,0.1)"}},{name:"Excluded Days",icon:"rect",itemStyle:{color:"rgba(0,0,0,0.1)"}}]},grid:{bottom:40,containLabel:!1},xAxis:{type:"category",data:t,boundaryGap:!1,position:"zero",axisTick:{alignWithLabel:!0,customValues:o},axisLabel:{interval:"auto",customValues:o}},yAxis:[{name:"Current Factor (kts)",show:!0,nameLocation:"middle",position:"left",offset:10,nameGap:25,min:c,max:y,interval:p,splitNumber:N,axisLine:{lineStyle:{color:"#a362f9"}},splitLine:{show:!0}},{name:"Wind BF",nameLocation:"middle",position:"left",offset:50,nameGap:25,min:-1*(N-5)*Math.ceil(this.findMaxValue(l,1)/5),max:Math.ceil(this.findMaxValue(l,1)/5)*5,interval:Math.ceil(this.findMaxValue(l,1)/5),splitNumber:N,show:!0,axisLine:{lineStyle:{color:"#60c43e"}},splitLine:{show:!0},axisLabel:{formatter:(A,V)=>{if(A>=0)return A}}},{name:"Sig.wave Height (m)",nameLocation:"middle",position:"right",offset:10,nameGap:25,show:!0,startValue:0,min:-1*(N-5)*Math.ceil(this.findMaxValue(l,5)/5),max:Math.ceil(this.findMaxValue(l,5)/5)*5,interval:Math.ceil(this.findMaxValue(l,5)/5),splitNumber:N,axisLine:{lineStyle:{color:"#21baa3"}},splitLine:{show:!0},axisLabel:{formatter:(A,V)=>{if(A>=0)return A}}},{name:"Good Weather Days",show:!1}],series:[{name:"Current Factor",type:"line",yAxisIndex:0,showSymbol:!1,encode:{x:d.dateTime,y:d.anlyCurFct},itemStyle:{color:"#a362f9"},data:l,z:3},{name:"Wind BF",type:"line",yAxisIndex:1,showSymbol:!1,encode:{x:d.dateTime,y:d.anlyWdBF},itemStyle:{color:"#15ab02"},data:l,z:3},{name:"Sig.wave Height",type:"line",yAxisIndex:2,showSymbol:!1,encode:{x:d.dateTime,y:d.anlySigWvHt},itemStyle:{color:"#017c8a"},data:l,z:3},{name:"Good Weather Days",type:"line",yAxisIndex:3,encode:{x:d.dateTime,y:d.goodWx},itemStyle:{color:"rgba(209,249,190,0)"},areaStyle:{color:"rgba(13,221,159,0.1)"},data:l,z:1},{name:"Excluded Days",type:"line",yAxisIndex:3,encode:{x:d.dateTime,y:d.excluded},itemStyle:{color:"rgba(209,249,190,0)"},areaStyle:{color:"rgba(0,0,0,0.1)"},data:l,z:1}]};(C=this.currChart)==null||C.setOption(M)},findMaxValue(o,t){let l=-1/0;for(let d=0;d<o.length;d++){const i=o[d];if(i.length>=t+1){const a=i[t];typeof a=="number"&&!isNaN(a)&&Number(a)>l&&(l=a)}}return l},findMinValue(o,t){let l=1/0;for(let d=0;d<o.length;d++){const i=o[d];if(i.length>=t+1){const a=i[t];a<l&&(l=a)}}return l}}},YA={class:"report-summary"},QA={class:"section chart-section"},hA={class:"chart-block"},BA={ref:"spdFoConsChart",class:"chart"},RA={ref:"spdDgoConsChart",class:"chart"},FA={ref:"currChart",class:"chart"},PA={class:"section map-section"},GA={class:"map-block"},WA={class:"flex-space"},LA={class:"voyage-block",style:{height:"197px"}},ZA={class:"flex-space label-block",style:{width:"100%"}},HA={style:{"text-transform":"uppercase"}},JA={class:"flex-space label-block",style:{width:"100%"}},_A={class:"flex-end",style:{flex:"1","text-transform":"uppercase"}},XA={class:"flex-end",style:{width:"180px","text-transform":"uppercase"}},KA={class:"flex-space label-block",style:{width:"100%"}},uA={class:"flex-end",style:{flex:"1","text-transform":"uppercase"}},qA={class:"flex-space label-block",style:{width:"100%"}},$A={key:0,class:"flex-end",style:{flex:"1"}},vA={key:1,class:"flex-end",style:{flex:"1"}},eV={class:"flex-end",style:{width:"160px"}},tV={class:"flex-space label-block",style:{width:"100%"}},lV={key:0,class:"flex-end",style:{flex:"1"}},oV={key:1,class:"flex-end",style:{flex:"1"}},nV={class:"flex-end",style:{width:"160px"}},aV={class:"flex-space label-block",style:{width:"100%"}},iV={class:"flex-end",style:{flex:"1","text-transform":"uppercase"}},sV=["src"];function dV(o,t,l,d,i,a){var c,y,p,N,M,C,A,V,T,I,S,x,k,m,U,O,w,Y,Q,h,R,G,W,L,Z,J,b;const D=e.resolveComponent("Lat"),s=e.resolveComponent("Lng");return e.openBlock(),e.createElementBlock("div",YA,[e.createElementVNode("div",QA,[t[0]||(t[0]=e.createElementVNode("div",{class:"header-block flex-center"},[e.createElementVNode("i",{class:"iconfont"},""),e.createElementVNode("div",{class:"title"},"Speed and Consumption with Current Analysis Graph")],-1)),e.createElementVNode("div",hA,[e.createElementVNode("div",BA,null,512),e.createElementVNode("div",RA,null,512),e.createElementVNode("div",FA,null,512)])]),e.createElementVNode("div",PA,[t[10]||(t[10]=e.createElementVNode("div",{class:"header-block flex-center"},[e.createElementVNode("i",{class:"iconfont"},""),e.createElementVNode("div",{class:"title"},"Voyage Map")],-1)),e.createElementVNode("div",GA,[e.createElementVNode("div",WA,[e.createElementVNode("div",LA,[e.createElementVNode("div",ZA,[t[1]||(t[1]=e.createElementVNode("label",{class:"flex-end",style:{width:"140px"}},"Prepare for",-1)),e.createElementVNode("span",HA,e.toDisplayString(l.report.preparedFor),1)]),e.createElementVNode("div",JA,[t[2]||(t[2]=e.createElementVNode("label",{class:"flex-end",style:{width:"140px"}},"Vessel",-1)),e.createElementVNode("span",_A,e.toDisplayString((y=(c=l.report)==null?void 0:c.vessel)==null?void 0:y.name),1),e.createElementVNode("span",XA,"("+e.toDisplayString((N=(p=l.report)==null?void 0:p.vessel)==null?void 0:N.type)+")",1)]),e.createElementVNode("div",KA,[t[3]||(t[3]=e.createElementVNode("label",{class:"flex-end",style:{width:"140px"}},"Voyage No",-1)),e.createElementVNode("span",uA,e.toDisplayString((C=(M=l.report)==null?void 0:M.voyage)==null?void 0:C.number),1)]),e.createElementVNode("div",qA,[t[5]||(t[5]=e.createElementVNode("label",{class:"flex-end",style:{width:"140px"}},"Departure Port",-1)),(V=(A=l.report)==null?void 0:A.departure)!=null&&V.portName?(e.openBlock(),e.createElementBlock("span",$A,e.toDisplayString((I=(T=l.report)==null?void 0:T.departure)==null?void 0:I.portName),1)):(e.openBlock(),e.createElementBlock("div",vA,[e.createVNode(D,{lat:(x=(S=l.report)==null?void 0:S.departure)==null?void 0:x.lat,label:"",style:{"font-size":"14px","font-weight":"400"}},null,8,["lat"]),t[4]||(t[4]=e.createElementVNode("span",{style:{"margin-right":"3px"}},",",-1)),e.createVNode(s,{lng:(k=l.report.departure)==null?void 0:k.lng,label:"",style:{"font-size":"14px","font-weight":"400"}},null,8,["lng"])])),e.createElementVNode("span",eV,e.toDisplayString(a.computeUTCTime((m=l.report.departure)==null?void 0:m.utcTime,"MMM-DD/HHmm[Z], YYYY")),1)]),e.createElementVNode("div",tV,[t[7]||(t[7]=e.createElementVNode("label",{class:"flex-end",style:{width:"140px"}},"Arrival Port",-1)),(O=(U=l.report)==null?void 0:U.arrival)!=null&&O.portName?(e.openBlock(),e.createElementBlock("span",lV,e.toDisplayString((Y=(w=l.report)==null?void 0:w.arrival)==null?void 0:Y.portName),1)):(e.openBlock(),e.createElementBlock("div",oV,[e.createVNode(D,{lat:(h=(Q=l.report)==null?void 0:Q.arrival)==null?void 0:h.lat,label:"",style:{"font-size":"14px","font-weight":"400"}},null,8,["lat"]),t[6]||(t[6]=e.createElementVNode("span",{style:{"margin-right":"3px"}},",",-1)),e.createVNode(s,{lng:(G=(R=l.report)==null?void 0:R.arrival)==null?void 0:G.lng,label:"",style:{"font-size":"14px","font-weight":"400"}},null,8,["lng"])])),e.createElementVNode("span",nV,e.toDisplayString(a.computeUTCTime((L=(W=l.report)==null?void 0:W.arrival)==null?void 0:L.utcTime,"MMM-DD/HHmm[Z], YYYY")),1)]),e.createElementVNode("div",aV,[t[8]||(t[8]=e.createElementVNode("label",{class:"flex-end",style:{width:"140px"}},"Load Condition",-1)),e.createElementVNode("span",iV,e.toDisplayString((J=(Z=l.report)==null?void 0:Z.voyage)==null?void 0:J.loadCondition),1)])]),t[9]||(t[9]=e.createStaticVNode('<div class="legend-block" data-v-45a20167><div style="position:absolute;margin-top:-8px;" data-v-45a20167>LEGEND</div><div class="flex-space" data-v-45a20167><div data-v-45a20167>0812</div><div data-v-45a20167><div data-v-45a20167>08 - Day of the month</div><div data-v-45a20167>12 - Hours of the day</div></div></div><div class="flex-space" data-v-45a20167><div data-v-45a20167><i class="iconfont" style="font-size:30px;font-weight:600;color:var(--idm-black-6);" data-v-45a20167></i></div><div data-v-45a20167><div data-v-45a20167>Wind from N (000)</div><div data-v-45a20167>Each bard = 10 kts</div><div data-v-45a20167>1/2 bard = 5 kts</div></div></div><div class="flex-space" data-v-45a20167><div data-v-45a20167>W 4</div><div data-v-45a20167>Sig. Wave from West, 4 meters</div></div><div class="flex-space" data-v-45a20167><div class="good-wx" data-v-45a20167>Date</div><div data-v-45a20167>Good weather days</div></div></div>',1))]),e.createElementVNode("img",{src:(b=l.report)==null?void 0:b.chartUrl,alt:""},null,8,sV)])]),t[11]||(t[11]=e.createStaticVNode('<div class="section method-section" data-v-45a20167><div class="header-block flex-center" data-v-45a20167><i class="iconfont" data-v-45a20167></i><div class="title" data-v-45a20167>Charter Party Compliance Analysis Methodology</div></div><div class="method-block" data-v-45a20167><div class="method-title" data-v-45a20167>1. Good Weather Method</div><div class="method-body" data-v-45a20167> Ship Performance is assessed based on the Good Weather Method as set out by The Didymi[1987] 2 Lloyd's Rep 166 and The Gas Enterprise [1993] 2 Lloyd's Rep. 352. <br data-v-45a20167> The vessel's performance in good weather conditions stipulated in the Charter Party is analyzed taking into account the average speed and the current factor during good weather periods, unless otherwise stipulated. <br data-v-45a20167> A “day” is taken to be the period of time between consecutive daily noon positions: each day is categorized as a "good weather day" or "adverse weather day" according to the good weather definition stipulated in the Charter Party. </div></div><div class="method-block" data-v-45a20167><div class="method-title" data-v-45a20167>2. Damage assessment due to ship under-performance</div><div class="method-body" data-v-45a20167> Speed and Consumption Calculation applies allowed time and allowed consumption calculated based on cp speed and consumption in good weather conditions. Complying with maritime arbitration standards, time loss and over/under-consumption is not calculated when there are no good weather days. </div></div><div class="method-block" data-v-45a20167><div class="method-title" data-v-45a20167>3. Logbooks description vs. Analysis</div><div class="method-body" data-v-45a20167> To complete the Good Weather Analysis method requests daily noon positions (including time, distance, weather, seas, bunker consumption, etc.) from the Master, which are to be inspected in evaluation reports. We will apply our analyzed distances. Weather and sea conditions in reports represent our verified weather data. </div></div><div class="method-block" data-v-45a20167><div class="method-title" data-v-45a20167>4. “About”</div><div class="method-body" data-v-45a20167> Complying with arbitration standards, the speed calculation applies an allowance when an “about” is included with the speed warranty. <br data-v-45a20167> As per the High Court decision on The Gaz Energy (2012) 852 LMLN 2 a plus 5% tolerance in over-consumption calculation and a minus 5% tolerance in under-consumption are employed respectively when an “about” is included with the consumption warranty, unless otherwise stipulated. </div></div><div class="method-block" data-v-45a20167><div class="method-title" data-v-45a20167>5. Bunker Analysis Methodology for Bunker Type Switch-Over</div><div class="method-body" data-v-45a20167> The following methodology will be applied to analyze bunker consumption when the bunker type is switched over, such as in ECA/SECA zone. <br data-v-45a20167> 5-1 DO/GO consumption in the switch over period will be compared to the charter party warranted IFO figure. <br data-v-45a20167> 5-2 Considering DO/GO consumption in the switch over period the amount of DO/GO consumed will initially be compared to the DO/GO warranted figure; the remaining DO/GO consumed in the switch over period will then be compared to the warranted IFO figure. In cases of partial steaming Days, the DO/GO consumed will be converted basis a calculation for hourly consumption. </div><div class="method-block" data-v-45a20167><div class="method-title" data-v-45a20167>6. Further reference materials</div><div class="method-body" data-v-45a20167>Please send mail to <a href="mailto:op@ormwx.com" data-v-45a20167>op@ormwx.com</a>.</div></div></div></div>',1))])}const rV=Fe(wA,[["render",dV],["__scopeId","data-v-45a20167"]]),Xw="",Kw="",cV={name:"OrmVoyageEmail",props:{report:{type:Object,default:()=>({})},voyageEmails:{type:Array,default:()=>[]}},emits:["commit"],data(){return{}},computed:{computeUTCTime(){return function(o,t="MMM-DD/HHmm[Z]"){return`${P(o).utc().format(t)}`}},computeBlankHtml(){return function(o){return!(o!=null&&o.replace(/<[^>]+>/g,""))}}},watch:{voyageEmails:{handler(o,t){o.length>0&&this.$nextTick(()=>{this.prepare()})},immediate:!0}},methods:{prepare(){document.getElementById("col1").innerHTML=null,document.getElementById("col2").innerHTML=null;const o=this.voyageEmails.sort((t,l)=>t.date<l.date);o==null||o.forEach((t,l)=>{var c,y;let d="<div>";t.to.includes("op@ormwx.com")||t.source==="VRT"?(((y=(c=t.body)==null?void 0:c.replace(/^"|"$/g,""))==null?void 0:y.split("\\n")).forEach(N=>{const M=`<p>${N}</p>`;d=d+M}),d=d+"</div>"):d=t.body;const i=document.getElementById("col1"),a=document.getElementById("col2"),D=(i==null?void 0:i.offsetHeight)||0,s=(a==null?void 0:a.offsetHeight)||0;if(D<=s){let N=`<div class="${t.to.includes("op@ormwx.com")||t.source==="VRT"?"vrpt-mail-item vrpt-item-left vrpt-inbox":"vrpt-mail-item vrpt-item-left vrpt-outbox"}">
|
|
41
|
+
-3744 58 -1917 -1 -3507 -3 -3535 -5z`},null,-1)]),8,dM)]))])}const ms=Fe(aM,[["render",rM]]),cM={install(o){o.component("PiLogo",ms)}},Gw="",Ww="",NM={name:"FliVygSummary",components:{Editor:ao},props:{reportData:{type:Object,default:()=>({})},editorDisabled:{type:Boolean,default:()=>!1}},emits:["commit"],data(){return{date:"",remarks:"<div>Exclusion</div><div>The following time,distance and amount of consumed fuel have been excluded from the Performance Speed Evaluation</div>",editable:!1,advisory:void 0,excludedTableData:[],segDetail:[],goodDays:[],cpDetail:[],noGoodWxDay:"No Good Wx Day",noSpecialRemarks:"No Special Remarks"}},computed:{computedAvgCf(){return function(o){var t,l;return(l=(t=this.reportData)==null?void 0:t.weather)!=null&&l.favorableCur?o.avgCf>0:!1}},computedPositive(){return function(o){return o>0?o:`(${o})`}},computedTime(){return function(o,t){return t=="subtitle"?P(o).utc().format("MMMM-DD, YYYY/HHmm[Z]"):t=="table"?P(o).utc().format("MMMM-DD/HHmm[Z]"):t=="summary"?P(o).utc().format("MMMM D, HHmm[Z]"):t?P(o).utc().format(t):P(o).utc().format("MMMM D, YYYY")}},computedLngLat(){return function(o,t){const l=re.LngLatHelper.lat2pretty(o).pretty,d=re.LngLatHelper.lng2pretty(t).pretty;return`${l} ${d}`}},computedSeg(){return function(o){const t=o.departure.portName||this.computedLngLat(o.departure.lat,o.departure.lng),l=this.computedTime(o.departure.utcTime,"summary"),d=this.computedTime(o.departure.utcTime,"MMMM-DD,YYYY/HHmm[Z]"),i=o.arrival.portName||this.computedLngLat(o.arrival.lat,o.arrival.lng),a=this.computedTime(o.arrival.utcTime,"summary"),D=this.computedTime(o.arrival.utcTime,"MMMM-DD,YYYY/HHmm[Z]");return{port1:t,time1:l,fullTime1:d,port2:i,time2:a,fullTime2:D}}},computedTimeConclusion(){return function(o){let t=o.conclusionStatus,l={conclusion:"",className:"",timeCon:""};return t=="No"?(l.conclusion="No Time Lost/Gained",l.className="",l.timeCon=""):t=="Lost"?(l.conclusion="Time Lost",l.className="error",l.timeCon=`${o.timeLost} hrs`):(l.conclusion="Time Gained",l.className="success",l.timeCon=`${o.timeGain} hrs`),l}},computedFuleConclusion(){return function(o,t){let l=o.conclusionStatus,d={conclusion:"",className:"",cons:""};return l==="No"?(d.conclusion="No Over/Under",d.className="",d.cons=""):l==="Over"?(t==="FO"?d.conclusion="FO Over":d.conclusion="DO/GO Over",d.className="error",d.cons=`${o.overCons} mt`):(t==="FO"?d.conclusion="FO Under":d.conclusion="DO/GO Under",d.className="success",d.cons=`${o.saving} mt`),d}},computedUnit(){return function(o,t){return t?"%":o=="speed"?"":"(mt)"}},computedWeatherDef(){return function(o){let t="";o!=null&&o.timePercentage?`${o==null?void 0:o.time}`:`${o==null?void 0:o.time}`;let l=o==null?void 0:o.windScale,d="",i=0;return o!=null&&o.waveSwitch?(d+=`, Wind wave height is ${o==null?void 0:o.waveHeight} meters or less`,i++):o!=null&&o.swellSwitch?(d+=`, Swell wave height is ${o==null?void 0:o.swellHeight} meters or less`,i++):o!=null&&o.sigSwitch&&(d+=`, Significant wave height is ${o==null?void 0:o.sigHeight} meters or less`,i++),i>0&&(d+=`(Douglas Sea State ${o==null?void 0:o.seaScale})`),t=`Winds are BF/${l} or less${d}`,o!=null&&o.noAdverseCur&&(t+=", No Adverse Current"),o!=null&&o.noExtrapolation&&(t+=", No Extrapolation"),t}},computedColor(){return function(o,t,l){let d="";if(o==="No")return d=l?"bg-color-normal":"color-normal",d;switch(t){case"time":o==="Lost"?d="color-fail":d="color-success";break;case"fuel":o==="Over"?d="color-fail":d="color-success";break;case"pfm":o==="Under"?d="color-fail":d="color-success";break}return l&&(d="bg-"+d),d}},computedAbt4Spd(){return function(o){var t,l,d;return(t=o.timeConclusion)!=null&&t.spdPercentage?re.LngLatHelper.roundPrecision(o.extend.cp.speed*(((l=o==null?void 0:o.timeConclusion)==null?void 0:l.spdOfAbout)/100),2):(d=o==null?void 0:o.timeConclusion)==null?void 0:d.spdOfAbout}}},watch:{reportData:{handler(o,t){var l;o!=null&&o.id&&(this.$nextTick(()=>{this.cheakData()}),this.advisory=(l=this.reportData)==null?void 0:l.remarks,this.date=this.computedTime(this.reportData.createdAt))},immediate:!0}},methods:{handleCommit(o){this.editable=!1,this.$emit("commit",o)},decideDisable(){this.editorDisabled?this.editable=!1:this.editable=!0},cheakData(){var t,l;this.goodDays=[],this.segDetail=[],this.excludedTableData=[],this.cpDetail=[];let o=[];(l=(t=this.reportData)==null?void 0:t.segments)==null||l.forEach((d,i)=>{let a=d.excluded;if(a.sumDistance>0&&a.detail.forEach(s=>{let c={begin:P(s.begin).utc().format("DD/MM/YYYY HHmm[Z]"),end:P(s.end).utc().format("DD/MM/YYYY HHmm[Z]"),time:P(s.begin).utc().format("DD/MM/YYYY HHmm[Z]")+" - "+P(s.end).utc().format("DD/MM/YYYY HHmm[Z]"),duration:s.duration,distance:s.distance,fo:s.foCons,dgo:s.dgoCons};this.excludedTableData.push(c)}),!o.includes(d.seg)){o.push(d.seg);let s=Object.assign({},d.extend.cp);s.spdOfOver=`+${d.timeConclusion.spdOfOver}${this.computedUnit("speed",d.timeConclusion.spdPercentage)}`,s.spdOfUnder=`-${d.timeConclusion.spdOfUnder}${this.computedUnit("speed",d.timeConclusion.spdPercentage)}`,s.over=`+${d.fuelConclusion.consOfOver}${this.computedUnit("cons",d.fuelConclusion.consPercentage)}`,s.under=`-${d.fuelConclusion.consOfUnder}${this.computedUnit("cons",d.fuelConclusion.consPercentage)}`,this.cpDetail.push(s)}let D=[];d.extend.segTimes.forEach(s=>{D.push(this.computedSeg(s))}),this.segDetail.push(D),this.goodDays.push(d.inventory.sample.hours.filter(s=>s.type!=="A"&&s.goodWx))})}}},DM={class:"fli-main"},MM={class:"card basics"},mM={class:"list flex"},gM={class:"item"},EM={class:"content flex"},yM={class:"item"},IM={class:"content flex"},pM={class:"item"},AM={class:"content flex"},VM={class:"list"},TM={class:"item"},xM={class:"content flex"},zM={class:"content flex"},CM={class:"item"},SM={class:"content flex"},kM={class:"content flex"},fM={class:"item"},jM={class:"content flexL"},UM={class:"clause"},bM={key:0,class:"definition flex"},OM={key:1,class:"definition flex"},wM={class:"item"},YM={class:"content"},QM={key:0,class:"item"},hM={class:"content"},BM={key:1,class:"item"},RM={class:"content"},FM={key:2,class:"item"},PM={class:"content"},GM={key:3,class:"item"},WM={class:"content"},LM={key:4,class:"item"},ZM={key:5,class:"item"},HM={class:"definition flexM"},JM={class:"table"},_M={class:"summary"},XM={key:0,class:"summary-overall"},KM={class:"summary-overall-row"},uM={class:"card"},qM={class:"main-content"},$M={key:0},vM={key:1},e1={class:"card"},t1={class:"main-content"},l1={key:0},o1={key:1},n1={class:"card"},a1={class:"main-content"},i1={key:0},s1={key:1},d1={class:"summary-overall-row"},r1={class:"card"},c1={class:"main-content"},N1={class:"card"},D1={class:"main-content"},M1={class:"card"},m1={class:"main-content"},g1={class:"card",style:{flex:"1.5"}},E1={class:"card-title"},y1={class:"card-segment"},I1={class:"card-segment"},p1={class:"card-segment"},A1={class:"uppercase"},V1={class:"card summary-card",style:{flex:"1"}},T1={key:0,class:"main-content"},x1={key:0,class:"iconfont success"},z1={key:1,class:"iconfont error"},C1={key:1,class:"main-content"},S1={class:"card-content",style:{"justify-content":"flex-start"}},k1={class:"card summary-card",style:{flex:"1"}},f1={key:0,class:"main-content"},j1={key:0,class:"iconfont success"},U1={key:1,class:"iconfont error"},b1={key:1,class:"main-content"},O1={class:"card-content",style:{"justify-content":"flex-start"}},w1={class:"card summary-card",style:{flex:"1"}},Y1={key:0,class:"main-content"},Q1={key:0,class:"iconfont success"},h1={key:1,class:"iconfont error"},B1={key:1,class:"main-content"},R1={class:"card-content",style:{"justify-content":"flex-start"}},F1={style:{"page-break-inside":"avoid"}},P1={class:"remarks"},G1={class:"item"},W1={class:"speed"},L1={class:"uppercase"},Z1={class:"item"},H1={key:0,class:"remark-detail"},J1={key:1,class:"remark-detail"},_1={class:"page-avoid"},X1={class:"dashed"},K1={class:"card phase-title-card",style:{flex:"0.5"}},u1={class:"card-title"},q1={class:"card-segment"},$1={class:"card-segment"},v1={class:"card-segment"},em={class:"uppercase"},tm={class:"phase-analysis"},lm={class:"card phase-card",style:{flex:"1"}},om={class:"main-content"},nm={class:"main-content"},am={class:"card-content"},im={class:"card-content"},sm={class:"card-content"},dm={class:"card-content"},rm={class:"card phase-card",style:{flex:"1"}},cm={class:"main-content"},Nm={class:"main-content"},Dm={class:"card-content"},Mm={class:"card-content"},mm={class:"card-content"},gm={class:"card-content"},Em={class:"phase-analysis"},ym={class:"card phase-card",style:{flex:"1"}},Im={class:"main-content"},pm={class:"main-content"},Am={class:"card-content"},Vm={class:"card-content"},Tm={class:"card-content"},xm={class:"card-content"},zm={class:"card phase-card",style:{flex:"1"}},Cm={class:"main-content"},Sm={class:"main-content"},km={class:"card-content"},fm={class:"card-content"},jm={class:"card-content"},Um={class:"card-content"},bm={class:"card phase-card",style:{flex:"1"}},Om={class:"main-content"},wm={class:"main-content"},Ym={class:"card-content"},Qm={class:"card-content"},hm={class:"card-content"},Bm={class:"card-content"},Rm={class:"phase-analysis"},Fm={class:"card phase-card",style:{flex:"1"}},Pm={class:"main-content"},Gm={class:"main-content"},Wm={class:"card-content"},Lm={class:"card-content"},Zm={class:"card-content"},Hm={class:"card-content"},Jm={class:"card phase-card",style:{flex:"1"}},_m={class:"main-content"},Xm={class:"main-content"},Km={class:"card-content"},um={class:"card-content"},qm={class:"card-content"},$m={class:"card-content"},vm={class:"card phase-card",style:{flex:"1","justify-content":"flex-start"}},eg={class:"main-content"},tg={class:"card-content"},lg={key:0},og={key:1},ng={class:"phase-card"},ag={class:"card",style:{flex:"1"}},ig={key:0,class:"main-content"},sg={key:0,class:"iconfont success"},dg={key:1,class:"iconfont error"},rg={key:1,class:"main-content"},cg={class:"nogwd"},Ng={class:"card-content",style:{"justify-content":"flex-start"}},Dg={key:0},Mg={class:"equation"},mg={style:{width:"8%"}},gg={style:{width:"10%"}},Eg={class:"equation"},yg={style:{width:"8%"}},Ig={style:{width:"10%"}},pg={class:"equation"},Ag={style:{width:"8%"}},Vg={style:{width:"10%"}},Tg={class:"phase-card"},xg={class:"card",style:{flex:"1"}},zg={key:0,class:"main-content"},Cg={key:0,class:"iconfont success"},Sg={key:1,class:"iconfont error"},kg={key:1,class:"main-content"},fg={class:"nogwd"},jg={class:"card-content",style:{"justify-content":"flex-start"}},Ug={key:0},bg={class:"equation"},Og={style:{width:"8%"}},wg={style:{width:"120px"}},Yg={style:{width:"10%"}},Qg={class:"equation"},hg={style:{width:"8%"}},Bg={style:{width:"120px"}},Rg={style:{width:"10%"}},Fg={class:"equation"},Pg={style:{width:"8%"}},Gg={style:{width:"120px"}},Wg={style:{width:"10%"}},Lg={key:0,class:"phase-card"},Zg={class:"card",style:{flex:"1"}},Hg={key:0,class:"main-content"},Jg={key:0,class:"iconfont success"},_g={key:1,class:"iconfont error"},Xg={key:1,class:"main-content"},Kg={class:"nogwd"},ug={class:"card-content",style:{"justify-content":"flex-start"}},qg={key:0},$g={class:"equation"},vg={style:{width:"8%"}},eE={style:{width:"120px"}},tE={style:{width:"10%"}},lE={class:"equation"},oE={style:{width:"8%"}},nE={style:{width:"120px"}},aE={style:{width:"10%"}},iE={class:"equation"},sE={style:{width:"8%"}},dE={style:{width:"120px"}},rE={style:{width:"10%"}},cE={class:"formular dashed",style:{"page-break-inside":"avoid"}},NE={class:"flex formular-item",style:{"border-right":"2px dashed var(--fli-border-color)"}},DE={class:""},ME={class:"equation"},mE={style:{width:"50%"},class:"fraction"},gE={class:"equation"},EE={style:{width:"50%"},class:"fraction"},yE={class:"equation"},IE={style:{width:"50%"},class:"fraction"},pE={class:"flexL formular-item",style:{"margin-left":"20px"}},AE={class:""},VE={class:"equation"},TE={style:{width:"25%"},class:"fraction"},xE={class:"equation"},zE={style:{width:"25%"},class:"fraction"},CE={class:"equation"},SE={style:{width:"25%"},class:"fraction"};function kE(o,t,l,d,i,a){var D,s,c,y,p,N,M,C,A,V,T,I,S,x,k,m,U,O,w,Y,Q,h,R,G,W,L,Z,J,b,te,le,oe,ne,ae,n,H,q,$,v,ie,se,_,De,K,Ne,Me,me,ce,Ie,pe,Ae,Ve,Te,xe,ze,Ce,Se,ke,fe,je,Ue,be,ge,we,Ye,Oe,f,ye,Qe,Pe,Ge,j,We,Le;return e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass((s=(D=l.reportData)==null?void 0:D.weather)!=null&&s.referenceOnly?"watermark":"")},[t[217]||(t[217]=e.createElementVNode("div",{class:"fli-logo-title"},[e.createElementVNode("img",{src:"https://img.idmwx.com/asset/fli_logo.png",class:"bgImg"}),e.createElementVNode("div",{class:"logo-title"},"Voyage Analysis Report")],-1)),e.createElementVNode("div",DM,[t[214]||(t[214]=e.createElementVNode("div",{class:"subtitle"},[e.createElementVNode("i",{class:"iconfont"},""),e.createElementVNode("div",{class:"content"},"Voyage Basics")],-1)),e.createElementVNode("div",MM,[e.createElementVNode("div",mM,[e.createElementVNode("div",gM,[t[0]||(t[0]=e.createElementVNode("label",{class:"flex"},"Company Name: ",-1)),e.createElementVNode("div",EM,e.toDisplayString((c=l.reportData)==null?void 0:c.preparedFor),1)]),e.createElementVNode("div",yM,[t[1]||(t[1]=e.createElementVNode("label",{class:"flex"},"Vessel Name: ",-1)),e.createElementVNode("div",IM,e.toDisplayString((p=(y=l.reportData)==null?void 0:y.vessel)==null?void 0:p.name),1)]),e.createElementVNode("div",pM,[t[2]||(t[2]=e.createElementVNode("label",{class:"flex"},"Report Created: ",-1)),e.createElementVNode("div",AM,e.toDisplayString(i.date),1)])]),e.createElementVNode("div",VM,[e.createElementVNode("div",TM,[t[3]||(t[3]=e.createElementVNode("label",{class:"flex"},"Departure Port: ",-1)),e.createElementVNode("div",xM,e.toDisplayString(((M=(N=l.reportData)==null?void 0:N.departure)==null?void 0:M.portName)||a.computedLngLat((A=(C=l.reportData)==null?void 0:C.departure)==null?void 0:A.lat,(T=(V=l.reportData)==null?void 0:V.departure)==null?void 0:T.lng)),1),e.createElementVNode("div",zM,e.toDisplayString(a.computedTime((S=(I=l.reportData)==null?void 0:I.departure)==null?void 0:S.utcTime,"table")),1)]),e.createElementVNode("div",CM,[t[4]||(t[4]=e.createElementVNode("label",{class:"flex"},"Arrival Port: ",-1)),e.createElementVNode("div",SM,e.toDisplayString(((k=(x=l.reportData)==null?void 0:x.arrival)==null?void 0:k.portName)||a.computedLngLat((U=(m=l.reportData)==null?void 0:m.arrival)==null?void 0:U.lat,(w=(O=l.reportData)==null?void 0:O.arrival)==null?void 0:w.lng)),1),e.createElementVNode("div",kM,e.toDisplayString(a.computedTime((Q=(Y=l.reportData)==null?void 0:Y.arrival)==null?void 0:Q.utcTime,"table")),1)]),e.createElementVNode("div",fM,[t[5]||(t[5]=e.createElementVNode("label",null,"Voyage Condition: ",-1)),e.createElementVNode("div",jM,e.toDisplayString((R=(h=l.reportData)==null?void 0:h.voyage)==null?void 0:R.loadCondition),1)])])]),t[215]||(t[215]=e.createElementVNode("div",{class:"subtitle"},[e.createElementVNode("i",{class:"iconfont"},""),e.createElementVNode("div",{class:"content"},"Charter Party Clause")],-1)),e.createElementVNode("div",UM,[(W=(G=l.reportData)==null?void 0:G.weather)!=null&&W.overallAsGoodWx?(e.openBlock(),e.createElementBlock("div",bM,"No specific thresholds in weather.")):(e.openBlock(),e.createElementBlock("div",OM,[e.createElementVNode("div",wM,[t[6]||(t[6]=e.createElementVNode("label",null,"Beaufort Wind Scale",-1)),e.createElementVNode("div",YM,"BF "+e.toDisplayString(((Z=(L=l.reportData)==null?void 0:L.weather)==null?void 0:Z.windScale)||"-"),1)]),(b=(J=l.reportData)==null?void 0:J.weather)!=null&&b.waveSwitch?(e.openBlock(),e.createElementBlock("div",QM,[t[7]||(t[7]=e.createElementVNode("label",null,"Wind Wave Height",-1)),e.createElementVNode("div",hM,e.toDisplayString(((le=(te=l.reportData)==null?void 0:te.weather)==null?void 0:le.waveHeight)||"-")+" Meter",1)])):(ne=(oe=l.reportData)==null?void 0:oe.weather)!=null&&ne.swellSwitch?(e.openBlock(),e.createElementBlock("div",BM,[t[8]||(t[8]=e.createElementVNode("label",null,"Swell Wave Height",-1)),e.createElementVNode("div",RM,e.toDisplayString(((n=(ae=l.reportData)==null?void 0:ae.weather)==null?void 0:n.swellHeight)||"-")+" Meter",1)])):(q=(H=l.reportData)==null?void 0:H.weather)!=null&&q.sigSwitch?(e.openBlock(),e.createElementBlock("div",FM,[t[9]||(t[9]=e.createElementVNode("label",null,"Significant Wave Height",-1)),e.createElementVNode("div",PM,e.toDisplayString(((v=($=l.reportData)==null?void 0:$.weather)==null?void 0:v.sigHeight)||"-")+" Meter",1)])):e.createCommentVNode("",!0),(se=(ie=l.reportData)==null?void 0:ie.weather)!=null&&se.waveSwitch||(De=(_=l.reportData)==null?void 0:_.weather)!=null&&De.swellHeight||(Ne=(K=l.reportData)==null?void 0:K.weather)!=null&&Ne.sigSwitch?(e.openBlock(),e.createElementBlock("div",GM,[t[10]||(t[10]=e.createElementVNode("label",null,"Douglas Sea State",-1)),e.createElementVNode("div",WM,e.toDisplayString((me=(Me=l.reportData)==null?void 0:Me.weather)==null?void 0:me.seaScale),1)])):e.createCommentVNode("",!0),(Ie=(ce=l.reportData)==null?void 0:ce.weather)!=null&&Ie.noAdverseCur?(e.openBlock(),e.createElementBlock("div",LM,t[11]||(t[11]=[e.createElementVNode("label",null,"No Adverse Current",-1),e.createElementVNode("div",{class:"content"},"Applied",-1)]))):e.createCommentVNode("",!0),(Ae=(pe=l.reportData)==null?void 0:pe.weather)!=null&&Ae.noExtrapolation?(e.openBlock(),e.createElementBlock("div",ZM,t[12]||(t[12]=[e.createElementVNode("label",null,"No Extrapolation",-1),e.createElementVNode("div",{class:"content"},"Applied",-1)]))):e.createCommentVNode("",!0)])),e.createElementVNode("div",HM,[e.createElementVNode("table",JM,[t[13]||(t[13]=e.createElementVNode("thead",null,[e.createElementVNode("tr",null,[e.createElementVNode("td",null,"CP"),e.createElementVNode("td",null,"Speed (kts)"),e.createElementVNode("td",null,"FO (mt)"),e.createElementVNode("td",null,"DO/GO (mt)")])],-1)),e.createElementVNode("tbody",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(i.cpDetail,(r,ee)=>(e.openBlock(),e.createElementBlock("tr",{key:ee},[e.createElementVNode("td",null,e.toDisplayString(r==null?void 0:r.type),1),e.createElementVNode("td",null,e.toDisplayString(`${r==null?void 0:r.speed} | ${r==null?void 0:r.spdOfOver} , ${r.spdOfUnder}`),1),e.createElementVNode("td",null,e.toDisplayString(`${r==null?void 0:r.fo} | ${r==null?void 0:r.over} , ${r.under}`),1),e.createElementVNode("td",null,e.toDisplayString(`${r==null?void 0:r.dgo} | ${r==null?void 0:r.over} , ${r.under}`),1)]))),128))])])])]),t[216]||(t[216]=e.createElementVNode("div",{class:"title"},[e.createElementVNode("i",{class:"iconfont"},""),e.createElementVNode("div",{class:"content"},"Analysis Summary")],-1)),e.createElementVNode("div",_M,[((Te=(Ve=l.reportData)==null?void 0:Ve.segments)==null?void 0:Te.length)>1?(e.openBlock(),e.createElementBlock("div",XM,[t[20]||(t[20]=e.createElementVNode("div",{class:"summary-overall-row"},[e.createElementVNode("h3",null,"Overall")],-1)),e.createElementVNode("div",KM,[e.createElementVNode("div",uM,[t[14]||(t[14]=e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("label",null,"GW Avg Daily Speed")],-1)),e.createElementVNode("div",qM,[(ze=(xe=l.reportData)==null?void 0:xe.goodWx)!=null&&ze.avgSpd?(e.openBlock(),e.createElementBlock("div",$M,e.toDisplayString((Se=(Ce=l.reportData)==null?void 0:Ce.goodWx)==null?void 0:Se.avgSpd)+" kts",1)):(e.openBlock(),e.createElementBlock("div",vM,e.toDisplayString(i.noGoodWxDay),1))])]),e.createElementVNode("div",e1,[t[15]||(t[15]=e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("label",null,"GW Avg Daily Cons. FO*")],-1)),e.createElementVNode("div",t1,[(fe=(ke=l.reportData)==null?void 0:ke.goodWx)!=null&&fe.avgSpd?(e.openBlock(),e.createElementBlock("div",l1,e.toDisplayString((Ue=(je=l.reportData)==null?void 0:je.goodWx)==null?void 0:Ue.avgFoEcaCons)+" mt",1)):(e.openBlock(),e.createElementBlock("div",o1,e.toDisplayString(i.noGoodWxDay),1))])]),e.createElementVNode("div",n1,[t[16]||(t[16]=e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("label",null,"GW Avg Daily Cons. DO/GO*")],-1)),e.createElementVNode("div",a1,[(ge=(be=l.reportData)==null?void 0:be.goodWx)!=null&&ge.avgSpd?(e.openBlock(),e.createElementBlock("div",i1,e.toDisplayString((Ye=(we=l.reportData)==null?void 0:we.goodWx)==null?void 0:Ye.avgDgoEcaCons)+" mt",1)):(e.openBlock(),e.createElementBlock("div",s1,e.toDisplayString(i.noGoodWxDay),1))])])]),e.createElementVNode("div",d1,[e.createElementVNode("div",r1,[t[17]||(t[17]=e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("label",null,"Overall Avg Daily Speed")],-1)),e.createElementVNode("div",c1,e.toDisplayString((f=(Oe=l.reportData)==null?void 0:Oe.allWx)==null?void 0:f.avgSpd)+" kts",1)]),e.createElementVNode("div",N1,[t[18]||(t[18]=e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("label",null,"Overall Avg Daily Cons. FO*")],-1)),e.createElementVNode("div",D1,e.toDisplayString((Qe=(ye=l.reportData)==null?void 0:ye.allWx)==null?void 0:Qe.avgFoEcaCons)+" mt",1)]),e.createElementVNode("div",M1,[t[19]||(t[19]=e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("label",null,"Overall Avg Daily Cons. DO/GO*")],-1)),e.createElementVNode("div",m1,e.toDisplayString((Ge=(Pe=l.reportData)==null?void 0:Pe.allWx)==null?void 0:Ge.avgDgoEcaCons)+" mt",1)])]),t[21]||(t[21]=e.createElementVNode("div",{class:"summary-overall-row",style:{"flex-direction":"column"}},[e.createElementVNode("div",{class:"flex-start"},[e.createElementVNode("label",null,"*For FO"),e.createElementVNode("span",null,"FO Cons. + M/E DO/GO Cons. in ECA")]),e.createElementVNode("div",{class:"flex-start"},[e.createElementVNode("label",null,"*For DO/GO"),e.createElementVNode("span",null,"DO/GO Cons. - M/E DO/GO Cons. in ECA")])],-1))])):e.createCommentVNode("",!0),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList((j=l.reportData)==null?void 0:j.segments,(r,ee)=>{var Ee,B,Be;return e.openBlock(),e.createElementBlock("div",{key:ee,class:"summary-seg"},[e.createElementVNode("div",g1,[e.createElementVNode("div",E1,[t[22]||(t[22]=e.createElementVNode("i",{class:"iconfont"},"",-1)),e.createElementVNode("span",null,"Phase "+e.toDisplayString(ee+1),1)]),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(i.segDetail[ee],(de,Re)=>(e.openBlock(),e.createElementBlock("div",{key:"seg"+Re,class:e.normalizeClass(i.segDetail[ee].length>1?"dashed":"")},[e.createElementVNode("div",y1,[e.createElementVNode("div",null,e.toDisplayString(de==null?void 0:de.port1),1),e.createElementVNode("div",null,e.toDisplayString(de==null?void 0:de.time1),1)]),e.createElementVNode("div",I1,[e.createElementVNode("div",null,e.toDisplayString(de==null?void 0:de.port2),1),e.createElementVNode("div",null,e.toDisplayString(de==null?void 0:de.time2),1)])],2))),128)),e.createElementVNode("div",p1,[t[23]||(t[23]=e.createElementVNode("div",null,"Applied",-1)),e.createElementVNode("div",null,[e.createElementVNode("span",A1,e.toDisplayString(r.extend.cp.type)+" : ",1),e.createElementVNode("span",null,e.toDisplayString(r.extend.cp.speed)+"kts / ",1),e.createElementVNode("span",null,e.toDisplayString(r.extend.cp.fo)+"mt / ",1),e.createElementVNode("span",null,e.toDisplayString(r.extend.cp.dgo)+"mt",1)])])]),e.createElementVNode("div",V1,[t[24]||(t[24]=e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("span",null,"Time Lost/Gained: ")],-1)),(Ee=r.goodWx)!=null&&Ee.distance?(e.openBlock(),e.createElementBlock("div",T1,[a.computedTimeConclusion(r.timeConclusion).className==="success"?(e.openBlock(),e.createElementBlock("i",x1,"")):e.createCommentVNode("",!0),a.computedTimeConclusion(r.timeConclusion).className==="error"?(e.openBlock(),e.createElementBlock("i",z1,"")):e.createCommentVNode("",!0),e.createElementVNode("span",null,e.toDisplayString(a.computedTimeConclusion(r.timeConclusion).timeCon),1)])):(e.openBlock(),e.createElementBlock("div",C1,[e.createElementVNode("span",null,e.toDisplayString(i.noGoodWxDay),1)])),e.createElementVNode("div",S1,[e.createElementVNode("i",{class:e.normalizeClass(`iconfont ${a.computedTimeConclusion(r.timeConclusion).className}`)},"",2),e.createElementVNode("span",null,e.toDisplayString(a.computedTimeConclusion(r.timeConclusion).conclusion),1)])]),e.createElementVNode("div",k1,[t[25]||(t[25]=e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("span",null,"FO Over/Under: ")],-1)),(B=r.goodWx)!=null&&B.distance?(e.openBlock(),e.createElementBlock("div",f1,[a.computedFuleConclusion(r.fuelConclusion.fo,"FO").className==="success"?(e.openBlock(),e.createElementBlock("i",j1,"")):e.createCommentVNode("",!0),a.computedFuleConclusion(r.fuelConclusion.fo,"FO").className==="error"?(e.openBlock(),e.createElementBlock("i",U1,"")):e.createCommentVNode("",!0),e.createElementVNode("span",null,e.toDisplayString(a.computedFuleConclusion(r.fuelConclusion.fo,"FO").cons),1)])):(e.openBlock(),e.createElementBlock("div",b1,[e.createElementVNode("span",null,e.toDisplayString(i.noGoodWxDay),1)])),e.createElementVNode("div",O1,[e.createElementVNode("i",{class:e.normalizeClass(`iconfont ${a.computedFuleConclusion(r.fuelConclusion.fo,"FO").className}`)},"",2),e.createElementVNode("span",null,e.toDisplayString(a.computedFuleConclusion(r.fuelConclusion.fo,"FO").conclusion),1)])]),e.createElementVNode("div",w1,[t[26]||(t[26]=e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("span",null,"DO/GO Over/Under: ")],-1)),(Be=r.goodWx)!=null&&Be.distance?(e.openBlock(),e.createElementBlock("div",Y1,[a.computedFuleConclusion(r.fuelConclusion.dgo,"DGO").className==="success"?(e.openBlock(),e.createElementBlock("i",Q1,"")):e.createCommentVNode("",!0),a.computedFuleConclusion(r.fuelConclusion.dgo,"DGO").className==="error"?(e.openBlock(),e.createElementBlock("i",h1,"")):e.createCommentVNode("",!0),e.createElementVNode("span",null,e.toDisplayString(a.computedFuleConclusion(r.fuelConclusion.dgo,"DGO").cons),1)])):(e.openBlock(),e.createElementBlock("div",B1,[e.createElementVNode("span",null,e.toDisplayString(i.noGoodWxDay),1)])),e.createElementVNode("div",R1,[e.createElementVNode("i",{class:e.normalizeClass(`iconfont ${a.computedFuleConclusion(r.fuelConclusion.dgo,"DGO").className}`)},"",2),e.createElementVNode("span",null,e.toDisplayString(a.computedFuleConclusion(r.fuelConclusion.dgo,"DGO").conclusion),1)])])])}),128))]),e.createElementVNode("div",F1,[t[29]||(t[29]=e.createElementVNode("div",{class:"subtitle"},[e.createElementVNode("i",{class:"iconfont"},""),e.createElementVNode("div",{class:"content"},"Voyage Remarks")],-1)),e.createElementVNode("div",P1,[e.createElementVNode("div",G1,[t[27]||(t[27]=e.createElementVNode("div",{class:"remark-title"},[e.createElementVNode("i",{class:"iconfont"},""),e.createElementVNode("span",null,"Speed Adjustment")],-1)),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList((We=l.reportData)==null?void 0:We.segments,(r,ee)=>(e.openBlock(),e.createElementBlock("div",{key:ee,class:"remark-speed"},[e.createElementVNode("div",W1,[e.createElementVNode("div",null,[e.createTextVNode(e.toDisplayString(`${ee+1}. Phase ${ee+1} Applied `)+" ",1),e.createElementVNode("span",L1,e.toDisplayString(r.extend.cp.type)+" Speed ( ",1),e.createElementVNode("span",null,e.toDisplayString(r.extend.cp.speed)+"kts / ",1),e.createElementVNode("span",null,e.toDisplayString(r.extend.cp.fo)+"mt / ",1),e.createElementVNode("span",null,e.toDisplayString(r.extend.cp.dgo)+"mt ) ",1)]),e.createElementVNode("div",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(i.segDetail[ee],(Ee,B)=>(e.openBlock(),e.createElementBlock("div",{key:"seg"+B},e.toDisplayString(`${Ee.port1} (${Ee.fullTime1}) to ${Ee.port2} (${Ee.fullTime2})`),1))),128))])])]))),128))]),e.createElementVNode("div",Z1,[t[28]||(t[28]=e.createElementVNode("div",{class:"remark-title"},[e.createElementVNode("i",{class:"iconfont"},""),e.createElementVNode("span",null,"Excluded Period")],-1)),i.excludedTableData.length?(e.openBlock(),e.createElementBlock("div",H1,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(i.excludedTableData,(r,ee)=>(e.openBlock(),e.createElementBlock("div",{key:ee},e.toDisplayString(`From ${r.begin} to ${r.end}`),1))),128))])):(e.openBlock(),e.createElementBlock("div",J1,e.toDisplayString(i.noSpecialRemarks),1))])])]),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList((Le=l.reportData)==null?void 0:Le.segments,(r,ee)=>{var Ee,B,Be,de,Re,Ze,He,Ke,ue,qe,$e,ve,et,at,it,st,dt,rt,ct,Nt,Dt,Mt,mt,gt,Et,yt,It,pt,At,Vt,Tt,Ct,z,St,kt,ft,jt,Ut,bt,Ot,wt,ot,bl,Ol,wl,Yl,Ql,hl,Bl,Rl,Fl,Pl,Gl,Wl,Ll,Zl,Hl,Jl,E,he,tt,lt,xt,Yt,Qt,ht,Bt,Rt,Ft,Pt,Gt,Wt,Lt,Zt,Ht,Jt,_t,Xt,Kt,ut,qt,$t,vt,el,tl,ll,ol,nl,al,il,sl,dl,rl,cl,Nl,Dl,Ml,ml,gl,El,yl,Il,pl,Al,Vl,Tl,xl,zl,Cl,Sl,kl,fl,jl,_l,Xl,Kl;return e.openBlock(),e.createElementBlock("div",{key:ee,class:"phase"},[e.createElementVNode("div",_1,[e.createElementVNode("div",X1,[e.createElementVNode("div",K1,[e.createElementVNode("div",u1,[t[30]||(t[30]=e.createElementVNode("i",{class:"iconfont"},"",-1)),e.createElementVNode("span",null,"Phase "+e.toDisplayString(ee+1),1)]),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(i.segDetail[ee],(Xe,ql)=>(e.openBlock(),e.createElementBlock("div",{key:"seg"+ql,class:e.normalizeClass(i.segDetail[ee].length>1?"dashed":"")},[e.createElementVNode("div",q1,[e.createElementVNode("div",null,e.toDisplayString(Xe==null?void 0:Xe.port1),1),e.createElementVNode("div",null,e.toDisplayString(Xe==null?void 0:Xe.time1),1)]),e.createElementVNode("div",$1,[e.createElementVNode("div",null,e.toDisplayString(Xe==null?void 0:Xe.port2),1),e.createElementVNode("div",null,e.toDisplayString(Xe==null?void 0:Xe.time2),1)])],2))),128)),e.createElementVNode("div",v1,[t[31]||(t[31]=e.createElementVNode("div",null,"Applied",-1)),e.createElementVNode("div",null,[e.createElementVNode("span",em,e.toDisplayString(r.extend.cp.type)+" : ",1),e.createElementVNode("span",null,e.toDisplayString(r.extend.cp.speed)+"kts / ",1),e.createElementVNode("span",null,e.toDisplayString(r.extend.cp.fo)+"mt / ",1),e.createElementVNode("span",null,e.toDisplayString(r.extend.cp.dgo)+"mt",1)])])])]),t[212]||(t[212]=e.createElementVNode("div",{class:"title"},[e.createElementVNode("i",{class:"iconfont"},""),e.createElementVNode("div",{class:"content"},"Calculation Summary")],-1)),e.createElementVNode("div",tm,[e.createElementVNode("div",lm,[t[40]||(t[40]=e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("span",null,"GW Avg Daily Cons. FO*")],-1)),e.createElementVNode("div",om,[e.createElementVNode("span",null,e.toDisplayString(((Ee=r.goodWx)==null?void 0:Ee.avgFoEcaCons)||"-")+" mt",1)]),t[41]||(t[41]=e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("span",null,"Overall Avg Daily Cons. FO*")],-1)),e.createElementVNode("div",nm,[e.createElementVNode("span",null,e.toDisplayString(((B=r.allWx)==null?void 0:B.avgFoEcaCons)||"-")+" mt",1)]),e.createElementVNode("div",am,[t[33]||(t[33]=e.createElementVNode("label",null,"GW Avg Daily Cons. FO (out of ECA)",-1)),e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((Be=r.goodWx)==null?void 0:Be.outEca.avgFoCons)||"-"),1),t[32]||(t[32]=e.createElementVNode("span",null,"mt",-1))])]),e.createElementVNode("div",im,[t[35]||(t[35]=e.createElementVNode("label",null,"GW Avg Daily Cons. FO* (in ECA)",-1)),e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((de=r.goodWx)==null?void 0:de.inEca.avgFoEcaCons)||"-"),1),t[34]||(t[34]=e.createElementVNode("span",null,"mt",-1))])]),e.createElementVNode("div",sm,[t[37]||(t[37]=e.createElementVNode("label",null,"Overall Avg Daily Cons. FO (out of ECA)",-1)),e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((Re=r.allWx)==null?void 0:Re.outEca.avgFoCons)||"-"),1),t[36]||(t[36]=e.createElementVNode("span",null,"mt",-1))])]),e.createElementVNode("div",dm,[t[39]||(t[39]=e.createElementVNode("label",null,"Overall Avg Daily Cons. FO* (in ECA)",-1)),e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((Ze=r.allWx)==null?void 0:Ze.inEca.avgFoEcaCons)||"-"),1),t[38]||(t[38]=e.createElementVNode("span",null,"mt",-1))])]),t[42]||(t[42]=e.createElementVNode("div",{class:"card-content",style:{"justify-content":"flex-start"}},[e.createElementVNode("label",null,"*For FO"),e.createElementVNode("span",{style:{"font-weight":"400"}},"FO Cons. + M/E DO/GO Cons. in ECA")],-1))]),e.createElementVNode("div",rm,[t[51]||(t[51]=e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("span",null,"GW Avg Daily Cons. DO/GO*")],-1)),e.createElementVNode("div",cm,[e.createElementVNode("span",null,e.toDisplayString(((He=r.goodWx)==null?void 0:He.avgDgoEcaCons)||"-")+" mt",1)]),t[52]||(t[52]=e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("span",null,"Overall Avg Daily Cons. DO/GO*")],-1)),e.createElementVNode("div",Nm,[e.createElementVNode("span",null,e.toDisplayString(((Ke=r.allWx)==null?void 0:Ke.avgDgoEcaCons)||"-")+" mt",1)]),e.createElementVNode("div",Dm,[t[44]||(t[44]=e.createElementVNode("label",null,"GW Avg Daily Cons. DO/GO (out of ECA)",-1)),e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((ue=r.goodWx)==null?void 0:ue.outEca.avgDgoCons)||"-"),1),t[43]||(t[43]=e.createElementVNode("span",null,"mt",-1))])]),e.createElementVNode("div",Mm,[t[46]||(t[46]=e.createElementVNode("label",null,"GW Avg Daily Cons. DO/GO* (in ECA)",-1)),e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((qe=r.goodWx)==null?void 0:qe.inEca.avgDgoEcaCons)||"-"),1),t[45]||(t[45]=e.createElementVNode("span",null,"mt",-1))])]),e.createElementVNode("div",mm,[t[48]||(t[48]=e.createElementVNode("label",null,"Overall Avg Daily Cons. DO/GO (out of ECA)",-1)),e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString((($e=r.allWx)==null?void 0:$e.outEca.avgDgoCons)||"-"),1),t[47]||(t[47]=e.createElementVNode("span",null,"mt",-1))])]),e.createElementVNode("div",gm,[t[50]||(t[50]=e.createElementVNode("label",null,"Overall Avg Daily Cons. DO/GO* (in ECA)",-1)),e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((ve=r.allWx)==null?void 0:ve.inEca.avgDgoEcaCons)||"-"),1),t[49]||(t[49]=e.createElementVNode("span",null,"mt",-1))])]),t[53]||(t[53]=e.createElementVNode("div",{class:"card-content",style:{"justify-content":"flex-start"}},[e.createElementVNode("label",null,"*For DO/GO"),e.createElementVNode("span",{style:{"font-weight":"400"}},"DO/GO Cons. - M/E DO/GO Cons. in ECA")],-1))])]),e.createElementVNode("div",Em,[e.createElementVNode("div",ym,[t[62]||(t[62]=e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("span",null,"GW Distance")],-1)),e.createElementVNode("div",Im,[e.createElementVNode("span",null,e.toDisplayString(((et=r.goodWx)==null?void 0:et.distance)||"-")+" nm",1)]),t[63]||(t[63]=e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("span",null,"Overall Distance")],-1)),e.createElementVNode("div",pm,[e.createElementVNode("span",null,e.toDisplayString(((at=r.allWx)==null?void 0:at.distance)||"-")+" nm",1)]),e.createElementVNode("div",Am,[t[55]||(t[55]=e.createElementVNode("label",null,"GW Distance (out of ECA)",-1)),e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((it=r.goodWx)==null?void 0:it.outEca.distance)||"-"),1),t[54]||(t[54]=e.createElementVNode("span",null,"nm",-1))])]),e.createElementVNode("div",Vm,[t[57]||(t[57]=e.createElementVNode("label",null,"GW Distance (in ECA)",-1)),e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((st=r.goodWx)==null?void 0:st.inEca.distance)||"-"),1),t[56]||(t[56]=e.createElementVNode("span",null,"nm",-1))])]),e.createElementVNode("div",Tm,[t[59]||(t[59]=e.createElementVNode("label",null,"Overall Distance (out of ECA)",-1)),e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((dt=r.allWx)==null?void 0:dt.outEca.distance)||"-"),1),t[58]||(t[58]=e.createElementVNode("span",null,"nm",-1))])]),e.createElementVNode("div",xm,[t[61]||(t[61]=e.createElementVNode("label",null,"Overall Distance (in ECA)",-1)),e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((rt=r.allWx)==null?void 0:rt.inEca.distance)||"-"),1),t[60]||(t[60]=e.createElementVNode("span",null,"nm",-1))])])]),e.createElementVNode("div",zm,[t[72]||(t[72]=e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("span",null,"GW Time")],-1)),e.createElementVNode("div",Cm,[e.createElementVNode("span",null,e.toDisplayString(((ct=r.goodWx)==null?void 0:ct.time)||"-")+" hrs",1)]),t[73]||(t[73]=e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("span",null,"Overall Time")],-1)),e.createElementVNode("div",Sm,[e.createElementVNode("span",null,e.toDisplayString(((Nt=r.allWx)==null?void 0:Nt.time)||"-")+" hrs",1)]),e.createElementVNode("div",km,[t[65]||(t[65]=e.createElementVNode("label",null,"GW Time (out of ECA)",-1)),e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((Dt=r.goodWx)==null?void 0:Dt.outEca.time)||"-"),1),t[64]||(t[64]=e.createElementVNode("span",null,"hrs",-1))])]),e.createElementVNode("div",fm,[t[67]||(t[67]=e.createElementVNode("label",null,"GW Time (in ECA)",-1)),e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((Mt=r.goodWx)==null?void 0:Mt.inEca.time)||"-"),1),t[66]||(t[66]=e.createElementVNode("span",null,"hrs",-1))])]),e.createElementVNode("div",jm,[t[69]||(t[69]=e.createElementVNode("label",null,"Overall Time (out of ECA)",-1)),e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((mt=r.allWx)==null?void 0:mt.outEca.time)||"-"),1),t[68]||(t[68]=e.createElementVNode("span",null,"hrs",-1))])]),e.createElementVNode("div",Um,[t[71]||(t[71]=e.createElementVNode("label",null,"Overall Time (in ECA)",-1)),e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((gt=r.allWx)==null?void 0:gt.inEca.time)||"-"),1),t[70]||(t[70]=e.createElementVNode("span",null,"hrs",-1))])])]),e.createElementVNode("div",bm,[t[82]||(t[82]=e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("span",null,"GW Avg Speed")],-1)),e.createElementVNode("div",Om,[e.createElementVNode("span",null,e.toDisplayString(((Et=r.goodWx)==null?void 0:Et.avgSpd)||"-")+" kts",1)]),t[83]||(t[83]=e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("span",null,"Overall Avg Speed")],-1)),e.createElementVNode("div",wm,[e.createElementVNode("span",null,e.toDisplayString(((yt=r.allWx)==null?void 0:yt.avgSpd)||"-")+" kts",1)]),e.createElementVNode("div",Ym,[t[75]||(t[75]=e.createElementVNode("label",null,"GW Avg Speed (out of ECA)",-1)),e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((It=r.goodWx)==null?void 0:It.outEca.avgSpd)||"-"),1),t[74]||(t[74]=e.createElementVNode("span",null,"kts",-1))])]),e.createElementVNode("div",Qm,[t[77]||(t[77]=e.createElementVNode("label",null,"GW Avg Speed (in ECA)",-1)),e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((pt=r.goodWx)==null?void 0:pt.inEca.avgSpd)||"-"),1),t[76]||(t[76]=e.createElementVNode("span",null,"kts",-1))])]),e.createElementVNode("div",hm,[t[79]||(t[79]=e.createElementVNode("label",null,"Overall Avg Speed (out of ECA)",-1)),e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((At=r.allWx)==null?void 0:At.outEca.avgSpd)||"-"),1),t[78]||(t[78]=e.createElementVNode("span",null,"kts",-1))])]),e.createElementVNode("div",Bm,[t[81]||(t[81]=e.createElementVNode("label",null,"Overall Avg Speed (in ECA)",-1)),e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((Vt=r.allWx)==null?void 0:Vt.inEca.avgSpd)||"-"),1),t[80]||(t[80]=e.createElementVNode("span",null,"kts",-1))])])])]),e.createElementVNode("div",Rm,[e.createElementVNode("div",Fm,[t[92]||(t[92]=e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("span",null,"GW Cons. FO")],-1)),e.createElementVNode("div",Pm,[e.createElementVNode("span",null,e.toDisplayString(((Tt=r.goodWx)==null?void 0:Tt.sumFoCons)||"-")+" mt",1)]),t[93]||(t[93]=e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("span",null,"Overall Cons. FO")],-1)),e.createElementVNode("div",Gm,[e.createElementVNode("span",null,e.toDisplayString(((Ct=r.allWx)==null?void 0:Ct.sumFoCons)||"-")+" mt",1)]),e.createElementVNode("div",Wm,[t[85]||(t[85]=e.createElementVNode("label",null,"GW Cons. FO (out of ECA)",-1)),e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((z=r.goodWx)==null?void 0:z.outEca.sumFoCons)||"-"),1),t[84]||(t[84]=e.createElementVNode("span",null,"mt",-1))])]),e.createElementVNode("div",Lm,[t[87]||(t[87]=e.createElementVNode("label",null,"GW Cons. FO (in ECA)",-1)),e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((St=r.goodWx)==null?void 0:St.inEca.sumFoCons)||"-"),1),t[86]||(t[86]=e.createElementVNode("span",null,"mt",-1))])]),e.createElementVNode("div",Zm,[t[89]||(t[89]=e.createElementVNode("label",null,"Overall Cons. FO (out of ECA)",-1)),e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((kt=r.allWx)==null?void 0:kt.outEca.sumFoCons)||"-"),1),t[88]||(t[88]=e.createElementVNode("span",null,"mt",-1))])]),e.createElementVNode("div",Hm,[t[91]||(t[91]=e.createElementVNode("label",null,"Overall Cons. FO (in ECA)",-1)),e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((ft=r.allWx)==null?void 0:ft.inEca.sumFoCons)||"-"),1),t[90]||(t[90]=e.createElementVNode("span",null,"mt",-1))])])]),e.createElementVNode("div",Jm,[t[102]||(t[102]=e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("span",null,"GW Cons. DO/GO")],-1)),e.createElementVNode("div",_m,[e.createElementVNode("span",null,e.toDisplayString(((jt=r.goodWx)==null?void 0:jt.sumDgoCons)||"-")+" mt",1)]),t[103]||(t[103]=e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("span",null,"Overall Cons. DO/GO")],-1)),e.createElementVNode("div",Xm,[e.createElementVNode("span",null,e.toDisplayString(((Ut=r.allWx)==null?void 0:Ut.sumDgoCons)||"-")+" mt",1)]),e.createElementVNode("div",Km,[t[95]||(t[95]=e.createElementVNode("label",null,"GW Cons. DO/GO (out of ECA)",-1)),e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((bt=r.goodWx)==null?void 0:bt.outEca.sumDgoCons)||"-"),1),t[94]||(t[94]=e.createElementVNode("span",null,"mt",-1))])]),e.createElementVNode("div",um,[t[97]||(t[97]=e.createElementVNode("label",null,"GW Cons. DO/GO (in ECA)",-1)),e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((Ot=r.goodWx)==null?void 0:Ot.inEca.sumDgoCons)||"-"),1),t[96]||(t[96]=e.createElementVNode("span",null,"mt",-1))])]),e.createElementVNode("div",qm,[t[99]||(t[99]=e.createElementVNode("label",null,"Overall Cons. DO/GO (out of ECA)",-1)),e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((wt=r.allWx)==null?void 0:wt.outEca.sumDgoCons)||"-"),1),t[98]||(t[98]=e.createElementVNode("span",null,"mt",-1))])]),e.createElementVNode("div",$m,[t[101]||(t[101]=e.createElementVNode("label",null,"Overall Cons. DO/GO (in ECA)",-1)),e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((ot=r.allWx)==null?void 0:ot.inEca.sumDgoCons)||"-"),1),t[100]||(t[100]=e.createElementVNode("span",null,"mt",-1))])])]),e.createElementVNode("div",vm,[t[106]||(t[106]=e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("span",null,"GW Performance Speed")],-1)),e.createElementVNode("div",eg,[e.createElementVNode("span",null,e.toDisplayString(((bl=r.goodWx)==null?void 0:bl.pfmSpd)||"-")+" kts",1)]),e.createElementVNode("div",tg,[t[105]||(t[105]=e.createElementVNode("label",null,"GW Current Factor",-1)),(Ol=r.goodWx)!=null&&Ol.distance&&!((Yl=(wl=l.reportData)==null?void 0:wl.weather)!=null&&Yl.favorableCur&&((Ql=r.goodWx)==null?void 0:Ql.avgCf)>0)?(e.openBlock(),e.createElementBlock("b",lg,[e.createTextVNode(e.toDisplayString(a.computedPositive((hl=r.goodWx)==null?void 0:hl.avgCf)),1),t[104]||(t[104]=e.createElementVNode("span",null,"kts",-1))])):(e.openBlock(),e.createElementBlock("b",og,"Not Applied"))])])]),e.createElementVNode("div",null,[e.createElementVNode("div",ng,[e.createElementVNode("div",ag,[t[107]||(t[107]=e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("span",null,"Time Lost/Gained: ")],-1)),(Bl=r.goodWx)!=null&&Bl.distance?(e.openBlock(),e.createElementBlock("div",ig,[a.computedTimeConclusion(r.timeConclusion).className==="success"?(e.openBlock(),e.createElementBlock("i",sg,"")):e.createCommentVNode("",!0),a.computedTimeConclusion(r.timeConclusion).className==="error"?(e.openBlock(),e.createElementBlock("i",dg,"")):e.createCommentVNode("",!0),e.createElementVNode("span",null,e.toDisplayString(a.computedTimeConclusion(r.timeConclusion).timeCon),1)])):(e.openBlock(),e.createElementBlock("div",rg,[e.createElementVNode("span",cg,e.toDisplayString(i.noGoodWxDay),1)])),e.createElementVNode("div",Ng,[e.createElementVNode("i",{class:e.normalizeClass(`iconfont ${a.computedTimeConclusion(r.timeConclusion).className}`)},"",2),e.createElementVNode("span",null,e.toDisplayString(a.computedTimeConclusion(r.timeConclusion).conclusion),1)])]),e.createElementVNode("div",{class:e.normalizeClass(`${(Rl=r.goodWx)!=null&&Rl.distance?"":"analysis-none"} card analysis-card`)},[(Fl=r.goodWx)!=null&&Fl.distance?(e.openBlock(),e.createElementBlock("div",Dg,[e.createElementVNode("div",Mg,[t[109]||(t[109]=e.createElementVNode("div",{style:{width:"54%"}},"Total Time at Good Weather Performance Speed",-1)),t[110]||(t[110]=e.createElementVNode("div",{style:{width:"5%"}},"=",-1)),e.createElementVNode("div",mg,[e.createElementVNode("div",null,e.toDisplayString((Gl=(Pl=l.reportData)==null?void 0:Pl.weather)!=null&&Gl.noExtrapolation?(Wl=r.goodWx)==null?void 0:Wl.distance:(Ll=r.allWx)==null?void 0:Ll.distance),1),t[108]||(t[108]=e.createElementVNode("div",{class:"fractional-line"},null,-1)),e.createElementVNode("div",null,e.toDisplayString((Zl=r.goodWx)==null?void 0:Zl.pfmSpd),1)]),t[111]||(t[111]=e.createElementVNode("div",{style:{width:"5%"}},"=",-1)),e.createElementVNode("div",gg,e.toDisplayString(r.timeConclusion.timeAtPfmSpd)+" Hrs",1),t[112]||(t[112]=e.createElementVNode("div",{style:{width:"5%"}},"(a')",-1))]),e.createElementVNode("div",Eg,[t[114]||(t[114]=e.createElementVNode("div",{style:{width:"54%"}},"Total Time at ( Warranted Speed - Speed Under)",-1)),t[115]||(t[115]=e.createElementVNode("div",{style:{width:"5%"}},"=",-1)),e.createElementVNode("div",yg,[e.createElementVNode("div",null,e.toDisplayString((Jl=(Hl=l.reportData)==null?void 0:Hl.weather)!=null&&Jl.noExtrapolation?(E=r.goodWx)==null?void 0:E.distance:(he=r.allWx)==null?void 0:he.distance),1),t[113]||(t[113]=e.createElementVNode("div",{class:"fractional-line"},null,-1)),e.createElementVNode("div",null,e.toDisplayString(r.timeConclusion.minusAbtSpd),1)]),t[116]||(t[116]=e.createElementVNode("div",{style:{width:"5%"}},"=",-1)),e.createElementVNode("div",Ig,e.toDisplayString(r.timeConclusion.timeAtMinusAbtSpd)+" Hrs",1),t[117]||(t[117]=e.createElementVNode("div",{style:{width:"5%"}},"(b')",-1))]),e.createElementVNode("div",pg,[t[119]||(t[119]=e.createElementVNode("div",{style:{width:"54%"}},"Total Time at ( Warranted Speed + Speed Over)",-1)),t[120]||(t[120]=e.createElementVNode("div",{style:{width:"5%"}},"=",-1)),e.createElementVNode("div",Ag,[e.createElementVNode("div",null,e.toDisplayString((lt=(tt=l.reportData)==null?void 0:tt.weather)!=null&<.noExtrapolation?(xt=r.goodWx)==null?void 0:xt.distance:(Yt=r.allWx)==null?void 0:Yt.distance),1),t[118]||(t[118]=e.createElementVNode("div",{class:"fractional-line"},null,-1)),e.createElementVNode("div",null,e.toDisplayString(r.timeConclusion.plusAbtSpd),1)]),t[121]||(t[121]=e.createElementVNode("div",{style:{width:"5%"}},"=",-1)),e.createElementVNode("div",Vg,e.toDisplayString(r.timeConclusion.timeAtPlusAbtSpd)+" Hrs",1),t[122]||(t[122]=e.createElementVNode("div",{style:{width:"5%"}},"(c')",-1))])])):e.createCommentVNode("",!0)],2)]),e.createElementVNode("div",Tg,[e.createElementVNode("div",xg,[t[123]||(t[123]=e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("span",null,"FO Over/Under: ")],-1)),(Qt=r.goodWx)!=null&&Qt.distance?(e.openBlock(),e.createElementBlock("div",zg,[a.computedFuleConclusion(r.fuelConclusion.fo,"FO").className==="success"?(e.openBlock(),e.createElementBlock("i",Cg,"")):e.createCommentVNode("",!0),a.computedFuleConclusion(r.fuelConclusion.fo,"FO").className==="error"?(e.openBlock(),e.createElementBlock("i",Sg,"")):e.createCommentVNode("",!0),e.createElementVNode("span",null,e.toDisplayString(a.computedFuleConclusion(r.fuelConclusion.fo,"FO").cons),1)])):(e.openBlock(),e.createElementBlock("div",kg,[e.createElementVNode("span",fg,e.toDisplayString(i.noGoodWxDay),1)])),e.createElementVNode("div",jg,[e.createElementVNode("i",{class:e.normalizeClass(`iconfont ${a.computedFuleConclusion(r.fuelConclusion.fo,"FO").className}`)},"",2),e.createElementVNode("span",null,e.toDisplayString(a.computedFuleConclusion(r.fuelConclusion.fo,"FO").conclusion),1)])]),e.createElementVNode("div",{class:e.normalizeClass(`${(ht=r.goodWx)!=null&&ht.distance?"":"analysis-none"} card analysis-card`)},[(Bt=r.goodWx)!=null&&Bt.distance?(e.openBlock(),e.createElementBlock("div",Ug,[e.createElementVNode("div",bg,[t[126]||(t[126]=e.createElementVNode("div",{style:{width:"54%"}},"Entire Voyage Consumption using Good Weather Consumption",-1)),t[127]||(t[127]=e.createElementVNode("div",{style:{width:"5%"}},"=",-1)),e.createElementVNode("div",Og,[e.createElementVNode("div",null,e.toDisplayString((Ft=(Rt=l.reportData)==null?void 0:Rt.weather)!=null&&Ft.noExtrapolation?(Pt=r.goodWx)==null?void 0:Pt.distance:(Gt=r.allWx)==null?void 0:Gt.distance),1),t[124]||(t[124]=e.createElementVNode("div",{class:"fractional-line"},null,-1)),e.createElementVNode("div",null,e.toDisplayString((Wt=r.goodWx)==null?void 0:Wt.pfmSpd),1)]),t[128]||(t[128]=e.createElementVNode("div",{style:{width:"5%"}},"×",-1)),e.createElementVNode("div",wg,[e.createElementVNode("div",null,e.toDisplayString((Lt=r.goodWx)==null?void 0:Lt.sumFoCons)+" "+e.toDisplayString(((Zt=r.allWx)==null?void 0:Zt.inEca.distance)>0?` + ${r.fuelConclusion.fo.dgoAsFoCons}`:""),1),t[125]||(t[125]=e.createElementVNode("div",{class:"fractional-line"},null,-1)),e.createElementVNode("div",null,e.toDisplayString((Ht=r.goodWx)==null?void 0:Ht.time),1)]),t[129]||(t[129]=e.createElementVNode("div",{style:{width:"5%"}},"=",-1)),e.createElementVNode("div",Yg,e.toDisplayString(r.fuelConclusion.fo.entireCons)+" MT",1),t[130]||(t[130]=e.createElementVNode("div",{style:{width:"5%"}},"(d')",-1))]),e.createElementVNode("div",Qg,[t[134]||(t[134]=e.createElementVNode("div",{style:{width:"54%"}},"Maximum Warranted Consumption for Over-Consumption",-1)),t[135]||(t[135]=e.createElementVNode("div",{style:{width:"5%"}},"=",-1)),e.createElementVNode("div",hg,[e.createElementVNode("div",null,e.toDisplayString((_t=(Jt=l.reportData)==null?void 0:Jt.weather)!=null&&_t.noExtrapolation?(Xt=r.goodWx)==null?void 0:Xt.distance:(Kt=r.allWx)==null?void 0:Kt.distance),1),t[131]||(t[131]=e.createElementVNode("div",{class:"fractional-line"},null,-1)),e.createElementVNode("div",null,e.toDisplayString(r.timeConclusion.minusAbtSpd),1)]),t[136]||(t[136]=e.createElementVNode("div",{style:{width:"5%"}},"×",-1)),e.createElementVNode("div",Bg,[e.createElementVNode("div",null,e.toDisplayString(r.fuelConclusion.fo.overTolerance),1),t[132]||(t[132]=e.createElementVNode("div",{class:"fractional-line"},null,-1)),t[133]||(t[133]=e.createElementVNode("div",null,"24",-1))]),t[137]||(t[137]=e.createElementVNode("div",{style:{width:"5%"}},"=",-1)),e.createElementVNode("div",Rg,e.toDisplayString(r.fuelConclusion.fo.maxCons)+" MT",1),t[138]||(t[138]=e.createElementVNode("div",{style:{width:"5%"}},"(e')",-1))]),e.createElementVNode("div",Fg,[t[142]||(t[142]=e.createElementVNode("div",{style:{width:"54%"}},"Minimum Warranted Consumption for Fuel-Consumption",-1)),t[143]||(t[143]=e.createElementVNode("div",{style:{width:"5%"}},"=",-1)),e.createElementVNode("div",Pg,[e.createElementVNode("div",null,e.toDisplayString((qt=(ut=l.reportData)==null?void 0:ut.weather)!=null&&qt.noExtrapolation?($t=r.goodWx)==null?void 0:$t.distance:(vt=r.allWx)==null?void 0:vt.distance),1),t[139]||(t[139]=e.createElementVNode("div",{class:"fractional-line"},null,-1)),e.createElementVNode("div",null,e.toDisplayString(r.timeConclusion.minusAbtSpd),1)]),t[144]||(t[144]=e.createElementVNode("div",{style:{width:"5%"}},"×",-1)),e.createElementVNode("div",Gg,[e.createElementVNode("div",null,e.toDisplayString(r.fuelConclusion.fo.underTolerance),1),t[140]||(t[140]=e.createElementVNode("div",{class:"fractional-line"},null,-1)),t[141]||(t[141]=e.createElementVNode("div",null,"24",-1))]),t[145]||(t[145]=e.createElementVNode("div",{style:{width:"5%"}},"=",-1)),e.createElementVNode("div",Wg,e.toDisplayString(r.fuelConclusion.fo.minCons)+" MT",1),t[146]||(t[146]=e.createElementVNode("div",{style:{width:"5%"}},"(f')",-1))])])):e.createCommentVNode("",!0)],2)]),((tl=(el=r==null?void 0:r.extend)==null?void 0:el.cp)==null?void 0:tl.dgo)>0?(e.openBlock(),e.createElementBlock("div",Lg,[e.createElementVNode("div",Zg,[t[147]||(t[147]=e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("span",null,"DO/GO Over/Under: ")],-1)),(ll=r.goodWx)!=null&&ll.distance?(e.openBlock(),e.createElementBlock("div",Hg,[a.computedFuleConclusion(r.fuelConclusion.dgo,"DGO").className==="success"?(e.openBlock(),e.createElementBlock("i",Jg,"")):e.createCommentVNode("",!0),a.computedFuleConclusion(r.fuelConclusion.dgo,"DGO").className==="error"?(e.openBlock(),e.createElementBlock("i",_g,"")):e.createCommentVNode("",!0),e.createElementVNode("span",null,e.toDisplayString(a.computedFuleConclusion(r.fuelConclusion.dgo,"DGO").cons),1)])):(e.openBlock(),e.createElementBlock("div",Xg,[e.createElementVNode("span",Kg,e.toDisplayString(i.noGoodWxDay),1)])),e.createElementVNode("div",ug,[e.createElementVNode("i",{class:e.normalizeClass(`iconfont ${a.computedFuleConclusion(r.fuelConclusion.dgo,"DGO").className}`)},"",2),e.createElementVNode("span",null,e.toDisplayString(a.computedFuleConclusion(r.fuelConclusion.dgo,"DGO").conclusion),1)])]),e.createElementVNode("div",{class:e.normalizeClass(`${(ol=r.goodWx)!=null&&ol.distance?"":"analysis-none"} card analysis-card`)},[(nl=r.goodWx)!=null&&nl.distance?(e.openBlock(),e.createElementBlock("div",qg,[e.createElementVNode("div",$g,[t[150]||(t[150]=e.createElementVNode("div",{style:{width:"54%"}},"Entire Voyage Consumption using Good Weather Consumption",-1)),t[151]||(t[151]=e.createElementVNode("div",{style:{width:"5%"}},"=",-1)),e.createElementVNode("div",vg,[e.createElementVNode("div",null,e.toDisplayString((il=(al=l.reportData)==null?void 0:al.weather)!=null&&il.noExtrapolation?(sl=r.goodWx)==null?void 0:sl.distance:(dl=r.allWx)==null?void 0:dl.distance),1),t[148]||(t[148]=e.createElementVNode("div",{class:"fractional-line"},null,-1)),e.createElementVNode("div",null,e.toDisplayString((rl=r.goodWx)==null?void 0:rl.pfmSpd),1)]),t[152]||(t[152]=e.createElementVNode("div",{style:{width:"5%"}},"×",-1)),e.createElementVNode("div",eE,[e.createElementVNode("div",null,e.toDisplayString((cl=r.goodWx)==null?void 0:cl.sumDgoCons)+" "+e.toDisplayString(((Nl=r.allWx)==null?void 0:Nl.inEca.distance)>0?` - ${r.fuelConclusion.fo.dgoAsFoCons}`:""),1),t[149]||(t[149]=e.createElementVNode("div",{class:"fractional-line"},null,-1)),e.createElementVNode("div",null,e.toDisplayString((Dl=r.goodWx)==null?void 0:Dl.time),1)]),t[153]||(t[153]=e.createElementVNode("div",{style:{width:"5%"}},"=",-1)),e.createElementVNode("div",tE,e.toDisplayString(r.fuelConclusion.dgo.entireCons)+" MT",1),t[154]||(t[154]=e.createElementVNode("div",{style:{width:"5%"}},"(d')",-1))]),e.createElementVNode("div",lE,[t[158]||(t[158]=e.createElementVNode("div",{style:{width:"54%"}},"Maximum Warranted Consumption for Over-Consumption",-1)),t[159]||(t[159]=e.createElementVNode("div",{style:{width:"5%"}},"=",-1)),e.createElementVNode("div",oE,[e.createElementVNode("div",null,e.toDisplayString((ml=(Ml=l.reportData)==null?void 0:Ml.weather)!=null&&ml.noExtrapolation?(gl=r.goodWx)==null?void 0:gl.distance:(El=r.allWx)==null?void 0:El.distance),1),t[155]||(t[155]=e.createElementVNode("div",{class:"fractional-line"},null,-1)),e.createElementVNode("div",null,e.toDisplayString(r.timeConclusion.minusAbtSpd),1)]),t[160]||(t[160]=e.createElementVNode("div",{style:{width:"5%"}},"×",-1)),e.createElementVNode("div",nE,[e.createElementVNode("div",null,e.toDisplayString(r.fuelConclusion.dgo.overTolerance),1),t[156]||(t[156]=e.createElementVNode("div",{class:"fractional-line"},null,-1)),t[157]||(t[157]=e.createElementVNode("div",null,"24",-1))]),t[161]||(t[161]=e.createElementVNode("div",{style:{width:"5%"}},"=",-1)),e.createElementVNode("div",aE,e.toDisplayString(r.fuelConclusion.dgo.maxCons)+" MT",1),t[162]||(t[162]=e.createElementVNode("div",{style:{width:"5%"}},"(e')",-1))]),e.createElementVNode("div",iE,[t[166]||(t[166]=e.createElementVNode("div",{style:{width:"54%"}},"Minimum Warranted Consumption for Fuel-Consumption",-1)),t[167]||(t[167]=e.createElementVNode("div",{style:{width:"5%"}},"=",-1)),e.createElementVNode("div",sE,[e.createElementVNode("div",null,e.toDisplayString((Il=(yl=l.reportData)==null?void 0:yl.weather)!=null&&Il.noExtrapolation?(pl=r.goodWx)==null?void 0:pl.distance:(Al=r.allWx)==null?void 0:Al.distance),1),t[163]||(t[163]=e.createElementVNode("div",{class:"fractional-line"},null,-1)),e.createElementVNode("div",null,e.toDisplayString(r.timeConclusion.minusAbtSpd),1)]),t[168]||(t[168]=e.createElementVNode("div",{style:{width:"5%"}},"×",-1)),e.createElementVNode("div",dE,[e.createElementVNode("div",null,e.toDisplayString(r.fuelConclusion.dgo.underTolerance),1),t[164]||(t[164]=e.createElementVNode("div",{class:"fractional-line"},null,-1)),t[165]||(t[165]=e.createElementVNode("div",null,"24",-1))]),t[169]||(t[169]=e.createElementVNode("div",{style:{width:"5%"}},"=",-1)),e.createElementVNode("div",rE,e.toDisplayString(r.fuelConclusion.dgo.minCons)+" MT",1),t[170]||(t[170]=e.createElementVNode("div",{style:{width:"5%"}},"(f')",-1))])])):e.createCommentVNode("",!0)],2)])):e.createCommentVNode("",!0)]),t[213]||(t[213]=e.createElementVNode("div",{class:"dashed",style:{"margin-top":"20px"}},null,-1)),e.createElementVNode("div",cE,[e.createElementVNode("div",NE,[t[187]||(t[187]=e.createElementVNode("div",{class:"subtitle"},[e.createElementVNode("div",{class:"content"},[e.createElementVNode("i",{class:"iconfont"},""),e.createTextVNode(" Time Lost/Saved Calculation Method ")])],-1)),e.createElementVNode("div",DE,[e.createElementVNode("div",ME,[t[173]||(t[173]=e.createElementVNode("div",{style:{width:"35%","text-align":"left"}},"Total Time at Good Weather Performance Speed",-1)),t[174]||(t[174]=e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"=",-1)),e.createElementVNode("div",mE,[e.createElementVNode("div",null,e.toDisplayString((Tl=(Vl=l.reportData)==null?void 0:Vl.weather)!=null&&Tl.noExtrapolation?"Total Distance At Good Weather":"Total Distance"),1),t[171]||(t[171]=e.createElementVNode("div",{class:"fractional-line"},null,-1)),t[172]||(t[172]=e.createElementVNode("div",null,"Good Weather Performance Speed",-1))]),t[175]||(t[175]=e.createElementVNode("div",{style:{width:"10%","text-align":"center"}},"(a)",-1))]),e.createElementVNode("div",gE,[t[178]||(t[178]=e.createElementVNode("div",{style:{width:"35%","text-align":"left"}},"Total Time at ( Warranted Speed - Speed Under )",-1)),t[179]||(t[179]=e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"=",-1)),e.createElementVNode("div",EE,[e.createElementVNode("div",null,e.toDisplayString((zl=(xl=l.reportData)==null?void 0:xl.weather)!=null&&zl.noExtrapolation?"Good Weather Distance":"Total Distance"),1),t[176]||(t[176]=e.createElementVNode("div",{class:"fractional-line"},null,-1)),t[177]||(t[177]=e.createElementVNode("div",null,"Warranted Speed - Speed Under",-1))]),t[180]||(t[180]=e.createElementVNode("div",{style:{width:"10%","text-align":"center"}},"(b)",-1))]),e.createElementVNode("div",yE,[t[183]||(t[183]=e.createElementVNode("div",{style:{width:"35%","text-align":"left"}},"Total Time at ( Warranted Speed + Speed Over )",-1)),t[184]||(t[184]=e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"=",-1)),e.createElementVNode("div",IE,[e.createElementVNode("div",null,e.toDisplayString((Sl=(Cl=l.reportData)==null?void 0:Cl.weather)!=null&&Sl.noExtrapolation?"Good Weather Distance":"Total Distance"),1),t[181]||(t[181]=e.createElementVNode("div",{class:"fractional-line"},null,-1)),t[182]||(t[182]=e.createElementVNode("div",null,"Warranted Speed + Speed Over",-1))]),t[185]||(t[185]=e.createElementVNode("div",{style:{width:"10%","text-align":"center"}},"(c)",-1))]),t[186]||(t[186]=e.createElementVNode("div",{class:"equation flex-end",style:{"margin-right":"4%"}},[e.createElementVNode("span",null,"Time Lost = (a) - (b)"),e.createElementVNode("span",{style:{"margin-left":"20px"}},"Time Gained = (c) - (a)")],-1))])]),e.createElementVNode("div",pE,[t[211]||(t[211]=e.createElementVNode("div",{class:"subtitle"},[e.createElementVNode("div",{class:"content"},[e.createElementVNode("i",{class:"iconfont"},""),e.createTextVNode(" Fuel Over/Under Consumption Calculation Method ")])],-1)),e.createElementVNode("div",AE,[e.createElementVNode("div",VE,[t[190]||(t[190]=e.createElementVNode("div",{style:{width:"28%","text-align":"left"}},"Entire Voyage Consumption using vessel Good Weather Consumption",-1)),t[191]||(t[191]=e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"=",-1)),e.createElementVNode("div",TE,[e.createElementVNode("div",null,e.toDisplayString((fl=(kl=l.reportData)==null?void 0:kl.weather)!=null&&fl.noExtrapolation?"Good Weather Distance":"Total Distance"),1),t[188]||(t[188]=e.createElementVNode("div",{class:"fractional-line"},null,-1)),t[189]||(t[189]=e.createElementVNode("div",null,"Good Weather Performance Speed",-1))]),t[192]||(t[192]=e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"×",-1)),t[193]||(t[193]=e.createElementVNode("div",{style:{width:"30%"},class:"fraction"},[e.createElementVNode("div",null,"Good Weather Consumption"),e.createElementVNode("div",{class:"fractional-line"}),e.createElementVNode("div",null,"Good Weather Time")],-1)),t[194]||(t[194]=e.createElementVNode("div",{style:{width:"7%","text-align":"center"}},"(d)",-1))]),e.createElementVNode("div",xE,[t[197]||(t[197]=e.createElementVNode("div",{style:{width:"28%","text-align":"left"}},"Maximum Warranted Consumption for over-consumption",-1)),t[198]||(t[198]=e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"=",-1)),e.createElementVNode("div",zE,[e.createElementVNode("div",null,e.toDisplayString((_l=(jl=l.reportData)==null?void 0:jl.weather)!=null&&_l.noExtrapolation?"Good Weather Distance":"Total Distance"),1),t[195]||(t[195]=e.createElementVNode("div",{class:"fractional-line"},null,-1)),t[196]||(t[196]=e.createElementVNode("div",null,"Warranted Speed - Speed Under",-1))]),t[199]||(t[199]=e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"×",-1)),t[200]||(t[200]=e.createElementVNode("div",{style:{width:"30%"},class:"fraction"},[e.createElementVNode("div",null,"Warranted Consumption + Tolerance"),e.createElementVNode("div",{class:"fractional-line"}),e.createElementVNode("div",null,"24 hours")],-1)),t[201]||(t[201]=e.createElementVNode("div",{style:{width:"7%","text-align":"center"}},"(e)",-1))]),e.createElementVNode("div",CE,[t[204]||(t[204]=e.createElementVNode("div",{style:{width:"28%","text-align":"left"}},"Minimum Warranted Consumption for fuel saving",-1)),t[205]||(t[205]=e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"=",-1)),e.createElementVNode("div",SE,[e.createElementVNode("div",null,e.toDisplayString((Kl=(Xl=l.reportData)==null?void 0:Xl.weather)!=null&&Kl.noExtrapolation?"Good Weather Distance":"Total Distance"),1),t[202]||(t[202]=e.createElementVNode("div",{class:"fractional-line"},null,-1)),t[203]||(t[203]=e.createElementVNode("div",null,"Warranted Speed - Speed Under",-1))]),t[206]||(t[206]=e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"×",-1)),t[207]||(t[207]=e.createElementVNode("div",{style:{width:"30%"},class:"fraction"},[e.createElementVNode("div",null,"Warranted Consumption - Tolerance"),e.createElementVNode("div",{class:"fractional-line"}),e.createElementVNode("div",null,"24 hours")],-1)),t[208]||(t[208]=e.createElementVNode("div",{style:{width:"7%","text-align":"center"}},"(f)",-1))]),t[209]||(t[209]=e.createElementVNode("div",{class:"equation",style:{margin:"10px 0"}},[e.createElementVNode("span",null,"Fuel Over-consumption = (d) - (e) "),e.createElementVNode("span",{style:{"margin-left":"20px"}},"Fuel Saving = (f) - (d)")],-1)),t[210]||(t[210]=e.createElementVNode("div",{class:"equation"},[e.createTextVNode(" Fuel Over-consumption: Entire Voyage Consumption using Good Weather Consumption > Max CP Consumption "),e.createElementVNode("br"),e.createTextVNode(" Fuel Saving: Entire Voyage Consumption using Good Weather Consumption < Min CP Consumption "),e.createElementVNode("br"),e.createTextVNode(" No Fuel Over-consumption or Saving: Min CP Consumption ≤ Entire Voyage Consumption using Good Weather Consumption ≤ Max CP Consumption "),e.createElementVNode("br")],-1))])])])])])}),128))])],2)}const fE=Fe(NM,[["render",kE],["__scopeId","data-v-b0ef3073"]]),Lw="",jE={components:{},props:{reportData:{type:Object,default:()=>({})},isAdmin:{type:Boolean,default:()=>!1}},data(){return{date:"",showCF:!1,showAisDistance:!0,summaryTable:[],typeList:[]}},computed:{computeColspan(){let o=11;return this.showCF||(o=o-2),this.showAisDistance||(o=o-2),o},computedClass(){return function(o,t,l,d){var D;let i="";const a=((D=this.summaryTable)==null?void 0:D.length)-1;return l&&t!==a&&(i=o.abbreviation==="A"||o.abbreviation==="B"?"td-no-bottom":""),(o==null?void 0:o.goodWx)===!0&&!d&&(i=i+" good-weather"),(o==null?void 0:o.excluded)===!0&&!d&&(i=i+" excluded"),i}},computedSegClass(){return function(o,t){var d,i;const l=((d=this.summaryTable)==null?void 0:d.length)-1;if(l>-1){if(o.isFirstSeg&&t!==l)return"td-no-bottom td-top";if((i=this.summaryTable[t+1])!=null&&i.isFirstSeg)return"td-bottom";if(t!==l)return"td-no-bottom"}return"td-bottom"}},computedPort(){return function(o){var t;return!((o.abbreviation==="E"||o.abbreviation==="B")&&o.noon&&(t=o.noon)!=null&&t.port)}},computedTime(){return function(o,t){return t==="subtitle"?P(o).utc().format("MMMM-DD, YYYY/HHmm [Z]"):t==="table"?P(o).utc().format("MMMM-DD/HHmm[Z]"):P(o).utc().format("dddd, MMMM D, YYYY")}}},watch:{reportData:{handler(o,t){o!=null&&o.id&&this.$nextTick(()=>{this.checkData()})},immediate:!0}},mounted(){},methods:{getLonLat(o){return`${o.degree}°${re.LngLatHelper.roundPrecision(o.minute,1)}′${o.direction}`},checkData(){var d,i,a,D;this.showCF=(i=(d=this.reportData)==null?void 0:d.weather)==null?void 0:i.showCF,this.showAisDistance=!0;let o=[];(D=(a=this.reportData)==null?void 0:a.segments)==null||D.forEach((s,c)=>{let y=s.extend.cp;s.inventory.sample.hours.forEach((p,N)=>{let M=JSON.parse(JSON.stringify(p));M.cp=y,o.push(M)})}),o.sort(function(s,c){let y=s.date,p=c.date;return y-p});let t="",l="";o.forEach((s,c)=>{s.seg!==t&&(s.isFirstSeg=!0,t=s.seg);let y=s.type.charAt(0);s.abbreviation=y;const p=P(s.utc).utc().format("D-MMM");p!==l&&(s.lastdate=p,l=p),y==="A"?s.type="":y==="M"&&(s.type="*"),s.time=P(s.utc).utc().format("HH:mm[Z]"),s.lngPretty=this.getLonLat(re.LngLatHelper.lng2pretty(s.lng)),s.latPretty=this.getLonLat(re.LngLatHelper.lat2pretty(s.lat))}),this.summaryTable=o}}},UE={id:"second-table",class:"table"},bE={class:"summary-table"},OE={class:"summary-tbody"},wE={class:"voyage-map",style:{"page-break-inside":"avoid"}},YE=["src"];function QE(o,t,l,d,i,a){var D,s,c,y,p;return e.openBlock(),e.createElementBlock("div",{style:{"page-break-before":"always"},class:e.normalizeClass((s=(D=l.reportData)==null?void 0:D.weather)!=null&&s.referenceOnly||(y=(c=l.reportData)==null?void 0:c.weather)!=null&&y.overallAsGoodWx?"watermark fli-main":"fli-main")},[t[3]||(t[3]=e.createElementVNode("div",{class:"fli-logo-title"},[e.createElementVNode("img",{src:"https://img.idmwx.com/asset/fli_logo.png",class:"bgImg"}),e.createElementVNode("div",{class:"logo-title"},"Voyage Analysis Report")],-1)),e.createElementVNode("div",UE,[e.createElementVNode("div",null,[e.createElementVNode("table",bE,[t[0]||(t[0]=e.createElementVNode("thead",null,[e.createElementVNode("tr",null,[e.createElementVNode("th",{rowspan:"2"},"Seg"),e.createElementVNode("th",{rowspan:"2"},"Type"),e.createElementVNode("th",{rowspan:"2"}," Date "),e.createElementVNode("th",{rowspan:"2"},[e.createTextVNode("Time"),e.createElementVNode("br"),e.createTextVNode("(UTC)")]),e.createElementVNode("th",{colspan:"2"},"Coordinates"),e.createElementVNode("th",{rowspan:"2"},[e.createTextVNode("CP Speed "),e.createElementVNode("br"),e.createTextVNode("(kts)")]),e.createElementVNode("th",{rowspan:"2"},[e.createTextVNode("Analyzed Speed "),e.createElementVNode("br"),e.createTextVNode("(kts)")]),e.createElementVNode("th",{rowspan:"2"},[e.createTextVNode("Analyzed Distance"),e.createElementVNode("br"),e.createTextVNode("(nm)")]),e.createElementVNode("th",{rowspan:"2"},"Beaufort Wind Scale"),e.createElementVNode("th",{colspan:"2"},"Swell"),e.createElementVNode("th",{rowspan:"2"},[e.createTextVNode("Sig. Wave"),e.createElementVNode("br"),e.createTextVNode("(m)")]),e.createElementVNode("th",{rowspan:"2"},[e.createTextVNode("Current Factor"),e.createElementVNode("br"),e.createTextVNode("(kts)")]),e.createElementVNode("th",{rowspan:"2"},[e.createTextVNode("Reported Speed"),e.createElementVNode("br"),e.createTextVNode("(kts)")]),e.createElementVNode("th",{rowspan:"2"},[e.createTextVNode("Reported Distance"),e.createElementVNode("br"),e.createTextVNode("(nm)")]),e.createElementVNode("th",{colspan:"2"},"CP Consumption (mt)"),e.createElementVNode("th",{colspan:"2"},"Reported Daily Fuel Consumption (mt)"),e.createElementVNode("th",{colspan:"2"},"Reported BROB (mt)")]),e.createElementVNode("tr",null,[e.createElementVNode("th",null,"Lat"),e.createElementVNode("th",null,"Lon"),e.createElementVNode("th",null,"Direction"),e.createElementVNode("th",null,"Height (m)"),e.createElementVNode("th",null,"FO"),e.createElementVNode("th",null,"DO/GO"),e.createElementVNode("th",null,"FO"),e.createElementVNode("th",null,"DO/GO"),e.createElementVNode("th",null,"FO"),e.createElementVNode("th",null,"DO/GO")])],-1)),e.createElementVNode("tbody",OE,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(i.summaryTable,(N,M)=>{var C,A,V,T,I,S,x,k,m,U,O,w,Y,Q,h,R,G,W,L,Z,J,b;return e.openBlock(),e.createElementBlock("tr",{key:M},[e.createElementVNode("td",{class:e.normalizeClass(a.computedSegClass(N,M))},e.toDisplayString(N.isFirstSeg?N.seg:""),3),e.createElementVNode("td",{class:e.normalizeClass(a.computedClass(N,M))},e.toDisplayString(N.type),3),e.createElementVNode("td",{class:e.normalizeClass(a.computedClass(N,M))},e.toDisplayString(N.lastdate),3),e.createElementVNode("td",{class:e.normalizeClass(a.computedClass(N,M))},e.toDisplayString(N.time),3),a.computedPort(N)?(e.openBlock(),e.createElementBlock("td",{key:0,class:e.normalizeClass(a.computedClass(N,M))},e.toDisplayString(N.latPretty),3)):e.createCommentVNode("",!0),a.computedPort(N)?(e.openBlock(),e.createElementBlock("td",{key:1,class:e.normalizeClass(a.computedClass(N,M))},e.toDisplayString(N.lngPretty),3)):(e.openBlock(),e.createElementBlock("td",{key:2,colspan:"2",class:e.normalizeClass(a.computedClass(N,M))},e.toDisplayString((C=N.noon)==null?void 0:C.port),3)),e.createElementVNode("td",{class:e.normalizeClass(a.computedClass(N,M,!0,!0))},e.toDisplayString(N.abbreviation==="A"||N.abbreviation==="B"?"":(A=N.cp)==null?void 0:A.speed),3),e.createElementVNode("td",{class:e.normalizeClass(a.computedClass(N,M,!0))},e.toDisplayString(N.avgSpdCalc),3),e.createElementVNode("td",{class:e.normalizeClass(a.computedClass(N,M,!0))},e.toDisplayString(N.distanceCalc),3),e.createElementVNode("td",{class:e.normalizeClass(a.computedClass(N,M))},e.toDisplayString(((T=(V=N.meteo)==null?void 0:V.wind)==null?void 0:T.scale)??"--"),3),e.createElementVNode("td",{class:e.normalizeClass(a.computedClass(N,M))},e.toDisplayString(((x=(S=(I=N.meteo)==null?void 0:I.wave)==null?void 0:S.swell)==null?void 0:x.direction)??"--"),3),e.createElementVNode("td",{class:e.normalizeClass(a.computedClass(N,M))},e.toDisplayString(((U=(m=(k=N.meteo)==null?void 0:k.wave)==null?void 0:m.swell)==null?void 0:U.height)??"--"),3),e.createElementVNode("td",{class:e.normalizeClass(a.computedClass(N,M))},e.toDisplayString(((Y=(w=(O=N.meteo)==null?void 0:O.wave)==null?void 0:w.sig)==null?void 0:Y.height)??"--"),3),i.showCF?(e.openBlock(),e.createElementBlock("td",{key:3,class:e.normalizeClass(a.computedClass(N,M))},e.toDisplayString(((Q=N.meteo)==null?void 0:Q.cFactor)??"0"),3)):(e.openBlock(),e.createElementBlock("td",{key:4,class:e.normalizeClass(a.computedClass(N,M))},e.toDisplayString(N.abbreviation==="A"?"":N.dailyAvgCf||"0"),3)),e.createElementVNode("td",{class:e.normalizeClass(a.computedClass(N,M))},e.toDisplayString(N.abbreviation==="A"?"":((h=N.noon)==null?void 0:h.avgSpd)||"0.00"),3),e.createElementVNode("td",{class:e.normalizeClass(a.computedClass(N,M))},e.toDisplayString(N.abbreviation==="A"?"":((R=N.noon)==null?void 0:R.distanceSlr)||"0.0"),3),e.createElementVNode("td",{class:e.normalizeClass(a.computedClass(N,M,!0,!0))},e.toDisplayString(N.abbreviation==="A"||N.abbreviation==="B"?"":(G=N.cp)==null?void 0:G.fo),3),e.createElementVNode("td",{class:e.normalizeClass(a.computedClass(N,M,!0,!0))},e.toDisplayString(N.abbreviation==="A"||N.abbreviation==="B"?"":(W=N.cp)==null?void 0:W.dgo),3),e.createElementVNode("td",{class:e.normalizeClass(a.computedClass(N,M))},e.toDisplayString(N.abbreviation==="A"?"":((L=N.noon)==null?void 0:L.foCons)||"0.00"),3),e.createElementVNode("td",{class:e.normalizeClass(a.computedClass(N,M))},e.toDisplayString(N.abbreviation==="A"?"":((Z=N.noon)==null?void 0:Z.dgoCons)||"0.00"),3),e.createElementVNode("td",{class:e.normalizeClass(a.computedClass(N,M))},e.toDisplayString(N.abbreviation==="A"?"":(J=N.noon)==null?void 0:J.foBrob),3),e.createElementVNode("td",{class:e.normalizeClass(a.computedClass(N,M))},e.toDisplayString(N.abbreviation==="A"?"":(b=N.noon)==null?void 0:b.dgoBrob),3)])}),128))])])])]),t[4]||(t[4]=e.createStaticVNode('<div style="page-break-inside:avoid;" class="table-legend dashed" data-v-ec7ec0f5><div class="item" data-v-ec7ec0f5><div class="legend" data-v-ec7ec0f5><div class="legend-bg gwd" data-v-ec7ec0f5></div></div> Good Weather Days </div><div class="item" data-v-ec7ec0f5><div class="legend" data-v-ec7ec0f5><div class="legend-bg adverse" data-v-ec7ec0f5></div></div> Adverse Weather Days </div><div class="item" data-v-ec7ec0f5><div class="legend" data-v-ec7ec0f5><div class="legend-bg excluded" data-v-ec7ec0f5></div></div> Excluded Periods </div></div>',1)),e.createElementVNode("div",wE,[t[1]||(t[1]=e.createElementVNode("div",{class:"title"},[e.createElementVNode("i",{class:"iconfont"},""),e.createElementVNode("div",{class:"content"},"Voyage Map")],-1)),e.createElementVNode("img",{style:{width:"100%"},src:(p=l.reportData)==null?void 0:p.chartUrl,alt:""},null,8,YE),t[2]||(t[2]=e.createStaticVNode('<div class="legend-block" data-v-ec7ec0f5><div style="position:relative;left:-20px;" data-v-ec7ec0f5><div style="position:relative;display:inline-block;top:-12px;left:15px;transform:scale(0.95);" data-v-ec7ec0f5><div data-v-ec7ec0f5>7</div><br data-v-ec7ec0f5><div data-v-ec7ec0f5>W 4</div></div><i class="iconfont" style="font-size:30px;font-weight:600;position:relative;top:-20px;margin:8px 0 0 4px;color:var(--idm-black-6);" data-v-ec7ec0f5></i><div style="display:inline-block;transform:scale(0.95);text-align:left;margin-left:5px;" data-v-ec7ec0f5> LEGEND: <br data-v-ec7ec0f5> Wind from NE(045) <br data-v-ec7ec0f5> Each barb = 10 kts <br data-v-ec7ec0f5> 1/2 barb = 5 kts <br data-v-ec7ec0f5></div></div><div style="transform:scale(0.95);" data-v-ec7ec0f5> 7 - DAY OF THE MONTH <br data-v-ec7ec0f5> W 4 - PRIMARY WAVE FROM WEST, 4 METERS<br data-v-ec7ec0f5><div class="goodWx" data-v-ec7ec0f5>Date</div> Good weather days<br data-v-ec7ec0f5></div></div>',1))])],2)}const hE=Fe(jE,[["render",QE],["__scopeId","data-v-ec7ec0f5"]]),Zw="",BE={components:{Summary:fE,Inventory:hE},props:{initialData:{type:Object,default:()=>({})},isAdmin:{type:Boolean,default:()=>!1},editorDisabled:{type:Boolean,default:()=>!1}},data(){return{reportData:{}}},watch:{initialData:{handler(o,t){o!=null&&o.id&&this.$nextTick(()=>{this.reportData=o})},immediate:!0}},methods:{commit(o){this.$emit("commit",o)}}},RE={class:"voyage-report"};function FE(o,t,l,d,i,a){const D=e.resolveComponent("Summary"),s=e.resolveComponent("Inventory");return e.openBlock(),e.createElementBlock("div",RE,[e.createVNode(D,{"report-data":i.reportData,class:"main","editor-disabled":l.editorDisabled,onCommit:a.commit},null,8,["report-data","editor-disabled","onCommit"]),e.createVNode(s,{"is-admin":l.isAdmin,"report-data":i.reportData,class:"main"},null,8,["is-admin","report-data"])])}const gs=Fe(BE,[["render",FE],["__scopeId","data-v-77dca605"]]),Hw="",PE={name:"OrmVoyageSummary",components:{Lng:On,Lat:wn,Editor:ao},props:{report:{type:Object,default:()=>({})}},emits:["commit"],data(){return{exclusion:[],noGoodWxDay:"Not available due to no good weather days.",editable:!1,remarks:"",noons:[]}},computed:{computePrevTime(){return function(o){return P(o.utc).subtract(o.timeCalc,"hour").format()}},computeDuration(){return function(o,t){const l=P(o).diff(P(t),"hours",!0);return Math.round(l*100)/100}},computeUTCTime(){return function(o,t="MMM-DD/HHmm[Z]"){return`${P(o).utc().format(t)}`}},computeWeatherDef(){return function(o){let t="";o!=null&&o.waveSwitch?t+=`Wind wave height is ${o==null?void 0:o.waveHeight} meters or less (Douglas Sea State ${o==null?void 0:o.seaScale})`:o!=null&&o.swellSwitch?t+=`Swell height is ${o==null?void 0:o.swellHeight} meters or less (Douglas Sea State ${o==null?void 0:o.seaScale})`:o!=null&&o.sigSwitch&&(t+=`Significant wave height is ${o==null?void 0:o.sigHeight} meters or less (Douglas Sea State ${o==null?void 0:o.seaScale})`);let l=`Winds are BF/${o==null?void 0:o.windScale} or less, ${t}`;return o!=null&&o.noAdverseCur&&(l+=", No Adverse Current"),o!=null&&o.waterTempSwitch&&(l+=`, water temperature is ${o==null?void 0:o.waterTemp} °C or less`),o!=null&&o.noExtrapolation&&(l+=", No Extrapolation"),o!=null&&o.overallAsGoodWx&&(l="No specific thresholds for wind/wave/currents are defined in the Charter Party",o.disableWxFactor&&o.disableCFactor?l+=" Both Wx Factor and Current Factor are ignored.":o.disableWxFactor?l+=" Wx Factor is ignored.":o.disableCFactor&&(l+=" Current Factor is ignored."),l+=" Therefore the Good Weather Definition in this reports does not apply any thresholds"),(o==null?void 0:o.time)===100&&(o!=null&&o.timePercentage)&&(o==null?void 0:o.consecutiveTime)===1?l+=", All parts of the period.":(o==null?void 0:o.consecutiveTime)>1&!(o!=null&&o.consecTimePercentage)?l+=`, At least ${o==null?void 0:o.consecutiveTime} consecutive hours.`:l+=".",l}},computeLng(){return function(o){return re.LngLatHelper.lng2pretty(o)}},computeLat(){return function(o){return re.LngLatHelper.lat2pretty(o)}},computeAbtSpeed(){return function(o,t,l){return l==="Over"?o.abt4SpdOver:o.abt4SpdUnder}},computeAbtCons(){return function(o,t,l){if(o.consPercentage){if(t==="fo")return l==="Over"?`${o.consOfOver}%`:`${o.consOfUnder}%`;if(t==="dgo")return l==="Over"?`${o.consDgoOfOver??o.consOfOver}%`:`${o.consDgoOfUnder??o.consOfUnder}%`}else{if(t==="fo")return l==="Over"?`${o.consOfOver}`:`${o.consOfUnder}`;if(t==="dgo")return l==="Over"?`${o.consDgoOfOver??o.consOfOver}`:`${o.consDgoOfUnder??o.consOfUnder}`}}},computeBlankHtml(){return function(o){return!(o!=null&&o.replace(/<[^>]+>/g,""))}}},watch:{report:{handler(o,t){o!=null&&o.id&&this.$nextTick(()=>{this.prepare()})},immediate:!0}},methods:{prepare(){var o,t;this.remarks=this.report.remarks||"Please double click to modify remark",this.exclusion=[],this.noons=[],(t=(o=this.report)==null?void 0:o.segments)==null||t.forEach((l,d)=>{var D,s;l.excluded.detail.forEach(c=>{const y={time:P(c.begin).utc().format("MMM-DD/HHmm[Z]")+" - "+P(c.end).utc().format("MMM-DD/HHmm[Z]"),duration:c.duration,distance:c.distance,fo:c.foCons,dgo:c.dgoCons};this.exclusion.push(y)});const a=(s=(D=l==null?void 0:l.inventory)==null?void 0:D.sample)==null?void 0:s.hours.filter(c=>c.noon);this.noons.push([a])})},handleCommit(o){this.editable=!1,this.$emit("commit",o)},handleEdit(){this.editable=!0}}},GE={class:"report-summary"},WE={class:"section voyage-section flex-space"},LE={class:"flex-end",style:{width:"50%","flex-wrap":"wrap"}},ZE={class:"flex-space label-block",style:{width:"100%"}},HE={style:{"text-transform":"uppercase"}},JE={class:"flex-space label-block",style:{width:"100%"}},_E={class:"flex-end",style:{flex:"1","text-transform":"uppercase"}},XE={class:"flex-space label-block",style:{width:"100%"}},KE={class:"flex-end",style:{flex:"1","text-transform":"uppercase"}},uE={class:"flex-end",style:{width:"50%","flex-wrap":"wrap"}},qE={class:"flex-space label-block",style:{width:"100%"}},$E={key:0,class:"flex-end",style:{flex:"1"}},vE={key:1,class:"flex-end",style:{flex:"1"}},ey={class:"flex-end",style:{width:"150px"}},ty={class:"flex-space label-block",style:{width:"100%"}},ly={key:0,class:"flex-end",style:{flex:"1"}},oy={key:1,class:"flex-end",style:{flex:"1"}},ny={class:"flex-end",style:{width:"150px"}},ay={class:"flex-space label-block",style:{width:"100%"}},iy={class:"flex-end",style:{flex:"1","text-transform":"uppercase"}},sy={class:"section weather-section"},dy={class:"definition"},ry={class:"txt"},cy={class:"section summary-section"},Ny={class:"phase-box"},Dy={class:"phase-index"},My={class:"phase-position"},my={key:0},gy={key:1},Ey={class:"phase-position"},yy={key:0},Iy={key:1},py={class:"phase-cp flex-space"},Ay={class:"cp-box"},Vy={class:"flex-space"},Ty={class:"phase-conclusion flex-space"},xy={class:"item-conclusion"},zy={class:"value flex-start"},Cy={key:0,class:"label flex-end"},Sy={key:0},ky={key:1},fy={key:2},jy={key:1,class:"label flex-end"},Uy={key:2,class:"value flex-end"},by={key:0},Oy={class:"gain"},wy={key:1},Yy={class:"lost"},Qy={key:2},hy={class:"item-conclusion"},By={class:"value flex-start"},Ry={key:0,class:"label flex-end"},Fy={key:0},Py={key:1},Gy={key:2},Wy={key:1,class:"label flex-end"},Ly={key:2,class:"value flex-end"},Zy={key:0},Hy={class:"gain"},Jy={key:1},_y={class:"lost"},Xy={key:2},Ky={class:"item-conclusion"},uy={class:"value flex-start"},qy={key:0,class:"label flex-end"},$y={key:0},vy={key:1},eI={key:2},tI={key:1,class:"label flex-end"},lI={key:2,class:"value flex-end"},oI={key:0},nI={class:"gain"},aI={key:1},iI={class:"lost"},sI={key:2},dI={key:0,class:"exclusion-block"},rI={style:{margin:"8px 0"}},cI={class:"remark-table"},NI=["innerHTML"],DI={class:"section segment-section"},MI={class:"segment-index flex-center"},mI={class:"segment-position"},gI={key:0},EI={key:1},yI={class:"segment-position"},II={key:0},pI={key:1},AI={style:{margin:"10px 0 0"}},VI={class:"good-wx"},TI={class:"good-wx"},xI={class:"good-wx"},zI={class:"good-wx"},CI={class:"good-wx"},SI={class:"good-wx"},kI={class:"good-wx"},fI={class:"good-wx"},jI={class:"good-wx"},UI={class:"good-wx"},bI={class:"good-wx"},OI={class:"good-wx"},wI={class:"good-wx"},YI={class:"good-wx"},QI={key:0,style:{"margin-top":"10px"}},hI={key:0},BI={key:0,class:"flex-end tip"},RI={key:1,class:"segment-speed"},FI={class:"flex-center"},PI={class:"speed-right flex-space"},GI={class:"speed"},WI={key:1,class:"speed"},LI={key:0,class:"speed"},ZI={class:"speed"},HI={class:"speed"},JI={class:"speed"},_I={key:2,class:"under"},XI={key:3,class:"over"},KI={class:"flex-center"},uI={class:"speed-right formula flex-space"},qI={key:0},$I={key:2,class:"segment-speed"},vI={class:"flex-center"},e0={class:"speed-right flex-space"},t0={class:"speed"},l0={class:"speed"},o0={key:2,class:"under"},n0={key:3,class:"over"},a0={class:"flex-center"},i0={class:"speed-right formula flex-space"},s0={class:"segment-formula"},d0={class:"header-block flex-start"},r0={class:"title"},c0={key:0,style:{"margin-left":"4px","font-weight":"300"}},N0={class:"formula-block"},D0={class:"flex-evenly"},M0={class:"formula-right flex-evenly"},m0={class:"fraction",style:{width:"240px"}},g0={class:"flex-center"},E0={class:"formula-left flex-space"},y0={class:"formula-right flex-evenly"},I0={class:"fraction",style:{width:"240px"}},p0={class:"flex-center"},A0={class:"formula-left flex-space"},V0={class:"formula-right flex-evenly"},T0={class:"fraction",style:{width:"240px"}},x0={class:"formula-desc"},z0={class:"flex-end"},C0={class:"flex-end"},S0={class:"flex-end"},k0={key:0,class:"formula-block",style:{"font-weight":"400"}},f0={class:"flex-evenly"},j0={class:"formula-right flex-evenly"},U0={class:"fraction",style:{width:"240px"}},b0={class:"flex-center"},O0={class:"formula-left flex-space"},w0={class:"formula-right flex-evenly"},Y0={class:"fraction",style:{width:"240px"}},Q0={class:"flex-center"},h0={class:"formula-left flex-space"},B0={class:"formula-right flex-evenly"},R0={class:"fraction",style:{width:"240px"}},F0={class:"formula-conclusion",style:{"margin-bottom":"0"}},P0={key:0,class:"flex-evenly",style:{width:"500px"}},G0={key:1,class:"flex-evenly",style:{width:"500px"}},W0={key:1,class:"formula-conclusion"},L0={class:"segment-formula"},Z0={class:"header-block flex-start"},H0={class:"title"},J0={key:0,style:{"margin-left":"4px","font-weight":"300"}},_0={class:"formula-block"},X0={class:"flex-evenly"},K0={class:"formula-right flex-evenly"},u0={class:"fraction",style:{width:"240px"}},q0={style:{"line-height":"1"}},$0={key:0,class:"tips flex-end",style:{"font-size":"14px"}},v0={class:"flex-center"},ep={class:"formula-right flex-evenly"},tp={class:"fraction",style:{width:"240px"}},lp={class:"flex-center"},op={class:"formula-right flex-evenly"},np={class:"fraction",style:{width:"240px"}},ap={class:"flex-center"},ip={class:"formula-right flex-evenly"},sp={class:"fraction",style:{width:"270px"}},dp={class:"flex-center"},rp={class:"formula-right flex-evenly"},cp={class:"fraction",style:{width:"270px"}},Np={class:"header-block flex-start",style:{"margin-top":"10px"}},Dp={class:"title"},Mp={key:0,class:"formula-block"},mp={key:0,class:"flex-evenly"},gp={class:"formula-right flex-evenly"},Ep={class:"fraction",style:{width:"60px"}},yp={class:"fraction",style:{width:"60px"}},Ip={class:"flex-evenly"},pp={class:"formula-right flex-evenly"},Ap={class:"fraction",style:{width:"240px"}},Vp={class:"fraction",style:{width:"240px"}},Tp={key:0},xp={class:"flex-evenly"},zp={class:"formula-right flex-evenly"},Cp={class:"fraction",style:{width:"240px"}},Sp={class:"fraction",style:{width:"240px"}},kp={class:"flex-evenly"},fp={class:"formula-right flex-evenly"},jp={class:"fraction",style:{width:"240px"}},Up={class:"fraction",style:{width:"240px"}},bp={class:"formula-conclusion",style:{"margin-bottom":"0"}},Op={class:"flex-evenly",style:{width:"500px"}},wp={key:0,class:"flex-evenly"},Yp={class:"fraction"},Qp={class:"flex-evenly",style:{width:"700px"}},hp={key:0,class:"flex-evenly",style:{width:"500px"}},Bp={class:"fraction",style:{width:"140px"}},Rp={key:1,class:"formula-conclusion"},Fp={class:"header-block flex-end",style:{"margin-top":"10px"}},Pp={class:"title"},Gp={key:0,class:"formula-block"},Wp={class:"flex-evenly"},Lp={class:"formula-right flex-evenly"},Zp={class:"fraction",style:{width:"240px"}},Hp={class:"fraction",style:{width:"240px"}},Jp={key:0},_p={class:"flex-evenly"},Xp={class:"formula-right flex-evenly"},Kp={class:"fraction",style:{width:"240px"}},up={class:"fraction",style:{width:"240px"}},qp={class:"flex-evenly"},$p={class:"formula-right flex-evenly"},vp={class:"fraction",style:{width:"240px"}},eA={class:"fraction",style:{width:"240px"}},tA={class:"formula-conclusion",style:{"margin-bottom":"0"}},lA={key:0,class:"flex-evenly",style:{width:"500px"}},oA={key:1,class:"flex-evenly",style:{width:"700px"}},nA={key:1,class:"formula-conclusion"};function aA(o,t,l,d,i,a){var y,p,N,M,C,A,V,T,I,S,x,k,m,U,O,w,Y,Q,h,R,G,W,L,Z,J,b,te,le,oe,ne,ae;const D=e.resolveComponent("Lat"),s=e.resolveComponent("Lng"),c=e.resolveComponent("Editor");return e.openBlock(),e.createElementBlock("div",GE,[e.createElementVNode("div",WE,[e.createElementVNode("div",LE,[e.createElementVNode("div",ZE,[t[3]||(t[3]=e.createElementVNode("label",{class:"flex-end",style:{width:"140px"}},"Prepare for",-1)),e.createElementVNode("span",HE,e.toDisplayString(l.report.preparedFor),1)]),e.createElementVNode("div",JE,[t[4]||(t[4]=e.createElementVNode("label",{class:"flex-end",style:{width:"140px"}},"Vessel",-1)),e.createElementVNode("span",_E,e.toDisplayString((p=(y=l.report)==null?void 0:y.vessel)==null?void 0:p.name)+" ("+e.toDisplayString((M=(N=l.report)==null?void 0:N.vessel)==null?void 0:M.type)+")",1)]),e.createElementVNode("div",XE,[t[5]||(t[5]=e.createElementVNode("label",{class:"flex-end",style:{width:"140px"}},"Voyage No",-1)),e.createElementVNode("span",KE,e.toDisplayString(((A=(C=l.report)==null?void 0:C.voyage)==null?void 0:A.voyNum)||((T=(V=l.report)==null?void 0:V.voyage)==null?void 0:T.number)),1)])]),e.createElementVNode("div",uE,[e.createElementVNode("div",qE,[t[7]||(t[7]=e.createElementVNode("label",{class:"flex-end",style:{width:"140px"}},"Departure Port",-1)),(S=(I=l.report)==null?void 0:I.departure)!=null&&S.portName?(e.openBlock(),e.createElementBlock("span",$E,e.toDisplayString((k=(x=l.report)==null?void 0:x.departure)==null?void 0:k.portName),1)):(e.openBlock(),e.createElementBlock("div",vE,[e.createVNode(D,{lat:(U=(m=l.report)==null?void 0:m.departure)==null?void 0:U.lat,label:"",style:{"font-size":"14px","font-weight":"400"}},null,8,["lat"]),t[6]||(t[6]=e.createElementVNode("span",{style:{"margin-right":"3px"}},",",-1)),e.createVNode(s,{lng:(O=l.report.departure)==null?void 0:O.lng,label:"",style:{"font-size":"14px","font-weight":"400"}},null,8,["lng"])])),e.createElementVNode("span",ey,e.toDisplayString(a.computeUTCTime((w=l.report.departure)==null?void 0:w.utcTime,"MMM-DD/HHmm[Z], YYYY")),1)]),e.createElementVNode("div",ty,[t[9]||(t[9]=e.createElementVNode("label",{class:"flex-end",style:{width:"140px"}},"Arrival Port",-1)),(Q=(Y=l.report)==null?void 0:Y.arrival)!=null&&Q.portName?(e.openBlock(),e.createElementBlock("span",ly,e.toDisplayString((R=(h=l.report)==null?void 0:h.arrival)==null?void 0:R.portName),1)):(e.openBlock(),e.createElementBlock("div",oy,[e.createVNode(D,{lat:(W=(G=l.report)==null?void 0:G.arrival)==null?void 0:W.lat,label:"",style:{"font-size":"14px","font-weight":"400"}},null,8,["lat"]),t[8]||(t[8]=e.createElementVNode("span",{style:{"margin-right":"3px"}},",",-1)),e.createVNode(s,{lng:(Z=(L=l.report)==null?void 0:L.arrival)==null?void 0:Z.lng,label:"",style:{"font-size":"14px","font-weight":"400"}},null,8,["lng"])])),e.createElementVNode("span",ny,e.toDisplayString(a.computeUTCTime((b=(J=l.report)==null?void 0:J.arrival)==null?void 0:b.utcTime,"MMM-DD/HHmm[Z], YYYY")),1)]),e.createElementVNode("div",ay,[t[10]||(t[10]=e.createElementVNode("label",{class:"flex-end",style:{width:"140px"}},"Load Condition",-1)),e.createElementVNode("span",iy,e.toDisplayString((le=(te=l.report)==null?void 0:te.voyage)==null?void 0:le.loadCondition),1)])])]),e.createElementVNode("div",sy,[t[11]||(t[11]=e.createElementVNode("div",{class:"header-block flex-start"},[e.createElementVNode("i",{class:"iconfont"},""),e.createElementVNode("div",{class:"title"},"Good Weather Definition")],-1)),e.createElementVNode("div",dy,[e.createElementVNode("div",ry,e.toDisplayString(a.computeWeatherDef(l.report.weather)),1)])]),e.createElementVNode("div",cy,[t[41]||(t[41]=e.createElementVNode("div",{class:"header-block flex-center"},[e.createElementVNode("i",{class:"iconfont"},""),e.createElementVNode("div",{class:"title"},"Analysis Summary")],-1)),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList((oe=l.report)==null?void 0:oe.segments,(n,H)=>{var q,$,v,ie,se,_,De,K,Ne,Me,me,ce,Ie,pe,Ae,Ve,Te,xe,ze,Ce,Se,ke,fe,je,Ue,be,ge,we,Ye,Oe,f,ye,Qe,Pe,Ge,j,We,Le,r,ee,Ee;return e.openBlock(),e.createElementBlock("div",{key:"summary"+H,class:"segment-box flex-space"},[e.createElementVNode("div",Ny,[e.createElementVNode("div",Dy,"Seg."+e.toDisplayString(H+1),1),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList((q=n==null?void 0:n.extend)==null?void 0:q.segTimes,(B,Be)=>{var de,Re,Ze,He,Ke,ue,qe,$e,ve,et;return e.openBlock(),e.createElementBlock("div",{key:Be,class:"phase-row flex-space"},[e.createElementVNode("div",My,[(de=B==null?void 0:B.departure)!=null&&de.portName?(e.openBlock(),e.createElementBlock("span",my,e.toDisplayString((Re=B==null?void 0:B.departure)==null?void 0:Re.portName),1)):(e.openBlock(),e.createElementBlock("span",gy,e.toDisplayString(a.computeLat((Ze=B==null?void 0:B.departure)==null?void 0:Ze.lat).pretty)+", "+e.toDisplayString(a.computeLng((He=B==null?void 0:B.departure)==null?void 0:He.lng).pretty),1)),e.createElementVNode("label",null,"("+e.toDisplayString(a.computeUTCTime((Ke=B==null?void 0:B.departure)==null?void 0:Ke.utcTime))+")",1)]),t[12]||(t[12]=e.createElementVNode("div",{class:"phase-split"},"to",-1)),e.createElementVNode("div",Ey,[(ue=B==null?void 0:B.arrival)!=null&&ue.portName?(e.openBlock(),e.createElementBlock("span",yy,e.toDisplayString((qe=B==null?void 0:B.arrival)==null?void 0:qe.portName),1)):(e.openBlock(),e.createElementBlock("span",Iy,e.toDisplayString(a.computeLat(($e=B==null?void 0:B.arrival)==null?void 0:$e.lat).pretty)+", "+e.toDisplayString(a.computeLng((ve=B==null?void 0:B.arrival)==null?void 0:ve.lng).pretty),1)),e.createElementVNode("label",null,"("+e.toDisplayString(a.computeUTCTime((et=B==null?void 0:B.arrival)==null?void 0:et.utcTime))+")",1)])])}),128)),t[39]||(t[39]=e.createElementVNode("div",{class:"bb"},null,-1)),e.createElementVNode("div",py,[e.createElementVNode("div",Ay,[t[20]||(t[20]=e.createElementVNode("div",{class:"flex-space"},[e.createElementVNode("label",null,"CP"),e.createElementVNode("label",null,"SPEED (kts)"),e.createElementVNode("label",null,"DAILY FO CONS (mt)"),e.createElementVNode("label",null,"DAILY DO/GO CONS (mt)")],-1)),e.createElementVNode("div",Vy,[t[19]||(t[19]=e.createElementVNode("span",null,[e.createElementVNode("span",{style:{"vertical-align":"super"}}),e.createElementVNode("span",null,"-")],-1)),e.createElementVNode("span",null,[e.createElementVNode("span",null,e.toDisplayString((v=($=n==null?void 0:n.extend)==null?void 0:$.cp)==null?void 0:v.speed)+" |",1),e.createElementVNode("span",null,[t[13]||(t[13]=e.createElementVNode("span",{style:{"vertical-align":"super"}},"+",-1)),e.createElementVNode("span",null,e.toDisplayString(a.computeAbtSpeed(n==null?void 0:n.timeConclusion,(se=(ie=n==null?void 0:n.extend)==null?void 0:ie.cp)==null?void 0:se.speed,"Over"))+",",1)]),e.createElementVNode("span",null,[t[14]||(t[14]=e.createElementVNode("span",{style:{"vertical-align":"super"}},"-",-1)),e.createElementVNode("span",null,e.toDisplayString(a.computeAbtSpeed(n==null?void 0:n.timeConclusion,(De=(_=n==null?void 0:n.extend)==null?void 0:_.cp)==null?void 0:De.speed,"Under")),1)])]),e.createElementVNode("span",null,[e.createElementVNode("span",null,e.toDisplayString((Ne=(K=n==null?void 0:n.extend)==null?void 0:K.cp)==null?void 0:Ne.fo)+" |",1),e.createElementVNode("span",null,[t[15]||(t[15]=e.createElementVNode("span",{style:{"vertical-align":"super"}},"+",-1)),e.createElementVNode("span",null,e.toDisplayString(a.computeAbtCons(n==null?void 0:n.fuelConclusion,"fo","Over"))+",",1)]),e.createElementVNode("span",null,[t[16]||(t[16]=e.createElementVNode("span",{style:{"vertical-align":"super"}},"-",-1)),e.createElementVNode("span",null,e.toDisplayString(a.computeAbtCons(n==null?void 0:n.fuelConclusion,"fo","Under")),1)])]),e.createElementVNode("span",null,[e.createElementVNode("span",null,e.toDisplayString((me=(Me=n==null?void 0:n.extend)==null?void 0:Me.cp)==null?void 0:me.dgo)+" |",1),e.createElementVNode("span",null,[t[17]||(t[17]=e.createElementVNode("span",{style:{"vertical-align":"super"}},"+",-1)),e.createElementVNode("span",null,e.toDisplayString(a.computeAbtCons(n==null?void 0:n.fuelConclusion,"dgo","Over"))+",",1)]),e.createElementVNode("span",null,[t[18]||(t[18]=e.createElementVNode("span",{style:{"vertical-align":"super"}},"-",-1)),e.createElementVNode("span",null,e.toDisplayString(a.computeAbtCons(n==null?void 0:n.fuelConclusion,"dgo","Under")),1)])])])])]),t[40]||(t[40]=e.createElementVNode("div",{class:"bb"},null,-1)),e.createElementVNode("div",Ty,[e.createElementVNode("div",xy,[t[26]||(t[26]=e.createElementVNode("div",{class:"label flex-start"},"Total Voyage Time",-1)),e.createElementVNode("div",zy,[e.createElementVNode("div",null,e.toDisplayString(n.allWx.time),1),t[21]||(t[21]=e.createElementVNode("div",{class:"unit"},"hrs",-1))]),n.goodWx.distance?(e.openBlock(),e.createElementBlock("div",Cy,[((ce=n==null?void 0:n.timeConclusion)==null?void 0:ce.conclusionStatus)==="Gain"?(e.openBlock(),e.createElementBlock("div",Sy,"Time Gained")):((Ie=n==null?void 0:n.timeConclusion)==null?void 0:Ie.conclusionStatus)==="Lost"?(e.openBlock(),e.createElementBlock("div",ky,"Time Lost")):(e.openBlock(),e.createElementBlock("div",fy,"No Time Lost/Gained"))])):(e.openBlock(),e.createElementBlock("div",jy,e.toDisplayString(i.noGoodWxDay),1)),n.goodWx.distance?(e.openBlock(),e.createElementBlock("div",Uy,[((pe=n==null?void 0:n.timeConclusion)==null?void 0:pe.conclusionStatus)==="Gain"?(e.openBlock(),e.createElementBlock("div",by,[t[22]||(t[22]=e.createElementVNode("i",{class:"iconfont gain"},"",-1)),e.createElementVNode("span",Oy,e.toDisplayString((Ae=n==null?void 0:n.timeConclusion)==null?void 0:Ae.timeGain),1),t[23]||(t[23]=e.createElementVNode("span",{class:"unit"},"hrs",-1))])):((Ve=n==null?void 0:n.timeConclusion)==null?void 0:Ve.conclusionStatus)==="Lost"?(e.openBlock(),e.createElementBlock("div",wy,[t[24]||(t[24]=e.createElementVNode("i",{class:"iconfont lost"},"",-1)),e.createElementVNode("span",Yy,e.toDisplayString((Te=n==null?void 0:n.timeConclusion)==null?void 0:Te.timeLost),1),t[25]||(t[25]=e.createElementVNode("span",{class:"unit"},"hrs",-1))])):(e.openBlock(),e.createElementBlock("div",Qy,"N/A"))])):e.createCommentVNode("",!0)]),e.createElementVNode("div",hy,[t[32]||(t[32]=e.createElementVNode("div",{class:"label flex-start"},"Total FO Consumption",-1)),e.createElementVNode("div",By,[e.createElementVNode("div",null,e.toDisplayString(n.allWx.sumFoCons),1),t[27]||(t[27]=e.createElementVNode("div",{class:"unit"},"mt",-1))]),n.goodWx.distance?(e.openBlock(),e.createElementBlock("div",Ry,[((ze=(xe=n==null?void 0:n.fuelConclusion)==null?void 0:xe.fo)==null?void 0:ze.conclusionStatus)==="Saving"?(e.openBlock(),e.createElementBlock("div",Fy,"FO Saving")):((Se=(Ce=n==null?void 0:n.fuelConclusion)==null?void 0:Ce.fo)==null?void 0:Se.conclusionStatus)==="Over"?(e.openBlock(),e.createElementBlock("div",Py,"FO Over-consumption")):(e.openBlock(),e.createElementBlock("div",Gy,"No FO Over-consumption/Saving"))])):(e.openBlock(),e.createElementBlock("div",Wy,e.toDisplayString(i.noGoodWxDay),1)),n.goodWx.distance?(e.openBlock(),e.createElementBlock("div",Ly,[((fe=(ke=n==null?void 0:n.fuelConclusion)==null?void 0:ke.fo)==null?void 0:fe.conclusionStatus)==="Saving"?(e.openBlock(),e.createElementBlock("div",Zy,[t[28]||(t[28]=e.createElementVNode("i",{class:"iconfont gain"},"",-1)),e.createElementVNode("span",Hy,e.toDisplayString((Ue=(je=n==null?void 0:n.fuelConclusion)==null?void 0:je.fo)==null?void 0:Ue.saving),1),t[29]||(t[29]=e.createElementVNode("span",{class:"unit"},"mt",-1))])):((ge=(be=n==null?void 0:n.fuelConclusion)==null?void 0:be.fo)==null?void 0:ge.conclusionStatus)==="Over"?(e.openBlock(),e.createElementBlock("div",Jy,[t[30]||(t[30]=e.createElementVNode("i",{class:"iconfont lost"},"",-1)),e.createElementVNode("span",_y,e.toDisplayString((Ye=(we=n==null?void 0:n.fuelConclusion)==null?void 0:we.fo)==null?void 0:Ye.overCons),1),t[31]||(t[31]=e.createElementVNode("span",{class:"unit"},"mt",-1))])):(e.openBlock(),e.createElementBlock("div",Xy,"N/A"))])):e.createCommentVNode("",!0)]),e.createElementVNode("div",Ky,[t[38]||(t[38]=e.createElementVNode("div",{class:"label flex-start"},"Total DO/GO Consumption",-1)),e.createElementVNode("div",uy,[e.createElementVNode("div",null,e.toDisplayString(n.allWx.sumDgoCons),1),t[33]||(t[33]=e.createElementVNode("div",{class:"unit"},"mt",-1))]),n.goodWx.distance?(e.openBlock(),e.createElementBlock("div",qy,[((f=(Oe=n==null?void 0:n.fuelConclusion)==null?void 0:Oe.dgo)==null?void 0:f.conclusionStatus)==="Saving"?(e.openBlock(),e.createElementBlock("div",$y,"DO/GO Saving")):((Qe=(ye=n==null?void 0:n.fuelConclusion)==null?void 0:ye.dgo)==null?void 0:Qe.conclusionStatus)==="Over"?(e.openBlock(),e.createElementBlock("div",vy,"DO/GO Over-consumption")):(e.openBlock(),e.createElementBlock("div",eI,"No DO/GO Over-consumption/Saving"))])):(e.openBlock(),e.createElementBlock("div",tI,e.toDisplayString(i.noGoodWxDay),1)),n.goodWx.distance?(e.openBlock(),e.createElementBlock("div",lI,[((Ge=(Pe=n==null?void 0:n.fuelConclusion)==null?void 0:Pe.dgo)==null?void 0:Ge.conclusionStatus)==="Saving"?(e.openBlock(),e.createElementBlock("div",oI,[t[34]||(t[34]=e.createElementVNode("i",{class:"iconfont gain"},"",-1)),e.createElementVNode("span",nI,e.toDisplayString((We=(j=n==null?void 0:n.fuelConclusion)==null?void 0:j.dgo)==null?void 0:We.saving),1),t[35]||(t[35]=e.createElementVNode("span",{class:"unit"},"mt",-1))])):((r=(Le=n==null?void 0:n.fuelConclusion)==null?void 0:Le.dgo)==null?void 0:r.conclusionStatus)==="Over"?(e.openBlock(),e.createElementBlock("div",aI,[t[36]||(t[36]=e.createElementVNode("i",{class:"iconfont lost"},"",-1)),e.createElementVNode("span",iI,e.toDisplayString((Ee=(ee=n==null?void 0:n.fuelConclusion)==null?void 0:ee.dgo)==null?void 0:Ee.overCons),1),t[37]||(t[37]=e.createElementVNode("span",{class:"unit"},"mt",-1))])):(e.openBlock(),e.createElementBlock("div",sI,"N/A"))])):e.createCommentVNode("",!0)])])])])}),128)),t[42]||(t[42]=e.createElementVNode("div",{class:"tips flex-end"},"*Please see voyage analysis pages for the details.",-1))]),e.createElementVNode("div",{class:e.normalizeClass(a.computeBlankHtml((ne=l.report)==null?void 0:ne.remarks)&&!i.exclusion.length?"section remark-section print-hidden":"section remark-section")},[t[46]||(t[46]=e.createElementVNode("div",{class:"header-block flex-start"},[e.createElementVNode("i",{class:"iconfont"},""),e.createElementVNode("div",{class:"title"},"Remarks")],-1)),i.exclusion.length?(e.openBlock(),e.createElementBlock("div",dI,[t[44]||(t[44]=e.createElementVNode("div",{class:"title"},"Exclusion",-1)),t[45]||(t[45]=e.createElementVNode("div",{class:"sub-title"},[e.createElementVNode("div",null,"The voyage analysis does not include following information on time, distance, and consumed fuel.")],-1)),e.createElementVNode("div",rI,[e.createElementVNode("table",cI,[t[43]||(t[43]=e.createElementVNode("thead",null,[e.createElementVNode("tr",null,[e.createElementVNode("td"),e.createElementVNode("td",{style:{width:"40%"}},"Time"),e.createElementVNode("td",null,"Duration (hrs)"),e.createElementVNode("td",null,"Distance (nm)"),e.createElementVNode("td",null,"FO (mt)"),e.createElementVNode("td",null,"DO/GO (mt)")])],-1)),e.createElementVNode("tbody",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(i.exclusion,(n,H)=>(e.openBlock(),e.createElementBlock("tr",{key:H},[e.createElementVNode("td",null,e.toDisplayString(H+1),1),e.createElementVNode("td",null,e.toDisplayString(n.time),1),e.createElementVNode("td",null,e.toDisplayString(n.duration),1),e.createElementVNode("td",null,e.toDisplayString(n.distance),1),e.createElementVNode("td",null,e.toDisplayString(n.fo),1),e.createElementVNode("td",null,e.toDisplayString(n.dgo),1)]))),128))])])])])):e.createCommentVNode("",!0),e.createElementVNode("div",{class:e.normalizeClass(a.computeBlankHtml((ae=l.report)==null?void 0:ae.remarks)?"remark-block print-hidden":"remark-block page-avoid")},[i.editable?(e.openBlock(),e.createBlock(c,{key:0,modelValue:i.remarks,"onUpdate:modelValue":t[0]||(t[0]=n=>i.remarks=n),class:"editor",height:"120px",onBlur:t[1]||(t[1]=n=>a.handleCommit(n))},null,8,["modelValue"])):(e.openBlock(),e.createElementBlock("div",{key:1,class:"txt",onDblclick:t[2]||(t[2]=(...n)=>a.handleEdit&&a.handleEdit(...n)),innerHTML:i.remarks},null,40,NI))],2)],2),e.createElementVNode("div",DI,[t[256]||(t[256]=e.createElementVNode("div",{class:"header-block flex-center"},[e.createElementVNode("i",{class:"iconfont"},""),e.createElementVNode("div",{class:"title"},"Speed and Consumption Calculation")],-1)),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(l.report.segments,(n,H)=>{var q,$,v,ie,se,_,De,K,Ne,Me,me,ce,Ie,pe,Ae,Ve,Te,xe,ze,Ce,Se,ke,fe,je,Ue,be,ge,we,Ye,Oe,f,ye,Qe,Pe,Ge,j,We,Le,r,ee,Ee,B,Be,de,Re,Ze,He,Ke,ue,qe,$e,ve,et,at,it,st,dt,rt,ct,Nt,Dt,Mt,mt,gt,Et,yt,It,pt,At,Vt,Tt,Ct,z,St,kt,ft,jt,Ut,bt,Ot,wt,ot,bl,Ol,wl,Yl,Ql,hl,Bl,Rl,Fl,Pl,Gl,Wl,Ll,Zl,Hl,Jl,E,he,tt,lt,xt,Yt,Qt,ht,Bt,Rt,Ft,Pt,Gt,Wt,Lt,Zt,Ht,Jt,_t,Xt,Kt,ut,qt,$t,vt,el,tl,ll,ol,nl,al,il,sl,dl,rl,cl,Nl,Dl,Ml,ml,gl,El,yl,Il,pl,Al,Vl,Tl,xl,zl,Cl,Sl,kl,fl,jl,_l,Xl,Kl,Xe,ql,eo,to,lo,oo,io,so,ro,co,No,Do,Mo,mo,go,Eo,yo,Io,po,Ao,Vo,To,xo,zo,Co,So,ko,fo,jo,Uo,bo,Oo,wo,Yo,Qo,ho,g,Bo,Ro,Fo,Po,Go,Wo,Lo,Zo,$l,Jo,_o,Xo,Ko,uo,qo,$o,vo,en,tn,ln,on,nn,an,sn,dn,rn,cn,X,ul,Nn,Dn,Mn,mn,gn,En,yn,In,nt,pn,An,Vn,Tn,u,no,xn,zn,Cn,Sn,kn,fn,jn,Un,zt,Pn,Gn,Wn,Ln,Zn,Hn,Jn,_n,Xn,Kn,un,qn,$n,vn,ea,ta,la,oa,na,aa,ia,sa,da,ra,ca,Na,Da,Ma,ma,ga,Ea,ya,Ia,pa,Aa,Va,Ta,xa,za,Ca,Sa,ka,fa,ja,Ua,ba,Oa,wa,Ya,Qa,ha,Ba,Ra,Fa,Pa,Ga,Wa,La,Za,Ha,Ja,_a,Xa,Ka,ua,qa,$a,va,ei,ti,li,oi,ni,ai,ii,si,di,ri,ci,Ni,Di,Mi,mi,gi,Ei,yi,Ii,pi,Ai,Vi,Ti,xi,zi,Ci,Si,ki,fi,ji,Ui,bi,Oi,wi,Yi,Qi,hi,Bi,Ri,Fi,Pi,Gi,Wi,Li,Zi,Hi,Ji,_i,Xi,Ki,ui,qi;return e.openBlock(),e.createElementBlock("div",{key:H,class:"segment-block"},[e.createElementVNode("div",MI,"Voyage Analysis Seg. "+e.toDisplayString(H+1),1),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList((q=n==null?void 0:n.extend)==null?void 0:q.segTimes,(Je,Bn)=>{var Ho,Yn,$i,vi,es,ts,ls,os,ns,as;return e.openBlock(),e.createElementBlock("div",{key:Bn,class:"segment-row flex-space"},[e.createElementVNode("div",mI,[(Ho=Je==null?void 0:Je.departure)!=null&&Ho.portName?(e.openBlock(),e.createElementBlock("span",gI,e.toDisplayString((Yn=Je==null?void 0:Je.departure)==null?void 0:Yn.portName),1)):(e.openBlock(),e.createElementBlock("span",EI,e.toDisplayString(a.computeLat(($i=Je==null?void 0:Je.departure)==null?void 0:$i.lat).pretty)+", "+e.toDisplayString(a.computeLng((vi=Je==null?void 0:Je.departure)==null?void 0:vi.lng).pretty),1)),e.createElementVNode("label",null,"("+e.toDisplayString(a.computeUTCTime((es=Je==null?void 0:Je.departure)==null?void 0:es.utcTime))+")",1)]),t[47]||(t[47]=e.createElementVNode("div",{class:"segment-split"},"to",-1)),e.createElementVNode("div",yI,[(ts=Je==null?void 0:Je.arrival)!=null&&ts.portName?(e.openBlock(),e.createElementBlock("span",II,e.toDisplayString((ls=Je==null?void 0:Je.arrival)==null?void 0:ls.portName),1)):(e.openBlock(),e.createElementBlock("span",pI,e.toDisplayString(a.computeLat((os=Je==null?void 0:Je.arrival)==null?void 0:os.lat).pretty)+", "+e.toDisplayString(a.computeLng((ns=Je==null?void 0:Je.arrival)==null?void 0:ns.lng).pretty),1)),e.createElementVNode("label",null,"("+e.toDisplayString(a.computeUTCTime((as=Je==null?void 0:Je.arrival)==null?void 0:as.utcTime))+")",1)])])}),128)),t[253]||(t[253]=e.createElementVNode("div",{class:"bb"},null,-1)),e.createElementVNode("div",AI,[e.createElementVNode("table",null,[e.createElementVNode("tbody",null,[t[55]||(t[55]=e.createElementVNode("tr",null,[e.createElementVNode("td",{class:"label",style:{width:"35%"}}),e.createElementVNode("td",{class:"label",colspan:"2"},"Good Weather"),e.createElementVNode("td",{class:"label",colspan:"2"},"All Weather")],-1)),t[56]||(t[56]=e.createElementVNode("tr",null,[e.createElementVNode("td",{class:"label"}),e.createElementVNode("td",{class:"label"},"out of ECA"),e.createElementVNode("td",{class:"label"},"in ECA"),e.createElementVNode("td",{class:"label"},"out of ECA"),e.createElementVNode("td",{class:"label"},"in ECA")],-1)),e.createElementVNode("tr",null,[t[48]||(t[48]=e.createElementVNode("td",{class:"label"},"Total Distance (nm)",-1)),e.createElementVNode("td",VI,e.toDisplayString((v=($=n==null?void 0:n.goodWx)==null?void 0:$.outEca)==null?void 0:v.distance),1),e.createElementVNode("td",TI,e.toDisplayString((se=(ie=n==null?void 0:n.goodWx)==null?void 0:ie.inEca)==null?void 0:se.distance),1),e.createElementVNode("td",null,e.toDisplayString((De=(_=n==null?void 0:n.allWx)==null?void 0:_.outEca)==null?void 0:De.distance),1),e.createElementVNode("td",null,e.toDisplayString((Ne=(K=n==null?void 0:n.allWx)==null?void 0:K.inEca)==null?void 0:Ne.distance),1)]),e.createElementVNode("tr",null,[t[49]||(t[49]=e.createElementVNode("td",{class:"label"},"Total Time (hrs)",-1)),e.createElementVNode("td",xI,e.toDisplayString((me=(Me=n==null?void 0:n.goodWx)==null?void 0:Me.outEca)==null?void 0:me.time),1),e.createElementVNode("td",zI,e.toDisplayString((Ie=(ce=n==null?void 0:n.goodWx)==null?void 0:ce.inEca)==null?void 0:Ie.time),1),e.createElementVNode("td",null,e.toDisplayString((Ae=(pe=n==null?void 0:n.allWx)==null?void 0:pe.outEca)==null?void 0:Ae.time),1),e.createElementVNode("td",null,e.toDisplayString((Te=(Ve=n==null?void 0:n.allWx)==null?void 0:Ve.inEca)==null?void 0:Te.time),1)]),e.createElementVNode("tr",null,[t[50]||(t[50]=e.createElementVNode("td",{class:"label"},"Average Speed (kts)",-1)),e.createElementVNode("td",CI,e.toDisplayString(((ze=(xe=n==null?void 0:n.goodWx)==null?void 0:xe.outEca)==null?void 0:ze.avgSpd)||"--"),1),e.createElementVNode("td",SI,e.toDisplayString(((Se=(Ce=n==null?void 0:n.goodWx)==null?void 0:Ce.inEca)==null?void 0:Se.avgSpd)||"--"),1),e.createElementVNode("td",null,e.toDisplayString(((fe=(ke=n==null?void 0:n.allWx)==null?void 0:ke.outEca)==null?void 0:fe.avgSpd)||"--"),1),e.createElementVNode("td",null,e.toDisplayString(((Ue=(je=n==null?void 0:n.allWx)==null?void 0:je.inEca)==null?void 0:Ue.avgSpd)||"--"),1)]),e.createElementVNode("tr",null,[t[51]||(t[51]=e.createElementVNode("td",{class:"label"},"FO Consumption (mt)",-1)),e.createElementVNode("td",kI,e.toDisplayString(((ge=(be=n==null?void 0:n.goodWx)==null?void 0:be.outEca)==null?void 0:ge.sumFoCons)||"--"),1),e.createElementVNode("td",fI,e.toDisplayString(((Ye=(we=n==null?void 0:n.goodWx)==null?void 0:we.inEca)==null?void 0:Ye.sumFoCons)||"--"),1),e.createElementVNode("td",null,e.toDisplayString(((f=(Oe=n==null?void 0:n.allWx)==null?void 0:Oe.outEca)==null?void 0:f.sumFoCons)||"--"),1),e.createElementVNode("td",null,e.toDisplayString(((Qe=(ye=n==null?void 0:n.allWx)==null?void 0:ye.inEca)==null?void 0:Qe.sumFoCons)||"--"),1)]),e.createElementVNode("tr",null,[t[52]||(t[52]=e.createElementVNode("td",{class:"label"},"Averaged Daily FO Consumption (mt)",-1)),e.createElementVNode("td",jI,e.toDisplayString(((Ge=(Pe=n==null?void 0:n.goodWx)==null?void 0:Pe.outEca)==null?void 0:Ge.avgFoCons)||"--"),1),e.createElementVNode("td",UI,e.toDisplayString(((We=(j=n==null?void 0:n.goodWx)==null?void 0:j.inEca)==null?void 0:We.avgFoCons)||"--"),1),e.createElementVNode("td",null,e.toDisplayString(((r=(Le=n==null?void 0:n.allWx)==null?void 0:Le.outEca)==null?void 0:r.avgFoCons)||"--"),1),e.createElementVNode("td",null,e.toDisplayString(((Ee=(ee=n==null?void 0:n.allWx)==null?void 0:ee.inEca)==null?void 0:Ee.avgFoCons)||"--"),1)]),e.createElementVNode("tr",null,[t[53]||(t[53]=e.createElementVNode("td",{class:"label"},"DO/GO Consumption (mt)",-1)),e.createElementVNode("td",bI,e.toDisplayString(((Be=(B=n==null?void 0:n.goodWx)==null?void 0:B.outEca)==null?void 0:Be.sumDgoCons)||"--"),1),e.createElementVNode("td",OI,e.toDisplayString(((Re=(de=n==null?void 0:n.goodWx)==null?void 0:de.inEca)==null?void 0:Re.sumDgoCons)||"--"),1),e.createElementVNode("td",null,e.toDisplayString(((He=(Ze=n==null?void 0:n.allWx)==null?void 0:Ze.outEca)==null?void 0:He.sumDgoCons)||"--"),1),e.createElementVNode("td",null,e.toDisplayString(((ue=(Ke=n==null?void 0:n.allWx)==null?void 0:Ke.inEca)==null?void 0:ue.sumDgoCons)||"--"),1)]),e.createElementVNode("tr",null,[t[54]||(t[54]=e.createElementVNode("td",{class:"label"},"Averaged Daily DO/GO Consumption (mt)",-1)),e.createElementVNode("td",wI,e.toDisplayString((($e=(qe=n==null?void 0:n.goodWx)==null?void 0:qe.outEca)==null?void 0:$e.avgDgoCons)||"--"),1),e.createElementVNode("td",YI,e.toDisplayString(((et=(ve=n==null?void 0:n.goodWx)==null?void 0:ve.inEca)==null?void 0:et.avgDgoCons)||"--"),1),e.createElementVNode("td",null,e.toDisplayString(((it=(at=n==null?void 0:n.allWx)==null?void 0:at.outEca)==null?void 0:it.avgDgoCons)||"--"),1),e.createElementVNode("td",null,e.toDisplayString(((dt=(st=n==null?void 0:n.allWx)==null?void 0:st.inEca)==null?void 0:dt.avgDgoCons)||"--"),1)])])]),(rt=n==null?void 0:n.goodWx)!=null&&rt.distance?(e.openBlock(),e.createElementBlock("table",QI,[e.createElementVNode("tbody",null,[t[58]||(t[58]=e.createElementVNode("tr",null,[e.createElementVNode("td",{class:"label",colspan:"3"},"Good Weather Period")],-1)),t[59]||(t[59]=e.createElementVNode("tr",null,[e.createElementVNode("td",{class:"label"},"Date"),e.createElementVNode("td",{class:"label"},"Time range"),e.createElementVNode("td",{class:"label"},"Duration (hrs)")],-1)),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(i.noons[H],(Je,Bn)=>(e.openBlock(),e.createElementBlock(e.Fragment,{key:Bn},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(Je,(Ho,Yn)=>(e.openBlock(),e.createElementBlock(e.Fragment,{key:Yn},[Ho.goodWx?(e.openBlock(),e.createElementBlock("tr",hI,[e.createElementVNode("td",null,e.toDisplayString(Ho.type)+" "+e.toDisplayString(a.computeUTCTime(Ho.utc,"MMM-DD")),1),e.createElementVNode("td",null,[e.createElementVNode("span",null,e.toDisplayString(a.computeUTCTime(a.computePrevTime(Ho),"MMM-DD/HHmm[Z],YYYY")),1),t[57]||(t[57]=e.createElementVNode("span",{style:{margin:"0 4px"}},"~",-1)),e.createElementVNode("span",null,e.toDisplayString(a.computeUTCTime(Ho.utc,"MMM-DD/HHmm[Z],YYYY")),1)]),e.createElementVNode("td",null,[e.createElementVNode("span",null,e.toDisplayString(a.computeDuration(Ho.utc,a.computePrevTime(Ho))),1)])])):e.createCommentVNode("",!0)],64))),128))],64))),128))])])):e.createCommentVNode("",!0)]),(ct=i.exclusion[H])!=null&&ct.time?(e.openBlock(),e.createElementBlock("div",BI,"*The Performance Speed Evaluation excludes exclusion time, distance, and consumed fuel.")):e.createCommentVNode("",!0),(Nt=n==null?void 0:n.goodWx)!=null&&Nt.distance?(e.openBlock(),e.createElementBlock("div",RI,[e.createElementVNode("div",FI,[t[69]||(t[69]=e.createElementVNode("div",{class:"speed-left flex-space"},[e.createElementVNode("label",null,"Good Weather Performance Speed"),e.createElementVNode("label",null,"=")],-1)),e.createElementVNode("div",PI,[(Mt=(Dt=l.report)==null?void 0:Dt.weather)!=null&&Mt.overallAsGoodWx?(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[(z=(Ct=l.report)==null?void 0:Ct.weather)!=null&&z.disableWxFactor&&((kt=(St=l.report)==null?void 0:St.weather)!=null&&kt.disableCFactor)?(e.openBlock(),e.createElementBlock("span",LI,e.toDisplayString((ft=n==null?void 0:n.goodWx)==null?void 0:ft.pfmSpd)+" (kts)",1)):(Ut=(jt=l.report)==null?void 0:jt.weather)!=null&&Ut.disableWxFactor?(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[e.createElementVNode("span",null,e.toDisplayString((bt=n==null?void 0:n.goodWx)==null?void 0:bt.avgSpd),1),t[62]||(t[62]=e.createElementVNode("span",null,"-",-1)),e.createElementVNode("span",null,e.toDisplayString(((Ot=n==null?void 0:n.goodWx)==null?void 0:Ot.avgCf)>0?(wt=n==null?void 0:n.goodWx)==null?void 0:wt.avgCf:`(${(ot=n==null?void 0:n.goodWx)==null?void 0:ot.avgCf})`),1),t[63]||(t[63]=e.createElementVNode("label",null,"=",-1)),e.createElementVNode("span",ZI,e.toDisplayString((bl=n==null?void 0:n.goodWx)==null?void 0:bl.pfmSpd)+" (kts)",1)],64)):(wl=(Ol=l.report)==null?void 0:Ol.weather)!=null&&wl.disableCFactor?(e.openBlock(),e.createElementBlock(e.Fragment,{key:2},[e.createElementVNode("span",null,e.toDisplayString((Yl=n==null?void 0:n.goodWx)==null?void 0:Yl.avgSpd),1),t[64]||(t[64]=e.createElementVNode("span",null,"-",-1)),e.createElementVNode("span",null,e.toDisplayString(((Ql=n==null?void 0:n.goodWx)==null?void 0:Ql.avgWf)>0?(hl=n==null?void 0:n.goodWx)==null?void 0:hl.avgWf:`(${(Bl=n==null?void 0:n.goodWx)==null?void 0:Bl.avgWf})`),1),t[65]||(t[65]=e.createElementVNode("label",null,"=",-1)),e.createElementVNode("span",HI,e.toDisplayString((Rl=n==null?void 0:n.goodWx)==null?void 0:Rl.pfmSpd)+" (kts)",1)],64)):(e.openBlock(),e.createElementBlock(e.Fragment,{key:3},[e.createElementVNode("span",null,e.toDisplayString((Fl=n==null?void 0:n.goodWx)==null?void 0:Fl.avgSpd),1),t[67]||(t[67]=e.createElementVNode("span",null,"-",-1)),e.createElementVNode("span",null,e.toDisplayString(((Pl=n==null?void 0:n.goodWx)==null?void 0:Pl.avgWf)>0?(Gl=n==null?void 0:n.goodWx)==null?void 0:Gl.avgWf:`(${(Wl=n==null?void 0:n.goodWx)==null?void 0:Wl.avgWf})`),1),(Zl=(Ll=l.report)==null?void 0:Ll.weather)!=null&&Zl.favorableCur&&((Hl=n==null?void 0:n.goodWx)==null?void 0:Hl.avgCf)>0?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[t[66]||(t[66]=e.createElementVNode("span",null,"-",-1)),e.createElementVNode("span",null,e.toDisplayString(((Jl=n==null?void 0:n.goodWx)==null?void 0:Jl.avgCf)>0?(E=n==null?void 0:n.goodWx)==null?void 0:E.avgCf:`(${(he=n==null?void 0:n.goodWx)==null?void 0:he.avgCf})`),1)],64)),t[68]||(t[68]=e.createElementVNode("label",null,"=",-1)),e.createElementVNode("span",JI,e.toDisplayString((tt=n==null?void 0:n.goodWx)==null?void 0:tt.pfmSpd)+" (kts)",1)],64))],64)):(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[(gt=(mt=l.report)==null?void 0:mt.weather)!=null&>.favorableCur&&((Et=n==null?void 0:n.goodWx)==null?void 0:Et.avgCf)>0?(e.openBlock(),e.createElementBlock("span",WI,e.toDisplayString((Tt=n==null?void 0:n.goodWx)==null?void 0:Tt.pfmSpd)+" (kts)",1)):(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[e.createElementVNode("span",null,e.toDisplayString((yt=n==null?void 0:n.goodWx)==null?void 0:yt.avgSpd),1),t[60]||(t[60]=e.createElementVNode("span",null,"-",-1)),e.createElementVNode("span",null,e.toDisplayString(((It=n==null?void 0:n.goodWx)==null?void 0:It.avgCf)>0?(pt=n==null?void 0:n.goodWx)==null?void 0:pt.avgCf:`(${(At=n==null?void 0:n.goodWx)==null?void 0:At.avgCf})`),1),t[61]||(t[61]=e.createElementVNode("label",null,"=",-1)),e.createElementVNode("span",GI,e.toDisplayString((Vt=n==null?void 0:n.goodWx)==null?void 0:Vt.pfmSpd)+" (kts)",1)],64))],64)),((lt=n==null?void 0:n.goodWx)==null?void 0:lt.pfmStatus)==="Under"?(e.openBlock(),e.createElementBlock("span",_I,"(Under-performance)")):e.createCommentVNode("",!0),((xt=n==null?void 0:n.goodWx)==null?void 0:xt.pfmStatus)==="Over"?(e.openBlock(),e.createElementBlock("span",XI,"(Over-performance)")):e.createCommentVNode("",!0)])]),e.createElementVNode("div",KI,[t[86]||(t[86]=e.createElementVNode("div",{class:"speed-left formula flex-space"},[e.createElementVNode("label",null,"Good Weather Performance Speed"),e.createElementVNode("label",null,"=")],-1)),e.createElementVNode("div",uI,[(Qt=(Yt=l.report)==null?void 0:Yt.weather)!=null&&Qt.overallAsGoodWx?(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[(Pt=(Ft=l.report)==null?void 0:Ft.weather)!=null&&Pt.disableWxFactor&&((Wt=(Gt=l.report)==null?void 0:Gt.weather)!=null&&Wt.disableCFactor)?(e.openBlock(),e.createElementBlock("label",qI,"GW Average Speed")):(Zt=(Lt=l.report)==null?void 0:Lt.weather)!=null&&Zt.disableWxFactor?(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[t[75]||(t[75]=e.createElementVNode("label",null,"GW Average Speed",-1)),t[76]||(t[76]=e.createElementVNode("label",null,"-",-1)),t[77]||(t[77]=e.createElementVNode("label",null,"GW Current Factor",-1))],64)):(Jt=(Ht=l.report)==null?void 0:Ht.weather)!=null&&Jt.disableCFactor?(e.openBlock(),e.createElementBlock(e.Fragment,{key:2},[t[78]||(t[78]=e.createElementVNode("label",null,"GW Average Speed",-1)),t[79]||(t[79]=e.createElementVNode("label",null,"-",-1)),t[80]||(t[80]=e.createElementVNode("label",null,"GW Weather Factor",-1))],64)):(e.openBlock(),e.createElementBlock(e.Fragment,{key:3},[t[83]||(t[83]=e.createElementVNode("label",null,"GW Average Speed",-1)),t[84]||(t[84]=e.createElementVNode("label",null,"-",-1)),t[85]||(t[85]=e.createElementVNode("label",null,"GW Weather Factor",-1)),(Xt=(_t=l.report)==null?void 0:_t.weather)!=null&&Xt.favorableCur&&((Kt=n==null?void 0:n.goodWx)==null?void 0:Kt.avgCf)>0?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[t[81]||(t[81]=e.createElementVNode("label",null,"-",-1)),t[82]||(t[82]=e.createElementVNode("label",null,"GW Current Factor",-1))],64))],64))],64)):(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[(Bt=(ht=l.report)==null?void 0:ht.weather)!=null&&Bt.favorableCur&&((Rt=n==null?void 0:n.goodWx)==null?void 0:Rt.avgCf)>0?(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[t[73]||(t[73]=e.createElementVNode("label",null,"GW Average Speed",-1)),t[74]||(t[74]=e.createElementVNode("label",{style:{"font-weight":"300"}},"(Good Weather Current Factor Not Applied)",-1))],64)):(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[t[70]||(t[70]=e.createElementVNode("label",null,"GW Average Speed",-1)),t[71]||(t[71]=e.createElementVNode("label",null,"-",-1)),t[72]||(t[72]=e.createElementVNode("label",null,"GW Current Factor",-1))],64))],64))])])])):(e.openBlock(),e.createElementBlock("div",$I,[e.createElementVNode("div",vI,[t[92]||(t[92]=e.createElementVNode("div",{class:"speed-left flex-space"},[e.createElementVNode("label",null,"All Weather Performance Speed"),e.createElementVNode("label",null,"=")],-1)),e.createElementVNode("div",e0,[(qt=(ut=l.report)==null?void 0:ut.weather)!=null&&qt.favorableCur&&(($t=n==null?void 0:n.allWx)==null?void 0:$t.avgCf)>0?(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[e.createElementVNode("span",null,e.toDisplayString((sl=n==null?void 0:n.allWx)==null?void 0:sl.avgSpd),1),t[90]||(t[90]=e.createElementVNode("span",null,"-",-1)),e.createElementVNode("span",null,e.toDisplayString(((dl=n==null?void 0:n.allWx)==null?void 0:dl.avgWf)>0?(rl=n==null?void 0:n.allWx)==null?void 0:rl.avgWf:`(${(cl=n==null?void 0:n.allWx)==null?void 0:cl.avgWf})`),1),t[91]||(t[91]=e.createElementVNode("label",null,"=",-1)),e.createElementVNode("span",l0,e.toDisplayString((Nl=n==null?void 0:n.allWx)==null?void 0:Nl.pfmSpd)+" (kts)",1)],64)):(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[e.createElementVNode("span",null,e.toDisplayString((vt=n==null?void 0:n.allWx)==null?void 0:vt.avgSpd),1),t[87]||(t[87]=e.createElementVNode("span",null,"-",-1)),e.createElementVNode("span",null,e.toDisplayString(((el=n==null?void 0:n.allWx)==null?void 0:el.avgCf)>0?(tl=n==null?void 0:n.allWx)==null?void 0:tl.avgCf:`(${(ll=n==null?void 0:n.allWx)==null?void 0:ll.avgCf})`),1),t[88]||(t[88]=e.createElementVNode("span",null,"-",-1)),e.createElementVNode("span",null,e.toDisplayString(((ol=n==null?void 0:n.allWx)==null?void 0:ol.avgWf)>0?(nl=n==null?void 0:n.allWx)==null?void 0:nl.avgWf:`(${(al=n==null?void 0:n.allWx)==null?void 0:al.avgWf})`),1),t[89]||(t[89]=e.createElementVNode("label",null,"=",-1)),e.createElementVNode("span",t0,e.toDisplayString((il=n==null?void 0:n.allWx)==null?void 0:il.pfmSpd)+" (kts)",1)],64)),((Dl=n==null?void 0:n.allWx)==null?void 0:Dl.pfmStatus)==="Under"?(e.openBlock(),e.createElementBlock("span",o0,"(Under-performance)")):e.createCommentVNode("",!0),((Ml=n==null?void 0:n.allWx)==null?void 0:Ml.pfmStatus)==="Over"?(e.openBlock(),e.createElementBlock("span",n0,"(Over-performance)")):e.createCommentVNode("",!0)])]),e.createElementVNode("div",a0,[t[102]||(t[102]=e.createElementVNode("div",{class:"speed-left formula flex-space"},[e.createElementVNode("label",null,"All Weather Performance Speed"),e.createElementVNode("label",null,"=")],-1)),e.createElementVNode("div",i0,[(gl=(ml=l.report)==null?void 0:ml.weather)!=null&&gl.favorableCur&&((El=n==null?void 0:n.allWx)==null?void 0:El.avgCf)>0?(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[t[98]||(t[98]=e.createElementVNode("label",null,"All Weather Average Speed",-1)),t[99]||(t[99]=e.createElementVNode("label",null,"-",-1)),t[100]||(t[100]=e.createElementVNode("label",null,"Weather Factor ",-1)),t[101]||(t[101]=e.createElementVNode("label",{style:{"font-weight":"300"}},"(Current Factor Not Applied)",-1))],64)):(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[t[93]||(t[93]=e.createElementVNode("label",null,"All Weather Average Speed",-1)),t[94]||(t[94]=e.createElementVNode("label",null,"-",-1)),t[95]||(t[95]=e.createElementVNode("label",null,"Current Factor",-1)),t[96]||(t[96]=e.createElementVNode("label",null,"-",-1)),t[97]||(t[97]=e.createElementVNode("label",null,"Weather Factor",-1))],64))])])])),t[254]||(t[254]=e.createElementVNode("div",{class:"bb",style:{margin:"10px 0"}},null,-1)),e.createElementVNode("div",s0,[e.createElementVNode("div",d0,[t[103]||(t[103]=e.createElementVNode("i",{class:"iconfont"},"",-1)),e.createElementVNode("div",r0,[e.createElementVNode("span",null,"Seg. "+e.toDisplayString(H+1)+" Time Analysis",1),(Il=(yl=l.report)==null?void 0:yl.weather)!=null&&Il.noExtrapolation?(e.openBlock(),e.createElementBlock("span",c0,"( no extrapolation beyond the good weather period )")):e.createCommentVNode("",!0)])]),e.createElementVNode("div",N0,[e.createElementVNode("div",D0,[t[107]||(t[107]=e.createElementVNode("div",{class:"formula-left flex-space"},[e.createElementVNode("label",null,"Total Time at Good Weather Performance Speed"),e.createElementVNode("label",null,"=")],-1)),e.createElementVNode("div",M0,[e.createElementVNode("div",m0,[e.createElementVNode("div",null,e.toDisplayString((Al=(pl=l.report)==null?void 0:pl.weather)!=null&&Al.noExtrapolation?"Total Distance At Good Weather":"Total Distance"),1),t[104]||(t[104]=e.createElementVNode("div",{class:"line"},null,-1)),t[105]||(t[105]=e.createElementVNode("div",null,"Good Weather Performance Speed",-1))]),t[106]||(t[106]=e.createElementVNode("div",null,"(a)",-1))])]),e.createElementVNode("div",g0,[e.createElementVNode("div",E0,[e.createElementVNode("label",null,"Total Time at (CP Speed - "+e.toDisplayString(a.computeAbtSpeed(n==null?void 0:n.timeConclusion,(Tl=(Vl=n==null?void 0:n.extend)==null?void 0:Vl.cp)==null?void 0:Tl.speed,"Under"))+"kts)",1),t[108]||(t[108]=e.createElementVNode("label",null,"=",-1))]),e.createElementVNode("div",y0,[e.createElementVNode("div",I0,[e.createElementVNode("div",null,e.toDisplayString((zl=(xl=l.report)==null?void 0:xl.weather)!=null&&zl.noExtrapolation?"Total Distance At Good Weather":"Total Distance"),1),t[109]||(t[109]=e.createElementVNode("div",{class:"line"},null,-1)),e.createElementVNode("div",null,"CP Speed - "+e.toDisplayString(a.computeAbtSpeed(n==null?void 0:n.timeConclusion,(Sl=(Cl=n==null?void 0:n.extend)==null?void 0:Cl.cp)==null?void 0:Sl.speed,"Under"))+"kts",1)]),t[110]||(t[110]=e.createElementVNode("div",null,"(b)",-1))])]),e.createElementVNode("div",p0,[e.createElementVNode("div",A0,[e.createElementVNode("label",null,"Total Time at (CP Speed + "+e.toDisplayString(a.computeAbtSpeed(n==null?void 0:n.timeConclusion,(fl=(kl=n==null?void 0:n.extend)==null?void 0:kl.cp)==null?void 0:fl.speed,"Over"))+"kts)",1),t[111]||(t[111]=e.createElementVNode("label",null,"=",-1))]),e.createElementVNode("div",V0,[e.createElementVNode("div",T0,[e.createElementVNode("div",null,e.toDisplayString((_l=(jl=l.report)==null?void 0:jl.weather)!=null&&_l.noExtrapolation?"Total Distance At Good Weather":"Total Distance"),1),t[112]||(t[112]=e.createElementVNode("div",{class:"line"},null,-1)),e.createElementVNode("div",null,"CP Speed + "+e.toDisplayString(a.computeAbtSpeed(n==null?void 0:n.timeConclusion,(Kl=(Xl=n==null?void 0:n.extend)==null?void 0:Xl.cp)==null?void 0:Kl.speed,"Over"))+"kts",1)]),t[113]||(t[113]=e.createElementVNode("div",null,"(c)",-1))])]),t[114]||(t[114]=e.createStaticVNode('<div class="flex-start" data-v-d3c29053><div class="flex-space" style="width:300px;font-weight:400;" data-v-d3c29053><label data-v-d3c29053>Time Lost</label><div data-v-d3c29053>=</div><div data-v-d3c29053>(a)</div><div data-v-d3c29053>-</div><div data-v-d3c29053>(b)</div></div><div class="flex-space" style="width:300px;margin-left:200px;font-weight:400;" data-v-d3c29053><label data-v-d3c29053>Time Gained</label><div data-v-d3c29053>=</div><div data-v-d3c29053>(c)</div><div data-v-d3c29053>-</div><div data-v-d3c29053>(a)</div></div></div>',1))]),e.createElementVNode("div",x0,[e.createElementVNode("div",z0,[t[115]||(t[115]=e.createElementVNode("label",null,"Time Lost",-1)),e.createElementVNode("div",null," Total Time at Good Weather Performance Speed > Total Time at (CP Speed - "+e.toDisplayString(a.computeAbtSpeed(n==null?void 0:n.timeConclusion,(ql=(Xe=n==null?void 0:n.extend)==null?void 0:Xe.cp)==null?void 0:ql.speed,"Under"))+" kts) ",1)]),e.createElementVNode("div",C0,[t[116]||(t[116]=e.createElementVNode("label",null,"Time Gained",-1)),e.createElementVNode("div",null," Total Time at Good Weather Performance Speed < Total Time at (CP Speed + "+e.toDisplayString(a.computeAbtSpeed(n==null?void 0:n.timeConclusion,(to=(eo=n==null?void 0:n.extend)==null?void 0:eo.cp)==null?void 0:to.speed,"Over"))+" kts) ",1)]),e.createElementVNode("div",S0,[t[117]||(t[117]=e.createElementVNode("label",null,"No Time Lost and Gained",-1)),e.createElementVNode("div",null," Total Time at (CP Speed + "+e.toDisplayString(a.computeAbtSpeed(n==null?void 0:n.timeConclusion,(oo=(lo=n==null?void 0:n.extend)==null?void 0:lo.cp)==null?void 0:oo.speed,"Over"))+" kts) ≤ Total Time at Good Weather Performance Speed ≤ Total Time at (CP Speed -"+e.toDisplayString(a.computeAbtSpeed(n==null?void 0:n.timeConclusion,(so=(io=n==null?void 0:n.extend)==null?void 0:io.cp)==null?void 0:so.speed,"Under"))+" kts) ",1)])]),(ro=n==null?void 0:n.goodWx)!=null&&ro.distance?(e.openBlock(),e.createElementBlock("div",k0,[e.createElementVNode("div",f0,[t[121]||(t[121]=e.createElementVNode("div",{class:"formula-left flex-space"},[e.createElementVNode("label",null,"Total Time at Good Weather Performance Speed"),e.createElementVNode("label",null,"=")],-1)),e.createElementVNode("div",j0,[e.createElementVNode("div",U0,[e.createElementVNode("div",null,e.toDisplayString((No=(co=l.report)==null?void 0:co.weather)!=null&&No.noExtrapolation?(Do=n==null?void 0:n.goodWx)==null?void 0:Do.distance:(Mo=n==null?void 0:n.allWx)==null?void 0:Mo.distance),1),t[118]||(t[118]=e.createElementVNode("div",{class:"line"},null,-1)),e.createElementVNode("div",null,e.toDisplayString((mo=n==null?void 0:n.goodWx)==null?void 0:mo.pfmSpd),1)]),t[119]||(t[119]=e.createElementVNode("div",null,"=",-1)),e.createElementVNode("div",null,e.toDisplayString((go=n==null?void 0:n.timeConclusion)==null?void 0:go.timeAtPfmSpd)+" (hrs)",1),t[120]||(t[120]=e.createElementVNode("div",null,"(a')",-1))])]),e.createElementVNode("div",b0,[e.createElementVNode("div",O0,[e.createElementVNode("label",null,"Total Time at (CP Speed - "+e.toDisplayString(a.computeAbtSpeed(n==null?void 0:n.timeConclusion,(yo=(Eo=n==null?void 0:n.extend)==null?void 0:Eo.cp)==null?void 0:yo.speed,"Under"))+"kts)",1),t[122]||(t[122]=e.createElementVNode("label",null,"=",-1))]),e.createElementVNode("div",w0,[e.createElementVNode("div",Y0,[e.createElementVNode("div",null,e.toDisplayString((po=(Io=l.report)==null?void 0:Io.weather)!=null&&po.noExtrapolation?(Ao=n==null?void 0:n.goodWx)==null?void 0:Ao.distance:(Vo=n==null?void 0:n.allWx)==null?void 0:Vo.distance),1),t[123]||(t[123]=e.createElementVNode("div",{class:"line"},null,-1)),e.createElementVNode("div",null,e.toDisplayString((To=n==null?void 0:n.timeConclusion)==null?void 0:To.minusAbtSpd),1)]),t[124]||(t[124]=e.createElementVNode("div",null,"=",-1)),e.createElementVNode("div",null,e.toDisplayString((xo=n==null?void 0:n.timeConclusion)==null?void 0:xo.timeAtMinusAbtSpd)+" (hrs)",1),t[125]||(t[125]=e.createElementVNode("div",null,"(b')",-1))])]),e.createElementVNode("div",Q0,[e.createElementVNode("div",h0,[e.createElementVNode("label",null,"Total Time at (CP Speed + "+e.toDisplayString(a.computeAbtSpeed(n==null?void 0:n.timeConclusion,(Co=(zo=n==null?void 0:n.extend)==null?void 0:zo.cp)==null?void 0:Co.speed,"Over"))+"kts)",1),t[126]||(t[126]=e.createElementVNode("label",null,"=",-1))]),e.createElementVNode("div",B0,[e.createElementVNode("div",R0,[e.createElementVNode("div",null,e.toDisplayString((ko=(So=l.report)==null?void 0:So.weather)!=null&&ko.noExtrapolation?(fo=n==null?void 0:n.goodWx)==null?void 0:fo.distance:(jo=n==null?void 0:n.allWx)==null?void 0:jo.distance),1),t[127]||(t[127]=e.createElementVNode("div",{class:"line"},null,-1)),e.createElementVNode("div",null,e.toDisplayString((Uo=n==null?void 0:n.timeConclusion)==null?void 0:Uo.plusAbtSpd),1)]),t[128]||(t[128]=e.createElementVNode("div",null,"=",-1)),e.createElementVNode("div",null,e.toDisplayString((bo=n==null?void 0:n.timeConclusion)==null?void 0:bo.timeAtPlusAbtSpd)+" (hrs)",1),t[129]||(t[129]=e.createElementVNode("div",null,"(c')",-1))])]),e.createElementVNode("div",F0,[((Oo=n==null?void 0:n.timeConclusion)==null?void 0:Oo.conclusionStatus)==="Lost"?(e.openBlock(),e.createElementBlock("div",P0,[t[130]||(t[130]=e.createElementVNode("div",null,"Time Lost",-1)),t[131]||(t[131]=e.createElementVNode("div",null,"=",-1)),t[132]||(t[132]=e.createElementVNode("div",null,"(a') - (b')",-1)),t[133]||(t[133]=e.createElementVNode("div",null,"=",-1)),e.createElementVNode("div",null,e.toDisplayString((wo=n==null?void 0:n.timeConclusion)==null?void 0:wo.timeAtPfmSpd),1),t[134]||(t[134]=e.createElementVNode("div",null,"-",-1)),e.createElementVNode("div",null,e.toDisplayString((Yo=n==null?void 0:n.timeConclusion)==null?void 0:Yo.timeAtMinusAbtSpd),1),t[135]||(t[135]=e.createElementVNode("div",null,"=",-1)),e.createElementVNode("div",null,e.toDisplayString((Qo=n==null?void 0:n.timeConclusion)==null?void 0:Qo.timeLost)+" (hrs)",1)])):((ho=n==null?void 0:n.timeConclusion)==null?void 0:ho.conclusionStatus)==="Gain"?(e.openBlock(),e.createElementBlock("div",G0,[t[136]||(t[136]=e.createElementVNode("div",null,"Time Lost",-1)),t[137]||(t[137]=e.createElementVNode("div",null,"=",-1)),t[138]||(t[138]=e.createElementVNode("div",null,"(c') - (a')",-1)),t[139]||(t[139]=e.createElementVNode("div",null,"=",-1)),e.createElementVNode("div",null,e.toDisplayString((g=n==null?void 0:n.timeConclusion)==null?void 0:g.timeAtPlusAbtSpd),1),t[140]||(t[140]=e.createElementVNode("div",null,"-",-1)),e.createElementVNode("div",null,e.toDisplayString((Bo=n==null?void 0:n.timeConclusion)==null?void 0:Bo.timeAtPfmSpd),1),t[141]||(t[141]=e.createElementVNode("div",null,"=",-1)),e.createElementVNode("div",null,e.toDisplayString((Ro=n==null?void 0:n.timeConclusion)==null?void 0:Ro.timeGain)+" (hrs)",1)])):e.createCommentVNode("",!0),e.createElementVNode("div",{class:e.normalizeClass(((Fo=n==null?void 0:n.timeConclusion)==null?void 0:Fo.conclusionStatus)==="Lost"?"flex-center lost":((Po=n==null?void 0:n.timeConclusion)==null?void 0:Po.conclusionStatus)==="Gain"?"flex-center gain":"flex-center")},[t[142]||(t[142]=e.createElementVNode("label",{style:{"font-weight":"400","margin-right":"4px",color:"var(--idm-black-9)"}}," Conclusion: ",-1)),e.createElementVNode("div",null,e.toDisplayString(((Go=n==null?void 0:n.timeConclusion)==null?void 0:Go.conclusion)||""),1)],2)])])):(e.openBlock(),e.createElementBlock("div",W0,e.toDisplayString(i.noGoodWxDay),1))]),t[255]||(t[255]=e.createElementVNode("div",{class:"bb",style:{margin:"10px 0"}},null,-1)),e.createElementVNode("div",L0,[e.createElementVNode("div",Z0,[t[143]||(t[143]=e.createElementVNode("i",{class:"iconfont"},"",-1)),e.createElementVNode("div",H0,[e.createElementVNode("span",null,"Seg. "+e.toDisplayString(H+1)+" Consumption Analysis",1),(Lo=(Wo=l.report)==null?void 0:Wo.weather)!=null&&Lo.noExtrapolation?(e.openBlock(),e.createElementBlock("span",J0,"( no extrapolation beyond the good weather period )")):e.createCommentVNode("",!0)])]),e.createElementVNode("div",_0,[e.createElementVNode("div",X0,[t[149]||(t[149]=e.createElementVNode("div",{class:"formula-left flex-space"},[e.createElementVNode("label",null,"Entire Voyage Consumption using Good Weather Consumption"),e.createElementVNode("label",null,"=")],-1)),e.createElementVNode("div",K0,[e.createElementVNode("div",u0,[e.createElementVNode("div",null,e.toDisplayString(($l=(Zo=l.report)==null?void 0:Zo.weather)!=null&&$l.noExtrapolation?"Total Distance At Good Weather":"Total Distance"),1),t[144]||(t[144]=e.createElementVNode("div",{class:"line"},null,-1)),t[145]||(t[145]=e.createElementVNode("div",null,"Good Weather Performance Speed",-1))]),t[146]||(t[146]=e.createElementVNode("div",null,"x",-1)),t[147]||(t[147]=e.createElementVNode("div",{class:"fraction",style:{width:"270px"}},[e.createElementVNode("div",null,"Good Weather Consumption*"),e.createElementVNode("div",{class:"line"}),e.createElementVNode("div",null,"Good Weather Time")],-1)),t[148]||(t[148]=e.createElementVNode("div",null,"(d)",-1))])]),e.createElementVNode("div",q0,[t[150]||(t[150]=e.createElementVNode("div",{class:"tips flex-end",style:{"font-size":"14px"}},"* For FO: Good Weather FO Cons. + Good Weather M/E DO/GO Cons. in ECA",-1)),((_o=(Jo=n.extend)==null?void 0:Jo.cp)==null?void 0:_o.dgo)>0?(e.openBlock(),e.createElementBlock("div",$0," * For DO/GO: Good Weather DO/GO Cons. - Good Weather M/E DO/GO Cons. in ECA ")):e.createCommentVNode("",!0)]),e.createElementVNode("div",v0,[t[155]||(t[155]=e.createElementVNode("div",{class:"formula-left flex-space"},[e.createElementVNode("label",null,"Max CP Consumption"),e.createElementVNode("label",null,"=")],-1)),e.createElementVNode("div",ep,[e.createElementVNode("div",tp,[e.createElementVNode("div",null,e.toDisplayString((Ko=(Xo=l.report)==null?void 0:Xo.weather)!=null&&Ko.noExtrapolation?"Total Distance At Good Weather":"Total Distance"),1),t[151]||(t[151]=e.createElementVNode("div",{class:"line"},null,-1)),e.createElementVNode("div",null,"CP Speed - "+e.toDisplayString(a.computeAbtSpeed(n==null?void 0:n.timeConclusion,(qo=(uo=n==null?void 0:n.extend)==null?void 0:uo.cp)==null?void 0:qo.speed,"Under"))+"kts",1)]),t[152]||(t[152]=e.createElementVNode("div",null,"x",-1)),t[153]||(t[153]=e.createElementVNode("div",{class:"fraction",style:{width:"270px"}},[e.createElementVNode("div",null,"Daily CP Consumption + Consumer Over"),e.createElementVNode("div",{class:"line"}),e.createElementVNode("div",null,"24 hours")],-1)),t[154]||(t[154]=e.createElementVNode("div",null,"(e)",-1))])]),e.createElementVNode("div",lp,[t[160]||(t[160]=e.createElementVNode("div",{class:"formula-left flex-space"},[e.createElementVNode("label",null,"Min CP Consumption"),e.createElementVNode("label",null,"=")],-1)),e.createElementVNode("div",op,[e.createElementVNode("div",np,[e.createElementVNode("div",null,e.toDisplayString((vo=($o=l.report)==null?void 0:$o.weather)!=null&&vo.noExtrapolation?"Total Distance At Good Weather":"Total Distance"),1),t[156]||(t[156]=e.createElementVNode("div",{class:"line"},null,-1)),e.createElementVNode("div",null,"CP Speed + "+e.toDisplayString(a.computeAbtSpeed(n==null?void 0:n.timeConclusion,(tn=(en=n==null?void 0:n.extend)==null?void 0:en.cp)==null?void 0:tn.speed,"Over"))+"kts",1)]),t[157]||(t[157]=e.createElementVNode("div",null,"x",-1)),t[158]||(t[158]=e.createElementVNode("div",{class:"fraction",style:{width:"270px"}},[e.createElementVNode("div",null,"Daily CP Consumption - Consumer Under"),e.createElementVNode("div",{class:"line"}),e.createElementVNode("div",null,"24 hours")],-1)),t[159]||(t[159]=e.createElementVNode("div",null,"(f)",-1))])]),t[167]||(t[167]=e.createStaticVNode('<div class="flex-start" data-v-d3c29053><div class="flex-space" style="width:300px;font-weight:400;" data-v-d3c29053><label data-v-d3c29053>Fuel Over-consumption</label><div data-v-d3c29053>=</div><div data-v-d3c29053>(d)</div><div data-v-d3c29053>-</div><div data-v-d3c29053>(e)</div></div><div class="flex-space" style="width:300px;margin-left:200px;font-weight:400;" data-v-d3c29053><label data-v-d3c29053>Fuel Saving</label><div data-v-d3c29053>=</div><div data-v-d3c29053>(f)</div><div data-v-d3c29053>-</div><div data-v-d3c29053>(d)</div></div></div>',1)),((on=(ln=n.extend)==null?void 0:ln.cp)==null?void 0:on.dgo)>0?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[e.createElementVNode("div",ap,[t[163]||(t[163]=e.createElementVNode("div",{class:"formula-left flex-space"},[e.createElementVNode("label",null,"Fuel Over-consumption in ECA"),e.createElementVNode("label",null,"=")],-1)),e.createElementVNode("div",ip,[e.createElementVNode("div",sp,[t[161]||(t[161]=e.createElementVNode("div",null,"ECA Distance × Fuel Over-consumption",-1)),t[162]||(t[162]=e.createElementVNode("div",{class:"line"},null,-1)),e.createElementVNode("div",null,e.toDisplayString((an=(nn=l.report)==null?void 0:nn.weather)!=null&&an.noExtrapolation?"Total Distance At Good Weather":"Total Distance"),1)])])]),e.createElementVNode("div",dp,[t[166]||(t[166]=e.createElementVNode("div",{class:"formula-left flex-space"},[e.createElementVNode("label",null,"Fuel Saving in ECA"),e.createElementVNode("label",null,"=")],-1)),e.createElementVNode("div",rp,[e.createElementVNode("div",cp,[t[164]||(t[164]=e.createElementVNode("div",null,"ECA Distance × Fuel Saving",-1)),t[165]||(t[165]=e.createElementVNode("div",{class:"line"},null,-1)),e.createElementVNode("div",null,e.toDisplayString((dn=(sn=l.report)==null?void 0:sn.weather)!=null&&dn.noExtrapolation?"Total Distance At Good Weather":"Total Distance"),1)])])])],64)):e.createCommentVNode("",!0)]),t[252]||(t[252]=e.createElementVNode("div",{class:"formula-desc"},[e.createElementVNode("div",{class:"flex-end"},[e.createElementVNode("label",null,"Fuel Over-consumption"),e.createElementVNode("div",null,"Entire Voyage Consumption using Good Weather Consumption > Max CP Consumption")]),e.createElementVNode("div",{class:"flex-end"},[e.createElementVNode("label",null,"Fuel Saving"),e.createElementVNode("div",null,"Entire Voyage Consumption using Good Weather Consumption < Min CP Consumption")]),e.createElementVNode("div",{class:"flex-end"},[e.createElementVNode("label",null,"No Fuel Over-consumption or Saving"),e.createElementVNode("div",null,"Min CP Consumption ≤ Entire Voyage Consumption using Good Weather Consumption ≤ Max CP Consumption")])],-1)),e.createElementVNode("div",Np,[t[168]||(t[168]=e.createElementVNode("i",{class:"iconfont"}," ",-1)),e.createElementVNode("div",Dp,"Seg. "+e.toDisplayString(H+1)+" Fuel Oil",1)]),(rn=n==null?void 0:n.goodWx)!=null&&rn.distance?(e.openBlock(),e.createElementBlock("div",Mp,[((X=(cn=n==null?void 0:n.goodWx)==null?void 0:cn.inEca)==null?void 0:X.distance)>0?(e.openBlock(),e.createElementBlock("div",mp,[t[174]||(t[174]=e.createElementVNode("div",{class:"formula-left flex-space"},[e.createElementVNode("label",null,"* Good Weather M/E DO/GO Cons. in ECA"),e.createElementVNode("label",null,"=")],-1)),e.createElementVNode("div",gp,[e.createElementVNode("div",Ep,[e.createElementVNode("div",null,e.toDisplayString((Nn=(ul=n==null?void 0:n.goodWx)==null?void 0:ul.inEca)==null?void 0:Nn.sumDgoCons),1)]),t[171]||(t[171]=e.createElementVNode("div",null,"-",-1)),e.createElementVNode("div",yp,[e.createElementVNode("div",null,e.toDisplayString((Mn=(Dn=n==null?void 0:n.extend)==null?void 0:Dn.cp)==null?void 0:Mn.dgo),1),t[169]||(t[169]=e.createElementVNode("div",{class:"line"},null,-1)),t[170]||(t[170]=e.createElementVNode("div",null,"24",-1))]),t[172]||(t[172]=e.createElementVNode("div",null,"*",-1)),e.createElementVNode("div",null,e.toDisplayString((gn=(mn=n==null?void 0:n.goodWx)==null?void 0:mn.inEca)==null?void 0:gn.time),1),t[173]||(t[173]=e.createElementVNode("div",null,"=",-1)),e.createElementVNode("div",null,e.toDisplayString((yn=(En=n==null?void 0:n.fuelConclusion)==null?void 0:En.fo)==null?void 0:yn.dgoAsFoCons)+" (mt)",1)])])):e.createCommentVNode("",!0),e.createElementVNode("div",Ip,[t[181]||(t[181]=e.createElementVNode("div",{class:"formula-left flex-space"},[e.createElementVNode("label",null,"Entire Voyage Consumption using Good Weather Consumption"),e.createElementVNode("label",null,"=")],-1)),e.createElementVNode("div",pp,[e.createElementVNode("div",Ap,[e.createElementVNode("div",null,e.toDisplayString((nt=(In=l.report)==null?void 0:In.weather)!=null&&nt.noExtrapolation?(pn=n==null?void 0:n.goodWx)==null?void 0:pn.distance:(An=n==null?void 0:n.allWx)==null?void 0:An.distance),1),t[175]||(t[175]=e.createElementVNode("div",{class:"line"},null,-1)),e.createElementVNode("div",null,e.toDisplayString((Vn=n==null?void 0:n.goodWx)==null?void 0:Vn.pfmSpd),1)]),t[178]||(t[178]=e.createElementVNode("div",null,"x",-1)),e.createElementVNode("div",Vp,[e.createElementVNode("div",null,[e.createElementVNode("span",null,e.toDisplayString((Tn=n==null?void 0:n.goodWx)==null?void 0:Tn.sumFoCons),1),((no=(u=n==null?void 0:n.goodWx)==null?void 0:u.inEca)==null?void 0:no.distance)>0?(e.openBlock(),e.createElementBlock("span",Tp,[t[176]||(t[176]=e.createElementVNode("span",null," + ",-1)),e.createElementVNode("span",null,e.toDisplayString((zn=(xn=n==null?void 0:n.fuelConclusion)==null?void 0:xn.fo)==null?void 0:zn.dgoAsFoCons),1)])):e.createCommentVNode("",!0)]),t[177]||(t[177]=e.createElementVNode("div",{class:"line"},null,-1)),e.createElementVNode("div",null,e.toDisplayString((Cn=n==null?void 0:n.goodWx)==null?void 0:Cn.time),1)]),t[179]||(t[179]=e.createElementVNode("div",null,"=",-1)),e.createElementVNode("div",null,e.toDisplayString((kn=(Sn=n.fuelConclusion)==null?void 0:Sn.fo)==null?void 0:kn.entireCons)+" (mt)",1),t[180]||(t[180]=e.createElementVNode("div",null,"(d')",-1))])]),e.createElementVNode("div",xp,[t[188]||(t[188]=e.createElementVNode("div",{class:"formula-left flex-space"},[e.createElementVNode("label",null,"Max CP Consumption"),e.createElementVNode("label",null,"=")],-1)),e.createElementVNode("div",zp,[e.createElementVNode("div",Cp,[e.createElementVNode("div",null,e.toDisplayString((jn=(fn=l.report)==null?void 0:fn.weather)!=null&&jn.noExtrapolation?(Un=n==null?void 0:n.goodWx)==null?void 0:Un.distance:(zt=n==null?void 0:n.allWx)==null?void 0:zt.distance),1),t[182]||(t[182]=e.createElementVNode("div",{class:"line"},null,-1)),e.createElementVNode("div",null,e.toDisplayString((Pn=n==null?void 0:n.timeConclusion)==null?void 0:Pn.minusAbtSpd),1)]),t[185]||(t[185]=e.createElementVNode("div",null,"x",-1)),e.createElementVNode("div",Sp,[e.createElementVNode("div",null,e.toDisplayString((Wn=(Gn=n==null?void 0:n.fuelConclusion)==null?void 0:Gn.fo)==null?void 0:Wn.overTolerance),1),t[183]||(t[183]=e.createElementVNode("div",{class:"line"},null,-1)),t[184]||(t[184]=e.createElementVNode("div",null,"24",-1))]),t[186]||(t[186]=e.createElementVNode("div",null,"=",-1)),e.createElementVNode("div",null,e.toDisplayString((Zn=(Ln=n.fuelConclusion)==null?void 0:Ln.fo)==null?void 0:Zn.maxCons)+" (mt)",1),t[187]||(t[187]=e.createElementVNode("div",null,"(e')",-1))])]),e.createElementVNode("div",kp,[t[195]||(t[195]=e.createElementVNode("div",{class:"formula-left flex-space"},[e.createElementVNode("label",null,"Min CP Consumption"),e.createElementVNode("label",null,"=")],-1)),e.createElementVNode("div",fp,[e.createElementVNode("div",jp,[e.createElementVNode("div",null,e.toDisplayString((Jn=(Hn=l.report)==null?void 0:Hn.weather)!=null&&Jn.noExtrapolation?(_n=n==null?void 0:n.goodWx)==null?void 0:_n.distance:(Xn=n==null?void 0:n.allWx)==null?void 0:Xn.distance),1),t[189]||(t[189]=e.createElementVNode("div",{class:"line"},null,-1)),e.createElementVNode("div",null,e.toDisplayString((Kn=n==null?void 0:n.timeConclusion)==null?void 0:Kn.plusAbtSpd),1)]),t[192]||(t[192]=e.createElementVNode("div",null,"x",-1)),e.createElementVNode("div",Up,[e.createElementVNode("div",null,e.toDisplayString((qn=(un=n==null?void 0:n.fuelConclusion)==null?void 0:un.fo)==null?void 0:qn.underTolerance),1),t[190]||(t[190]=e.createElementVNode("div",{class:"line"},null,-1)),t[191]||(t[191]=e.createElementVNode("div",null,"24",-1))]),t[193]||(t[193]=e.createElementVNode("div",null,"=",-1)),e.createElementVNode("div",null,e.toDisplayString((vn=($n=n.fuelConclusion)==null?void 0:$n.fo)==null?void 0:vn.minCons)+" (mt)",1),t[194]||(t[194]=e.createElementVNode("div",null,"(f')",-1))])]),e.createElementVNode("div",bp,[((ta=(ea=n==null?void 0:n.fuelConclusion)==null?void 0:ea.fo)==null?void 0:ta.conclusionStatus)==="Over"?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[e.createElementVNode("div",Op,[t[196]||(t[196]=e.createElementVNode("div",null,"Fuel Oil Over-consumption",-1)),t[197]||(t[197]=e.createElementVNode("div",null,"=",-1)),t[198]||(t[198]=e.createElementVNode("div",null,"(d') - (e')",-1)),t[199]||(t[199]=e.createElementVNode("div",null,"=",-1)),e.createElementVNode("div",null,e.toDisplayString((oa=(la=n==null?void 0:n.fuelConclusion)==null?void 0:la.fo)==null?void 0:oa.entireCons),1),t[200]||(t[200]=e.createElementVNode("div",null,"-",-1)),e.createElementVNode("div",null,e.toDisplayString((aa=(na=n==null?void 0:n.fuelConclusion)==null?void 0:na.fo)==null?void 0:aa.maxCons),1),t[201]||(t[201]=e.createElementVNode("div",null,"=",-1)),e.createElementVNode("div",null,e.toDisplayString((sa=(ia=n==null?void 0:n.fuelConclusion)==null?void 0:ia.fo)==null?void 0:sa.overCons),1)]),(ra=(da=n==null?void 0:n.goodWx)==null?void 0:da.inEca)!=null&&ra.distance?(e.openBlock(),e.createElementBlock("div",wp,[t[203]||(t[203]=e.createElementVNode("div",null,"Fuel Oil Over-consumption in ECA",-1)),t[204]||(t[204]=e.createElementVNode("div",null,"=",-1)),e.createElementVNode("div",Yp,[e.createElementVNode("div",null,e.toDisplayString((Na=(ca=n==null?void 0:n.goodWx)==null?void 0:ca.inEca)==null?void 0:Na.distance)+" * "+e.toDisplayString((Ma=(Da=n==null?void 0:n.fuelConclusion)==null?void 0:Da.fo)==null?void 0:Ma.overCons),1),t[202]||(t[202]=e.createElementVNode("div",{class:"line"},null,-1)),e.createElementVNode("div",null,e.toDisplayString((ga=(ma=l.report)==null?void 0:ma.weather)!=null&&ga.noExtrapolation?(Ea=n==null?void 0:n.goodWx)==null?void 0:Ea.distance:(ya=n==null?void 0:n.allWx)==null?void 0:ya.distance),1)]),t[205]||(t[205]=e.createElementVNode("div",null,"=",-1)),e.createElementVNode("div",null,e.toDisplayString((pa=(Ia=n==null?void 0:n.fuelConclusion)==null?void 0:Ia.fo)==null?void 0:pa.foOverConsInEca)+" (mt)",1)])):e.createCommentVNode("",!0)],64)):((Va=(Aa=n==null?void 0:n.fuelConclusion)==null?void 0:Aa.fo)==null?void 0:Va.conclusionStatus)==="Saving"?(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[e.createElementVNode("div",Qp,[t[206]||(t[206]=e.createElementVNode("div",null,"Fuel Oil Saving",-1)),t[207]||(t[207]=e.createElementVNode("div",null,"=",-1)),t[208]||(t[208]=e.createElementVNode("div",null,"(f') - (d')",-1)),t[209]||(t[209]=e.createElementVNode("div",null,"=",-1)),e.createElementVNode("div",null,e.toDisplayString((xa=(Ta=n==null?void 0:n.fuelConclusion)==null?void 0:Ta.fo)==null?void 0:xa.minCons),1),t[210]||(t[210]=e.createElementVNode("div",null,"-",-1)),e.createElementVNode("div",null,e.toDisplayString((Ca=(za=n==null?void 0:n.fuelConclusion)==null?void 0:za.fo)==null?void 0:Ca.entireCons),1),t[211]||(t[211]=e.createElementVNode("div",null,"=",-1)),e.createElementVNode("div",null,e.toDisplayString((ka=(Sa=n==null?void 0:n.fuelConclusion)==null?void 0:Sa.fo)==null?void 0:ka.saving)+" (mt)",1)]),(ja=(fa=n==null?void 0:n.goodWx)==null?void 0:fa.inEca)!=null&&ja.distance?(e.openBlock(),e.createElementBlock("div",hp,[t[213]||(t[213]=e.createElementVNode("div",null,"Fuel Oil Saving in ECA",-1)),t[214]||(t[214]=e.createElementVNode("div",null,"=",-1)),e.createElementVNode("div",Bp,[e.createElementVNode("div",null,e.toDisplayString((ba=(Ua=l.report)==null?void 0:Ua.weather)!=null&&ba.noExtrapolation?(wa=(Oa=n==null?void 0:n.goodWx)==null?void 0:Oa.inEca)==null?void 0:wa.distance:(Qa=(Ya=n==null?void 0:n.allWx)==null?void 0:Ya.inEca)==null?void 0:Qa.distance)+" * "+e.toDisplayString((Ba=(ha=n==null?void 0:n.fuelConclusion)==null?void 0:ha.fo)==null?void 0:Ba.saving),1),t[212]||(t[212]=e.createElementVNode("div",{class:"line",style:{"border-color":"var(--idm-black-9)"}},null,-1)),e.createElementVNode("div",null,e.toDisplayString((Fa=(Ra=l.report)==null?void 0:Ra.weather)!=null&&Fa.noExtrapolation?(Pa=n==null?void 0:n.goodWx)==null?void 0:Pa.distance:(Ga=n==null?void 0:n.allWx)==null?void 0:Ga.distance),1)]),t[215]||(t[215]=e.createElementVNode("div",null,"=",-1)),e.createElementVNode("div",null,e.toDisplayString((La=(Wa=n==null?void 0:n.fuelConclusion)==null?void 0:Wa.fo)==null?void 0:La.foSavingInEca)+" (mt)",1)])):e.createCommentVNode("",!0)],64)):e.createCommentVNode("",!0),e.createElementVNode("div",{class:e.normalizeClass(((Ha=(Za=n==null?void 0:n.fuelConclusion)==null?void 0:Za.fo)==null?void 0:Ha.conclusionStatus)==="Over"?"flex-center lost":((_a=(Ja=n==null?void 0:n.fuelConclusion)==null?void 0:Ja.fo)==null?void 0:_a.conclusionStatus)==="Saving"?"flex-center gain":"flex-center")},[t[216]||(t[216]=e.createElementVNode("label",{style:{"font-weight":"400","margin-right":"4px",color:"var(--idm-black-9)"}}," Conclusion: ",-1)),e.createElementVNode("div",null,e.toDisplayString(((Ka=(Xa=n==null?void 0:n.fuelConclusion)==null?void 0:Xa.fo)==null?void 0:Ka.conclusion)||""),1)],2)])])):(e.openBlock(),e.createElementBlock("div",Rp,e.toDisplayString(i.noGoodWxDay),1)),((qa=(ua=n==null?void 0:n.extend)==null?void 0:ua.cp)==null?void 0:qa.dgo)>0?(e.openBlock(),e.createElementBlock(e.Fragment,{key:2},[e.createElementVNode("div",Fp,[t[217]||(t[217]=e.createElementVNode("i",{class:"iconfont"},"",-1)),e.createElementVNode("div",Pp,"Seg. "+e.toDisplayString(H+1)+" Diesel/Gas Oil",1)]),($a=n==null?void 0:n.goodWx)!=null&&$a.distance?(e.openBlock(),e.createElementBlock("div",Gp,[e.createElementVNode("div",Wp,[t[224]||(t[224]=e.createElementVNode("div",{class:"formula-left flex-space"},[e.createElementVNode("label",null,"Entire Voyage Consumption using Good Weather Consumption"),e.createElementVNode("label",null,"=")],-1)),e.createElementVNode("div",Lp,[e.createElementVNode("div",Zp,[e.createElementVNode("div",null,e.toDisplayString((ei=(va=l.report)==null?void 0:va.weather)!=null&&ei.noExtrapolation?(ti=n==null?void 0:n.goodWx)==null?void 0:ti.distance:(li=n==null?void 0:n.allWx)==null?void 0:li.distance),1),t[218]||(t[218]=e.createElementVNode("div",{class:"line"},null,-1)),e.createElementVNode("div",null,e.toDisplayString((oi=n==null?void 0:n.goodWx)==null?void 0:oi.pfmSpd),1)]),t[221]||(t[221]=e.createElementVNode("div",null,"x",-1)),e.createElementVNode("div",Hp,[e.createElementVNode("div",null,[e.createElementVNode("span",null,e.toDisplayString((ni=n==null?void 0:n.goodWx)==null?void 0:ni.sumDgoCons),1),((ii=(ai=n==null?void 0:n.goodWx)==null?void 0:ai.inEca)==null?void 0:ii.distance)>0?(e.openBlock(),e.createElementBlock("span",Jp,[t[219]||(t[219]=e.createElementVNode("span",null," - ",-1)),e.createElementVNode("span",null,e.toDisplayString((di=(si=n==null?void 0:n.fuelConclusion)==null?void 0:si.fo)==null?void 0:di.dgoAsFoCons),1)])):e.createCommentVNode("",!0)]),t[220]||(t[220]=e.createElementVNode("div",{class:"line"},null,-1)),e.createElementVNode("div",null,e.toDisplayString((ri=n==null?void 0:n.goodWx)==null?void 0:ri.time),1)]),t[222]||(t[222]=e.createElementVNode("div",null,"=",-1)),e.createElementVNode("div",null,e.toDisplayString((Ni=(ci=n.fuelConclusion)==null?void 0:ci.dgo)==null?void 0:Ni.entireCons)+" (mt)",1),t[223]||(t[223]=e.createElementVNode("div",null,"(d'')",-1))])]),e.createElementVNode("div",_p,[t[231]||(t[231]=e.createElementVNode("div",{class:"formula-left flex-space"},[e.createElementVNode("label",null,"Max CP Consumption"),e.createElementVNode("label",null,"=")],-1)),e.createElementVNode("div",Xp,[e.createElementVNode("div",Kp,[e.createElementVNode("div",null,e.toDisplayString((Mi=(Di=l.report)==null?void 0:Di.weather)!=null&&Mi.noExtrapolation?(mi=n==null?void 0:n.goodWx)==null?void 0:mi.distance:(gi=n==null?void 0:n.allWx)==null?void 0:gi.distance),1),t[225]||(t[225]=e.createElementVNode("div",{class:"line"},null,-1)),e.createElementVNode("div",null,e.toDisplayString((Ei=n==null?void 0:n.timeConclusion)==null?void 0:Ei.minusAbtSpd),1)]),t[228]||(t[228]=e.createElementVNode("div",null,"x",-1)),e.createElementVNode("div",up,[e.createElementVNode("div",null,e.toDisplayString((Ii=(yi=n==null?void 0:n.fuelConclusion)==null?void 0:yi.dgo)==null?void 0:Ii.overTolerance),1),t[226]||(t[226]=e.createElementVNode("div",{class:"line"},null,-1)),t[227]||(t[227]=e.createElementVNode("div",null,"24",-1))]),t[229]||(t[229]=e.createElementVNode("div",null,"=",-1)),e.createElementVNode("div",null,e.toDisplayString((Ai=(pi=n.fuelConclusion)==null?void 0:pi.dgo)==null?void 0:Ai.maxCons)+" (mt)",1),t[230]||(t[230]=e.createElementVNode("div",null,"(e'')",-1))])]),e.createElementVNode("div",qp,[t[238]||(t[238]=e.createElementVNode("div",{class:"formula-left flex-space"},[e.createElementVNode("label",null,"Min CP Consumption"),e.createElementVNode("label",null,"=")],-1)),e.createElementVNode("div",$p,[e.createElementVNode("div",vp,[e.createElementVNode("div",null,e.toDisplayString((Ti=(Vi=l.report)==null?void 0:Vi.weather)!=null&&Ti.noExtrapolation?(xi=n==null?void 0:n.goodWx)==null?void 0:xi.distance:(zi=n==null?void 0:n.allWx)==null?void 0:zi.distance),1),t[232]||(t[232]=e.createElementVNode("div",{class:"line"},null,-1)),e.createElementVNode("div",null,e.toDisplayString((Ci=n==null?void 0:n.timeConclusion)==null?void 0:Ci.plusAbtSpd),1)]),t[235]||(t[235]=e.createElementVNode("div",null,"x",-1)),e.createElementVNode("div",eA,[e.createElementVNode("div",null,e.toDisplayString((ki=(Si=n==null?void 0:n.fuelConclusion)==null?void 0:Si.dgo)==null?void 0:ki.underTolerance),1),t[233]||(t[233]=e.createElementVNode("div",{class:"line"},null,-1)),t[234]||(t[234]=e.createElementVNode("div",null,"24",-1))]),t[236]||(t[236]=e.createElementVNode("div",null,"=",-1)),e.createElementVNode("div",null,e.toDisplayString((ji=(fi=n.fuelConclusion)==null?void 0:fi.dgo)==null?void 0:ji.minCons)+" (mt)",1),t[237]||(t[237]=e.createElementVNode("div",null,"(f'')",-1))])]),e.createElementVNode("div",tA,[((bi=(Ui=n==null?void 0:n.fuelConclusion)==null?void 0:Ui.dgo)==null?void 0:bi.conclusionStatus)==="Over"?(e.openBlock(),e.createElementBlock("div",lA,[t[239]||(t[239]=e.createElementVNode("div",null,"Diesel/Gas Oil Over-consumption",-1)),t[240]||(t[240]=e.createElementVNode("div",null,"=",-1)),t[241]||(t[241]=e.createElementVNode("div",null,"(d'') - (e'')",-1)),t[242]||(t[242]=e.createElementVNode("div",null,"=",-1)),e.createElementVNode("div",null,e.toDisplayString((wi=(Oi=n==null?void 0:n.fuelConclusion)==null?void 0:Oi.dgo)==null?void 0:wi.entireCons),1),t[243]||(t[243]=e.createElementVNode("div",null,"-",-1)),e.createElementVNode("div",null,e.toDisplayString((Qi=(Yi=n==null?void 0:n.fuelConclusion)==null?void 0:Yi.dgo)==null?void 0:Qi.maxCons),1),t[244]||(t[244]=e.createElementVNode("div",null,"=",-1)),e.createElementVNode("div",null,e.toDisplayString((Bi=(hi=n==null?void 0:n.fuelConclusion)==null?void 0:hi.dgo)==null?void 0:Bi.overCons),1)])):((Fi=(Ri=n==null?void 0:n.fuelConclusion)==null?void 0:Ri.dgo)==null?void 0:Fi.conclusionStatus)==="Saving"?(e.openBlock(),e.createElementBlock("div",oA,[t[245]||(t[245]=e.createElementVNode("div",null,"Diesel/Gas Oil Saving",-1)),t[246]||(t[246]=e.createElementVNode("div",null,"=",-1)),t[247]||(t[247]=e.createElementVNode("div",null,"(f'') - (d'')",-1)),t[248]||(t[248]=e.createElementVNode("div",null,"=",-1)),e.createElementVNode("div",null,e.toDisplayString((Gi=(Pi=n==null?void 0:n.fuelConclusion)==null?void 0:Pi.dgo)==null?void 0:Gi.minCons),1),t[249]||(t[249]=e.createElementVNode("div",null,"-",-1)),e.createElementVNode("div",null,e.toDisplayString((Li=(Wi=n==null?void 0:n.fuelConclusion)==null?void 0:Wi.dgo)==null?void 0:Li.entireCons),1),t[250]||(t[250]=e.createElementVNode("div",null,"=",-1)),e.createElementVNode("div",null,e.toDisplayString((Hi=(Zi=n==null?void 0:n.fuelConclusion)==null?void 0:Zi.dgo)==null?void 0:Hi.saving)+" (mt)",1)])):e.createCommentVNode("",!0),e.createElementVNode("div",{class:e.normalizeClass(((_i=(Ji=n==null?void 0:n.fuelConclusion)==null?void 0:Ji.dgo)==null?void 0:_i.conclusionStatus)==="Over"?"flex-center lost":((Ki=(Xi=n==null?void 0:n.fuelConclusion)==null?void 0:Xi.dgo)==null?void 0:Ki.conclusionStatus)==="Saving"?"flex-center gain":"flex-center")},[t[251]||(t[251]=e.createElementVNode("label",{style:{"font-weight":"400","margin-right":"4px",color:"var(--idm-black-9)"}}," Conclusion: ",-1)),e.createElementVNode("div",null,e.toDisplayString(((qi=(ui=n==null?void 0:n.fuelConclusion)==null?void 0:ui.dgo)==null?void 0:qi.conclusion)||""),1)],2)])])):(e.openBlock(),e.createElementBlock("div",nA,e.toDisplayString(i.noGoodWxDay),1))],64)):e.createCommentVNode("",!0)])])}),128))])])}const iA=Fe(PE,[["render",aA],["__scopeId","data-v-d3c29053"]]),Jw="",sA={name:"OrmVygInventory",components:{},props:{report:{type:Object,default:()=>({})},inventory:{type:Array,default:()=>[]},showFactor:{type:Boolean,default:!1}},data(){return{showCF:!1,showAisDistance:!0,showSig:!0,showSwell:!0,showWave:!0,showWaterTemp:!1}},computed:{computeTDClass(){return function(o){if(o.type==="BOSP")return"";{const t=[];return t.push(o.noonLength?"no-border-bottom":"no-border"),t.push(o.excluded?"excluded":o.goodWx?"good-wx":""),t.join(" ")}}},computeWxColspan(){let o=12;return this.showCF||(o-=2),this.showAisDistance||(o-=2),this.showWave||(o-=1),this.showSwell||(o-=1),this.showSig||(o-=1),this.showWaterTemp||(o-=1),o},computeUTCTime(){return function(o,t="MMM-DD/HHmm[Z]"){return`${P(o).utc().format(t)}`}},computeLng(){return function(o){return re.LngLatHelper.lng2pretty(o)}},computeLat(){return function(o){return re.LngLatHelper.lat2pretty(o)}},computePrecision(){return function(o,t=2,l="0.0"){return o?re.LngLatHelper.roundPrecision(o,t):l}}},watch:{report:{handler(o,t){o!=null&&o.id&&this.$nextTick(()=>{this.prepare()})},immediate:!0}},methods:{prepare(){var o,t,l,d,i,a,D,s,c,y,p,N;this.showCF=((t=(o=this.report)==null?void 0:o.weather)==null?void 0:t.showCF)??!1,this.showAisDistance=((d=(l=this.report)==null?void 0:l.weather)==null?void 0:d.showAisDistance)??!0,this.showSig=((a=(i=this.report)==null?void 0:i.weather)==null?void 0:a.showSig)??!0,this.showSwell=((s=(D=this.report)==null?void 0:D.weather)==null?void 0:s.showSwell)??!0,this.showWave=((y=(c=this.report)==null?void 0:c.weather)==null?void 0:y.showWave)??!0,this.showWaterTemp=((N=(p=this.report)==null?void 0:p.weather)==null?void 0:N.waterTempSwitch)||!1}}},dA={class:"report-inventory"},rA={class:"section summary-section"},cA={class:"summary-block"},NA={class:"label",rowspan:"4"},DA={class:"section inventory-section"},MA={class:"inventory-block flex-center"},mA={style:{"font-size":"12px"}},gA=["colspan"],EA={key:0,class:"label",colspan:"2"},yA={key:0,class:"label",rowspan:"2"},IA={key:1,class:"label",rowspan:"2"},pA={key:2,class:"label",rowspan:"2"},AA={key:3,class:"label",colspan:"2"},VA={key:4,class:"label",rowspan:"2"},TA={key:5,class:"label",colspan:"2"},xA={key:6,class:"label",rowspan:"2"},zA={key:7,class:"label",rowspan:"2"},CA={key:8,class:"label",rowspan:"2"},SA={key:0,class:"label"},kA={key:1,class:"label"},fA={key:2,class:"label"},jA={key:3,class:"label"},UA={class:"summary-tbody"};function bA(o,t,l,d,i,a){var D;return e.openBlock(),e.createElementBlock("div",dA,[e.createElementVNode("div",rA,[t[5]||(t[5]=e.createElementVNode("div",{class:"header-block flex-center"},[e.createElementVNode("i",{class:"iconfont"},""),e.createElementVNode("div",{class:"title"},"Speed and Weather Analysis")],-1)),e.createElementVNode("div",cA,[e.createElementVNode("table",null,[t[4]||(t[4]=e.createElementVNode("thead",null,[e.createElementVNode("tr",null,[e.createElementVNode("th",{class:"label",rowspan:"2"},"Seg."),e.createElementVNode("th",{class:"label",rowspan:"2"},"Periods"),e.createElementVNode("th",{class:"label",rowspan:"2"},[e.createElementVNode("div",null,"Distance"),e.createElementVNode("div",null,"(nm)")]),e.createElementVNode("th",{class:"label",rowspan:"2"},[e.createElementVNode("div",null,"Time"),e.createElementVNode("div",null,"(hrs)")]),e.createElementVNode("th",{class:"label",rowspan:"2"},[e.createElementVNode("div",null,"Average Speed"),e.createElementVNode("div",null,"(kts)")]),e.createElementVNode("th",{class:"label",colspan:"2"},"Total Consumption (mt)")]),e.createElementVNode("tr",null,[e.createElementVNode("th",{class:"label"},"FO"),e.createElementVNode("th",{class:"label"},"DO/GO")])],-1)),e.createElementVNode("tbody",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList((D=l.report)==null?void 0:D.segments,(s,c)=>{var y,p,N,M,C,A,V,T,I,S,x,k,m,U,O,w,Y,Q,h,R;return e.openBlock(),e.createElementBlock(e.Fragment,{key:c},[e.createElementVNode("tr",null,[e.createElementVNode("td",NA,e.toDisplayString(c+1),1),t[0]||(t[0]=e.createElementVNode("td",{class:"label"},"Entire Period",-1)),e.createElementVNode("td",null,e.toDisplayString(a.computePrecision((y=s==null?void 0:s.allWx)==null?void 0:y.distance,2,"0.0")),1),e.createElementVNode("td",null,e.toDisplayString(a.computePrecision((p=s==null?void 0:s.allWx)==null?void 0:p.time,2,"0.0")),1),e.createElementVNode("td",null,e.toDisplayString(a.computePrecision((N=s==null?void 0:s.allWx)==null?void 0:N.avgSpd,2,"0.0")),1),e.createElementVNode("td",null,e.toDisplayString(a.computePrecision((M=s==null?void 0:s.allWx)==null?void 0:M.sumFoCons,3,"0.000")),1),e.createElementVNode("td",null,e.toDisplayString(a.computePrecision((C=s==null?void 0:s.allWx)==null?void 0:C.sumDgoCons,3,"0.000")),1)]),e.createElementVNode("tr",null,[t[1]||(t[1]=e.createElementVNode("td",{class:"label"},"Good Weather Period",-1)),e.createElementVNode("td",null,e.toDisplayString(a.computePrecision((A=s==null?void 0:s.goodWx)==null?void 0:A.distance,2,"0.0")),1),e.createElementVNode("td",null,e.toDisplayString(a.computePrecision((V=s==null?void 0:s.goodWx)==null?void 0:V.time,2,"0.0")),1),e.createElementVNode("td",null,e.toDisplayString(a.computePrecision((T=s==null?void 0:s.goodWx)==null?void 0:T.avgSpd,2,"0.0")),1),e.createElementVNode("td",null,e.toDisplayString(a.computePrecision((I=s==null?void 0:s.goodWx)==null?void 0:I.sumFoCons,3,"0.000")),1),e.createElementVNode("td",null,e.toDisplayString(a.computePrecision((S=s==null?void 0:s.goodWx)==null?void 0:S.sumDgoCons,3,"0.000")),1)]),e.createElementVNode("tr",null,[t[2]||(t[2]=e.createElementVNode("td",{class:"label"},"Adverse Weather Period",-1)),e.createElementVNode("td",null,e.toDisplayString(a.computePrecision((x=s==null?void 0:s.badWx)==null?void 0:x.distance,2,"0.0")),1),e.createElementVNode("td",null,e.toDisplayString(a.computePrecision((k=s==null?void 0:s.badWx)==null?void 0:k.time,2,"0.0")),1),e.createElementVNode("td",null,e.toDisplayString(a.computePrecision((m=s==null?void 0:s.badWx)==null?void 0:m.avgSpd,2,"0.0")),1),e.createElementVNode("td",null,e.toDisplayString(a.computePrecision((U=s==null?void 0:s.badWx)==null?void 0:U.sumFoCons,3,"0.000")),1),e.createElementVNode("td",null,e.toDisplayString(a.computePrecision((O=s==null?void 0:s.badWx)==null?void 0:O.sumDgoCons,3,"0.000")),1)]),e.createElementVNode("tr",null,[t[3]||(t[3]=e.createElementVNode("td",{class:"label"},"Excluded Period",-1)),e.createElementVNode("td",null,e.toDisplayString(a.computePrecision((w=s==null?void 0:s.excluded)==null?void 0:w.sumDistance,2,"0.0")),1),e.createElementVNode("td",null,e.toDisplayString(a.computePrecision((Y=s==null?void 0:s.excluded)==null?void 0:Y.sumDuration,2,"0.0")),1),e.createElementVNode("td",null,e.toDisplayString(a.computePrecision((Q=s==null?void 0:s.excluded)==null?void 0:Q.avgSpd,2,"0.0")),1),e.createElementVNode("td",null,e.toDisplayString(a.computePrecision((h=s==null?void 0:s.excluded)==null?void 0:h.sumFoCons,3,"0.000")),1),e.createElementVNode("td",null,e.toDisplayString(a.computePrecision((R=s==null?void 0:s.excluded)==null?void 0:R.sumDgoCons,3,"0.000")),1)])],64)}),128))])])])]),e.createElementVNode("div",DA,[t[42]||(t[42]=e.createStaticVNode('<div class="legends flex-space" data-v-8f17d50b><div class="flex-start" style="flex:1.2;" data-v-8f17d50b><div class="legend good-wx" data-v-8f17d50b></div><div class="label flex-end" data-v-8f17d50b>Charter Party Defined Good Weather Days</div></div><div class="flex-start" style="flex:1.2;" data-v-8f17d50b><div class="legend adverse-wx" data-v-8f17d50b></div><div class="label" data-v-8f17d50b>Charter Party Defined Adverse Weather Days</div></div><div class="flex-start" style="flex:1;" data-v-8f17d50b><div class="legend excluded" data-v-8f17d50b></div><div class="label" data-v-8f17d50b>Excluded Periods From Analysis</div></div><div class="report flex-space" style="flex:1.6;" data-v-8f17d50b><div data-v-8f17d50b><label data-v-8f17d50b>B</label><span data-v-8f17d50b>BOSP</span></div><div data-v-8f17d50b><label data-v-8f17d50b>N</label><span data-v-8f17d50b>NOON</span></div><div data-v-8f17d50b><label data-v-8f17d50b>E</label><span data-v-8f17d50b>EOSP</span></div><div data-v-8f17d50b><label data-v-8f17d50b>*</label><span data-v-8f17d50b>Ship Reported Position</span></div></div></div><div style="text-align:right;padding-bottom:5px;font-size:14px;font-weight:400;color:var(--idm-black-7);" data-v-8f17d50b> The 'ORM Analysis Weather' row data represents the weather conditions within the 3-hour period prior to the indicated time point. </div>',2)),e.createElementVNode("div",MA,[e.createElementVNode("table",mA,[e.createElementVNode("thead",null,[e.createElementVNode("tr",null,[t[6]||(t[6]=e.createElementVNode("th",{class:"label",rowspan:"3"},"Seg",-1)),t[7]||(t[7]=e.createElementVNode("th",{class:"label",rowspan:"3"},"Date",-1)),t[8]||(t[8]=e.createElementVNode("th",{class:"label",colspan:"2"},"Position",-1)),t[9]||(t[9]=e.createElementVNode("th",{class:"label",colspan:"3"},"CP",-1)),e.createElementVNode("th",{class:"label",colspan:a.computeWxColspan},"ORM Weather Analysis",8,gA),l.showFactor?(e.openBlock(),e.createElementBlock("th",EA,"Factor")):e.createCommentVNode("",!0),t[10]||(t[10]=e.createElementVNode("th",{class:"label",colspan:"12"},"Vessel Reported",-1)),t[11]||(t[11]=e.createElementVNode("th",{class:"label",rowspan:"3"},"In ECA",-1))]),e.createElementVNode("tr",null,[t[16]||(t[16]=e.createElementVNode("th",{class:"label",rowspan:"2"},"Lat",-1)),t[17]||(t[17]=e.createElementVNode("th",{class:"label",rowspan:"2"},"Lon",-1)),t[18]||(t[18]=e.createElementVNode("th",{class:"label",rowspan:"2"},[e.createTextVNode("Spd "),e.createElementVNode("br"),e.createTextVNode("(kts)")],-1)),t[19]||(t[19]=e.createElementVNode("th",{class:"label",colspan:"2"},"Daily Cons.(mt)",-1)),i.showAisDistance?(e.openBlock(),e.createElementBlock("th",yA,t[12]||(t[12]=[e.createTextVNode("Spd"),e.createElementVNode("br",null,null,-1),e.createTextVNode("(kts)")]))):e.createCommentVNode("",!0),i.showAisDistance?(e.openBlock(),e.createElementBlock("th",IA,t[13]||(t[13]=[e.createTextVNode("Dis"),e.createElementVNode("br",null,null,-1),e.createTextVNode("(nm)")]))):e.createCommentVNode("",!0),t[20]||(t[20]=e.createElementVNode("th",{class:"label",colspan:"2"},"Wind",-1)),i.showWave?(e.openBlock(),e.createElementBlock("th",pA,t[14]||(t[14]=[e.createTextVNode("Sea HT"),e.createElementVNode("br",null,null,-1),e.createTextVNode("(m)")]))):e.createCommentVNode("",!0),i.showSwell?(e.openBlock(),e.createElementBlock("th",AA,"Swell")):e.createCommentVNode("",!0),i.showSig?(e.openBlock(),e.createElementBlock("th",VA,t[15]||(t[15]=[e.createTextVNode("Sig Wave"),e.createElementVNode("br",null,null,-1),e.createTextVNode("(m)")]))):e.createCommentVNode("",!0),i.showCF?(e.openBlock(),e.createElementBlock("th",TA,"Current")):e.createCommentVNode("",!0),t[21]||(t[21]=e.createElementVNode("th",{class:"label",rowspan:"2"},[e.createTextVNode("Avg. CF"),e.createElementVNode("br"),e.createTextVNode("(kts)")],-1)),l.showFactor?(e.openBlock(),e.createElementBlock("th",xA,"cFactor")):e.createCommentVNode("",!0),l.showFactor?(e.openBlock(),e.createElementBlock("th",zA,"wxFactor")):e.createCommentVNode("",!0),i.showWaterTemp?(e.openBlock(),e.createElementBlock("th",CA,"Water Temp.")):e.createCommentVNode("",!0),t[22]||(t[22]=e.createElementVNode("th",{class:"label",rowspan:"2"},[e.createTextVNode("Spd"),e.createElementVNode("br"),e.createTextVNode("(kts)")],-1)),t[23]||(t[23]=e.createElementVNode("th",{class:"label",rowspan:"2"},[e.createTextVNode("Time"),e.createElementVNode("br"),e.createTextVNode("(h)")],-1)),t[24]||(t[24]=e.createElementVNode("th",{class:"label",rowspan:"2"},[e.createTextVNode("Dis"),e.createElementVNode("br"),e.createTextVNode("(nm)")],-1)),t[25]||(t[25]=e.createElementVNode("th",{class:"label",colspan:"2"},"Engine",-1)),t[26]||(t[26]=e.createElementVNode("th",{class:"label",colspan:"2"},"BROB(mt)",-1)),t[27]||(t[27]=e.createElementVNode("th",{class:"label",colspan:"2"},"DailyCons(mt)",-1)),t[28]||(t[28]=e.createElementVNode("th",{class:"label",colspan:"2"},"Wind",-1)),t[29]||(t[29]=e.createElementVNode("th",{class:"label",rowspan:"2"},[e.createTextVNode("Sea HT"),e.createElementVNode("br"),e.createTextVNode("(m)")],-1))]),e.createElementVNode("tr",null,[t[30]||(t[30]=e.createElementVNode("th",{class:"label"},"FO",-1)),t[31]||(t[31]=e.createElementVNode("th",{class:"label"},"DO/GO",-1)),t[32]||(t[32]=e.createElementVNode("th",{class:"label"},"Dir",-1)),t[33]||(t[33]=e.createElementVNode("th",{class:"label"},"BF",-1)),i.showSwell?(e.openBlock(),e.createElementBlock("th",SA,"Dir")):e.createCommentVNode("",!0),i.showSwell?(e.openBlock(),e.createElementBlock("th",kA,"HT(m)")):e.createCommentVNode("",!0),i.showCF?(e.openBlock(),e.createElementBlock("th",fA,"Dir")):e.createCommentVNode("",!0),i.showCF?(e.openBlock(),e.createElementBlock("th",jA,"CF(kts)")):e.createCommentVNode("",!0),t[34]||(t[34]=e.createElementVNode("th",{class:"label"},"RPM",-1)),t[35]||(t[35]=e.createElementVNode("th",{class:"label"},"Slip%",-1)),t[36]||(t[36]=e.createElementVNode("th",{class:"label"},"FO",-1)),t[37]||(t[37]=e.createElementVNode("th",{class:"label"},"DO/GO",-1)),t[38]||(t[38]=e.createElementVNode("th",{class:"label"},"FO",-1)),t[39]||(t[39]=e.createElementVNode("th",{class:"label"},"DO/GO",-1)),t[40]||(t[40]=e.createElementVNode("th",{class:"label"},"Dir",-1)),t[41]||(t[41]=e.createElementVNode("th",{class:"label"},"BF",-1))])]),e.createElementVNode("tbody",UA,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(l.inventory,(s,c)=>{var y,p,N,M,C,A,V,T,I,S,x,k,m,U,O,w,Y,Q,h,R,G,W,L,Z;return e.openBlock(),e.createElementBlock("tr",{key:c},[e.createElementVNode("td",{class:e.normalizeClass(s.segLength?"no-border-bottom":"no-border")},e.toDisplayString(s.segLength?s.seg:""),3),e.createElementVNode("td",{class:e.normalizeClass(s.excluded?"excluded":s.goodWx?"good-wx":"")},e.toDisplayString(s.time),3),["B","E"].includes(s.abbrev)&&((y=s.noon)!=null&&y.port)?(e.openBlock(),e.createElementBlock("td",{key:0,class:e.normalizeClass(s.excluded?"excluded":s.goodWx?"good-wx":""),colspan:"2",style:{"max-width":"150px","text-wrap":"wrap"}},e.toDisplayString((p=s.noon)==null?void 0:p.port),3)):(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[e.createElementVNode("td",{class:e.normalizeClass(s.excluded?"excluded":s.goodWx?"good-wx":"")},e.toDisplayString(s._lat.pretty),3),e.createElementVNode("td",{class:e.normalizeClass(s.excluded?"excluded":s.goodWx?"good-wx":"")},e.toDisplayString(s._lng.pretty),3)],64)),e.createElementVNode("td",{class:e.normalizeClass(a.computeTDClass(s))},e.toDisplayString(!["A","B"].includes(s.abbrev)&&c?s.cp.speed:""),3),e.createElementVNode("td",{class:e.normalizeClass(a.computeTDClass(s))},e.toDisplayString(!["A","B"].includes(s.abbrev)&&c?s.cp.fo:""),3),e.createElementVNode("td",{class:e.normalizeClass(a.computeTDClass(s))},e.toDisplayString(!["A","B"].includes(s.abbrev)&&c?s.cp.dgo:""),3),i.showAisDistance?(e.openBlock(),e.createElementBlock("td",{key:2,class:e.normalizeClass(a.computeTDClass(s))},e.toDisplayString(!["A","B"].includes(s.abbrev)&&c?s.avgSpdCalc:""),3)):e.createCommentVNode("",!0),i.showAisDistance?(e.openBlock(),e.createElementBlock("td",{key:3,class:e.normalizeClass(a.computeTDClass(s))},e.toDisplayString(!["A","B"].includes(s.abbrev)&&c?s.distanceCalc:""),3)):e.createCommentVNode("",!0),e.createElementVNode("td",{class:e.normalizeClass(s.excluded?"excluded":s.goodWx?"good-wx":"")},e.toDisplayString(s.type==="BOSP"?"-":((M=(N=s.meteo)==null?void 0:N.wind)==null?void 0:M.direction)??"-"),3),e.createElementVNode("td",{class:e.normalizeClass(s.excluded?"excluded":s.goodWx?"good-wx":"")},e.toDisplayString(s.type==="BOSP"?"-":((A=(C=s.meteo)==null?void 0:C.wind)==null?void 0:A.scale)??"-"),3),i.showWave?(e.openBlock(),e.createElementBlock("td",{key:4,class:e.normalizeClass(s.excluded?"excluded":s.goodWx?"good-wx":"")},e.toDisplayString(s.type==="BOSP"?"-":((I=(T=(V=s.meteo)==null?void 0:V.wave)==null?void 0:T.wd)==null?void 0:I.height)??"-"),3)):e.createCommentVNode("",!0),i.showSwell?(e.openBlock(),e.createElementBlock("td",{key:5,class:e.normalizeClass(s.excluded?"excluded":s.goodWx?"good-wx":"")},e.toDisplayString(s.type==="BOSP"?"-":((k=(x=(S=s.meteo)==null?void 0:S.wave)==null?void 0:x.swell)==null?void 0:k.direction)??"-"),3)):e.createCommentVNode("",!0),i.showSwell?(e.openBlock(),e.createElementBlock("td",{key:6,class:e.normalizeClass(s.excluded?"excluded":s.goodWx?"good-wx":"")},e.toDisplayString(s.type==="BOSP"?"-":((O=(U=(m=s.meteo)==null?void 0:m.wave)==null?void 0:U.swell)==null?void 0:O.height)??"-"),3)):e.createCommentVNode("",!0),i.showSig?(e.openBlock(),e.createElementBlock("td",{key:7,class:e.normalizeClass(s.excluded?"excluded":s.goodWx?"good-wx":"")},e.toDisplayString(s.type==="BOSP"?"-":((Q=(Y=(w=s.meteo)==null?void 0:w.wave)==null?void 0:Y.sig)==null?void 0:Q.height)??"-"),3)):e.createCommentVNode("",!0),i.showCF?(e.openBlock(),e.createElementBlock("td",{key:8,class:e.normalizeClass(s.excluded?"excluded":s.goodWx?"good-wx":"")},e.toDisplayString(s.type==="BOSP"?"-":((R=(h=s.meteo)==null?void 0:h.current)==null?void 0:R.direction)??"-"),3)):e.createCommentVNode("",!0),i.showCF?(e.openBlock(),e.createElementBlock("td",{key:9,class:e.normalizeClass(s.excluded?"excluded":s.goodWx?"good-wx":"")},e.toDisplayString(s.type==="BOSP"?"-":((G=s.meteo)==null?void 0:G.cFactor)??"-"),3)):e.createCommentVNode("",!0),e.createElementVNode("td",{class:e.normalizeClass(a.computeTDClass(s))},e.toDisplayString(!["A","B"].includes(s.abbrev)&&c?s.dailyAvgCf:""),3),l.showFactor?(e.openBlock(),e.createElementBlock("td",{key:10,class:e.normalizeClass(s.excluded?"excluded":s.goodWx?"good-wx":"")},e.toDisplayString(((W=s.meteo)==null?void 0:W.cFactor)??"--"),3)):e.createCommentVNode("",!0),l.showFactor?(e.openBlock(),e.createElementBlock("td",{key:11,class:e.normalizeClass(s.excluded?"excluded":s.goodWx?"good-wx":"")},e.toDisplayString(((L=s.meteo)==null?void 0:L.wxFactor)??"--"),3)):e.createCommentVNode("",!0),i.showWaterTemp?(e.openBlock(),e.createElementBlock("td",{key:12,class:e.normalizeClass(s.excluded?"excluded":s.goodWx?"good-wx":"")},e.toDisplayString(((Z=s.meteo)==null?void 0:Z.waterTemp)??"--"),3)):e.createCommentVNode("",!0),e.createElementVNode("td",{class:e.normalizeClass(a.computeTDClass(s))},e.toDisplayString(!["A","B"].includes(s.abbrev)&&c?s.noon.avgSpd||"0.00":""),3),e.createElementVNode("td",{class:e.normalizeClass(a.computeTDClass(s))},e.toDisplayString(!["A","B"].includes(s.abbrev)&&c?s.noon.timeSlr||"0.0":""),3),e.createElementVNode("td",{class:e.normalizeClass(a.computeTDClass(s))},e.toDisplayString(!["A","B"].includes(s.abbrev)&&c?s.noon.distanceSlr||"0.0":""),3),e.createElementVNode("td",{class:e.normalizeClass(a.computeTDClass(s))},e.toDisplayString(!["A","B"].includes(s.abbrev)&&c?s.noon.rpm||"0":""),3),e.createElementVNode("td",{class:e.normalizeClass(a.computeTDClass(s))},e.toDisplayString(!["A","B"].includes(s.abbrev)&&c?s.noon.slip||"0":""),3),e.createElementVNode("td",{class:e.normalizeClass(a.computeTDClass(s))},e.toDisplayString(["A"].includes(s.abbrev)?"":s.noon.foBrob||"0.00"),3),e.createElementVNode("td",{class:e.normalizeClass(a.computeTDClass(s))},e.toDisplayString(["A"].includes(s.abbrev)?"":s.noon.dgoBrob||"0.00"),3),e.createElementVNode("td",{class:e.normalizeClass(a.computeTDClass(s))},e.toDisplayString(!["A","B"].includes(s.abbrev)&&c?s.noon.foCons||"0.00":""),3),e.createElementVNode("td",{class:e.normalizeClass(a.computeTDClass(s))},e.toDisplayString(!["A","B"].includes(s.abbrev)&&c?s.noon.dgoCons||"0.00":""),3),e.createElementVNode("td",{class:e.normalizeClass(a.computeTDClass(s))},e.toDisplayString(!["A","B"].includes(s.abbrev)&&c?s.noon.windDir||"--":""),3),e.createElementVNode("td",{class:e.normalizeClass(a.computeTDClass(s))},e.toDisplayString(!["A","B"].includes(s.abbrev)&&c?s.noon.windBF||"--":""),3),e.createElementVNode("td",{class:e.normalizeClass(a.computeTDClass(s))},e.toDisplayString(!["A","B"].includes(s.abbrev)&&c?s.noon.seasHt||"--":""),3),e.createElementVNode("td",{class:e.normalizeClass(a.computeTDClass(s))},e.toDisplayString(!["A","B"].includes(s.abbrev)&&c?s.inEca===!1?"":"Inside ECA":""),3)])}),128))])])])])])}const OA=Fe(sA,[["render",bA],["__scopeId","data-v-8f17d50b"]]),_w="",wA={name:"OrmVoyageChart",components:{Lng:On,Lat:wn},props:{report:{type:Object,default:()=>({})},inventory:{type:Array,default:()=>[]}},data(){return{spdFoConsChart:void 0,spdDgoConsChart:void 0,wxChart:void 0,currChart:void 0}},computed:{computeUTCTime(){return function(o,t="MMM-DD/HHmm[Z]"){return`${P(o).utc().format(t)}`}}},watch:{inventory:{handler(o,t){o!=null&&o.length&&this.$nextTick(()=>{this.initChart()})},immediate:!0}},methods:{initChart(){this.spdFoConsChart||(this.spdFoConsChart=e.markRaw(Rn.init(this.$refs.spdFoConsChart))),this.spdDgoConsChart||(this.spdDgoConsChart=e.markRaw(Rn.init(this.$refs.spdDgoConsChart))),this.currChart||(this.currChart=e.markRaw(Rn.init(this.$refs.currChart))),this.renderSpdConsChart(),this.renderWxCurrChart()},renderSpdConsChart(){var N,M,C,A,V,T;let o=[];const t=[],l=[],d={dateTime:0,noonAvgSpd:1,noonFoCons:2,noonDgoCons:3,anlyAvgSpd:4,cpSpeed:5,goodWx:6,dgo:7,fo:8,excluded:9};let i=0,a=0;const D=this.inventory.filter(I=>I.noon)||[],s=[];this.inventory.forEach((I,S)=>{var x,k;S===0&&s.push(I.utc),I.type==="EOSP"&&((x=this.inventory[S+1])==null?void 0:x.type)==="BOSP"&&(s.push(I.utc),s.push((k=this.inventory[S+1])==null?void 0:k.utc)),S===this.inventory.length-1&&s.push(I.utc)}),s.forEach((I,S)=>{if(S%2===0){const x=P(s[S+1]).diff(P(s[S]),"minute",!0);for(let k=0;k<=x+1;k++)t.push(this.computeUTCTime(P(s[S]).clone().utc().add(k,"m").format(),"MM-DD/HHmm[Z]"))}}),D.forEach((I,S)=>{var k,m,U,O,w,Y,Q,h,R,G,W,L,Z,J;const x=this.computeUTCTime(I.utc,"MM-DD/HHmm[Z]");if(I.noon&&!o.some(b=>b.slice(0,5)===I.utc.slice(5,10))&&o.push(x),S===D.length-1&&(o=o.filter(b=>b.slice(0,5)!==I.utc.slice(5,10)),o.push(x)),i=Math.ceil(((k=I.noon)==null?void 0:k.foCons)>i?(m=I.noon)==null?void 0:m.foCons:i),i=Math.ceil(((U=I.cp)==null?void 0:U.fo)>i?(O=I.cp)==null?void 0:O.fo:i),a=Math.ceil(((w=I.noon)==null?void 0:w.dgoCons)>a?(Y=I.noon)==null?void 0:Y.dgoCons:a),a=Math.ceil(((Q=I.cp)==null?void 0:Q.dgo)>a?(h=I.cp)==null?void 0:h.dgo:a),l.push([x,(R=I.noon)==null?void 0:R.avgSpd,(G=I.noon)==null?void 0:G.foCons,(W=I.noon)==null?void 0:W.dgoCons,I.avgSpdCalc,I.cp.speed,I.goodWx&&!I.excluded?100:0,I.cp.dgo,I.cp.fo,I.excluded?100:0]),S<D.length-1){const b=D[S+1];l.push([x,(L=b.noon)==null?void 0:L.avgSpd,(Z=b.noon)==null?void 0:Z.foCons,(J=b.noon)==null?void 0:J.dgoCons,b.avgSpdCalc,b.cp.speed,b.goodWx&&!b.excluded?100:0,b.cp.dgo,b.cp.fo,b.excluded?100:0])}});const c=Math.ceil(o.length/10);o=o.filter((I,S)=>S===0||S===o.length-1||S%c===0);const y={animation:!1,title:{text:"Ship Speed and FO Consumption",textStyle:{color:"#000000B3",fontWeight:"500"},left:100,top:"5%"},tooltip:{trigger:"axis"},legend:{show:!0,top:"8%",right:140,itemWidth:45,data:["CP SPD","SOG","CP FO Cons","FO Cons",{name:"Good Weather Days",icon:"rect",itemStyle:{color:"rgba(13,221,159,0.1)"}},{name:"Excluded Days",icon:"rect",itemStyle:{color:"rgba(0,0,0,0.1)"}}]},grid:{bottom:40,containLabel:!1},xAxis:[{type:"category",data:t,boundaryGap:!0,axisTick:{alignWithLabel:!0,customValues:o},axisLabel:{interval:"auto",customValues:o}}],yAxis:[{name:"SOG (kts)",nameLocation:"middle",position:"left",nameGap:35,offset:10,max:20,min:0,alignTicks:!0,axisLine:{lineStyle:{color:"#F44336"}}},{name:"FO Cons (mt)",nameLocation:"middle",position:"right",nameGap:35,offset:10,max:i+1,min:0,alignTicks:!0,axisLine:{lineStyle:{color:"#2a57b7"}},splitLine:{show:!1}}],series:[{name:"CP SPD",type:"line",yAxisIndex:0,showSymbol:!1,encode:{x:d.dateTime,y:d.cpSpeed},lineStyle:{color:"#F44336",type:"dashed"},itemStyle:{color:"#F44336"},data:l,z:2},{name:"CP FO Cons",type:"line",yAxisIndex:1,showSymbol:!1,itemStyle:{color:"#2a57b7"},lineStyle:{color:"#2a57b7",type:"dashed"},encode:{x:d.dateTime,y:d.fo},data:l,z:3},{name:"SOG",type:"line",yAxisIndex:0,showSymbol:!1,encode:{x:d.dateTime,y:(M=(N=this.report)==null?void 0:N.weather)!=null&&M.believeRptDistance?d.noonAvgSpd:d.anlyAvgSpd},lineStyle:{color:"#F44336",type:"solid"},itemStyle:{color:"#F44336"},data:l,z:4},{name:"FO Cons",yAxisIndex:1,type:"line",showSymbol:!1,itemStyle:{color:"#2a57b7"},encode:{x:d.dateTime,y:d.noonFoCons},data:l,z:5},{name:"Good Weather Days",type:"line",encode:{x:d.dateTime,y:d.goodWx},itemStyle:{color:"rgba(209,249,190,0)"},areaStyle:{color:"rgba(13,221,159,0.1)"},data:l,z:1},{name:"Excluded Days",type:"line",encode:{x:d.dateTime,y:d.excluded},itemStyle:{color:"rgba(209,249,190,0)"},areaStyle:{color:"rgba(0,0,0,0.1)"},data:l,z:1}]};(C=this.spdFoConsChart)==null||C.setOption(y);const p={animation:!1,title:{text:"Ship Speed and DGO Consumption",textStyle:{color:"#000000B3",fontWeight:"500"},top:"5%",left:100},tooltip:{trigger:"axis"},legend:{show:!0,top:"8%",right:140,itemWidth:45,data:["CP SPD","SOG","CP DGO Cons","DGO Cons",{name:"Good Weather Days",icon:"rect",itemStyle:{color:"rgba(13,221,159,0.1)"}},{name:"Excluded Days",icon:"rect",itemStyle:{color:"rgba(0,0,0,0.1)"}}]},grid:{bottom:40,containLabel:!1},xAxis:[{type:"category",data:t,boundaryGap:!0,axisTick:{alignWithLabel:!0,customValues:o},axisLabel:{interval:"auto",customValues:o}}],yAxis:[{name:"SOG (kts)",nameLocation:"middle",position:"left",nameGap:35,offset:10,max:20,min:0,alignTicks:!0,axisLine:{lineStyle:{color:"#F44336"}}},{name:"DGO Cons (mt)",nameLocation:"middle",position:"right",nameGap:35,max:a+.2,min:0,alignTicks:!0,splitLine:{show:!1},axisLine:{lineStyle:{color:"#7191d1"}}}],series:[{name:"CP SPD",type:"line",yAxisIndex:0,showSymbol:!1,encode:{x:d.dateTime,y:d.cpSpeed},lineStyle:{color:"#F44336",type:"dashed"},itemStyle:{color:"#F44336"},data:l,z:2},{name:"CP DGO Cons",type:"line",yAxisIndex:1,showSymbol:!1,itemStyle:{color:"#7191d1"},lineStyle:{color:"#7191d1",type:"dashed"},encode:{x:d.dateTime,y:d.dgo},data:l,z:3},{name:"SOG",type:"line",yAxisIndex:0,showSymbol:!1,encode:{x:d.dateTime,y:(V=(A=this.report)==null?void 0:A.weather)!=null&&V.believeRptDistance?d.noonAvgSpd:d.anlyAvgSpd},lineStyle:{color:"#F44336",type:"solid"},itemStyle:{color:"#F44336"},data:l,z:4},{name:"DGO Cons",type:"line",showSymbol:!1,yAxisIndex:1,itemStyle:{color:"#7191d1"},encode:{x:d.dateTime,y:d.noonDgoCons},data:l,z:5},{name:"Good Weather Days",type:"line",encode:{x:d.dateTime,y:d.goodWx},itemStyle:{color:"rgba(209,249,190,0)"},areaStyle:{color:"rgba(13,221,159,0.1)"},data:l,z:1},{name:"Excluded Days",type:"line",encode:{x:d.dateTime,y:d.excluded},itemStyle:{color:"rgba(209,249,190,0)"},areaStyle:{color:"rgba(0,0,0,0.1)"},data:l,z:1}]};(T=this.spdDgoConsChart)==null||T.setOption(p)},renderWxCurrChart(){var C;let o=[];const t=[],l=[],d={dateTime:0,noonWdBF:1,anlyWdBF:2,anlyWdDir:3,noonSeasHt:4,anlySigWvHt:5,anlyCurFct:6,goodWx:7,excluded:8};let i=4;const a=this.inventory||[],D=[];a.forEach((A,V)=>{var T,I;V===0&&D.push(A.utc),A.type==="EOSP"&&((T=a[V+1])==null?void 0:T.type)==="BOSP"&&(D.push(A.utc),D.push((I=a[V+1])==null?void 0:I.utc)),V===a.length-1&&D.push(A.utc)}),D.forEach((A,V)=>{if(V%2===0){const T=P(D[V+1]).diff(P(D[V]),"minute",!0);for(let I=0;I<=T+1;I++)t.push(this.computeUTCTime(P(D[V]).clone().utc().add(I,"m").format(),"MM-DD/HHmm[Z]"))}}),a.forEach((A,V)=>{var I,S,x,k,m,U,O,w,Y,Q,h,R,G,W,L,Z,J,b,te,le,oe,ne,ae,n,H,q,$,v,ie,se;const T=this.computeUTCTime(A.utc,"MM-DD/HHmm[Z]");if(A.noon&&!o.some(_=>_.slice(0,5)===A.utc.slice(5,10))&&o.push(T),V===a.length-1&&(o=o.filter(_=>_.slice(0,5)!==A.utc.slice(5,10)),o.push(T)),i=Math.ceil(((x=(S=(I=A.meteo)==null?void 0:I.wave)==null?void 0:S.sig)==null?void 0:x.height)>i?(U=(m=(k=A.meteo)==null?void 0:k.wave)==null?void 0:m.sig)==null?void 0:U.height:i),l.push([T,((O=A.noon)==null?void 0:O.windBF)||((Y=(w=A.meteo)==null?void 0:w.wind)==null?void 0:Y.scale),(h=(Q=A.meteo)==null?void 0:Q.wind)==null?void 0:h.scale,(G=(R=A.meteo)==null?void 0:R.wind)==null?void 0:G.direction,(W=A.noon)==null?void 0:W.seasHt,(J=(Z=(L=A.meteo)==null?void 0:L.wave)==null?void 0:Z.sig)==null?void 0:J.height,A.dailyAvgCf??((b=l[l.length-1])==null?void 0:b[d.anlyCurFct]),A.goodWx&&!A.excluded?20:0,A.excluded?20:0]),V<a.length-1){const _=a[V+1];l.push([T,((te=A.noon)==null?void 0:te.windBF)||((oe=(le=A.meteo)==null?void 0:le.wind)==null?void 0:oe.scale),(ae=(ne=_.meteo)==null?void 0:ne.wind)==null?void 0:ae.scale,(H=(n=_.meteo)==null?void 0:n.wind)==null?void 0:H.direction,(q=_.noon)==null?void 0:q.seasHt,(ie=(v=($=A.meteo)==null?void 0:$.wave)==null?void 0:v.sig)==null?void 0:ie.height,_.dailyAvgCf??((se=l[l.length-1])==null?void 0:se[d.anlyCurFct]),_.goodWx&&!_.excluded?20:0,_.excluded?20:0])}});const s=Math.ceil(o.length/10);o=o.filter((A,V)=>V===0||V===o.length-1||V%s===0);let c=-2.5,y=2.5,p=1,N=5;c<-2.5||y>2.5?(c=Math.floor(this.findMinValue(l,6)/5)*5,y=Math.ceil(this.findMaxValue(l,6)/5)*5,p=Math.ceil(Math.max([Math.abs(c),Math.abs(y)])/5),N=Math.ceil(Math.abs(c)/p)+Math.ceil(Math.abs(y)/p)):(p=.5,c=Math.floor(this.findMinValue(l,6)/.5)*p,y=2.5,N=Math.abs(c)/p+5);const M={animation:!1,title:{text:"Weather and Current Factor",top:"5%",textStyle:{color:"#000000B3",fontWeight:"500"},left:100},tooltip:{trigger:"axis"},legend:{show:!0,top:"8%",right:140,itemWidth:45,data:["Current Factor","Wind BF","Sig.wave Height",{name:"Good Weather Days",icon:"rect",itemStyle:{color:"rgba(13,221,159,0.1)"}},{name:"Excluded Days",icon:"rect",itemStyle:{color:"rgba(0,0,0,0.1)"}}]},grid:{bottom:40,containLabel:!1},xAxis:{type:"category",data:t,boundaryGap:!1,position:"zero",axisTick:{alignWithLabel:!0,customValues:o},axisLabel:{interval:"auto",customValues:o}},yAxis:[{name:"Current Factor (kts)",show:!0,nameLocation:"middle",position:"left",offset:10,nameGap:25,min:c,max:y,interval:p,splitNumber:N,axisLine:{lineStyle:{color:"#a362f9"}},splitLine:{show:!0}},{name:"Wind BF",nameLocation:"middle",position:"left",offset:50,nameGap:25,min:-1*(N-5)*Math.ceil(this.findMaxValue(l,1)/5),max:Math.ceil(this.findMaxValue(l,1)/5)*5,interval:Math.ceil(this.findMaxValue(l,1)/5),splitNumber:N,show:!0,axisLine:{lineStyle:{color:"#60c43e"}},splitLine:{show:!0},axisLabel:{formatter:(A,V)=>{if(A>=0)return A}}},{name:"Sig.wave Height (m)",nameLocation:"middle",position:"right",offset:10,nameGap:25,show:!0,startValue:0,min:-1*(N-5)*Math.ceil(this.findMaxValue(l,5)/5),max:Math.ceil(this.findMaxValue(l,5)/5)*5,interval:Math.ceil(this.findMaxValue(l,5)/5),splitNumber:N,axisLine:{lineStyle:{color:"#21baa3"}},splitLine:{show:!0},axisLabel:{formatter:(A,V)=>{if(A>=0)return A}}},{name:"Good Weather Days",show:!1}],series:[{name:"Current Factor",type:"line",yAxisIndex:0,showSymbol:!1,encode:{x:d.dateTime,y:d.anlyCurFct},itemStyle:{color:"#a362f9"},data:l,z:3},{name:"Wind BF",type:"line",yAxisIndex:1,showSymbol:!1,encode:{x:d.dateTime,y:d.anlyWdBF},itemStyle:{color:"#15ab02"},data:l,z:3},{name:"Sig.wave Height",type:"line",yAxisIndex:2,showSymbol:!1,encode:{x:d.dateTime,y:d.anlySigWvHt},itemStyle:{color:"#017c8a"},data:l,z:3},{name:"Good Weather Days",type:"line",yAxisIndex:3,encode:{x:d.dateTime,y:d.goodWx},itemStyle:{color:"rgba(209,249,190,0)"},areaStyle:{color:"rgba(13,221,159,0.1)"},data:l,z:1},{name:"Excluded Days",type:"line",yAxisIndex:3,encode:{x:d.dateTime,y:d.excluded},itemStyle:{color:"rgba(209,249,190,0)"},areaStyle:{color:"rgba(0,0,0,0.1)"},data:l,z:1}]};(C=this.currChart)==null||C.setOption(M)},findMaxValue(o,t){let l=-1/0;for(let d=0;d<o.length;d++){const i=o[d];if(i.length>=t+1){const a=i[t];typeof a=="number"&&!isNaN(a)&&Number(a)>l&&(l=a)}}return l},findMinValue(o,t){let l=1/0;for(let d=0;d<o.length;d++){const i=o[d];if(i.length>=t+1){const a=i[t];a<l&&(l=a)}}return l}}},YA={class:"report-summary"},QA={class:"section chart-section"},hA={class:"chart-block"},BA={ref:"spdFoConsChart",class:"chart"},RA={ref:"spdDgoConsChart",class:"chart"},FA={ref:"currChart",class:"chart"},PA={class:"section map-section"},GA={class:"map-block"},WA={class:"flex-space"},LA={class:"voyage-block",style:{height:"197px"}},ZA={class:"flex-space label-block",style:{width:"100%"}},HA={style:{"text-transform":"uppercase"}},JA={class:"flex-space label-block",style:{width:"100%"}},_A={class:"flex-end",style:{flex:"1","text-transform":"uppercase"}},XA={class:"flex-end",style:{width:"180px","text-transform":"uppercase"}},KA={class:"flex-space label-block",style:{width:"100%"}},uA={class:"flex-end",style:{flex:"1","text-transform":"uppercase"}},qA={class:"flex-space label-block",style:{width:"100%"}},$A={key:0,class:"flex-end",style:{flex:"1"}},vA={key:1,class:"flex-end",style:{flex:"1"}},eV={class:"flex-end",style:{width:"160px"}},tV={class:"flex-space label-block",style:{width:"100%"}},lV={key:0,class:"flex-end",style:{flex:"1"}},oV={key:1,class:"flex-end",style:{flex:"1"}},nV={class:"flex-end",style:{width:"160px"}},aV={class:"flex-space label-block",style:{width:"100%"}},iV={class:"flex-end",style:{flex:"1","text-transform":"uppercase"}},sV=["src"];function dV(o,t,l,d,i,a){var c,y,p,N,M,C,A,V,T,I,S,x,k,m,U,O,w,Y,Q,h,R,G,W,L,Z,J,b;const D=e.resolveComponent("Lat"),s=e.resolveComponent("Lng");return e.openBlock(),e.createElementBlock("div",YA,[e.createElementVNode("div",QA,[t[0]||(t[0]=e.createElementVNode("div",{class:"header-block flex-center"},[e.createElementVNode("i",{class:"iconfont"},""),e.createElementVNode("div",{class:"title"},"Speed and Consumption with Current Analysis Graph")],-1)),e.createElementVNode("div",hA,[e.createElementVNode("div",BA,null,512),e.createElementVNode("div",RA,null,512),e.createElementVNode("div",FA,null,512)])]),e.createElementVNode("div",PA,[t[10]||(t[10]=e.createElementVNode("div",{class:"header-block flex-center"},[e.createElementVNode("i",{class:"iconfont"},""),e.createElementVNode("div",{class:"title"},"Voyage Map")],-1)),e.createElementVNode("div",GA,[e.createElementVNode("div",WA,[e.createElementVNode("div",LA,[e.createElementVNode("div",ZA,[t[1]||(t[1]=e.createElementVNode("label",{class:"flex-end",style:{width:"140px"}},"Prepare for",-1)),e.createElementVNode("span",HA,e.toDisplayString(l.report.preparedFor),1)]),e.createElementVNode("div",JA,[t[2]||(t[2]=e.createElementVNode("label",{class:"flex-end",style:{width:"140px"}},"Vessel",-1)),e.createElementVNode("span",_A,e.toDisplayString((y=(c=l.report)==null?void 0:c.vessel)==null?void 0:y.name),1),e.createElementVNode("span",XA,"("+e.toDisplayString((N=(p=l.report)==null?void 0:p.vessel)==null?void 0:N.type)+")",1)]),e.createElementVNode("div",KA,[t[3]||(t[3]=e.createElementVNode("label",{class:"flex-end",style:{width:"140px"}},"Voyage No",-1)),e.createElementVNode("span",uA,e.toDisplayString((C=(M=l.report)==null?void 0:M.voyage)==null?void 0:C.number),1)]),e.createElementVNode("div",qA,[t[5]||(t[5]=e.createElementVNode("label",{class:"flex-end",style:{width:"140px"}},"Departure Port",-1)),(V=(A=l.report)==null?void 0:A.departure)!=null&&V.portName?(e.openBlock(),e.createElementBlock("span",$A,e.toDisplayString((I=(T=l.report)==null?void 0:T.departure)==null?void 0:I.portName),1)):(e.openBlock(),e.createElementBlock("div",vA,[e.createVNode(D,{lat:(x=(S=l.report)==null?void 0:S.departure)==null?void 0:x.lat,label:"",style:{"font-size":"14px","font-weight":"400"}},null,8,["lat"]),t[4]||(t[4]=e.createElementVNode("span",{style:{"margin-right":"3px"}},",",-1)),e.createVNode(s,{lng:(k=l.report.departure)==null?void 0:k.lng,label:"",style:{"font-size":"14px","font-weight":"400"}},null,8,["lng"])])),e.createElementVNode("span",eV,e.toDisplayString(a.computeUTCTime((m=l.report.departure)==null?void 0:m.utcTime,"MMM-DD/HHmm[Z], YYYY")),1)]),e.createElementVNode("div",tV,[t[7]||(t[7]=e.createElementVNode("label",{class:"flex-end",style:{width:"140px"}},"Arrival Port",-1)),(O=(U=l.report)==null?void 0:U.arrival)!=null&&O.portName?(e.openBlock(),e.createElementBlock("span",lV,e.toDisplayString((Y=(w=l.report)==null?void 0:w.arrival)==null?void 0:Y.portName),1)):(e.openBlock(),e.createElementBlock("div",oV,[e.createVNode(D,{lat:(h=(Q=l.report)==null?void 0:Q.arrival)==null?void 0:h.lat,label:"",style:{"font-size":"14px","font-weight":"400"}},null,8,["lat"]),t[6]||(t[6]=e.createElementVNode("span",{style:{"margin-right":"3px"}},",",-1)),e.createVNode(s,{lng:(G=(R=l.report)==null?void 0:R.arrival)==null?void 0:G.lng,label:"",style:{"font-size":"14px","font-weight":"400"}},null,8,["lng"])])),e.createElementVNode("span",nV,e.toDisplayString(a.computeUTCTime((L=(W=l.report)==null?void 0:W.arrival)==null?void 0:L.utcTime,"MMM-DD/HHmm[Z], YYYY")),1)]),e.createElementVNode("div",aV,[t[8]||(t[8]=e.createElementVNode("label",{class:"flex-end",style:{width:"140px"}},"Load Condition",-1)),e.createElementVNode("span",iV,e.toDisplayString((J=(Z=l.report)==null?void 0:Z.voyage)==null?void 0:J.loadCondition),1)])]),t[9]||(t[9]=e.createStaticVNode('<div class="legend-block" data-v-45a20167><div style="position:absolute;margin-top:-8px;" data-v-45a20167>LEGEND</div><div class="flex-space" data-v-45a20167><div data-v-45a20167>0812</div><div data-v-45a20167><div data-v-45a20167>08 - Day of the month</div><div data-v-45a20167>12 - Hours of the day</div></div></div><div class="flex-space" data-v-45a20167><div data-v-45a20167><i class="iconfont" style="font-size:30px;font-weight:600;color:var(--idm-black-6);" data-v-45a20167></i></div><div data-v-45a20167><div data-v-45a20167>Wind from N (000)</div><div data-v-45a20167>Each bard = 10 kts</div><div data-v-45a20167>1/2 bard = 5 kts</div></div></div><div class="flex-space" data-v-45a20167><div data-v-45a20167>W 4</div><div data-v-45a20167>Sig. Wave from West, 4 meters</div></div><div class="flex-space" data-v-45a20167><div class="good-wx" data-v-45a20167>Date</div><div data-v-45a20167>Good weather days</div></div></div>',1))]),e.createElementVNode("img",{src:(b=l.report)==null?void 0:b.chartUrl,alt:""},null,8,sV)])]),t[11]||(t[11]=e.createStaticVNode('<div class="section method-section" data-v-45a20167><div class="header-block flex-center" data-v-45a20167><i class="iconfont" data-v-45a20167></i><div class="title" data-v-45a20167>Charter Party Compliance Analysis Methodology</div></div><div class="method-block" data-v-45a20167><div class="method-title" data-v-45a20167>1. Good Weather Method</div><div class="method-body" data-v-45a20167> Ship Performance is assessed based on the Good Weather Method as set out by The Didymi[1987] 2 Lloyd's Rep 166 and The Gas Enterprise [1993] 2 Lloyd's Rep. 352. <br data-v-45a20167> The vessel's performance in good weather conditions stipulated in the Charter Party is analyzed taking into account the average speed and the current factor during good weather periods, unless otherwise stipulated. <br data-v-45a20167> A “day” is taken to be the period of time between consecutive daily noon positions: each day is categorized as a "good weather day" or "adverse weather day" according to the good weather definition stipulated in the Charter Party. </div></div><div class="method-block" data-v-45a20167><div class="method-title" data-v-45a20167>2. Damage assessment due to ship under-performance</div><div class="method-body" data-v-45a20167> Speed and Consumption Calculation applies allowed time and allowed consumption calculated based on cp speed and consumption in good weather conditions. Complying with maritime arbitration standards, time loss and over/under-consumption is not calculated when there are no good weather days. </div></div><div class="method-block" data-v-45a20167><div class="method-title" data-v-45a20167>3. Logbooks description vs. Analysis</div><div class="method-body" data-v-45a20167> To complete the Good Weather Analysis method requests daily noon positions (including time, distance, weather, seas, bunker consumption, etc.) from the Master, which are to be inspected in evaluation reports. We will apply our analyzed distances. Weather and sea conditions in reports represent our verified weather data. </div></div><div class="method-block" data-v-45a20167><div class="method-title" data-v-45a20167>4. “About”</div><div class="method-body" data-v-45a20167> Complying with arbitration standards, the speed calculation applies an allowance when an “about” is included with the speed warranty. <br data-v-45a20167> As per the High Court decision on The Gaz Energy (2012) 852 LMLN 2 a plus 5% tolerance in over-consumption calculation and a minus 5% tolerance in under-consumption are employed respectively when an “about” is included with the consumption warranty, unless otherwise stipulated. </div></div><div class="method-block" data-v-45a20167><div class="method-title" data-v-45a20167>5. Bunker Analysis Methodology for Bunker Type Switch-Over</div><div class="method-body" data-v-45a20167> The following methodology will be applied to analyze bunker consumption when the bunker type is switched over, such as in ECA/SECA zone. <br data-v-45a20167> 5-1 DO/GO consumption in the switch over period will be compared to the charter party warranted IFO figure. <br data-v-45a20167> 5-2 Considering DO/GO consumption in the switch over period the amount of DO/GO consumed will initially be compared to the DO/GO warranted figure; the remaining DO/GO consumed in the switch over period will then be compared to the warranted IFO figure. In cases of partial steaming Days, the DO/GO consumed will be converted basis a calculation for hourly consumption. </div><div class="method-block" data-v-45a20167><div class="method-title" data-v-45a20167>6. Further reference materials</div><div class="method-body" data-v-45a20167>Please send mail to <a href="mailto:op@ormwx.com" data-v-45a20167>op@ormwx.com</a>.</div></div></div></div>',1))])}const rV=Fe(wA,[["render",dV],["__scopeId","data-v-45a20167"]]),Xw="",Kw="",cV={name:"OrmVoyageEmail",props:{report:{type:Object,default:()=>({})},voyageEmails:{type:Array,default:()=>[]}},emits:["commit"],data(){return{}},computed:{computeUTCTime(){return function(o,t="MMM-DD/HHmm[Z]"){return`${P(o).utc().format(t)}`}},computeBlankHtml(){return function(o){return!(o!=null&&o.replace(/<[^>]+>/g,""))}}},watch:{voyageEmails:{handler(o,t){o.length>0&&this.$nextTick(()=>{this.prepare()})},immediate:!0}},methods:{prepare(){document.getElementById("col1").innerHTML=null,document.getElementById("col2").innerHTML=null;const o=this.voyageEmails.sort((t,l)=>t.date<l.date);o==null||o.forEach((t,l)=>{var c,y;let d="<div>";t.to.includes("op@ormwx.com")||t.source==="VRT"?(((y=(c=t.body)==null?void 0:c.replace(/^"|"$/g,""))==null?void 0:y.split("\\n")).forEach(N=>{const M=`<p>${N}</p>`;d=d+M}),d=d+"</div>"):d=t.body;const i=document.getElementById("col1"),a=document.getElementById("col2"),D=(i==null?void 0:i.offsetHeight)||0,s=(a==null?void 0:a.offsetHeight)||0;if(D<=s){let N=`<div class="${t.to.includes("op@ormwx.com")||t.source==="VRT"?"vrpt-mail-item vrpt-item-left vrpt-inbox":"vrpt-mail-item vrpt-item-left vrpt-outbox"}">
|
|
42
42
|
<div class="vrpt-date">Date: ${t.date}</div>
|
|
43
43
|
<div class="vrpt-from">From: ${t.from}</div>
|
|
44
44
|
<div class="vrpt-to">To: ${t.to}</div>
|