@idmwx/idmui-report 2.8.7 → 2.8.9

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.
@@ -1,4 +1,4 @@
1
- (function(le,v){typeof exports=="object"&&typeof module<"u"?v(exports,require("@idmwx/idmwx-base"),require("moment"),require("vue"),require("echarts"),require("@wangeditor/editor-for-vue"),require("mapbox-gl"),require("@idmwx/idmui-gl"),require("@element-plus/icons-vue"),require("element-plus"),require("axios")):typeof define=="function"&&define.amd?define(["exports","@idmwx/idmwx-base","moment","vue","echarts","@wangeditor/editor-for-vue","mapbox-gl","@idmwx/idmui-gl","@element-plus/icons-vue","element-plus","axios"],v):(le=typeof globalThis<"u"?globalThis:le||self,v(le["idmui-report"]={},le["@idmwx/idmwx-base"],le.moment,le.Vue,le.echarts,le["@wangeditor/editor-for-vue"],le["mapbox-gl"],le["@idmwx/idmui-gl"],le["@element-plus/icons-vue"],le["element-plus"],le.axios))})(this,function(le,v,T,e,qs,mn,en,Xs,tn,hn,fl){"use strict";function js(t){const n=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(t){for(const o in t)if(o!=="default"){const d=Object.getOwnPropertyDescriptor(t,o);Object.defineProperty(n,o,d.get?d:{enumerable:!0,get:()=>t[o]})}}return n.default=t,Object.freeze(n)}const zo=js(qs),mee="",De=(t,n)=>{const o=t.__vccOpts||t;for(const[d,l]of n)o[d]=l;return o},$s={props:{name:{type:String,default:""},issued:{type:String,default:""}},computed:{computeUTCTime(){return function(t,n="MMM-DD/HHmm[Z]"){return`${(t?T(t):T()).utc().format(n)}`}}}},pn=t=>(e.pushScopeId("data-v-c0d9515b"),t=t(),e.popScopeId(),t),vs={class:"section brand-section flex-space"},ei=e.createStaticVNode('<div class="logo-box flex-center" data-v-c0d9515b><div class="logo" data-v-c0d9515b><a href="https://fmp.idmwx.com" target="_blank" data-v-c0d9515b><img src="https://img.idmwx.com/asset/orm/logo_300x180.png" data-v-c0d9515b></a><a href="https://fmp.idmwx.com" target="_blank" style="text-decoration:none;" data-v-c0d9515b><div class="brand" data-v-c0d9515b><span style="text-decoration:underline;" data-v-c0d9515b>Weather Routing</span><div class="company" data-v-c0d9515b>Ocean Right Marine Service</div></div></a></div></div>',1),ti={class:"report-box flex-space"},oi={class:"name flex-start"},li={class:"flex-start",style:{"flex-wrap":"wrap",width:"200px"}},ai={class:"flex-start",style:{width:"100%"}},ni={class:"label-block flex-evenly",style:{flex:"1"}},si=pn(()=>e.createElementVNode("label",{class:"flex-end",style:{flex:"1"}},"Issued",-1)),ii={class:"flex-end",style:{flex:"2"}},di=pn(()=>e.createElementVNode("div",{class:"flex-start",style:{width:"100%"}},[e.createElementVNode("div",{class:"label-block flex-evenly",style:{flex:"1"}},[e.createElementVNode("label",{class:"flex-end",style:{flex:"1"}},"Mail to"),e.createElementVNode("a",{class:"flex-end",style:{flex:"2"},href:"mailto:op@ormwx.com"},"op@ormwx.com")])],-1));function ci(t,n,o,d,l,a){return e.openBlock(),e.createElementBlock("div",vs,[ei,e.createElementVNode("div",ti,[e.createElementVNode("div",oi,e.toDisplayString(o.name),1),e.createElementVNode("div",li,[e.createElementVNode("div",ai,[e.createElementVNode("div",ni,[si,e.createElementVNode("span",ii,e.toDisplayString(a.computeUTCTime(o.issued,"MMM-DD, YYYY")),1)])]),di])])])}const yl=De($s,[["render",ci],["__scopeId","data-v-c0d9515b"]]),ri={name:"IdmLoading",props:{loading:{type:Boolean,default:!1},text:{type:String,default:"Loading..."}}},mi={key:0,class:"loading"},hi=e.createElementVNode("i",{class:"iconfont"},"",-1);function pi(t,n,o,d,l,a){return o.loading?(e.openBlock(),e.createElementBlock("div",mi,[hi,e.createElementVNode("div",null,e.toDisplayString(o.text),1)])):e.createCommentVNode("",!0)}const on=De(ri,[["render",pi]]),hee="",Ei={name:"ORMPointReport",components:{IdmLoading:on,IdmBrand:yl},props:{report:{type:Object,default:()=>({})},showPrate:{type:Boolean,default:!1},showAcc:{type:Boolean,default:!0}},data(){return{echart:void 0,localTZ:"0",loading:!0}},watch:{report:{handler(){var t,n,o,d;(n=(t=this.report)==null?void 0:t.extend)!=null&&n.data&&(this.loading=!1,this.localTZ=v.LngLatHelper.guessTimeZoneOffset((o=this.report)==null?void 0:o.lng,(d=this.report)==null?void 0:d.lat),this.computeForm(this.report),this.$nextTick(()=>{this.initEchart()}))},immediate:!0}},computed:{computeLat(){return function(t){return v.LngLatHelper.lat2pretty(t,2)}},computeLng(){return function(t){return v.LngLatHelper.lng2pretty(t,2)}},computeLTime(){return function(t,n=8,o="MMM-DD/HHmm[LT]"){return`${T(t).utcOffset(n).format(o)}`}},computeTZ(){return function(t="0"){return v.LngLatHelper.prettyTimeZoneOffset(t)}},roundPrecision(){return function(t,n=4){if(typeof t=="number"){const o=Number("1".padEnd(n+1,"0"));return Math.round(t*o)/o}else return"-"}},computeDegree(){return function(t,n){t=t%360;for(let o=0;o<17;o++)if(o*22.5+t+11.25>=360){let d=(16-o)*22.5;return n||(d=d+180),`transform:rotate(${d}deg);height:1rem;width:1rem;margin-left:3px`}}},computeForm(){return function(t){var d,l,a,p,i,E,b,S,_,N;const n={};for(let D=0;D<((l=(d=t==null?void 0:t.extend)==null?void 0:d.data)==null?void 0:l.length);D++){const r=(a=t==null?void 0:t.extend)==null?void 0:a.data[D];if(D===0)r.precip.pacc=0;else{const C=(p=t==null?void 0:t.extend)==null?void 0:p.data[D-1],k=T(r.utc).utcOffset(this.localTZ),O=T(C.utc).utcOffset(this.localTZ),P=(i=C==null?void 0:C.precip)==null?void 0:i.prate,F=k.diff(O,"h"),w=this.roundPrecision(P*F,1);if(r.precip.pacc=w,w>0){const x=n[k.format("MMM-DD")],u=Math.floor(k.get("hour")/6);x?(x.pacc=this.roundPrecision(x.pacc+w,1),x[`${u}`]?x[`${u}`]+=w:(x[`${u}`]=w,x.colspan+=1)):(n[k.format("MMM-DD")]={pacc:w,colspan:1},n[k.format("MMM-DD")][`${u}`]=w)}}}t.paccInDays=n;let o=0;for(const D of Object.keys(n))o+=(E=n[D])==null?void 0:E.colspan,n[D].level=((b=n[D])==null?void 0:b.pacc)<10?"Light":((S=n[D])==null?void 0:S.pacc)<24.9?"Moderate":((_=n[D])==null?void 0:_.pacc)<49.9?"Heavy":((N=n[D])==null?void 0:N.pacc)<99.9?"Rainstorm":"HeavyRainstorm";return t.span=o,t}}},methods:{initEchart(){var a,p,i;this.echart||(this.echart=e.markRaw(zo.init(this.$refs.echart)));const t=[],n=[],o={dateTime:0,windSpeed:1,gusts:2,waveHeight:3,windDirection:4,windDegree:5,windScale:6,current:7,precip:8,visibility:9,temp:10};let d=4;(i=(p=(a=this.report)==null?void 0:a.extend)==null?void 0:p.data)==null||i.forEach(E=>{var S,_,N,D,r,C,k,O,P,F,w,x,u;const b=T(E.utc).utcOffset(this.localTZ).format("MMM-DD/HHmm[LT]");t.push(b),d=((_=(S=E.wave)==null?void 0:S.sig)==null?void 0:_.height)>d?(D=(N=E.wave)==null?void 0:N.sig)==null?void 0:D.height:d,n.push([b,(r=E.wind)==null?void 0:r.kts,(C=E.gusts)==null?void 0:C.kts,(O=(k=E.wave)==null?void 0:k.sig)==null?void 0:O.height,(P=E.wind)==null?void 0:P.direction,(F=E.wind)==null?void 0:F.degree,(w=E.wind)==null?void 0:w.scale,(x=E.current)==null?void 0:x.kts,(u=E.precip)==null?void 0:u.pacc,this.roundPrecision(E.visibility/1852,0),E.temp])});const l={animation:!1,title:{text:"Weather Conditions",subtext:"Wind/Gusts/Sig.Wave/Visibility/Precip Acc",textStyle:{color:"#000000B3",fontWeight:"500"},left:"left"},legend:{show:!0,right:0},tooltip:{trigger:"axis"},grid:{bottom:35},xAxis:[{data:t}],yAxis:[{name:"Precip Acc (mm)",nameLocation:"middle",position:"left",nameGap:30,axisLine:{lineStyle:{color:"#f85c5c"}}},{name:"Visibility (nm)",nameLocation:"middle",position:"left",offset:45,nameGap:30,axisLine:{lineStyle:{color:"#de8600"}}},{name:"Sig. Wave Height (m)",nameLocation:"middle",position:"right",nameGap:25,max:d,axisLine:{lineStyle:{color:"#015DD5"}},splitLine:{show:!1}},{name:"Wind Speed (kts)",nameLocation:"middle",position:"right",offset:40,nameGap:25,axisLine:{lineStyle:{color:"#0e6500"}}}],visualMap:{type:"piecewise",orient:"horizontal",left:"center",bottom:0,show:!1,pieces:[{gte:17,color:"#f85c5c",label:"≥ BF5"},{gte:11,lt:17,color:"#de8600",label:"BF4"},{lt:11,color:"#67c23a",label:"< BF4"}],seriesIndex:3,dimension:1},series:[{type:"bar",name:"Precip Acc",yAxisIndex:0,showSymbol:!1,encode:{x:o.dateTime,y:o.precip},lineStyle:{color:"#f85c5c",type:"solid"},itemStyle:{color:"#f85c5c"},data:n,z:4},{type:"line",name:"Visibility",yAxisIndex:1,showSymbol:!1,encode:{x:o.dateTime,y:o.visibility},lineStyle:{color:"#de8600",type:"solid"},itemStyle:{color:"#de8600"},data:n,z:3},{name:"Sig. Wave Height",type:"line",showSymbol:!1,yAxisIndex:2,areaStyle:{color:{type:"linear",x:0,y:0,x2:0,y2:1,global:!1,colorStops:[{offset:0,color:"rgba(88, 160, 253, 1)"},{offset:.5,color:"rgba(88, 160, 253, 0.7)"},{offset:1,color:"rgba(88, 160, 253, 0)"}]}},lineStyle:{color:"rgba(88, 160, 253, 1)"},itemStyle:{color:"rgba(88, 160, 253, 1)"},encode:{x:o.dateTime,y:o.waveHeight},data:n,z:1},{name:"Wind Speed",type:"line",showSymbol:!1,yAxisIndex:3,encode:{x:o.dateTime,y:o.windSpeed},lineStyle:{color:"#398626",type:"solid"},itemStyle:{color:"#398626"},data:n,z:2},{type:"line",name:"Gusts",showSymbol:!1,yAxisIndex:3,encode:{x:o.dateTime,y:o.gusts},lineStyle:{color:"#0e6500",type:"dashed"},itemStyle:{color:"#0e6500"},data:n,z:2}]};this.echart.setOption(l)}}},st=t=>(e.pushScopeId("data-v-e8c4667e"),t=t(),e.popScopeId(),t),yi={class:"point-report"},_i={class:"section info-section"},Ni={class:"flex-evenly"},Vi={class:"flex-space label-block",style:{width:"100%"}},fi=st(()=>e.createElementVNode("label",{class:"flex-end",style:{width:"180px"}},"Position",-1)),gi={class:"flex-space label-block",style:{width:"100%"}},Di=st(()=>e.createElementVNode("label",{class:"flex-end",style:{width:"180px"}},"Issued (+00:00)",-1)),xi={class:"flex-evenly"},bi={class:"flex-space label-block",style:{width:"100%"}},Ci=st(()=>e.createElementVNode("label",{class:"flex-end",style:{width:"180px"}},"Timezone",-1)),Si={class:"flex-space label-block",style:{width:"100%"}},ki={class:"flex-end",style:{width:"180px"}},Ai={class:"section echart-section"},Bi={ref:"echart",class:"echart"},wi={class:"section sample-section"},Ti=st(()=>e.createElementVNode("th",{rowspan:"2"},"Date Time",-1)),Oi=st(()=>e.createElementVNode("th",{colspan:"4"},"Wind",-1)),Fi=st(()=>e.createElementVNode("th",{rowspan:"2"},[e.createTextVNode("Sea HT "),e.createElementVNode("br"),e.createTextVNode("(m)")],-1)),Pi=st(()=>e.createElementVNode("th",{colspan:"3"},"Swell",-1)),ui=st(()=>e.createElementVNode("th",{colspan:"3"},"Sig",-1)),Li=st(()=>e.createElementVNode("th",{colspan:"2"},"Current",-1)),Wi=["colspan"],Hi=st(()=>e.createElementVNode("th",{colspan:"1"},"Visibility",-1)),Mi=st(()=>e.createElementVNode("th",{colspan:"1"},"Temp",-1)),Gi=st(()=>e.createElementVNode("th",null,"Dir",-1)),Ii=st(()=>e.createElementVNode("th",null,"Speed (kts)",-1)),Ri=st(()=>e.createElementVNode("th",null,"BF",-1)),zi=st(()=>e.createElementVNode("th",null,"Gusts (kts)",-1)),Ui=st(()=>e.createElementVNode("th",null,"Dir",-1)),Yi=st(()=>e.createElementVNode("th",null,"Ht (m)",-1)),Zi=st(()=>e.createElementVNode("th",null,"Prd (s)",-1)),Qi=st(()=>e.createElementVNode("th",null,"Dir",-1)),Ji=st(()=>e.createElementVNode("th",null,"Hgt (m)",-1)),Ki=st(()=>e.createElementVNode("th",null,"Prd (s)",-1)),qi=st(()=>e.createElementVNode("th",null,"Dir",-1)),Xi=st(()=>e.createElementVNode("th",null,"Speed (kts)",-1)),ji={key:0},$i={key:1},vi=st(()=>e.createElementVNode("th",null,"Dist (nm)",-1)),ed=st(()=>e.createElementVNode("th",null,"°C",-1)),td={width:"120px"},od={key:0,class:"degree-box"},ld={key:1},ad={key:0,class:"degree-box"},nd={key:1},sd={key:0,class:"degree-box"},id={key:1},dd={key:0,class:"degree-box"},cd={key:1},rd={key:0},md={key:1};function hd(t,n,o,d,l,a){var E,b,S,_;const p=e.resolveComponent("IdmBrand"),i=e.resolveComponent("IdmLoading");return e.openBlock(),e.createElementBlock("div",yi,[e.createVNode(p,{name:"Point Weather Forecast"}),e.createVNode(i,{loading:l.loading},null,8,["loading"]),e.createElementVNode("div",_i,[e.createElementVNode("div",Ni,[e.createElementVNode("div",Vi,[fi,e.createElementVNode("span",null,e.toDisplayString(a.computeLat((E=o.report)==null?void 0:E.lat).pretty)+" / "+e.toDisplayString(a.computeLng((b=o.report)==null?void 0:b.lng).pretty),1)]),e.createElementVNode("div",gi,[Di,e.createElementVNode("span",null,e.toDisplayString(a.computeLTime(o.report.updatedAt,0,"YYYY, MMM-DD/HHmm[Z]")),1)])]),e.createElementVNode("div",xi,[e.createElementVNode("div",bi,[Ci,e.createElementVNode("span",null,e.toDisplayString(a.computeTZ(this.localTZ)),1)]),e.createElementVNode("div",Si,[e.createElementVNode("label",ki,"("+e.toDisplayString(a.computeTZ(this.localTZ))+")",1),e.createElementVNode("span",null,e.toDisplayString(a.computeLTime(o.report.updatedAt,this.localTZ,"YYYY, MMM-DD/HHmm[LT]")),1)])])]),e.createElementVNode("div",Ai,[e.createElementVNode("div",Bi,null,512)]),e.createElementVNode("div",wi,[e.createElementVNode("table",null,[e.createElementVNode("thead",null,[e.createElementVNode("tr",null,[Ti,Oi,Fi,Pi,ui,Li,e.createElementVNode("th",{colspan:o.showPrate&&o.showAcc?2:1},"Precip",8,Wi),Hi,Mi]),e.createElementVNode("tr",null,[Gi,Ii,Ri,zi,Ui,Yi,Zi,Qi,Ji,Ki,qi,Xi,o.showPrate?(e.openBlock(),e.createElementBlock("th",ji,"Rate (mm/h)")):e.createCommentVNode("",!0),o.showAcc?(e.openBlock(),e.createElementBlock("th",$i,"Acc (mm)")):e.createCommentVNode("",!0),vi,ed])]),e.createElementVNode("tbody",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList((_=(S=o.report)==null?void 0:S.extend)==null?void 0:_.data,(N,D)=>{var r,C,k,O,P,F,w,x,u,R,Z,z,W,f,Y,G,H,K,q,j,X,V,M,J,s,$,c,ee,oe,te,se,ie,ce,re;return e.openBlock(),e.createElementBlock("tr",{key:D},[e.createElementVNode("td",td,e.toDisplayString(a.computeLTime(N.utc,this.localTZ)),1),e.createElementVNode("td",null,[(r=N.wind)!=null&&r.kts?(e.openBlock(),e.createElementBlock("span",od,[e.createTextVNode(e.toDisplayString((C=N.wind)==null?void 0:C.direction),1),e.createElementVNode("i",{class:"iconfont",style:e.normalizeStyle(a.computeDegree((k=N.wind)==null?void 0:k.degree,!1))},"",4)])):(e.openBlock(),e.createElementBlock("span",ld,"-"))]),e.createElementVNode("td",null,e.toDisplayString(a.roundPrecision((O=N.wind)==null?void 0:O.kts,1)),1),e.createElementVNode("td",null,e.toDisplayString((P=N.wind)==null?void 0:P.scale),1),e.createElementVNode("td",null,e.toDisplayString(a.roundPrecision((F=N.gusts)==null?void 0:F.kts,1)),1),e.createElementVNode("td",null,e.toDisplayString(a.roundPrecision((x=(w=N.wave)==null?void 0:w.wd)==null?void 0:x.height,1)),1),e.createElementVNode("td",null,[(R=(u=N.wave)==null?void 0:u.swell)!=null&&R.height?(e.openBlock(),e.createElementBlock("span",ad,[e.createTextVNode(e.toDisplayString((z=(Z=N.wave)==null?void 0:Z.swell)==null?void 0:z.direction),1),e.createElementVNode("i",{class:"iconfont",style:e.normalizeStyle(a.computeDegree((f=(W=N.wave)==null?void 0:W.swell)==null?void 0:f.degree,!1))},"",4)])):(e.openBlock(),e.createElementBlock("span",nd,"-"))]),e.createElementVNode("td",null,e.toDisplayString(a.roundPrecision((G=(Y=N.wave)==null?void 0:Y.swell)==null?void 0:G.height,1)),1),e.createElementVNode("td",null,e.toDisplayString(a.roundPrecision((K=(H=N.wave)==null?void 0:H.swell)==null?void 0:K.period,1)),1),e.createElementVNode("td",null,[(j=(q=N.wave)==null?void 0:q.sig)!=null&&j.height?(e.openBlock(),e.createElementBlock("span",sd,[e.createTextVNode(e.toDisplayString((V=(X=N.wave)==null?void 0:X.sig)==null?void 0:V.direction),1),e.createElementVNode("i",{class:"iconfont",style:e.normalizeStyle(a.computeDegree((J=(M=N.wave)==null?void 0:M.sig)==null?void 0:J.degree,!1))},"",4)])):(e.openBlock(),e.createElementBlock("span",id,"-"))]),e.createElementVNode("td",null,e.toDisplayString(a.roundPrecision(($=(s=N.wave)==null?void 0:s.sig)==null?void 0:$.height,1)),1),e.createElementVNode("td",null,e.toDisplayString(a.roundPrecision((ee=(c=N.wave)==null?void 0:c.sig)==null?void 0:ee.period,1)),1),e.createElementVNode("td",null,[(oe=N.current)!=null&&oe.kts?(e.openBlock(),e.createElementBlock("span",dd,[e.createTextVNode(e.toDisplayString((te=N.current)==null?void 0:te.direction),1),e.createElementVNode("i",{class:"iconfont",style:e.normalizeStyle(a.computeDegree((se=N.current)==null?void 0:se.degree,!0))},"",4)])):(e.openBlock(),e.createElementBlock("span",cd,"-"))]),e.createElementVNode("td",null,e.toDisplayString(a.roundPrecision((ie=N.current)==null?void 0:ie.kts,1)),1),o.showPrate?(e.openBlock(),e.createElementBlock("td",rd,e.toDisplayString(a.roundPrecision((ce=N.precip)==null?void 0:ce.prate,2)),1)):e.createCommentVNode("",!0),o.showAcc?(e.openBlock(),e.createElementBlock("td",md,e.toDisplayString(a.roundPrecision((re=N.precip)==null?void 0:re.pacc,2)),1)):e.createCommentVNode("",!0),e.createElementVNode("td",null,e.toDisplayString(a.roundPrecision(N.visibility/1852,0)),1),e.createElementVNode("td",null,e.toDisplayString(a.roundPrecision(N.temp,1)),1)])}),128))])])])])}const En=De(Ei,[["render",hd],["__scopeId","data-v-e8c4667e"]]),pee="",pd={props:{name:{type:String,default:""}}},Ed={class:"section brand-section flex-space"},yd=e.createStaticVNode('<div class="logo-box flex-center" data-v-602c94e3><a class="logo" href="https://www.idmwx.com" target="_blank" data-v-602c94e3><img src="https://img.idmwx.com/asset/orm/logo_300x180.png" data-v-602c94e3><div class="brand" data-v-602c94e3><span data-v-602c94e3>Weather Routing</span><div class="company" data-v-602c94e3>Ocean Right Marine Service</div></div></a></div>',1),_d={class:"report-box flex-space"},Nd={class:"name flex-start"},Vd=e.createStaticVNode('<div class="support flex-end" data-v-602c94e3><img src="https://img.idmwx.com/asset/idm/qrcode_for_gh_976e5ac920c0_258.jpg" data-v-602c94e3><div style="margin-left:10px;" data-v-602c94e3><div class="name flex-space" data-v-602c94e3><label data-v-602c94e3>IDM Service Team</label></div><div class="desc flex-center" data-v-602c94e3>Technical Support &amp; Consulting Center</div></div></div>',1);function fd(t,n,o,d,l,a){return e.openBlock(),e.createElementBlock("div",Ed,[yd,e.createElementVNode("div",_d,[e.createElementVNode("div",Nd,e.toDisplayString(o.name),1),Vd])])}const ja=De(pd,[["render",fd],["__scopeId","data-v-602c94e3"]]),Eee="",gd={name:"PointReport",components:{IdmBrand:ja},props:{data:{type:Object,default:()=>({})},showPrate:{type:Boolean,default:!1},showAcc:{type:Boolean,default:!1}},data(){return{}},computed:{computeLat(){return function(t){return v.LngLatHelper.lat2pretty(t,2)}},computeLng(){return function(t){return v.LngLatHelper.lng2pretty(t,2)}},computeUTCTime(){return function(t,n="MMM-DD/HHmm"){return`${T(t).utc().format(n)}Z`}},roundPrecision(){return function(t,n=4){if(typeof t=="number"){const o=Number("1".padEnd(n+1,"0"));return Math.round(t*o)/o}else return"-"}},computeDegree(){return function(t,n){t=t%360;for(let o=0;o<17;o++)if(o*22.5+t+11.25>=360){let d=(16-o)*22.5;return n||(d=d+180),`transform:rotate(${d}deg);height:1rem;width:1rem;margin-left:3px`}}}},methods:{}},et=t=>(e.pushScopeId("data-v-2fead0ca"),t=t(),e.popScopeId(),t),Dd={class:"point-report"},xd=et(()=>e.createElementVNode("div",{class:"report-bg"},[e.createElementVNode("img",{src:"https://img.idmwx.com/asset/report-head-bg.png"})],-1)),bd={class:"report-header flex-center"},Cd={class:"info-box"},Sd=et(()=>e.createElementVNode("img",{class:"logo",src:"https://img.idmwx.com/asset/logo-150x150.png"},null,-1)),kd={class:"info"},Ad=et(()=>e.createElementVNode("label",null,"Position",-1)),Bd={class:"info"},wd=et(()=>e.createElementVNode("label",null,"Issued",-1)),Td=et(()=>e.createElementVNode("div",{class:"title-box"},[e.createElementVNode("div",{class:"title"},"Point Weather Forecast Report")],-1)),Od={class:"report-body"},Fd={class:"weather-sample"},Pd=et(()=>e.createElementVNode("th",{rowspan:"2"},"Date Time",-1)),ud=et(()=>e.createElementVNode("th",{colspan:"4"},"Wind",-1)),Ld=et(()=>e.createElementVNode("th",{rowspan:"2"},[e.createTextVNode("Sea HT "),e.createElementVNode("br"),e.createTextVNode("(m)")],-1)),Wd=et(()=>e.createElementVNode("th",{colspan:"3"},"Swell",-1)),Hd=et(()=>e.createElementVNode("th",{colspan:"3"},"Sig",-1)),Md=et(()=>e.createElementVNode("th",{colspan:"2"},"Current",-1)),Gd=["colspan"],Id=et(()=>e.createElementVNode("th",{colspan:"1"},"Visibility",-1)),Rd=et(()=>e.createElementVNode("th",{colspan:"1"},"Temp",-1)),zd=et(()=>e.createElementVNode("th",null,"Dir",-1)),Ud=et(()=>e.createElementVNode("th",null,"Speed (kts)",-1)),Yd=et(()=>e.createElementVNode("th",null,"BF",-1)),Zd=et(()=>e.createElementVNode("th",null,"Gusts (kts)",-1)),Qd=et(()=>e.createElementVNode("th",null,"Dir",-1)),Jd=et(()=>e.createElementVNode("th",null,"Ht (m)",-1)),Kd=et(()=>e.createElementVNode("th",null,"Prd (s)",-1)),qd=et(()=>e.createElementVNode("th",null,"Dir",-1)),Xd=et(()=>e.createElementVNode("th",null,"Hgt (m)",-1)),jd=et(()=>e.createElementVNode("th",null,"Prd (s)",-1)),$d=et(()=>e.createElementVNode("th",null,"Dir",-1)),vd=et(()=>e.createElementVNode("th",null,"Speed (kts)",-1)),ec={key:0},tc={key:1},oc=et(()=>e.createElementVNode("th",null,"Dist (nm)",-1)),lc=et(()=>e.createElementVNode("th",null,"°C",-1)),ac={width:"120px"},nc={key:0,class:"degree-box"},sc={key:1},ic={key:0,class:"degree-box"},dc={key:1},cc={key:0,class:"degree-box"},rc={key:1},mc={key:0,class:"degree-box"},hc={key:1},pc={key:0},Ec={key:1};function yc(t,n,o,d,l,a){const p=e.resolveComponent("IdmBrand");return e.openBlock(),e.createElementBlock("div",Dd,[e.createVNode(p),xd,e.createElementVNode("div",bd,[e.createElementVNode("div",Cd,[Sd,e.createElementVNode("div",kd,[Ad,e.createElementVNode("span",null,e.toDisplayString(a.computeLat(o.data.lat).pretty)+" / "+e.toDisplayString(a.computeLng(o.data.lng).pretty),1)]),e.createElementVNode("div",Bd,[wd,e.createElementVNode("span",null,e.toDisplayString(a.computeUTCTime(o.data.issuedAt,"YYYY, MMM-DD/HHmm")),1)])]),Td]),e.createElementVNode("div",Od,[e.createElementVNode("div",Fd,[e.createElementVNode("table",null,[e.createElementVNode("thead",null,[e.createElementVNode("tr",null,[Pd,ud,Ld,Wd,Hd,Md,e.createElementVNode("th",{colspan:o.showPrate&&o.showAcc?2:1},"Precip",8,Gd),Id,Rd]),e.createElementVNode("tr",null,[zd,Ud,Yd,Zd,Qd,Jd,Kd,qd,Xd,jd,$d,vd,o.showPrate?(e.openBlock(),e.createElementBlock("th",ec,"Rate (mm/h)")):e.createCommentVNode("",!0),o.showAcc?(e.openBlock(),e.createElementBlock("th",tc,"Acc (mm)")):e.createCommentVNode("",!0),oc,lc])]),e.createElementVNode("tbody",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(o.data.meteo,(i,E)=>{var b,S,_,N,D,r,C,k,O,P,F,w,x,u,R,Z,z,W,f,Y,G,H,K,q,j,X,V,M,J,s,$,c,ee,oe;return e.openBlock(),e.createElementBlock("tr",{key:E},[e.createElementVNode("td",ac,e.toDisplayString(a.computeUTCTime(i.utc)),1),e.createElementVNode("td",null,[(b=i.wind)!=null&&b.kts?(e.openBlock(),e.createElementBlock("span",nc,[e.createTextVNode(e.toDisplayString((S=i.wind)==null?void 0:S.direction),1),e.createElementVNode("i",{class:"iconfont",style:e.normalizeStyle(a.computeDegree((_=i.wind)==null?void 0:_.degree,!1))},"",4)])):(e.openBlock(),e.createElementBlock("span",sc,"-"))]),e.createElementVNode("td",null,e.toDisplayString(a.roundPrecision((N=i.wind)==null?void 0:N.kts,1)),1),e.createElementVNode("td",null,e.toDisplayString((D=i.wind)==null?void 0:D.scale),1),e.createElementVNode("td",null,e.toDisplayString(a.roundPrecision((r=i.gusts)==null?void 0:r.kts,1)),1),e.createElementVNode("td",null,e.toDisplayString(a.roundPrecision((k=(C=i.wave)==null?void 0:C.wd)==null?void 0:k.height,1)),1),e.createElementVNode("td",null,[(P=(O=i.wave)==null?void 0:O.swell)!=null&&P.height?(e.openBlock(),e.createElementBlock("span",ic,[e.createTextVNode(e.toDisplayString((w=(F=i.wave)==null?void 0:F.swell)==null?void 0:w.direction),1),e.createElementVNode("i",{class:"iconfont",style:e.normalizeStyle(a.computeDegree((u=(x=i.wave)==null?void 0:x.swell)==null?void 0:u.degree,!1))},"",4)])):(e.openBlock(),e.createElementBlock("span",dc,"-"))]),e.createElementVNode("td",null,e.toDisplayString(a.roundPrecision((Z=(R=i.wave)==null?void 0:R.swell)==null?void 0:Z.height,1)),1),e.createElementVNode("td",null,e.toDisplayString(a.roundPrecision((W=(z=i.wave)==null?void 0:z.swell)==null?void 0:W.period,1)),1),e.createElementVNode("td",null,[(Y=(f=i.wave)==null?void 0:f.sig)!=null&&Y.height?(e.openBlock(),e.createElementBlock("span",cc,[e.createTextVNode(e.toDisplayString((H=(G=i.wave)==null?void 0:G.sig)==null?void 0:H.direction),1),e.createElementVNode("i",{class:"iconfont",style:e.normalizeStyle(a.computeDegree((q=(K=i.wave)==null?void 0:K.sig)==null?void 0:q.degree,!1))},"",4)])):(e.openBlock(),e.createElementBlock("span",rc,"-"))]),e.createElementVNode("td",null,e.toDisplayString(a.roundPrecision((X=(j=i.wave)==null?void 0:j.sig)==null?void 0:X.height,1)),1),e.createElementVNode("td",null,e.toDisplayString(a.roundPrecision((M=(V=i.wave)==null?void 0:V.sig)==null?void 0:M.period,1)),1),e.createElementVNode("td",null,[(J=i.current)!=null&&J.kts?(e.openBlock(),e.createElementBlock("span",mc,[e.createTextVNode(e.toDisplayString((s=i.current)==null?void 0:s.direction),1),e.createElementVNode("i",{class:"iconfont",style:e.normalizeStyle(a.computeDegree(($=i.current)==null?void 0:$.degree,!0))},"",4)])):(e.openBlock(),e.createElementBlock("span",hc,"-"))]),e.createElementVNode("td",null,e.toDisplayString(a.roundPrecision((c=i.current)==null?void 0:c.kts,1)),1),o.showPrate?(e.openBlock(),e.createElementBlock("td",pc,e.toDisplayString(a.roundPrecision((ee=i.precip)==null?void 0:ee.prate,2)),1)):e.createCommentVNode("",!0),o.showAcc?(e.openBlock(),e.createElementBlock("td",Ec,e.toDisplayString(a.roundPrecision((oe=i.precip)==null?void 0:oe.inter6h,2)),1)):e.createCommentVNode("",!0),e.createElementVNode("td",null,e.toDisplayString(a.roundPrecision(i.visibility/1852,0)),1),e.createElementVNode("td",null,e.toDisplayString(a.roundPrecision(i.temp,1)),1)])}),128))])])])])])}const yn=De(gd,[["render",yc],["__scopeId","data-v-2fead0ca"]]),_c={install(t){t.component("ORMPointReport",En),t.component("PointReport",yn)}},Nc={name:"brabImg",props:{fill:{type:String,default:"#000000"}}},Vc={class:"logo"},fc=[e.createElementVNode("svg",{t:"1681710850227",class:"icon",viewBox:"0 0 3413 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"7633",width:"66.66015625",height:"20","xmlns:xlink":"http://www.w3.org/1999/xlink"},[e.createElementVNode("path",{d:"M0 409.6h3413.333333v204.8H0z","p-id":"7634"}),e.createElementVNode("path",{d:"M68.266667 477.866667v68.266666h3276.8V477.866667H68.266667M0 409.6h3413.333333v204.8H0z","p-id":"7635"}),e.createElementVNode("path",{d:"M2362.5728 1006.933333H713.659733l302.011734-478.4128 5.666133-8.942933-5.5296-9.079467L713.181867 17.066667h1649.2544l347.409066 502.237866-347.272533 487.6288z",fill:"#FFFFFF","p-id":"7636"}),e.createElementVNode("path",{d:"M743.6288 34.133333l297.847467 485.5808-296.891734 470.152534h1609.181867l335.189333-470.698667L2353.493333 34.133333H743.6288M682.666667 0h1688.712533L2730.666667 519.441067 2371.3792 1024H682.666667l318.600533-504.558933L682.666667 0z",fill:"#000000","p-id":"7637"})],-1)];function gc(t,n,o,d,l,a){return e.openBlock(),e.createElementBlock("i",Vc,fc)}const Dc=De(Nc,[["render",gc]]),xc={name:"brabImg",props:{fill:{type:String,default:"#000000"}}},bc={class:"logo"},Cc=[e.createElementVNode("svg",{t:"1681710772723",class:"icon",viewBox:"0 0 3413 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"7205",width:"66.66015625",height:"20","xmlns:xlink":"http://www.w3.org/1999/xlink"},[e.createElementVNode("path",{d:"M0 477.866667h3413.333333v68.266666H0z","p-id":"7206"}),e.createElementVNode("path",{d:"M682.666667 0h1688.712533L2730.666667 519.441067 2371.3792 1024H682.666667l318.600533-504.558933z",fill:"#C8C8C8","p-id":"7207"}),e.createElementVNode("path",{d:"M743.6288 34.133333l297.847467 485.5808-296.891734 470.152534h1609.181867l335.189333-471.04L2353.493333 34.133333H743.6288M682.666667 0h1688.712533L2730.666667 519.441067 2371.3792 1024H682.666667l318.600533-504.558933z","p-id":"7208"})],-1)];function Sc(t,n,o,d,l,a){return e.openBlock(),e.createElementBlock("i",bc,Cc)}const kc=De(xc,[["render",Sc]]),Ac={name:"brabImg",props:{fill:{type:String,default:"#000000"}}},Bc={class:"logo"},wc=[e.createElementVNode("svg",{t:"1681710864960",class:"icon",viewBox:"0 0 3413 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"7832",width:"66.66015625",height:"20","xmlns:xlink":"http://www.w3.org/1999/xlink"},[e.createElementVNode("path",{d:"M0 409.6h136.533333v204.8H0z","p-id":"7833"}),e.createElementVNode("path",{d:"M204.8 409.6h136.533333v204.8H204.8z","p-id":"7834"}),e.createElementVNode("path",{d:"M409.6 409.6h136.533333v204.8H409.6z","p-id":"7835"}),e.createElementVNode("path",{d:"M614.4 409.6h136.533333v204.8H614.4z","p-id":"7836"}),e.createElementVNode("path",{d:"M819.2 409.6h136.533333v204.8h-136.533333z","p-id":"7837"}),e.createElementVNode("path",{d:"M1024 409.6h136.533333v204.8h-136.533333z","p-id":"7838"}),e.createElementVNode("path",{d:"M1228.8 409.6h136.533333v204.8h-136.533333z","p-id":"7839"}),e.createElementVNode("path",{d:"M1433.6 409.6h136.533333v204.8h-136.533333z","p-id":"7840"}),e.createElementVNode("path",{d:"M1638.4 409.6h136.533333v204.8h-136.533333z","p-id":"7841"}),e.createElementVNode("path",{d:"M1843.2 409.6h136.533333v204.8h-136.533333z","p-id":"7842"}),e.createElementVNode("path",{d:"M2048 409.6h136.533333v204.8h-136.533333z","p-id":"7843"}),e.createElementVNode("path",{d:"M2252.8 409.6h136.533333v204.8h-136.533333z","p-id":"7844"}),e.createElementVNode("path",{d:"M2457.6 409.6h136.533333v204.8h-136.533333z","p-id":"7845"}),e.createElementVNode("path",{d:"M2662.4 409.6h136.533333v204.8h-136.533333z","p-id":"7846"}),e.createElementVNode("path",{d:"M2867.2 409.6h136.533333v204.8h-136.533333z","p-id":"7847"}),e.createElementVNode("path",{d:"M3072 409.6h136.533333v204.8h-136.533333z","p-id":"7848"}),e.createElementVNode("path",{d:"M3276.8 409.6h136.533333v204.8h-136.533333z","p-id":"7849"}),e.createElementVNode("path",{d:"M682.666667 0h1688.712533L2730.666667 519.441067 2371.3792 1024H682.666667l318.600533-504.558933z",fill:"#686868","p-id":"7850"}),e.createElementVNode("path",{d:"M743.6288 34.133333l297.847467 485.5808-296.891734 470.152534h1609.181867l335.189333-471.04L2353.493333 34.133333H743.6288M682.666667 0h1688.712533L2730.666667 519.441067 2371.3792 1024H682.666667l318.600533-504.558933z","p-id":"7851"})],-1)];function Tc(t,n,o,d,l,a){return e.openBlock(),e.createElementBlock("i",Bc,wc)}const Oc=De(Ac,[["render",Tc]]),Vee="",Fc={name:"IdmLng",props:{lng:{type:Number,default:void 0},label:{type:String,default:"Lng"}},data(){return{lngDegree:void 0,lngMinute:void 0,lngDirection:void 0}},watch:{lng:{handler(){if(this.lng!==void 0){let t=v.convertToStandardLng(this.lng);t>=0?this.lngDirection="E":this.lngDirection="W",t=Math.abs(t),this.lngDegree=Math.trunc(t),this.lngMinute=Math.round((t-this.lngDegree)*60*100)/100}},immediate:!0}}},_n=t=>(e.pushScopeId("data-v-533ec662"),t=t(),e.popScopeId(),t),Pc={class:"lng-box"},uc={key:0},Lc=_n(()=>e.createElementVNode("span",null,"°",-1)),Wc=_n(()=>e.createElementVNode("span",null,"'",-1));function Hc(t,n,o,d,l,a){return e.openBlock(),e.createElementBlock("div",Pc,[o.label?(e.openBlock(),e.createElementBlock("span",uc,e.toDisplayString(o.label),1)):e.createCommentVNode("",!0),e.createElementVNode("label",null,e.toDisplayString(l.lngDegree),1),Lc,e.createElementVNode("label",null,e.toDisplayString(l.lngMinute),1),Wc,e.createElementVNode("label",null,e.toDisplayString(l.lngDirection),1)])}const $a=De(Fc,[["render",Hc],["__scopeId","data-v-533ec662"]]),fee="",Mc={name:"IdmLat",props:{lat:{type:Number,default:void 0},label:{type:String,default:"Lat"}},data(){return{latDegree:void 0,latMinute:void 0,latDirection:void 0}},watch:{lat:{handler(){if(this.lat!==void 0){this.lat>=0?this.latDirection="N":this.latDirection="S";const t=Math.abs(this.lat);this.latDegree=Math.trunc(t),this.latMinute=Math.round((t-this.latDegree)*60*100)/100}},immediate:!0}}},Nn=t=>(e.pushScopeId("data-v-d3432239"),t=t(),e.popScopeId(),t),Gc={class:"lat-box"},Ic={key:0},Rc=Nn(()=>e.createElementVNode("span",null,"°",-1)),zc=Nn(()=>e.createElementVNode("span",null,"'",-1));function Uc(t,n,o,d,l,a){return e.openBlock(),e.createElementBlock("div",Gc,[o.label?(e.openBlock(),e.createElementBlock("span",Ic,e.toDisplayString(o.label),1)):e.createCommentVNode("",!0),e.createElementVNode("label",null,e.toDisplayString(l.latDegree),1),Rc,e.createElementVNode("label",null,e.toDisplayString(l.latMinute),1),zc,e.createElementVNode("label",null,e.toDisplayString(l.latDirection),1)])}const va=De(Mc,[["render",Uc],["__scopeId","data-v-d3432239"]]),gee="",Yc={name:"IdmEditor",components:{Editor:mn.Editor,Toolbar:mn.Toolbar},props:{height:{type:String,default:"200px"},modelValue:{type:String,default:()=>""},disabled:{type:Boolean,default:()=>!1}},data(){return{editorRef:null,editor:null,mode:"simple",valueHtml:void 0,editorConfig:{placeholder:"please input something..."},toolbarConfig:{toolbarKeys:["bold","color","bgColor","fontSize","lineHeight"]}}},watch:{disabled:{handler(t){var n,o;t?(n=this.editor)==null||n.disable():(o=this.editor)==null||o.enable()}},modelValue:{handler(){var t;this.valueHtml=this.modelValue,(t=this.editor)==null||t.setHtml(this.valueHtml)}}},methods:{handleCreated(t){var n;this.editorRef=e.shallowRef(),this.editor=Object.seal(t),this.valueHtml=this.modelValue,(n=this.editor)==null||n.setHtml(this.valueHtml),this.disabled?this.editor.disable():this.editor.enable()},handleChange(t){this.$emit("update:modelValue",this.valueHtml)},handleBlur(t){this.$emit("blur",this.valueHtml)},beforeDestroy(){var t;(t=this.editor)==null||t.destroy()}}},Zc={class:"editor-box"};function Qc(t,n,o,d,l,a){const p=e.resolveComponent("Toolbar"),i=e.resolveComponent("Editor");return e.openBlock(),e.createElementBlock("div",Zc,[e.withDirectives(e.createVNode(p,{editor:l.editor,"default-config":l.toolbarConfig,mode:l.mode,class:"toolbar"},null,8,["editor","default-config","mode"]),[[e.vShow,!o.disabled]]),e.createVNode(i,{modelValue:l.valueHtml,"onUpdate:modelValue":n[0]||(n[0]=E=>l.valueHtml=E),"default-config":l.editorConfig,mode:l.mode,class:"editor",style:e.normalizeStyle({height:o.height}),onOnCreated:a.handleCreated,onOnChange:a.handleChange,onOnBlur:a.handleBlur},null,8,["modelValue","default-config","mode","style","onOnCreated","onOnChange","onOnBlur"])])}const Ro=De(Yc,[["render",Qc],["__scopeId","data-v-0d3b5c3c"]]),Jc="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADIAAAAyCAYAAAAeP4ixAAAABHNCSVQICAgIfAhkiAAADdBJREFUaEPtWguUFcWZ/ququ+9rnsy9MzIzMKCAyMtXRFHJgYigoEElk109S9R1F9Acc0h8rEZ2t3eFRBDdVXMwakyMJobAGskmxiwawiaICQTdja/4ANYA82BgmGG4j+7bXbXfP9zZ4AhzZyaje05O+pzvVE93V9X/1f+suiPoT+QSfyI86I8j0rhOkR0vo7yJk9KGpMpSU6KLNs8MPu4FGjiRaetiiYQ/xorYc8m2ZpGtRpKSCWOp0CiVBg5qSW9qIbdoEq/4mdwe8o+kaf1nw4+S3ACIuLLi/NoplmNfa2y1wChruLFkxljWbmOJXdq29wspfa1UzChZQ0rVkxRRrcSbRojnRdbfmP3WnL0gYz4KQv0mkjr94TNFVK6C8BdAeEdbcnso5RNBxP4VSd2SzussJVMh5TqtuKpIUEyfZKQaL5SYLYT8hJHy9yHpr3sHan5K6yf6Q02mX0TK6u8fFh9m/Rjmcx7MyGhL/TDtm89ndixuLi6Qkc4NGycoqe6QSs7QQqzOWtmH6aG5XvG+/f+iH0Tc6PCTYyvIsZaCRAASG3LaWtL52k2H+j8Nvpzxcys6Nn+BFOovDIkt2dqZa8kVekBj9PFxUSJ1dcvPI1uuRUQaCdv/rRZqUcs7X9o2aAEW/kd1PKoaMu9ueZU2u0MW3YoQcWVDg32LNtJFoLaxfA/6Gc9ta3OPDJrIR9SxTyI1Nf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vt1cA/A4cLMvwT2uGF9z1nZDw/9+c6byWQ7k2kAg+/AfCG/z8BnJ7T4sKgz6C9DXgY6Dln4oH5LJiJ7gZ+CPQ4LpferwP8zWTg+cLkS9HyaSWP/U1gKnAlwBXuPGAFwIvZBiQAJj4LKAH4uDYCfALYD2wAjkskhRe8OvcCPwOYKK/kNOBbAGfuWwqDoPm/62ncMfHHgN4RiLV8M3AtwEc7rOG/A/gHUV40JrEZuB44FziWCE9QCSwDTgYWAVXAQ8AvgfuA7t1jb40wke8Aq4AeInfi/kKAV49N7ksAr9ax178VJmBBe9TPP5R+tSDIo4Xx/hutC7CW+ShpDcDEeYFWA2wqbEo9GuE52ITY1MYACwE2T16AnwMsZ/c1VETWYiz2oecKgvHYvFL8o9D5wL8AzwJsbtcA/BsHk2cibMb87RKAtfppgE2pZ7EGTeRJDHI/8ALATsVqPQvgvfNnANZI77PYvkyLfWIS8CLA2joHGAZ8oUDoZbRszmxuTKIUmN4HETatRwD2yeUA+8qHNMIOxVGIowybATskRyQmxWew7Du8gny+yxcLxg7+lcJY7Iw9pnUA96wp9psnADZVvthEWJDbAY5aTORxoA7guc8A2CdPpBGWzQXYzDjIcGQ87tkvD8ihNFYQisMjC4jz2+7o0wCwA/PF9v2rwjPud+zFhw68ReVw/Vug56cI1jJrhX954tU9CPSciY3GPRNlE+v57wg2/wkALzKbKs/JGmUrYct4jSf9c2bvtfr/73/+L2joHH7hUihcAAAAAElFTkSuQmCC",Dee="",xee="",Kc={name:"RouteReport",components:{Lng:$a,Lat:va,Editor:Ro,Route1:Dc,Route2:kc,Route3:Oc,IdmBrand:ja},props:{plan:{type:Object,default:()=>({})},editorDisabled:{type:Boolean,default:()=>!1}},emits:["commit","refresh"],data(){return{tableData:[],sogChart:void 0,windChart:void 0,waveChart:void 0,currentChart:void 0,editable:!1,advisory:""}},computed:{computeUTCTime(){return function(t){return`${T(t).utc().format("MMM-DD/HHmm")}Z`}},computeLTime(){return function(t,n){const o=T(t);return o.utcOffset(n),`${o.format("MMM-DD/HHmm")}LT`}},computeUTCOffset(){var t,n,o,d,l;return(l=(d=(o=(n=(t=this.plan)==null?void 0:t.leg)==null?void 0:n.destination)==null?void 0:o.port)==null?void 0:d.timezone)==null?void 0:l.UtcCurrentOffset},computeTimeDiff(){return function(t,n){var o,d,l;if(n===0)return"-";{const a=T((d=(o=t==null?void 0:t.speeds[n])==null?void 0:o.speed)==null?void 0:d.eta).diff(T((l=t==null?void 0:t.speeds[0])==null?void 0:l.speed.eta),"h",!0);return Math.round(a*10)/10}}},computeNav(){return function(t){return t.gcToPrevious?"GC":"RL"}},roundPrecision(){return function(t,n=4){if(typeof t=="number"){const o=Number("1".padEnd(n+1,"0"));return Math.round(t*o)/o}else return"-"}},computeMapChart(){var t;return((t=this.plan)==null?void 0:t.chartUrl)||"//oss.idmwx.com/asset/route-report_example.png"},computeDegree(){return function(t,n){t=t%360;for(let o=0;o<17;o++)if(o*22.5+t+11.25>=360){let d=(16-o)*22.5;return n||(d=d+180),`transform:rotate(${d}deg);margin-left:3px;`}}},computeDay(){return function(t){var l,a,p;const n=(p=(a=(l=t==null?void 0:t.speeds[0])==null?void 0:l.speed)==null?void 0:a.sample)==null?void 0:p.hours,o=n[0],d=n[n.length-1];return T(d.eta).diff(T(o.eta),"day")}},computeMemo(){return function(t){return(t==null?void 0:t.memo)??"-"}},computeMajorPoints(){return function(t){const n=[];if(t.length)return t.forEach(o=>{n.push(o),o.suspend&&n.push({etd:o.etd,eta:o.etd,isResume:!0,memo:`Drifting: ${o.suspend}hrs`})}),n}}},watch:{plan:{handler(){var t,n;(t=this.plan)!=null&&t.id&&(this.advisory=((n=this.plan)==null?void 0:n.advisory)||"As conditions and safe navigation permit, our suggested route remains valid.",this.$nextTick(()=>{this.initEChart()}))},immediate:!0}},methods:{initEChart(){var t,n,o,d,l,a,p,i,E,b;if(this.sogChart||(this.sogChart=e.markRaw(zo.init(this.$refs.sogChart))),this.windChart||(this.windChart=e.markRaw(zo.init(this.$refs.windChart))),this.waveChart||(this.waveChart=e.markRaw(zo.init(this.$refs.waveChart))),(n=(t=this.plan)==null?void 0:t.speeds)!=null&&n.length){const S=[],_={grid:{right:"15%",bottom:"15%",top:"15%"},tooltip:{trigger:"axis"},legend:{itemGap:100,icon:"roundRect",itemHeight:2},xAxis:[{data:S}],yAxis:{type:"value",splitNumber:5,name:"SOG (kts)",nameGap:60,nameRotate:90,nameLocation:"middle",nameTextStyle:{fontSize:16,fontWeight:600,textAlign:"center"},position:"left",axisLabel:{formatter:"{value} kts"}},series:[]},N={grid:{right:"15%",bottom:"15%",top:"5%"},tooltip:{trigger:"axis"},xAxis:[{data:S}],yAxis:{type:"value",splitNumber:5,name:"Wind Speed (kts)",nameGap:60,nameRotate:90,nameLocation:"middle",nameTextStyle:{fontSize:16,fontWeight:600,textAlign:"center"},position:"left",axisLabel:{formatter:"{value} kts"}},series:[]},D={grid:{right:"15%",top:"5%",bottom:"10%"},tooltip:{trigger:"axis"},xAxis:[{data:S}],yAxis:{type:"value",splitNumber:5,name:"Sig Wave Height (m)",nameGap:60,nameRotate:90,nameLocation:"middle",nameTextStyle:{fontSize:16,fontWeight:600,textAlign:"center"},axisLabel:{formatter:"{value} m"}},series:[]};let r,C;for(let k=0;k<((d=(o=this.plan)==null?void 0:o.speeds)==null?void 0:d.length);k++){const O=(l=this.plan)==null?void 0:l.speeds[k].speed,P=[],F=[],w=[],x=[];for(let z=0;z<O.sample.hours.length;z++){const W=O.sample.hours[z];if(k===0){r||(r=T(W.eta).utc(),C=r.clone().add(this.computeDay(this.plan),"day"));const K=T(W.eta).utc();if(K.isAfter(C))break;S.push(`${K.format("MMM-DD/HHmm")}Z`)}const f=this.roundPrecision(W.speed||10,1),Y=this.roundPrecision(W.cFactor||0,1),G=this.roundPrecision((p=(a=W.meteo)==null?void 0:a.wind)==null?void 0:p.kts,1),H=this.roundPrecision((b=(E=(i=W.meteo)==null?void 0:i.wave)==null?void 0:E.sig)==null?void 0:b.height,1);P.push(f),w.push(G),x.push(H),F.push(Y)}const u={name:`Route ${k+1}`,type:"line",smooth:!0,showSymbol:!0,data:P},R={name:`Route ${k+1}`,type:"line",smooth:!0,showSymbol:!0,data:w},Z={name:`Route ${k+1}`,type:"line",smooth:!0,showSymbol:!0,data:x};_.series.push(u),N.series.push(R),D.series.push(Z)}this.sogChart.setOption(_),this.windChart.setOption(N),this.waveChart.setOption(D)}},handleSave(){this.$emit("commit",this.$refs.editor.valueHtml),this.editable=!1},handleRefresh(){this.$emit("refresh")},decideDisable(){this.editorDisabled?this.editable=!1:this.editable=!0}}},it=t=>(e.pushScopeId("data-v-ba499fc2"),t=t(),e.popScopeId(),t),qc={class:"route-report"},Xc={class:"report-header flex-space"},jc=it(()=>e.createElementVNode("img",{style:{"margin-right":"20px"},src:Jc,alt:""},null,-1)),$c=it(()=>e.createElementVNode("div",{class:"tips",style:{"line-height":"2"}},[e.createElementVNode("div",null,"The waypoints in this sheet are approximate positions."),e.createElementVNode("div",null," The route map is for reference only and should not be used for navigation. All the material is an advisory provided so as to assist the Master in making the final route decision. ")],-1)),vc={class:"issued flex-end"},er=it(()=>e.createElementVNode("label",null,"Issued",-1)),tr={class:"report-body"},or={class:"voyage-summary flex-space"},lr={class:"title"},ar={key:0},nr={key:1},sr={key:0,class:"initial"},ir={key:1,class:"warning"},dr={class:"summary flex-start"},cr={class:"summary-item"},rr=it(()=>e.createElementVNode("label",{class:"label"},"Voyage No",-1)),mr={class:"summary-item"},hr=it(()=>e.createElementVNode("label",{class:"label"},"From ",-1)),pr={key:0},Er={key:1,class:"flex-start"},yr=it(()=>e.createElementVNode("span",{style:{"margin-right":"3px"}},",",-1)),_r={class:"summary-item"},Nr=it(()=>e.createElementVNode("label",{class:"label"},"To ",-1)),Vr={key:0},fr={key:1,class:"flex-start"},gr=it(()=>e.createElementVNode("span",{style:{"margin-right":"3px"}},",",-1)),Dr={class:"route-advisory"},xr={class:"charts"},br={key:0},Cr=["src"],Sr={class:"legend-box"},kr=e.createStaticVNode('<div class="legend-item" data-v-ba499fc2><span class="img-legend" style="background-color:var(--dangerous);" data-v-ba499fc2></span>   Dangerous </div><div class="legend-item" data-v-ba499fc2><span class="img-legend" style="background-color:var(--severe);" data-v-ba499fc2></span>   Severe </div><div class="legend-item" data-v-ba499fc2><span class="img-legend" style="background-color:var(--heavy);" data-v-ba499fc2></span>   Heavy </div><div class="legend-item" data-v-ba499fc2><b class="route1" data-v-ba499fc2></b><span data-v-ba499fc2>Route 1</span></div>',4),Ar={key:0,class:"legend-item"},Br=[it(()=>e.createElementVNode("b",{class:"route2"},null,-1)),it(()=>e.createElementVNode("span",null,"Route 2",-1))],wr={key:1,class:"legend-item"},Tr=[it(()=>e.createElementVNode("b",{class:"route3"},null,-1)),it(()=>e.createElementVNode("span",null,"Route 3",-1))],Or={key:1,class:"empty"},Fr={class:"route-comparison"},Pr=it(()=>e.createElementVNode("div",{class:"title flex-space"},[e.createElementVNode("div",{class:"secondary-title"},"Route Comparison"),e.createElementVNode("div",{class:"tips"},[e.createTextVNode(" * Please note the climatology data was used for days that extend beyond the available forecast."),e.createElementVNode("br"),e.createTextVNode(" * Fuel consumption was calculated only based on CP terms, and does not reflect actual consumption. ")])],-1)),ur={class:"container"},Lr={key:0},Wr=it(()=>e.createElementVNode("tr",null,[e.createElementVNode("th",{rowspan:"2",colspan:"2"},"Route"),e.createElementVNode("th",null,"SPD (kts)"),e.createElementVNode("th",{rowspan:"2"},"TTL Dist (nm)"),e.createElementVNode("th",null,"ETA (UTC)"),e.createElementVNode("th",{rowspan:"2"},"Diff (h)"),e.createElementVNode("th",{colspan:"2"},"TTL Cons (mt)"),e.createElementVNode("th",null,"Dangerous"),e.createElementVNode("th",null,"Severe"),e.createElementVNode("th",null,"Heavy")],-1)),Hr=it(()=>e.createElementVNode("th",null,"CP Cons (mt)",-1)),Mr=it(()=>e.createElementVNode("th",null,"Avg.Spd / Wx / Cur.Factor (kts)",-1)),Gr=it(()=>e.createElementVNode("th",null,"*FO",-1)),Ir=it(()=>e.createElementVNode("th",null,"*DO",-1)),Rr={colspan:"3"},zr={rowspan:"2"},Ur={rowspan:"2"},Yr={rowspan:"2"},Zr={rowspan:"2"},Qr={rowspan:"2"},Jr={rowspan:"2"},Kr={rowspan:"2"},qr={rowspan:"2"},Xr={rowspan:"2"},jr={class:"route-advisory",style:{"page-break-after":"always"}},$r={class:"advisory"},vr={class:"reason"},em={class:"secondary-title flex-space"},tm=it(()=>e.createElementVNode("div",null,"Note",-1)),om=["innerHTML"],lm={class:"major-waypoints"},am=it(()=>e.createElementVNode("div",{class:"secondary-title"},"Major Waypoints of Route 1",-1)),nm={class:"container"},sm=e.createStaticVNode('<div class="header" data-v-ba499fc2><div class="cell-item" style="width:180px;" data-v-ba499fc2>Major waypoint</div><div class="cell-item" style="width:100px;" data-v-ba499fc2>Time</div><div class="cell-item" style="width:35px;" data-v-ba499fc2>Nav</div><div class="cell-item" style="width:55px;" data-v-ba499fc2>Dist</div><div class="cell-item" style="width:40px;" data-v-ba499fc2>SOG</div><div class="cell-item" style="width:125px;" data-v-ba499fc2>Memo</div></div>',1),im={class:"body"},dm={class:"cell-item",style:{width:"180px"}},cm={key:0,class:"flex-center"},rm={key:1,class:"flex-center"},mm=it(()=>e.createElementVNode("span",{style:{"margin-right":"3px"}},",",-1)),hm={key:0},pm={class:"cell-item",style:{width:"100px"}},Em={key:0,class:"cell-item offset",style:{width:"35px"}},ym={key:1,class:"cell-item offset",style:{width:"55px"}},_m={key:2,class:"cell-item offset",style:{width:"40px"}},Nm={key:3,class:"cell-item offset",style:{width:"125px"}},Vm={class:"weather-eChart"},fm=it(()=>e.createElementVNode("div",{class:"secondary-title"},"Weather and Speed Analysis",-1)),gm={ref:"sogChart",class:"eChart"},Dm={ref:"windChart",class:"eChart wind"},xm={ref:"waveChart",class:"eChart"},bm={class:"weather-sample"},Cm={class:"secondary-title"},Sm=it(()=>e.createElementVNode("thead",null,[e.createElementVNode("tr",null,[e.createElementVNode("th",{rowspan:"2"},[e.createTextVNode("Date Time "),e.createElementVNode("br"),e.createTextVNode("UTC")]),e.createElementVNode("th",{rowspan:"2"},[e.createTextVNode("Position "),e.createElementVNode("br"),e.createTextVNode("(lat/lon)")]),e.createElementVNode("th",{colspan:"2"},"Wind"),e.createElementVNode("th",{rowspan:"2"},[e.createTextVNode("Sea HT "),e.createElementVNode("br"),e.createTextVNode("(m)")]),e.createElementVNode("th",{colspan:"3"},"Swell"),e.createElementVNode("th",{colspan:"3"},"Sig"),e.createElementVNode("th",{colspan:"3"},"Current")]),e.createElementVNode("tr",null,[e.createElementVNode("th",null,"Dir"),e.createElementVNode("th",null,"Speed (kts)"),e.createElementVNode("th",null,"Dir"),e.createElementVNode("th",null,"Ht (m)"),e.createElementVNode("th",null,"Prd (s)"),e.createElementVNode("th",null,"Dir"),e.createElementVNode("th",null,"Hgt (m)"),e.createElementVNode("th",null,"Prd (s)"),e.createElementVNode("th",null,"Dir"),e.createElementVNode("th",null,"Speed (kts)"),e.createElementVNode("th",null,"Factor (kts)")])],-1)),km={class:"flex-center"},Am=it(()=>e.createElementVNode("span",null,"/",-1)),Bm={key:0,class:"degree-box"},wm={key:1},Tm={key:0,class:"degree-box"},Om={key:1},Fm={key:0,class:"degree-box"},Pm={key:1},um={key:0,class:"degree-box"},Lm={key:1};function Wm(t,n,o,d,l,a){var S,_,N,D,r,C,k,O,P,F,w,x,u,R,Z,z,W,f,Y,G,H,K,q,j,X,V,M,J,s,$,c,ee,oe,te,se,ie,ce,re,he,pe,Ee,de,ye,xe,be,Ce,Se,ke,Ae,Be,Fe,Pe,fe;const p=e.resolveComponent("IdmBrand"),i=e.resolveComponent("Lat"),E=e.resolveComponent("Lng"),b=e.resolveComponent("Editor");return e.openBlock(),e.createElementBlock("div",qc,[e.createVNode(p,{name:"Voyage Planning"}),e.createElementVNode("div",Xc,[jc,$c,e.createElementVNode("div",vc,[er,e.createElementVNode("span",null,e.toDisplayString(a.computeUTCTime((S=o.plan)==null?void 0:S.updatedAt)),1)])]),e.createElementVNode("div",tr,[e.createElementVNode("div",or,[e.createElementVNode("div",lr,[((_=o.plan)==null?void 0:_.type)==="Recommend"?(e.openBlock(),e.createElementBlock("div",ar,"Recommended Route Report for "+e.toDisplayString((r=(D=(N=o.plan)==null?void 0:N.voyage)==null?void 0:D.vessel)==null?void 0:r.name),1)):(e.openBlock(),e.createElementBlock("div",nr,"Route Report for "+e.toDisplayString((O=(k=(C=o.plan)==null?void 0:C.voyage)==null?void 0:k.vessel)==null?void 0:O.name),1)),e.createElementVNode("div",null,[((P=o.plan)==null?void 0:P.type)==="Recommend"?(e.openBlock(),e.createElementBlock("span",sr,"Initial Route Report")):e.createCommentVNode("",!0),((F=o.plan)==null?void 0:F.type)==="Drifting"?(e.openBlock(),e.createElementBlock("span",ir,"Drifting Route Report")):e.createCommentVNode("",!0)])]),e.createElementVNode("div",dr,[e.createElementVNode("div",cr,[rr,e.createElementVNode("span",null,e.toDisplayString((x=(w=o.plan)==null?void 0:w.voyage)==null?void 0:x.number),1)]),e.createElementVNode("div",mr,[hr,(Z=(R=(u=o.plan)==null?void 0:u.leg)==null?void 0:R.departure)!=null&&Z.name?(e.openBlock(),e.createElementBlock("div",pr,e.toDisplayString((W=(z=o.plan)==null?void 0:z.leg)==null?void 0:W.departure.name),1)):(e.openBlock(),e.createElementBlock("div",Er,[e.createVNode(i,{lat:(G=(Y=(f=o.plan)==null?void 0:f.leg)==null?void 0:Y.departure)==null?void 0:G.lat,label:""},null,8,["lat"]),yr,e.createVNode(E,{lng:(q=(K=(H=o.plan)==null?void 0:H.leg)==null?void 0:K.departure)==null?void 0:q.lng,label:""},null,8,["lng"])]))]),e.createElementVNode("div",_r,[Nr,(V=(X=(j=o.plan)==null?void 0:j.leg)==null?void 0:X.destination)!=null&&V.name?(e.openBlock(),e.createElementBlock("div",Vr,e.toDisplayString((M=o.plan)==null?void 0:M.leg.destination.name),1)):(e.openBlock(),e.createElementBlock("div",fr,[e.createVNode(i,{lat:($=(s=(J=o.plan)==null?void 0:J.leg)==null?void 0:s.destination)==null?void 0:$.lat,label:""},null,8,["lat"]),gr,e.createVNode(E,{lat:(oe=(ee=(c=o.plan)==null?void 0:c.leg)==null?void 0:ee.destination)==null?void 0:oe.lng,label:""},null,8,["lat"])]))])])]),e.createElementVNode("div",Dr,[e.createElementVNode("div",xr,[(te=o.plan)!=null&&te.chartUrl?(e.openBlock(),e.createElementBlock("div",br,[e.createElementVNode("img",{src:o.plan.chartUrl},null,8,Cr),e.createElementVNode("div",Sr,[kr,((ie=(se=o.plan)==null?void 0:se.speeds)==null?void 0:ie.length)>1?(e.openBlock(),e.createElementBlock("div",Ar,Br)):e.createCommentVNode("",!0),((re=(ce=o.plan)==null?void 0:ce.speeds)==null?void 0:re.length)>2?(e.openBlock(),e.createElementBlock("div",wr,Tr)):e.createCommentVNode("",!0)])])):(e.openBlock(),e.createElementBlock("div",Or,[e.createElementVNode("span",null,[e.createTextVNode("weather chart in cooking "),e.createElementVNode("span",{class:"btn",onClick:n[0]||(n[0]=(...L)=>a.handleRefresh&&a.handleRefresh(...L))},"Refresh"),e.createTextVNode(" later please")])]))])]),e.createElementVNode("div",Fr,[Pr,e.createElementVNode("div",ur,[(pe=(he=o.plan)==null?void 0:he.speeds)!=null&&pe.length?(e.openBlock(),e.createElementBlock("table",Lr,[e.createElementVNode("thead",null,[Wr,e.createElementVNode("tr",null,[Hr,Mr,Gr,Ir,e.createElementVNode("th",Rr,"*days (with in the next "+e.toDisplayString(a.computeDay(o.plan))+" days)",1)])]),e.createElementVNode("tbody",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList((Ee=o.plan)==null?void 0:Ee.speeds,(L,_e)=>{var ue,Le,We,we,He,Ke,qe,U,Oe,ze,Ue,Ye,Ze,Qe,Je,y,Q,ge,Te,Me;return e.openBlock(),e.createElementBlock(e.Fragment,{key:_e},[e.createElementVNode("tr",null,[e.createElementVNode("td",zr,e.toDisplayString(_e+1),1),e.createElementVNode("td",Ur,e.toDisplayString((Le=(ue=L.speed)==null?void 0:ue.lane)==null?void 0:Le.name),1),e.createElementVNode("td",null,e.toDisplayString(`${((We=L.speed)==null?void 0:We.label)??"CP"} ${((we=L.speed)==null?void 0:we.v0)??((Ke=(He=L.speed)==null?void 0:He.cpCopy)==null?void 0:Ke.speed)}`),1),e.createElementVNode("td",Yr,e.toDisplayString(a.roundPrecision((qe=L.speed)==null?void 0:qe.distance,0)),1),e.createElementVNode("td",null,e.toDisplayString(a.computeUTCTime((U=L.speed)==null?void 0:U.eta)),1),e.createElementVNode("td",Zr,e.toDisplayString(a.computeTimeDiff(o.plan,_e)),1),e.createElementVNode("td",Qr,e.toDisplayString(a.roundPrecision((Oe=L.speed)==null?void 0:Oe.totalFoCons,3)),1),e.createElementVNode("td",Jr,e.toDisplayString(a.roundPrecision((ze=L.speed)==null?void 0:ze.totalDgoCons,3)),1),e.createElementVNode("td",Kr,e.toDisplayString(a.roundPrecision(((Ue=L.speed)==null?void 0:Ue.dangerous)/24,1)),1),e.createElementVNode("td",qr,e.toDisplayString(a.roundPrecision(((Ye=L.speed)==null?void 0:Ye.severe)/24,1)),1),e.createElementVNode("td",Xr,e.toDisplayString(a.roundPrecision(((Ze=L.speed)==null?void 0:Ze.heavy)/24,1)),1)]),e.createElementVNode("tr",null,[e.createElementVNode("td",null,e.toDisplayString((Je=(Qe=L.speed)==null?void 0:Qe.cpCopy)==null?void 0:Je.fo)+" FO / "+e.toDisplayString((Q=(y=L.speed)==null?void 0:y.cpCopy)==null?void 0:Q.dgo)+" DO",1),e.createElementVNode("td",null,e.toDisplayString(a.roundPrecision((ge=L.speed)==null?void 0:ge.avgSpeed,2))+" / "+e.toDisplayString(a.roundPrecision((Te=L.speed)==null?void 0:Te.wxFactor,2))+" / "+e.toDisplayString(a.roundPrecision((Me=L.speed)==null?void 0:Me.cFactor,2)),1)])],64)}),128))])])):e.createCommentVNode("",!0)])]),e.createElementVNode("div",jr,[e.createElementVNode("div",$r,[e.createElementVNode("div",vr,[e.createElementVNode("div",em,[tm,l.editable?(e.openBlock(),e.createElementBlock("div",{key:0,class:"print-hidden save-button",onClick:n[1]||(n[1]=L=>a.handleSave())},"Save")):e.createCommentVNode("",!0)]),e.createElementVNode("div",null,[l.editable?(e.openBlock(),e.createBlock(b,{key:0,ref:"editor",modelValue:l.advisory,"onUpdate:modelValue":n[2]||(n[2]=L=>l.advisory=L),class:"editor",height:"320px"},null,8,["modelValue"])):(e.openBlock(),e.createElementBlock("div",{key:1,class:"txt",onDblclick:n[3]||(n[3]=(...L)=>a.decideDisable&&a.decideDisable(...L)),innerHTML:l.advisory},null,40,om))])]),e.createElementVNode("div",lm,[am,e.createElementVNode("div",nm,[sm,e.createElementVNode("div",im,[(ye=(de=o.plan)==null?void 0:de.speeds)!=null&&ye.length?(e.openBlock(!0),e.createElementBlock(e.Fragment,{key:0},e.renderList(a.computeMajorPoints((Se=(Ce=(be=(xe=o.plan)==null?void 0:xe.speeds[0])==null?void 0:be.speed)==null?void 0:Ce.sample)==null?void 0:Se.wps),(L,_e)=>(e.openBlock(),e.createElementBlock("div",{key:_e,class:"cell-row"},[e.createElementVNode("div",dm,[L.isResume?(e.openBlock(),e.createElementBlock("div",cm,"Resume")):(e.openBlock(),e.createElementBlock("div",rm,[e.createVNode(i,{lat:L.lat,label:""},null,8,["lat"]),mm,e.createVNode(E,{lng:L.lng,label:""},null,8,["lng"]),L.pilot?(e.openBlock(),e.createElementBlock("span",hm," [P]")):e.createCommentVNode("",!0)]))]),e.createElementVNode("div",pm,e.toDisplayString(a.computeUTCTime(L.eta)),1),_e?(e.openBlock(),e.createElementBlock("div",Em,e.toDisplayString(a.computeNav(L)),1)):e.createCommentVNode("",!0),_e?(e.openBlock(),e.createElementBlock("div",ym,e.toDisplayString(a.roundPrecision(L.distanceFromStart,1)),1)):e.createCommentVNode("",!0),_e?(e.openBlock(),e.createElementBlock("div",_m,e.toDisplayString(a.roundPrecision(L.avgSpd??L.speed,1)),1)):e.createCommentVNode("",!0),_e?(e.openBlock(),e.createElementBlock("div",Nm,e.toDisplayString(a.computeMemo(L)),1)):e.createCommentVNode("",!0)]))),128)):e.createCommentVNode("",!0)])])])])]),e.createElementVNode("div",Vm,[fm,e.createElementVNode("div",gm,null,512),e.createElementVNode("div",Dm,null,512),e.createElementVNode("div",xm,null,512)]),e.createElementVNode("div",bm,[(Ae=(ke=o.plan)==null?void 0:ke.speeds)!=null&&Ae.length?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[e.createElementVNode("div",Cm,"Weather Forecast for the Next "+e.toDisplayString(a.computeDay(o.plan))+" Days of Route 1",1),e.createElementVNode("table",null,[Sm,e.createElementVNode("tbody",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList((fe=(Pe=(Fe=(Be=o.plan)==null?void 0:Be.speeds[0])==null?void 0:Fe.speed)==null?void 0:Pe.sample)==null?void 0:fe.hours,(L,_e)=>{var ue,Le,We,we,He,Ke,qe,U,Oe,ze,Ue,Ye,Ze,Qe,Je,y,Q,ge,Te,Me,me,Xe,$e,ve,ot,lt,at,nt,mt,ht,pt,Et,yt,_t,Nt,Vt,ft,gt,Dt,xt,bt,Ct,St,kt,At,Bt,wt,Tt,Ht;return e.openBlock(),e.createElementBlock("tr",{key:_e,class:e.normalizeClass(L.isDangerous?"dangerous":L.isSevere?"severe":L.isHeavy?"heavy":"")},[e.createElementVNode("td",null,e.toDisplayString(a.computeUTCTime(L.eta)),1),e.createElementVNode("td",null,[e.createElementVNode("div",km,[e.createVNode(i,{lat:L.lat,label:""},null,8,["lat"]),Am,e.createVNode(E,{lng:L.lng,label:""},null,8,["lng"])])]),e.createElementVNode("td",null,[(Le=(ue=L.meteo)==null?void 0:ue.wind)!=null&&Le.kts?(e.openBlock(),e.createElementBlock("span",Bm,[e.createTextVNode(e.toDisplayString((we=(We=L.meteo)==null?void 0:We.wind)==null?void 0:we.direction),1),e.createElementVNode("i",{class:"iconfont",style:e.normalizeStyle(a.computeDegree((Ke=(He=L.meteo)==null?void 0:He.wind)==null?void 0:Ke.degree,!1))},"",4)])):(e.openBlock(),e.createElementBlock("span",wm,"-"))]),e.createElementVNode("td",null,e.toDisplayString(a.roundPrecision((U=(qe=L.meteo)==null?void 0:qe.wind)==null?void 0:U.kts,1)),1),e.createElementVNode("td",null,e.toDisplayString(a.roundPrecision((Ue=(ze=(Oe=L.meteo)==null?void 0:Oe.wave)==null?void 0:ze.wd)==null?void 0:Ue.height,1)),1),e.createElementVNode("td",null,[(Qe=(Ze=(Ye=L.meteo)==null?void 0:Ye.wave)==null?void 0:Ze.swell)!=null&&Qe.height?(e.openBlock(),e.createElementBlock("span",Tm,[e.createTextVNode(e.toDisplayString((Q=(y=(Je=L.meteo)==null?void 0:Je.wave)==null?void 0:y.swell)==null?void 0:Q.direction),1),e.createElementVNode("i",{class:"iconfont",style:e.normalizeStyle(a.computeDegree((Me=(Te=(ge=L.meteo)==null?void 0:ge.wave)==null?void 0:Te.swell)==null?void 0:Me.degree,!1))},"",4)])):(e.openBlock(),e.createElementBlock("span",Om,"-"))]),e.createElementVNode("td",null,e.toDisplayString(a.roundPrecision(($e=(Xe=(me=L.meteo)==null?void 0:me.wave)==null?void 0:Xe.swell)==null?void 0:$e.height,1)),1),e.createElementVNode("td",null,e.toDisplayString(a.roundPrecision((lt=(ot=(ve=L.meteo)==null?void 0:ve.wave)==null?void 0:ot.swell)==null?void 0:lt.period,1)),1),e.createElementVNode("td",null,[(mt=(nt=(at=L.meteo)==null?void 0:at.wave)==null?void 0:nt.sig)!=null&&mt.height?(e.openBlock(),e.createElementBlock("span",Fm,[e.createTextVNode(e.toDisplayString((Et=(pt=(ht=L.meteo)==null?void 0:ht.wave)==null?void 0:pt.sig)==null?void 0:Et.direction),1),e.createElementVNode("i",{class:"iconfont",style:e.normalizeStyle(a.computeDegree((Nt=(_t=(yt=L.meteo)==null?void 0:yt.wave)==null?void 0:_t.sig)==null?void 0:Nt.degree,!1))},"",4)])):(e.openBlock(),e.createElementBlock("span",Pm,"-"))]),e.createElementVNode("td",null,e.toDisplayString(a.roundPrecision((gt=(ft=(Vt=L.meteo)==null?void 0:Vt.wave)==null?void 0:ft.sig)==null?void 0:gt.height,1)),1),e.createElementVNode("td",null,e.toDisplayString(a.roundPrecision((bt=(xt=(Dt=L.meteo)==null?void 0:Dt.wave)==null?void 0:xt.sig)==null?void 0:bt.period,1)),1),e.createElementVNode("td",null,[(St=(Ct=L.meteo)==null?void 0:Ct.current)!=null&&St.kts?(e.openBlock(),e.createElementBlock("span",um,[e.createTextVNode(e.toDisplayString((At=(kt=L.meteo)==null?void 0:kt.current)==null?void 0:At.direction),1),e.createElementVNode("i",{class:"iconfont",style:e.normalizeStyle(a.computeDegree((wt=(Bt=L.meteo)==null?void 0:Bt.current)==null?void 0:wt.degree,!0))},"",4)])):(e.openBlock(),e.createElementBlock("span",Lm,"-"))]),e.createElementVNode("td",null,e.toDisplayString(a.roundPrecision((Ht=(Tt=L.meteo)==null?void 0:Tt.current)==null?void 0:Ht.kts,1)),1),e.createElementVNode("td",null,e.toDisplayString(a.roundPrecision(L.cFactor,1)),1)],2)}),128))])])],64)):e.createCommentVNode("",!0)])])])}const cn=De(Kc,[["render",Wm],["__scopeId","data-v-ba499fc2"]]),Aee="",Hm={name:"RouteReport",components:{Lng:$a,Lat:va,Editor:Ro},props:{plan:{type:Object,default:()=>({})},editorDisabled:{type:Boolean,default:()=>!1}},emits:["commit","refresh"],data(){return{editable:!1,advisory:""}},computed:{computeUTCTime(){return function(t,n="MMM-DD/HHmm[Z]"){return`${T(t).utc().format(n)}`}},computeLTime(){return function(t,n){const o=T(t);return o.utcOffset(n),`${o.format("MMM-DD/HHmm")}LT`}},computeUTCOffset(){var t,n,o,d,l;return(l=(d=(o=(n=(t=this.plan)==null?void 0:t.leg)==null?void 0:n.destination)==null?void 0:o.port)==null?void 0:d.timezone)==null?void 0:l.UtcCurrentOffset},computeTimeDiff(){return function(t,n){var o,d,l;if(n===0)return"-";{const a=T((d=(o=t==null?void 0:t.speeds[n])==null?void 0:o.speed)==null?void 0:d.eta).diff(T((l=t==null?void 0:t.speeds[0])==null?void 0:l.speed.eta),"h",!0);return Math.round(a*10)/10}}},computeNav(){return function(t){return t.gcToPrevious?"GC":"RL"}},roundPrecision(){return function(t,n=4){if(typeof t=="number"){const o=Number("1".padEnd(n+1,"0"));return Math.round(t*o)/o}else return"-"}},computeMapChart(){var t;return((t=this.plan)==null?void 0:t.chartUrl)||"//oss.idmwx.com/asset/route-report_example.png"},computeDegree(){return function(t,n){t=t%360;for(let o=0;o<17;o++)if(o*22.5+t+11.25>=360){let d=(16-o)*22.5;return n||(d=d+180),`transform:rotate(${d}deg);margin-left:3px;`}}},computeDay(){return function(t){var l,a,p;const n=(p=(a=(l=t==null?void 0:t.speeds[0])==null?void 0:l.speed)==null?void 0:a.sample)==null?void 0:p.hours,o=n[0],d=n[n.length-1];return T(d.eta).diff(T(o.eta),"day")}}},watch:{plan:{handler(){var t,n;(t=this.plan)!=null&&t.id&&(this.advisory=((n=this.plan)==null?void 0:n.advisory)||"Pls find the following major waypoints for your safe navigation.")},immediate:!0}},methods:{handleCommit(t){this.editable=!1,this.$emit("commit",t)},handleRefresh(){this.$emit("refresh")},handleEdit(){this.editorDisabled?this.editable=!1:this.editable=!0}}},dt=t=>(e.pushScopeId("data-v-afd0f0bf"),t=t(),e.popScopeId(),t),Mm={class:"route-report"},Gm=dt(()=>e.createElementVNode("div",{class:"brand"},[e.createElementVNode("img",{class:"bgImg",src:"https://img.idmwx.com/asset/fli_bg.jpeg"})],-1)),Im={class:"section"},Rm=dt(()=>e.createElementVNode("div",{class:"section-header flex-start"},[e.createElementVNode("i",{class:"iconfont"},""),e.createElementVNode("div",{class:"title"},"Voyage Basics")],-1)),zm={class:"section-body basics"},Um={class:"flex-space section-row"},Ym={class:"flex-start"},Zm=dt(()=>e.createElementVNode("label",{class:"flex-end"},"Company Name",-1)),Qm={class:"flex-start"},Jm={class:"flex-start"},Km=dt(()=>e.createElementVNode("label",{class:"flex-end"},"Departure Port",-1)),qm={class:"flex-start flex"},Xm={key:0,class:"flex"},jm={key:1,class:"flex-space flex"},$m=dt(()=>e.createElementVNode("span",{style:{"margin-right":"3px"}},",",-1)),vm={class:"time flex"},eh={class:"flex-space section-row"},th={class:"flex-start"},oh=dt(()=>e.createElementVNode("label",{class:"flex-end"},"Vessel Name",-1)),lh={class:"flex-start"},ah={class:"flex-start"},nh=dt(()=>e.createElementVNode("label",{class:"flex-end"},"Arrival Port",-1)),sh={class:"flex-start flex"},ih={key:0,class:"flex"},dh={key:1,class:"flex-space"},ch=dt(()=>e.createElementVNode("span",{style:{"margin-right":"3px"}},",",-1)),rh={class:"time flex"},mh={class:"flex-space section-row"},hh={class:"flex-start"},ph=dt(()=>e.createElementVNode("label",{class:"flex-end"},"Report Created",-1)),Eh={class:"flex-start"},yh={class:"flex-start"},_h=dt(()=>e.createElementVNode("label",{class:"flex-end"},"Voyage Condition",-1)),Nh={class:"flex-start flex"},Vh={class:"section",style:{"border-bottom":"2px dashed var(--fli-border-color-dark)"}},fh=dt(()=>e.createElementVNode("div",{class:"section-header flex-start"},[e.createElementVNode("i",{class:"iconfont"},""),e.createElementVNode("div",{class:"title"},"Route Details")],-1)),gh={class:"section-body detail"},Dh={class:"flex-space",style:{"align-items":"stretch"}},xh={class:"chart"},bh=["src"],Ch={key:1,class:"empty flex-center"},Sh={class:"route flex",style:{"justify-content":"space-between"}},kh=dt(()=>e.createElementVNode("div",{class:"title"},"ROUTE REMARKS",-1)),Ah={class:"suggestion"},Bh=["innerHTML"],wh={class:"flex-start legends"},Th=e.createStaticVNode('<div class="legend" data-v-afd0f0bf><label style="background-color:var(--severe);" data-v-afd0f0bf></label><span data-v-afd0f0bf>Dangerous</span></div><div class="legend" data-v-afd0f0bf><label style="background-color:var(--heavy);" data-v-afd0f0bf></label><span data-v-afd0f0bf>Severe</span></div><div class="legend" data-v-afd0f0bf><b class="route1" data-v-afd0f0bf></b><span data-v-afd0f0bf>Route 1</span></div>',3),Oh={key:0,class:"legend"},Fh=[dt(()=>e.createElementVNode("b",{class:"route2"},null,-1)),dt(()=>e.createElementVNode("span",null,"Route 2",-1))],Ph={key:1,class:"legend"},uh=[dt(()=>e.createElementVNode("b",{class:"route3"},null,-1)),dt(()=>e.createElementVNode("span",null,"Route 3",-1))],Lh={class:"section"},Wh=dt(()=>e.createElementVNode("div",{class:"section-header flex-start"},[e.createElementVNode("i",{class:"iconfont"},""),e.createElementVNode("div",{class:"title"},"Route Summary")],-1)),Hh={class:"section-body comparison"},Mh={class:"container"},Gh={key:0},Ih=dt(()=>e.createElementVNode("thead",null,[e.createElementVNode("tr"),e.createElementVNode("tr",null,[e.createElementVNode("th",null,"Route"),e.createElementVNode("th",null,"TTL Dist (nm)"),e.createElementVNode("th",null,"SPD (kts)"),e.createElementVNode("th",null,"CP Cons (mt)"),e.createElementVNode("th",null,"ETA (UTC)"),e.createElementVNode("th",null,"Avg.Spd / Wx / Cur.Factor (kts)"),e.createElementVNode("th",null,"TTL Cons (mt)")])],-1)),Rh={class:"section",style:{"page-break-inside":"avoid"}},zh=dt(()=>e.createElementVNode("div",{class:"section-header flex-start"},[e.createElementVNode("i",{class:"iconfont"},""),e.createElementVNode("div",{class:"title"},"Major Waypoint")],-1)),Uh={class:"section-body sample"},Yh={class:"major-waypoints"},Zh={class:"container"},Qh=e.createStaticVNode('<div class="header" data-v-afd0f0bf><div class="cell-item flexM" data-v-afd0f0bf>Major waypoint</div><div class="cell-item flexL" data-v-afd0f0bf>Name</div><div class="cell-item flex" data-v-afd0f0bf>Time</div><div class="cell-item flex" data-v-afd0f0bf>Nav</div><div class="cell-item flex" data-v-afd0f0bf>Dist</div><div class="cell-item flex" data-v-afd0f0bf>SOG</div></div>',1),Jh={class:"body"},Kh={class:"cell-item flexM"},qh={class:"flex-center"},Xh=dt(()=>e.createElementVNode("span",{style:{"margin-right":"3px"}},",",-1)),jh={class:"cell-item flexL"},$h={key:0,class:"flex-center"},vh={key:1},ep={class:"cell-item flex"},tp={key:0,class:"cell-item flex offset"},op={key:1,class:"cell-item flex nbsp"},lp={key:2,class:"cell-item flex offset"},ap={key:3,class:"cell-item flex nbsp"},np={key:4,class:"cell-item flex offset"},sp={key:5,class:"cell-item flex nbsp"},ip={class:"section"},dp=dt(()=>e.createElementVNode("div",{class:"section-header flex-start"},[e.createElementVNode("i",{class:"iconfont"},""),e.createElementVNode("div",{class:"title"},"Route Forecast")],-1)),cp={class:"section-body sample"},rp={key:0},mp=dt(()=>e.createElementVNode("thead",null,[e.createElementVNode("tr",null,[e.createElementVNode("th",{rowspan:"2"},[e.createTextVNode("Date Time "),e.createElementVNode("br"),e.createTextVNode("(UTC)")]),e.createElementVNode("th",{rowspan:"2"},[e.createTextVNode("Position "),e.createElementVNode("br"),e.createTextVNode("(lat/lon)")]),e.createElementVNode("th",{colspan:"2"},"Wind"),e.createElementVNode("th",{rowspan:"2"},[e.createTextVNode("Sea HT "),e.createElementVNode("br"),e.createTextVNode("(m)")]),e.createElementVNode("th",{colspan:"3"},"Swell"),e.createElementVNode("th",{colspan:"3"},"Sig"),e.createElementVNode("th",{colspan:"3"},"Current")]),e.createElementVNode("tr",null,[e.createElementVNode("th",null,"Dir"),e.createElementVNode("th",null,"Speed (kts)"),e.createElementVNode("th",null,"Dir"),e.createElementVNode("th",null,"Ht (m)"),e.createElementVNode("th",null,"Prd (s)"),e.createElementVNode("th",null,"Dir"),e.createElementVNode("th",null,"Hgt (m)"),e.createElementVNode("th",null,"Prd (s)"),e.createElementVNode("th",null,"Dir"),e.createElementVNode("th",null,"Speed (kts)"),e.createElementVNode("th",null,"Factor (kts)")])],-1)),hp={class:"flex-center"},pp=dt(()=>e.createElementVNode("span",null,"/",-1)),Ep={key:0,class:"degree-box"},yp={key:1},_p={key:0,class:"degree-box"},Np={key:1},Vp={key:0,class:"degree-box"},fp={key:1},gp={key:0,class:"degree-box"},Dp={key:1},xp=dt(()=>e.createElementVNode("div",{class:"section"},[e.createElementVNode("div",{class:"section-body footer"},[e.createElementVNode("div",null,[e.createTextVNode("Fleet Insight Limited "),e.createElementVNode("a",{href:"mailto:ops@fltins.com"},"ops@fltins.com")]),e.createElementVNode("div",{style:{"font-size":"11px","margin-top":"10px"}}," The waypoints and route map provided are intended for informational purposes only and should not be relied upon for actual navigation. Fleet Insight Limited assumes no liability for any direct/potential damage to vessels or cargo that may occur as a result of using this voyage plan for exact navigation. ")])],-1));function bp(t,n,o,d,l,a){var b,S,_,N,D,r,C,k,O,P,F,w,x,u,R,Z,z,W,f,Y,G,H,K,q,j,X,V,M,J,s,$,c,ee,oe,te,se,ie,ce,re,he,pe,Ee,de,ye,xe,be,Ce,Se,ke,Ae,Be,Fe,Pe,fe,L,_e,ue,Le,We,we,He,Ke,qe;const p=e.resolveComponent("Lat"),i=e.resolveComponent("Lng"),E=e.resolveComponent("Editor");return e.openBlock(),e.createElementBlock("div",Mm,[Gm,e.createElementVNode("div",Im,[Rm,e.createElementVNode("div",zm,[e.createElementVNode("div",Um,[e.createElementVNode("div",Ym,[Zm,e.createElementVNode("div",Qm,e.toDisplayString((_=(S=(b=o.plan)==null?void 0:b.voyage)==null?void 0:S.company)==null?void 0:_.name),1)]),e.createElementVNode("div",Jm,[Km,e.createElementVNode("div",qm,[(r=(D=(N=o.plan)==null?void 0:N.leg)==null?void 0:D.departure)!=null&&r.name?(e.openBlock(),e.createElementBlock("div",Xm,e.toDisplayString((k=(C=o.plan)==null?void 0:C.leg)==null?void 0:k.departure.name),1)):(e.openBlock(),e.createElementBlock("div",jm,[e.createVNode(p,{lat:(F=(P=(O=o.plan)==null?void 0:O.leg)==null?void 0:P.departure)==null?void 0:F.lat,label:""},null,8,["lat"]),$m,e.createVNode(i,{lng:(u=(x=(w=o.plan)==null?void 0:w.leg)==null?void 0:x.departure)==null?void 0:u.lng,label:""},null,8,["lng"])])),e.createElementVNode("div",vm,e.toDisplayString(a.computeUTCTime(((z=(Z=(R=o.plan)==null?void 0:R.leg)==null?void 0:Z.departure)==null?void 0:z.atd)||((Y=(f=(W=o.plan)==null?void 0:W.leg)==null?void 0:f.departure)==null?void 0:Y.etd),"MMMM-DD, HHmm[Z]")),1)])])]),e.createElementVNode("div",eh,[e.createElementVNode("div",th,[oh,e.createElementVNode("div",lh,e.toDisplayString((K=(H=(G=o.plan)==null?void 0:G.voyage)==null?void 0:H.vessel)==null?void 0:K.name),1)]),e.createElementVNode("div",ah,[nh,e.createElementVNode("div",sh,[(X=(j=(q=o.plan)==null?void 0:q.leg)==null?void 0:j.destination)!=null&&X.name?(e.openBlock(),e.createElementBlock("div",ih,e.toDisplayString((M=(V=o.plan)==null?void 0:V.leg)==null?void 0:M.destination.name),1)):(e.openBlock(),e.createElementBlock("div",dh,[e.createVNode(p,{lat:($=(s=(J=o.plan)==null?void 0:J.leg)==null?void 0:s.destination)==null?void 0:$.lat,label:""},null,8,["lat"]),ch,e.createVNode(i,{lng:(oe=(ee=(c=o.plan)==null?void 0:c.leg)==null?void 0:ee.destination)==null?void 0:oe.lng,label:""},null,8,["lng"])])),e.createElementVNode("div",rh,e.toDisplayString(a.computeUTCTime(((ie=(se=(te=o.plan)==null?void 0:te.speeds)==null?void 0:se[0])==null?void 0:ie.speed.ata)||((re=(ce=o.plan)==null?void 0:ce.speeds)==null?void 0:re[0].speed.eta),"MMMM-DD, HHmm[Z]")),1)])])]),e.createElementVNode("div",mh,[e.createElementVNode("div",hh,[ph,e.createElementVNode("div",Eh,e.toDisplayString(a.computeUTCTime((he=o.plan)==null?void 0:he.createdAt,"MMMM-DD, HHmm[Z]")),1)]),e.createElementVNode("div",yh,[_h,e.createElementVNode("div",Nh,[e.createElementVNode("div",null,e.toDisplayString((Ee=(pe=o.plan)==null?void 0:pe.voyage)==null?void 0:Ee.loadCondition),1)])])])])]),e.createElementVNode("div",Vh,[fh,e.createElementVNode("div",gh,[e.createElementVNode("div",Dh,[e.createElementVNode("div",xh,[(de=o.plan)!=null&&de.chartUrl?(e.openBlock(),e.createElementBlock("img",{key:0,src:(ye=o.plan)==null?void 0:ye.chartUrl},null,8,bh)):(e.openBlock(),e.createElementBlock("div",Ch,[e.createTextVNode("waiting for weather map, "),e.createElementVNode("b",{onClick:n[0]||(n[0]=(...U)=>a.handleRefresh&&a.handleRefresh(...U))},"Refresh"),e.createTextVNode("later please")]))]),e.createElementVNode("div",Sh,[e.createElementVNode("div",null,[kh,e.createElementVNode("div",Ah,[l.editable?(e.openBlock(),e.createBlock(E,{key:0,modelValue:l.advisory,"onUpdate:modelValue":n[1]||(n[1]=U=>l.advisory=U),class:"editor",height:"120px",onBlur:n[2]||(n[2]=U=>a.handleCommit(U))},null,8,["modelValue"])):(e.openBlock(),e.createElementBlock("div",{key:1,class:"txt",onDblclick:n[3]||(n[3]=(...U)=>a.handleEdit&&a.handleEdit(...U)),innerHTML:l.advisory},null,40,Bh))])]),e.createElementVNode("div",wh,[Th,((be=(xe=o.plan)==null?void 0:xe.speeds)==null?void 0:be.length)>1?(e.openBlock(),e.createElementBlock("div",Oh,Fh)):e.createCommentVNode("",!0),((Se=(Ce=o.plan)==null?void 0:Ce.speeds)==null?void 0:Se.length)>2?(e.openBlock(),e.createElementBlock("div",Ph,uh)):e.createCommentVNode("",!0)])])])])]),e.createElementVNode("div",Lh,[Wh,e.createElementVNode("div",Hh,[e.createElementVNode("div",Mh,[(Ae=(ke=o.plan)==null?void 0:ke.speeds)!=null&&Ae.length?(e.openBlock(),e.createElementBlock("table",Gh,[Ih,e.createElementVNode("tbody",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList((Be=o.plan)==null?void 0:Be.speeds,(U,Oe)=>{var ze,Ue,Ye,Ze,Qe,Je,y,Q,ge,Te,Me,me,Xe,$e,ve;return e.openBlock(),e.createElementBlock("tr",{key:Oe},[e.createElementVNode("td",null,"Route "+e.toDisplayString(Oe+1),1),e.createElementVNode("td",null,e.toDisplayString(a.roundPrecision((ze=U.speed)==null?void 0:ze.distance,0)),1),e.createElementVNode("td",null,e.toDisplayString(`${((Ue=U.speed)==null?void 0:Ue.label)??"CP"} ${((Ye=U.speed)==null?void 0:Ye.v0)??((Qe=(Ze=U.speed)==null?void 0:Ze.cpCopy)==null?void 0:Qe.speed)}`),1),e.createElementVNode("td",null,e.toDisplayString((y=(Je=U.speed)==null?void 0:Je.cpCopy)==null?void 0:y.fo)+" FO / "+e.toDisplayString((ge=(Q=U.speed)==null?void 0:Q.cpCopy)==null?void 0:ge.dgo)+" DO",1),e.createElementVNode("td",null,e.toDisplayString(a.computeUTCTime((Te=U.speed)==null?void 0:Te.eta)),1),e.createElementVNode("td",null,e.toDisplayString(a.roundPrecision((Me=U.speed)==null?void 0:Me.avgSpeed,2))+" / "+e.toDisplayString(a.roundPrecision((me=U.speed)==null?void 0:me.wxFactor,2))+" / "+e.toDisplayString(a.roundPrecision((Xe=U.speed)==null?void 0:Xe.cFactor,2)),1),e.createElementVNode("td",null,e.toDisplayString(a.roundPrecision(($e=U.speed)==null?void 0:$e.totalFoCons,3))+" FO /"+e.toDisplayString(a.roundPrecision((ve=U.speed)==null?void 0:ve.totalDgoCons,3))+" DO",1)])}),128))])])):e.createCommentVNode("",!0)])])]),e.createElementVNode("div",Rh,[zh,e.createElementVNode("div",Uh,[e.createElementVNode("div",Yh,[e.createElementVNode("div",Zh,[Qh,e.createElementVNode("div",Jh,[(Pe=(Fe=o.plan)==null?void 0:Fe.speeds)!=null&&Pe.length?(e.openBlock(!0),e.createElementBlock(e.Fragment,{key:0},e.renderList((ue=(_e=(L=(fe=o.plan)==null?void 0:fe.speeds[0])==null?void 0:L.speed)==null?void 0:_e.sample)==null?void 0:ue.wps,(U,Oe)=>(e.openBlock(),e.createElementBlock("div",{key:Oe,class:"cell-row"},[e.createElementVNode("div",Kh,[e.createElementVNode("div",qh,[e.createVNode(p,{lat:U.lat,label:""},null,8,["lat"]),Xh,e.createVNode(i,{lng:U.lng,label:""},null,8,["lng"])])]),e.createElementVNode("div",jh,[U.name?(e.openBlock(),e.createElementBlock("span",$h,e.toDisplayString(U.name),1)):(e.openBlock(),e.createElementBlock("span",vh,"-"))]),e.createElementVNode("div",ep,e.toDisplayString(a.computeUTCTime(U.eta)),1),Oe?(e.openBlock(),e.createElementBlock("div",tp,e.toDisplayString(a.computeNav(U)),1)):(e.openBlock(),e.createElementBlock("div",op)),Oe?(e.openBlock(),e.createElementBlock("div",lp,e.toDisplayString(a.roundPrecision(U.distanceFromStart,1)),1)):(e.openBlock(),e.createElementBlock("div",ap)),Oe?(e.openBlock(),e.createElementBlock("div",np,e.toDisplayString(a.roundPrecision(U.avgSpd??U.speed,1)),1)):(e.openBlock(),e.createElementBlock("div",sp))]))),128)):e.createCommentVNode("",!0)])])])])]),e.createElementVNode("div",ip,[dp,e.createElementVNode("div",cp,[(We=(Le=o.plan)==null?void 0:Le.speeds)!=null&&We.length?(e.openBlock(),e.createElementBlock("table",rp,[mp,e.createElementVNode("tbody",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList((qe=(Ke=(He=(we=o.plan)==null?void 0:we.speeds[0])==null?void 0:He.speed)==null?void 0:Ke.sample)==null?void 0:qe.hours,(U,Oe)=>{var ze,Ue,Ye,Ze,Qe,Je,y,Q,ge,Te,Me,me,Xe,$e,ve,ot,lt,at,nt,mt,ht,pt,Et,yt,_t,Nt,Vt,ft,gt,Dt,xt,bt,Ct,St,kt,At,Bt,wt,Tt;return e.openBlock(),e.createElementBlock("tr",{key:Oe,class:e.normalizeClass(U.isDangerous?"dangerous":U.isSevere?"severe":U.isHeavy?"heavy":"")},[e.createElementVNode("td",null,e.toDisplayString(a.computeUTCTime(U.eta)),1),e.createElementVNode("td",null,[e.createElementVNode("div",hp,[e.createVNode(p,{lat:U.lat,label:""},null,8,["lat"]),pp,e.createVNode(i,{lng:U.lng,label:""},null,8,["lng"])])]),e.createElementVNode("td",null,[(Ue=(ze=U.meteo)==null?void 0:ze.wind)!=null&&Ue.kts?(e.openBlock(),e.createElementBlock("span",Ep,e.toDisplayString((Ze=(Ye=U.meteo)==null?void 0:Ye.wind)==null?void 0:Ze.direction),1)):(e.openBlock(),e.createElementBlock("span",yp,"-"))]),e.createElementVNode("td",null,e.toDisplayString(a.roundPrecision((Je=(Qe=U.meteo)==null?void 0:Qe.wind)==null?void 0:Je.kts,1)),1),e.createElementVNode("td",null,e.toDisplayString(a.roundPrecision((ge=(Q=(y=U.meteo)==null?void 0:y.wave)==null?void 0:Q.wd)==null?void 0:ge.height,1)),1),e.createElementVNode("td",null,[(me=(Me=(Te=U.meteo)==null?void 0:Te.wave)==null?void 0:Me.swell)!=null&&me.height?(e.openBlock(),e.createElementBlock("span",_p,e.toDisplayString((ve=($e=(Xe=U.meteo)==null?void 0:Xe.wave)==null?void 0:$e.swell)==null?void 0:ve.direction),1)):(e.openBlock(),e.createElementBlock("span",Np,"-"))]),e.createElementVNode("td",null,e.toDisplayString(a.roundPrecision((at=(lt=(ot=U.meteo)==null?void 0:ot.wave)==null?void 0:lt.swell)==null?void 0:at.height,1)),1),e.createElementVNode("td",null,e.toDisplayString(a.roundPrecision((ht=(mt=(nt=U.meteo)==null?void 0:nt.wave)==null?void 0:mt.swell)==null?void 0:ht.period,1)),1),e.createElementVNode("td",null,[(yt=(Et=(pt=U.meteo)==null?void 0:pt.wave)==null?void 0:Et.sig)!=null&&yt.height?(e.openBlock(),e.createElementBlock("span",Vp,e.toDisplayString((Vt=(Nt=(_t=U.meteo)==null?void 0:_t.wave)==null?void 0:Nt.sig)==null?void 0:Vt.direction),1)):(e.openBlock(),e.createElementBlock("span",fp,"-"))]),e.createElementVNode("td",null,e.toDisplayString(a.roundPrecision((Dt=(gt=(ft=U.meteo)==null?void 0:ft.wave)==null?void 0:gt.sig)==null?void 0:Dt.height,1)),1),e.createElementVNode("td",null,e.toDisplayString(a.roundPrecision((Ct=(bt=(xt=U.meteo)==null?void 0:xt.wave)==null?void 0:bt.sig)==null?void 0:Ct.period,1)),1),e.createElementVNode("td",null,[(kt=(St=U.meteo)==null?void 0:St.current)!=null&&kt.kts?(e.openBlock(),e.createElementBlock("span",gp,e.toDisplayString((Bt=(At=U.meteo)==null?void 0:At.current)==null?void 0:Bt.direction)+" ",1)):(e.openBlock(),e.createElementBlock("span",Dp,"-"))]),e.createElementVNode("td",null,e.toDisplayString(a.roundPrecision((Tt=(wt=U.meteo)==null?void 0:wt.current)==null?void 0:Tt.kts,1)),1),e.createElementVNode("td",null,e.toDisplayString(a.roundPrecision(U.cFactor,1)),1)],2)}),128))])])):e.createCommentVNode("",!0)])]),xp])}const Vn=De(Hm,[["render",bp],["__scopeId","data-v-afd0f0bf"]]),Fee="",Cp={name:"OrmRouteReport",components:{Lng:$a,Lat:va,Editor:Ro,Brand:yl,Loading:on},props:{plan:{type:Object,default:()=>({})},editorDisabled:{type:Boolean,default:()=>!1}},emits:["commit","refresh"],data(){return{editable:!1,advisory:"",echart:void 0,speedIndex:0,loading:!0}},computed:{computeUTCTime(){return function(t,n="MMM-DD/HHmm[Z]"){return`${T(t).utc().format(n)}`}},computeLTime(){return function(t,n,o){let d=0;return o&&n&&(d=v.LngLatHelper.guessTimeZoneOffset(n,o)),`${T(t).utcOffset(d).format("MMM-DD/HHmm")}LT`}},computeTimeDiff(){return function(t,n){var o,d,l,a,p;if(n===0)return"-";{const i=T((l=(d=(o=t==null?void 0:t.speeds)==null?void 0:o[n])==null?void 0:d.speed)==null?void 0:l.eta).diff(T((p=(a=t==null?void 0:t.speeds)==null?void 0:a[0])==null?void 0:p.speed.eta),"h",!0);return Math.round(i*10)/10}}},computeNav(){return function(t){return t.gcToPrevious?"GC":"RL"}},roundPrecision(){return function(t,n=4){if(typeof t=="number"){const o=Number("1".padEnd(n+1,"0"));return Math.round(t*o)/o}else return"-"}},computeMemo(){return function(t){return(t==null?void 0:t.memo)??"-"}},computeMajorPoints(){return function(t){const n=[];if(t.length)return t.forEach(o=>{n.push(o),o.suspend&&n.push({etd:o.etd,eta:o.etd,isResume:!0,memo:`Drifting: ${o.suspend}hrs`})}),n}},computeDegree(){return function(t,n){t=t%360;for(let o=0;o<17;o++)if(o*22.5+t+11.25>=360){let d=(16-o)*22.5;return n||(d=d+180),`transform:rotate(${d}deg);margin-left:3px;`}}},computeDay(){return function(t,n=0){var a,p,i,E;const o=(E=(i=(p=(a=t==null?void 0:t.speeds)==null?void 0:a[n])==null?void 0:p.speed)==null?void 0:i.sample)==null?void 0:E.hours,d=o[0],l=o[o.length-1];return Math.round(T(l.eta).diff(T(d.eta),"day",!0)*10)/10}}},watch:{plan:{handler(){var t,n;(t=this.plan)!=null&&t.id&&(this.loading=!1,this.advisory=((n=this.plan)==null?void 0:n.advisory)||"Pls find the following major waypoints for your safe navigation.",this.$nextTick(()=>{this.initEchart()}))},immediate:!0}},methods:{handleCommit(t){this.editable=!1,this.$emit("commit",t)},handleRefresh(){this.$emit("refresh")},handleEdit(){this.editorDisabled?this.editable=!1:this.editable=!0},initEchart(){this.echart||(this.echart=e.markRaw(zo.init(this.$refs.echart))),this.renderEchart()},renderEchart(){var E,b,S,_,N,D,r;const t=[],n=[],o={dateTime:0,windSpeed:1,waveHeight:2,windDirection:3,windDegree:4,windScale:5,currentFactor:6,weatherFactor:7,speed:8},d={};["W","WSW","SW","SSW","S","SSE","SE","ESE","E","ENE","NE","NNE","N","NNW","NW","WNW"].forEach((C,k)=>{d[C]=Math.PI/8*k});const a=18;let p=4;(D=(N=(_=(S=(b=(E=this.plan)==null?void 0:E.speeds)==null?void 0:b[this.speedIndex])==null?void 0:S.speed)==null?void 0:_.sample)==null?void 0:N.hours)==null||D.forEach(C=>{var O,P,F,w,x,u,R,Z,z,W;const k=C.meteo;if(k){const f=T(k.utc).utc().format("MMM-DD/HHmm[Z]");t.push(f),p=Math.ceil(((P=(O=k.wave)==null?void 0:O.sig)==null?void 0:P.height)>p?(w=(F=k.wave)==null?void 0:F.sig)==null?void 0:w.height:p),n.push([f,(x=k.wind)==null?void 0:x.kts,(R=(u=k.wave)==null?void 0:u.sig)==null?void 0:R.height,(Z=k.wind)==null?void 0:Z.direction,(z=k.wind)==null?void 0:z.degree,(W=k.wind)==null?void 0:W.scale,C.cFactor,C.wFactor,C.speed])}});const i={animation:!1,title:{text:"Weather Conditions & Speed Analysis",textStyle:{color:"#000000B3",fontWeight:"500"},left:"left"},tooltip:{trigger:"axis"},legend:{show:!0,right:0},grid:{bottom:40},xAxis:[{data:t,boundaryGap:!1}],yAxis:[{name:"Wind Speed (kts)",nameLocation:"middle",position:"left",nameGap:35,minInterval:5,axisLine:{lineStyle:{color:"#000000B3"}}},{type:"value",name:"Sig. Wave Height (m)",nameLocation:"middle",position:"right",nameGap:35,max:p,min:0,minInterval:1,axisLine:{lineStyle:{color:"#015DD5"}},splitLine:{show:!1}},{name:"Current Factor (kts)",nameLocation:"middle",position:"left",offset:50,nameGap:35,axisLine:{lineStyle:{color:"#da2e2ecc"}},splitLine:{show:!0},alignTicks:!0},{name:"SOG (kts)",nameLocation:"middle",position:"right",offset:50,nameGap:35,axisLine:{lineStyle:{color:"#398626"}},splitLine:{show:!0}}],visualMap:{show:!1,type:"piecewise",orient:"horizontal",left:"center",bottom:0,pieces:[{gte:22,color:"#f85c5c",label:"≥ BF6"},{gte:17,lt:22,color:"#de8600",label:"BF5"},{lt:17,color:"#67c23a",label:"≤ BF4"}],seriesIndex:2,dimension:1},series:[{name:"Sig. Wave Height",type:"line",showSymbol:!0,yAxisIndex:1,areaStyle:{color:{type:"linear",x:0,y:0,x2:0,y2:1,global:!1,colorStops:[{offset:0,color:"rgba(88, 160, 253, 1)"},{offset:.5,color:"rgba(88, 160, 253, 0.7)"},{offset:1,color:"rgba(88, 160, 253, 0)"}]}},lineStyle:{color:"rgba(88, 160, 253, 1)"},itemStyle:{color:"rgba(88, 160, 253, 1)"},encode:{x:o.dateTime,y:o.waveHeight},data:n,z:1},{name:"Wind Speed",type:"line",showSymbol:!0,yAxisIndex:0,encode:{x:o.dateTime,y:o.windSpeed},lineStyle:{color:"#000000B3",type:"dashed"},itemStyle:{color:"#000000B3"},data:n,z:2},{type:"custom",yAxisIndex:0,renderItem:(C,k)=>{const O=k.coord([k.value(o.dateTime),k.value(o.windSpeed)]);return{type:"path",shape:{pathData:"M31 16l-15-15v9h-26v12h26v9z",x:-a/2,y:-a/2,width:a,height:a},rotation:d[k.value(o.windDirection)],position:O,style:k.style({stroke:"#555",lineWidth:1})}},encode:{x:o.dateTime,y:o.windSpeed},data:n,z:10},{name:"Current Factor",type:"line",yAxisIndex:2,showSymbol:!0,encode:{x:o.dateTime,y:o.currentFactor},lineStyle:{color:"#da2e2ecc",type:"dotted"},itemStyle:{color:"#da2e2ecc"},data:n,z:3},{name:"SOG",type:"line",yAxisIndex:3,showSymbol:!0,encode:{x:o.dateTime,y:o.speed},lineStyle:{color:"#398626",type:"solid"},itemStyle:{color:"#398626"},data:n,z:4}]};(r=this.echart)==null||r.setOption(i)}}},ct=t=>(e.pushScopeId("data-v-146f11b9"),t=t(),e.popScopeId(),t),Sp={class:"voyage-plan"},kp={class:"plan-report"},Ap={class:"section voyage-section flex-space"},Bp={class:"flex-end",style:{width:"50%","flex-wrap":"wrap"}},wp={class:"flex-start label-block",style:{width:"100%"}},Tp=ct(()=>e.createElementVNode("label",{class:"flex-end",style:{width:"140px"}},"Prepare for",-1)),Op={style:{"text-transform":"uppercase"},class:"text-ellipsis"},Fp={class:"flex-start label-block",style:{width:"100%"}},Pp=ct(()=>e.createElementVNode("label",{class:"flex-end",style:{width:"140px"}},"Vessel",-1)),up={class:"flex-end text-ellipsis",style:{"text-transform":"uppercase"}},Lp={class:"flex-start label-block",style:{width:"100%"}},Wp=ct(()=>e.createElementVNode("label",{class:"flex-end",style:{width:"140px"}},"Voyage No.",-1)),Hp={class:"flex-end"},Mp={class:"flex-end",style:{width:"50%","flex-wrap":"wrap"}},Gp={class:"flex-start label-block",style:{width:"100%"}},Ip=ct(()=>e.createElementVNode("label",{class:"flex-end",style:{width:"140px"}},"From",-1)),Rp={key:0,class:"flex-end",style:{flex:"1"}},zp={key:1,class:"flex-end",style:{flex:"1"}},Up=ct(()=>e.createElementVNode("span",{style:{"margin-right":"3px"}},",",-1)),Yp={class:"flex-end",style:{width:"120px"}},Zp={class:"flex-space label-block",style:{width:"100%"}},Qp=ct(()=>e.createElementVNode("label",{class:"flex-end",style:{width:"140px"}},"To",-1)),Jp={key:0,class:"flex-end",style:{flex:"1"}},Kp={key:1,class:"flex-end",style:{flex:"1"}},qp=ct(()=>e.createElementVNode("span",{style:{"margin-right":"3px"}},",",-1)),Xp={class:"flex-end",style:{width:"120px"}},jp={class:"flex-space label-block",style:{width:"100%"}},$p=ct(()=>e.createElementVNode("label",{class:"flex-end",style:{width:"140px"}},"Load Condition",-1)),vp={class:"flex-end",style:{"text-transform":"uppercase"}},e1={class:"section chart-section"},t1=ct(()=>e.createElementVNode("div",{class:"header-block flex-start"},[e.createElementVNode("i",{class:"iconfont"},""),e.createElementVNode("div",{class:"title"},"Weather chart")],-1)),o1={class:"flex-center"},l1=["src"],a1={class:"legends"},n1=e.createStaticVNode('<div class="legend" data-v-146f11b9><label style="background-color:var(--idm-dangerous);" data-v-146f11b9></label><span data-v-146f11b9>Dangerous</span></div><div class="legend" data-v-146f11b9><label style="background-color:var(--idm-severe);" data-v-146f11b9></label><span data-v-146f11b9>Severe</span></div><div class="legend" data-v-146f11b9><label style="background-color:var(--idm-heavy);" data-v-146f11b9></label><span data-v-146f11b9>Heavy</span></div>',3),s1={class:"legend"},i1=ct(()=>e.createElementVNode("b",{class:"route1"},null,-1)),d1={key:0,class:"legend"},c1=ct(()=>e.createElementVNode("b",{class:"route2"},null,-1)),r1={key:1,class:"legend"},m1=ct(()=>e.createElementVNode("b",{class:"route3"},null,-1)),h1={key:1,class:"empty"},p1={class:"section comparison-section"},E1={key:0},y1=ct(()=>e.createElementVNode("tr",null,[e.createElementVNode("th",{rowspan:"2",colspan:"2"},"Route"),e.createElementVNode("th",null,"SPD (kts)"),e.createElementVNode("th",{rowspan:"2"},"TTL Dist (nm)"),e.createElementVNode("th",null,"ETA (LT)"),e.createElementVNode("th",{rowspan:"2"},"Diff (h)"),e.createElementVNode("th",{colspan:"2"},"TTL Cons (mt)"),e.createElementVNode("th",null,"Dangerous"),e.createElementVNode("th",null,"Severe"),e.createElementVNode("th",null,"Heavy")],-1)),_1=ct(()=>e.createElementVNode("th",null,"CP Cons (mt)",-1)),N1=ct(()=>e.createElementVNode("th",null,"Avg.Spd / Wx / Cur.Factor (kts)",-1)),V1=ct(()=>e.createElementVNode("th",null,"*FO",-1)),f1=ct(()=>e.createElementVNode("th",null,"*DO",-1)),g1={colspan:"3"},D1={rowspan:"2"},x1={rowspan:"2"},b1={rowspan:"2"},C1={rowspan:"2"},S1={rowspan:"2"},k1={rowspan:"2"},A1={rowspan:"2"},B1={rowspan:"2"},w1={rowspan:"2"},T1=ct(()=>e.createElementVNode("div",{class:"tips"},[e.createTextVNode(" * Please note the climatology data was used for days that extend beyond the available forecast."),e.createElementVNode("br"),e.createTextVNode(" * Fuel consumption was calculated only based on CP terms, and does not reflect actual consumption. ")],-1)),O1={class:"section waypoint-section"},F1={class:"header-block flex-start"},P1=ct(()=>e.createElementVNode("i",{class:"iconfont"},"",-1)),u1={class:"title"},L1={key:0,class:"flex-end",style:{flex:"1"}},W1=["onClick"],H1={class:"advisory"},M1=["innerHTML"],G1={class:"major-waypoint"},I1=e.createStaticVNode('<div class="major-header" data-v-146f11b9><div class="cell-item flex" style="flex:1.5;" data-v-146f11b9>Major waypoint</div><div class="cell-item flex" data-v-146f11b9>Time</div><div class="cell-item flex" data-v-146f11b9>Nav</div><div class="cell-item flex" data-v-146f11b9>Dist</div><div class="cell-item flex" data-v-146f11b9>SOG</div><div class="cell-item flex" data-v-146f11b9>Memo</div></div>',1),R1={class:"major-body"},z1={class:"cell-item flex",style:{flex:"1.5"}},U1={key:0,class:"flex-center"},Y1={key:1,class:"flex-center"},Z1=ct(()=>e.createElementVNode("span",{style:{"margin-right":"3px"}},",",-1)),Q1={key:0},J1={class:"cell-item flex"},K1={key:0,class:"cell-item flex offset"},q1={key:1,class:"cell-item flex nbsp"},X1={key:2,class:"cell-item flex offset"},j1={key:3,class:"cell-item flex nbsp"},$1={key:4,class:"cell-item flex offset"},v1={key:5,class:"cell-item flex nbsp"},eE={key:6,class:"cell-item flex offset"},tE={key:7,class:"cell-item flex nbsp"},oE={class:"section forecast-section"},lE={class:"header-block flex-start"},aE=ct(()=>e.createElementVNode("i",{class:"iconfont"},"",-1)),nE={class:"title"},sE={key:0,class:"flex-end",style:{flex:"1"}},iE=["onClick"],dE={class:"echart-block"},cE={ref:"echart",class:"echart"},rE=ct(()=>e.createElementVNode("thead",null,[e.createElementVNode("tr",null,[e.createElementVNode("th",{rowspan:"2"},[e.createTextVNode("Date Time "),e.createElementVNode("br"),e.createTextVNode("UTC")]),e.createElementVNode("th",{rowspan:"2"},[e.createTextVNode("Position "),e.createElementVNode("br"),e.createTextVNode("(lat/lon)")]),e.createElementVNode("th",{colspan:"2"},"Wind"),e.createElementVNode("th",{rowspan:"2"},[e.createTextVNode("Sea HT "),e.createElementVNode("br"),e.createTextVNode("(m)")]),e.createElementVNode("th",{colspan:"3"},"Swell"),e.createElementVNode("th",{colspan:"3"},"Sig"),e.createElementVNode("th",{colspan:"3"},"Current")]),e.createElementVNode("tr",null,[e.createElementVNode("th",null,"Dir"),e.createElementVNode("th",null,"Speed (kts)"),e.createElementVNode("th",null,"Dir"),e.createElementVNode("th",null,"Ht (m)"),e.createElementVNode("th",null,"Prd (s)"),e.createElementVNode("th",null,"Dir"),e.createElementVNode("th",null,"Hgt (m)"),e.createElementVNode("th",null,"Prd (s)"),e.createElementVNode("th",null,"Dir"),e.createElementVNode("th",null,"Speed (kts)"),e.createElementVNode("th",null,"Factor (kts)")])],-1)),mE={class:"flex-center"},hE=ct(()=>e.createElementVNode("span",null,"/",-1)),pE={key:0,class:"degree-box"},EE={key:1},yE={key:0,class:"degree-box"},_E={key:1},NE={key:0,class:"degree-box"},VE={key:1},fE={key:0,class:"degree-box"},gE={key:1},DE=ct(()=>e.createElementVNode("div",{class:"tips",style:{"text-align":"justify"}},[e.createElementVNode("div",null,"The waypoints in this sheet are approximate positions."),e.createElementVNode("div",null," The route map is for reference only and should not be used for navigation. All the material is an advisory provided so as to assist the Master in making the final route decision. ")],-1));function xE(t,n,o,d,l,a){var _,N,D,r,C,k,O,P,F,w,x,u,R,Z,z,W,f,Y,G,H,K,q,j,X,V,M,J,s,$,c,ee,oe,te,se,ie,ce,re,he,pe,Ee,de,ye,xe,be,Ce,Se,ke,Ae,Be,Fe,Pe,fe,L,_e,ue,Le,We,we,He,Ke,qe,U,Oe,ze,Ue,Ye,Ze,Qe,Je,y,Q,ge,Te,Me,me,Xe,$e,ve,ot,lt,at,nt,mt,ht,pt,Et,yt,_t,Nt,Vt,ft,gt,Dt,xt,bt,Ct,St,kt,At,Bt,wt,Tt,Ht,ho,yo,_o,No,Vo;const p=e.resolveComponent("Brand"),i=e.resolveComponent("Loading"),E=e.resolveComponent("Lat"),b=e.resolveComponent("Lng"),S=e.resolveComponent("Editor");return e.openBlock(),e.createElementBlock("div",Sp,[e.createElementVNode("div",kp,[e.createVNode(p,{name:"Voyage Planning",issued:(_=o.plan)==null?void 0:_.updatedAt},null,8,["issued"]),e.createVNode(i,{loading:l.loading},null,8,["loading"]),e.createElementVNode("div",Ap,[e.createElementVNode("div",Bp,[e.createElementVNode("div",wp,[Tp,e.createElementVNode("span",Op,e.toDisplayString((r=(D=(N=o.plan)==null?void 0:N.voyage)==null?void 0:D.company)==null?void 0:r.name),1)]),e.createElementVNode("div",Fp,[Pp,e.createElementVNode("span",up,e.toDisplayString((O=(k=(C=o.plan)==null?void 0:C.voyage)==null?void 0:k.vessel)==null?void 0:O.name)+" ("+e.toDisplayString((x=(w=(F=(P=o.plan)==null?void 0:P.voyage)==null?void 0:F.vessel)==null?void 0:w.vesselType)==null?void 0:x.name)+")",1)]),e.createElementVNode("div",Lp,[Wp,e.createElementVNode("span",Hp,e.toDisplayString((R=(u=o.plan)==null?void 0:u.voyage)==null?void 0:R.number),1)])]),e.createElementVNode("div",Mp,[e.createElementVNode("div",Gp,[Ip,(W=(z=(Z=o.plan)==null?void 0:Z.leg)==null?void 0:z.departure)!=null&&W.name?(e.openBlock(),e.createElementBlock("span",Rp,e.toDisplayString((Y=(f=o.plan)==null?void 0:f.leg)==null?void 0:Y.departure.name),1)):(e.openBlock(),e.createElementBlock("div",zp,[e.createVNode(E,{lat:(K=(H=(G=o.plan)==null?void 0:G.leg)==null?void 0:H.departure)==null?void 0:K.lat,label:""},null,8,["lat"]),Up,e.createVNode(b,{lng:(X=(j=(q=o.plan)==null?void 0:q.leg)==null?void 0:j.departure)==null?void 0:X.lng,label:""},null,8,["lng"])])),e.createElementVNode("span",Yp,e.toDisplayString(a.computeUTCTime(((J=(M=(V=o.plan)==null?void 0:V.leg)==null?void 0:M.departure)==null?void 0:J.atd)||((c=($=(s=o.plan)==null?void 0:s.leg)==null?void 0:$.departure)==null?void 0:c.etd)||((se=(te=(oe=(ee=o.plan)==null?void 0:ee.speeds)==null?void 0:oe[l.speedIndex])==null?void 0:te.speed)==null?void 0:se.etd),"MMM-DD/HHmm[Z]")),1)]),e.createElementVNode("div",Zp,[Qp,(re=(ce=(ie=o.plan)==null?void 0:ie.leg)==null?void 0:ce.destination)!=null&&re.name?(e.openBlock(),e.createElementBlock("span",Jp,e.toDisplayString((Ee=(pe=(he=o.plan)==null?void 0:he.leg)==null?void 0:pe.destination)==null?void 0:Ee.name),1)):(e.openBlock(),e.createElementBlock("div",Kp,[e.createVNode(E,{lat:(xe=(ye=(de=o.plan)==null?void 0:de.leg)==null?void 0:ye.destination)==null?void 0:xe.lat,label:""},null,8,["lat"]),qp,e.createVNode(b,{lng:(Se=(Ce=(be=o.plan)==null?void 0:be.leg)==null?void 0:Ce.destination)==null?void 0:Se.lng,label:""},null,8,["lng"])])),e.createElementVNode("span",Xp,e.toDisplayString(a.computeUTCTime(((Fe=(Be=(Ae=(ke=o.plan)==null?void 0:ke.speeds)==null?void 0:Ae[l.speedIndex])==null?void 0:Be.speed)==null?void 0:Fe.ata)||((_e=(L=(fe=(Pe=o.plan)==null?void 0:Pe.speeds)==null?void 0:fe[l.speedIndex])==null?void 0:L.speed)==null?void 0:_e.eta),"MMM-DD/HHmm[Z]")),1)]),e.createElementVNode("div",jp,[$p,e.createElementVNode("span",vp,e.toDisplayString((Le=(ue=o.plan)==null?void 0:ue.voyage)==null?void 0:Le.loadCondition),1)])])]),e.createElementVNode("div",e1,[t1,(We=o.plan)!=null&&We.chartUrl?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[e.createElementVNode("div",o1,[e.createElementVNode("img",{src:o.plan.chartUrl},null,8,l1)]),e.createElementVNode("div",a1,[n1,e.createElementVNode("div",s1,[i1,e.createElementVNode("span",{class:"btn",onClick:n[0]||(n[0]=I=>(l.speedIndex=0,a.renderEchart()))},e.toDisplayString((U=(qe=(Ke=(He=(we=o.plan)==null?void 0:we.speeds)==null?void 0:He[0])==null?void 0:Ke.speed)==null?void 0:qe.lane)==null?void 0:U.name),1)]),((ze=(Oe=o.plan)==null?void 0:Oe.speeds)==null?void 0:ze.length)>1?(e.openBlock(),e.createElementBlock("div",d1,[c1,e.createElementVNode("span",{class:"btn",onClick:n[1]||(n[1]=I=>(l.speedIndex=1,a.renderEchart()))},e.toDisplayString((Je=(Qe=(Ze=(Ye=(Ue=o.plan)==null?void 0:Ue.speeds)==null?void 0:Ye[1])==null?void 0:Ze.speed)==null?void 0:Qe.lane)==null?void 0:Je.name),1)])):e.createCommentVNode("",!0),((Q=(y=o.plan)==null?void 0:y.speeds)==null?void 0:Q.length)>2?(e.openBlock(),e.createElementBlock("div",r1,[m1,e.createElementVNode("span",{class:"btn",onClick:n[2]||(n[2]=I=>(l.speedIndex=2,a.renderEchart()))},e.toDisplayString((Xe=(me=(Me=(Te=(ge=o.plan)==null?void 0:ge.speeds)==null?void 0:Te[2])==null?void 0:Me.speed)==null?void 0:me.lane)==null?void 0:Xe.name),1)])):e.createCommentVNode("",!0)])],64)):(e.openBlock(),e.createElementBlock("div",h1,[e.createElementVNode("span",null,[e.createTextVNode("Weather chart in cooking "),e.createElementVNode("span",{class:"btn",onClick:n[3]||(n[3]=(...I)=>a.handleRefresh&&a.handleRefresh(...I))},"Refresh"),e.createTextVNode(" later please")])]))]),e.createElementVNode("div",p1,[(ve=($e=o.plan)==null?void 0:$e.speeds)!=null&&ve.length?(e.openBlock(),e.createElementBlock("table",E1,[e.createElementVNode("thead",null,[y1,e.createElementVNode("tr",null,[_1,N1,V1,f1,e.createElementVNode("th",g1,"*days (with in the next "+e.toDisplayString(a.computeDay(o.plan,0))+" days)",1)])]),e.createElementVNode("tbody",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList((ot=o.plan)==null?void 0:ot.speeds,(I,tt)=>{var Ot,Ft,Mt,Gt,It,Rt,zt,Ut,Yt,Zt,Qt,Jt,Kt,qt,Xt,jt,$t,vt,eo,to,oo,lo,ao,no,so,io,co;return e.openBlock(),e.createElementBlock(e.Fragment,{key:tt},[e.createElementVNode("tr",null,[e.createElementVNode("td",D1,e.toDisplayString(tt+1),1),e.createElementVNode("td",x1,e.toDisplayString((Ft=(Ot=I.speed)==null?void 0:Ot.lane)==null?void 0:Ft.name),1),e.createElementVNode("td",null,e.toDisplayString(`${((Mt=I.speed)==null?void 0:Mt.label)??"CP"} ${((Gt=I.speed)==null?void 0:Gt.v0)??((Rt=(It=I.speed)==null?void 0:It.cpCopy)==null?void 0:Rt.speed)}`),1),e.createElementVNode("td",b1,e.toDisplayString(a.roundPrecision((zt=I.speed)==null?void 0:zt.distance,0)),1),e.createElementVNode("td",null,[e.createElementVNode("b",null,e.toDisplayString(a.computeLTime((Ut=I.speed)==null?void 0:Ut.eta,(Qt=(Zt=(Yt=o.plan)==null?void 0:Yt.leg)==null?void 0:Zt.destination)==null?void 0:Qt.lng,(qt=(Kt=(Jt=o.plan)==null?void 0:Jt.leg)==null?void 0:Kt.destination)==null?void 0:qt.lat)),1),e.createTextVNode(" ["+e.toDisplayString(a.computeUTCTime((Xt=I.speed)==null?void 0:Xt.eta))+"]",1)]),e.createElementVNode("td",C1,e.toDisplayString(a.computeTimeDiff(o.plan,tt)),1),e.createElementVNode("td",S1,e.toDisplayString(a.roundPrecision((jt=I.speed)==null?void 0:jt.totalFoCons,3)),1),e.createElementVNode("td",k1,e.toDisplayString(a.roundPrecision(($t=I.speed)==null?void 0:$t.totalDgoCons,3)),1),e.createElementVNode("td",A1,e.toDisplayString(a.roundPrecision(((vt=I.speed)==null?void 0:vt.dangerous)/24,1)),1),e.createElementVNode("td",B1,e.toDisplayString(a.roundPrecision(((eo=I.speed)==null?void 0:eo.severe)/24,1)),1),e.createElementVNode("td",w1,e.toDisplayString(a.roundPrecision(((to=I.speed)==null?void 0:to.heavy)/24,1)),1)]),e.createElementVNode("tr",null,[e.createElementVNode("td",null,e.toDisplayString((lo=(oo=I.speed)==null?void 0:oo.cpCopy)==null?void 0:lo.fo)+" FO / "+e.toDisplayString((no=(ao=I.speed)==null?void 0:ao.cpCopy)==null?void 0:no.dgo)+" DO",1),e.createElementVNode("td",null,e.toDisplayString(a.roundPrecision((so=I.speed)==null?void 0:so.avgSpeed,2))+" / "+e.toDisplayString(a.roundPrecision((io=I.speed)==null?void 0:io.wxFactor,2))+" / "+e.toDisplayString(a.roundPrecision((co=I.speed)==null?void 0:co.cFactor,2)),1)])],64)}),128))])])):e.createCommentVNode("",!0),T1]),e.createElementVNode("div",O1,[e.createElementVNode("div",F1,[P1,e.createElementVNode("div",u1,"Advisory & Major Waypoint of Route "+e.toDisplayString((mt=(nt=(at=(lt=o.plan.speeds)==null?void 0:lt[l.speedIndex])==null?void 0:at.speed)==null?void 0:nt.lane)==null?void 0:mt.name),1),((pt=(ht=o.plan)==null?void 0:ht.speeds)==null?void 0:pt.length)>1?(e.openBlock(),e.createElementBlock("div",L1,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList((Et=o.plan)==null?void 0:Et.speeds,(I,tt)=>{var Ot,Ft;return e.openBlock(),e.createElementBlock("div",{class:"route-item",onClick:Mt=>(l.speedIndex=tt,a.renderEchart())},e.toDisplayString((Ft=(Ot=I.speed)==null?void 0:Ot.lane)==null?void 0:Ft.name),9,W1)}),256))])):e.createCommentVNode("",!0)]),e.createElementVNode("div",H1,[l.editable?(e.openBlock(),e.createBlock(S,{key:0,modelValue:l.advisory,"onUpdate:modelValue":n[4]||(n[4]=I=>l.advisory=I),class:"editor",height:"120px",onBlur:n[5]||(n[5]=I=>a.handleCommit(I))},null,8,["modelValue"])):(e.openBlock(),e.createElementBlock("div",{key:1,class:"txt",onDblclick:n[6]||(n[6]=(...I)=>a.handleEdit&&a.handleEdit(...I)),innerHTML:l.advisory},null,40,M1))]),e.createElementVNode("div",G1,[I1,e.createElementVNode("div",R1,[(_t=(yt=o.plan)==null?void 0:yt.speeds)!=null&&_t.length?(e.openBlock(!0),e.createElementBlock(e.Fragment,{key:0},e.renderList(a.computeMajorPoints((Dt=(gt=(ft=(Vt=(Nt=o.plan)==null?void 0:Nt.speeds)==null?void 0:Vt[l.speedIndex])==null?void 0:ft.speed)==null?void 0:gt.sample)==null?void 0:Dt.wps),(I,tt)=>(e.openBlock(),e.createElementBlock("div",{key:tt,class:"cell-row"},[e.createElementVNode("div",z1,[I.isResume?(e.openBlock(),e.createElementBlock("div",U1,"Resume")):(e.openBlock(),e.createElementBlock("div",Y1,[e.createVNode(E,{lat:I.lat,label:""},null,8,["lat"]),Z1,e.createVNode(b,{lng:I.lng,label:""},null,8,["lng"]),I.pilot?(e.openBlock(),e.createElementBlock("span",Q1," [P]")):e.createCommentVNode("",!0)]))]),e.createElementVNode("div",J1,e.toDisplayString(a.computeUTCTime(I.eta)),1),tt?(e.openBlock(),e.createElementBlock("div",K1,e.toDisplayString(a.computeNav(I)),1)):(e.openBlock(),e.createElementBlock("div",q1)),tt?(e.openBlock(),e.createElementBlock("div",X1,e.toDisplayString(a.roundPrecision(I.distanceFromStart,1)),1)):(e.openBlock(),e.createElementBlock("div",j1)),tt?(e.openBlock(),e.createElementBlock("div",$1,e.toDisplayString(a.roundPrecision(I.avgSpd??I.speed,1)),1)):(e.openBlock(),e.createElementBlock("div",v1)),tt?(e.openBlock(),e.createElementBlock("div",eE,e.toDisplayString(a.computeMemo(I)),1)):(e.openBlock(),e.createElementBlock("div",tE))]))),128)):e.createCommentVNode("",!0)])])]),e.createElementVNode("div",oE,[(bt=(xt=o.plan)==null?void 0:xt.speeds)!=null&&bt.length?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[e.createElementVNode("div",lE,[aE,e.createElementVNode("div",nE,"Weather Forecast for the Next "+e.toDisplayString(a.computeDay(o.plan,l.speedIndex))+" Days of Route "+e.toDisplayString((Bt=(At=(kt=(St=(Ct=o.plan)==null?void 0:Ct.speeds)==null?void 0:St[l.speedIndex])==null?void 0:kt.speed)==null?void 0:At.lane)==null?void 0:Bt.name),1),((Tt=(wt=o.plan)==null?void 0:wt.speeds)==null?void 0:Tt.length)>1?(e.openBlock(),e.createElementBlock("div",sE,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList((Ht=o.plan)==null?void 0:Ht.speeds,(I,tt)=>{var Ot,Ft;return e.openBlock(),e.createElementBlock("div",{class:"route-item",onClick:Mt=>(l.speedIndex=tt,a.renderEchart())},e.toDisplayString((Ft=(Ot=I==null?void 0:I.speed)==null?void 0:Ot.lane)==null?void 0:Ft.name),9,iE)}),256))])):e.createCommentVNode("",!0)]),e.createElementVNode("div",dE,[e.createElementVNode("div",cE,null,512)]),e.createElementVNode("table",null,[rE,e.createElementVNode("tbody",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList((Vo=(No=(_o=(yo=(ho=o.plan)==null?void 0:ho.speeds)==null?void 0:yo[l.speedIndex])==null?void 0:_o.speed)==null?void 0:No.sample)==null?void 0:Vo.hours,(I,tt)=>{var Ot,Ft,Mt,Gt,It,Rt,zt,Ut,Yt,Zt,Qt,Jt,Kt,qt,Xt,jt,$t,vt,eo,to,oo,lo,ao,no,so,io,co,fo,go,Do,xo,bo,Co,So,ko,Ao,Bo,wo,To,Oo,Fo,Po,uo,Lo,Wo,Ho,Mo,Go,Io;return e.openBlock(),e.createElementBlock("tr",{key:tt,class:e.normalizeClass(I.isDangerous?"dangerous":I.isSevere?"severe":I.isHeavy?"heavy":"")},[e.createElementVNode("td",null,e.toDisplayString(a.computeUTCTime(I.eta)),1),e.createElementVNode("td",null,[e.createElementVNode("div",mE,[e.createVNode(E,{lat:I.lat,label:""},null,8,["lat"]),hE,e.createVNode(b,{lng:I.lng,label:""},null,8,["lng"])])]),e.createElementVNode("td",null,[(Ft=(Ot=I.meteo)==null?void 0:Ot.wind)!=null&&Ft.kts?(e.openBlock(),e.createElementBlock("span",pE,[e.createTextVNode(e.toDisplayString((Gt=(Mt=I.meteo)==null?void 0:Mt.wind)==null?void 0:Gt.direction),1),e.createElementVNode("i",{class:"iconfont",style:e.normalizeStyle(a.computeDegree((Rt=(It=I.meteo)==null?void 0:It.wind)==null?void 0:Rt.degree,!1))},"",4)])):(e.openBlock(),e.createElementBlock("span",EE,"-"))]),e.createElementVNode("td",null,e.toDisplayString(a.roundPrecision((Ut=(zt=I.meteo)==null?void 0:zt.wind)==null?void 0:Ut.kts,1)),1),e.createElementVNode("td",null,e.toDisplayString(a.roundPrecision((Qt=(Zt=(Yt=I.meteo)==null?void 0:Yt.wave)==null?void 0:Zt.wd)==null?void 0:Qt.height,1)),1),e.createElementVNode("td",null,[(qt=(Kt=(Jt=I.meteo)==null?void 0:Jt.wave)==null?void 0:Kt.swell)!=null&&qt.height?(e.openBlock(),e.createElementBlock("span",yE,[e.createTextVNode(e.toDisplayString(($t=(jt=(Xt=I.meteo)==null?void 0:Xt.wave)==null?void 0:jt.swell)==null?void 0:$t.direction),1),e.createElementVNode("i",{class:"iconfont",style:e.normalizeStyle(a.computeDegree((to=(eo=(vt=I.meteo)==null?void 0:vt.wave)==null?void 0:eo.swell)==null?void 0:to.degree,!1))},"",4)])):(e.openBlock(),e.createElementBlock("span",_E,"-"))]),e.createElementVNode("td",null,e.toDisplayString(a.roundPrecision((ao=(lo=(oo=I.meteo)==null?void 0:oo.wave)==null?void 0:lo.swell)==null?void 0:ao.height,1)),1),e.createElementVNode("td",null,e.toDisplayString(a.roundPrecision((io=(so=(no=I.meteo)==null?void 0:no.wave)==null?void 0:so.swell)==null?void 0:io.period,1)),1),e.createElementVNode("td",null,[(go=(fo=(co=I.meteo)==null?void 0:co.wave)==null?void 0:fo.sig)!=null&&go.height?(e.openBlock(),e.createElementBlock("span",NE,[e.createTextVNode(e.toDisplayString((bo=(xo=(Do=I.meteo)==null?void 0:Do.wave)==null?void 0:xo.sig)==null?void 0:bo.direction),1),e.createElementVNode("i",{class:"iconfont",style:e.normalizeStyle(a.computeDegree((ko=(So=(Co=I.meteo)==null?void 0:Co.wave)==null?void 0:So.sig)==null?void 0:ko.degree,!1))},"",4)])):(e.openBlock(),e.createElementBlock("span",VE,"-"))]),e.createElementVNode("td",null,e.toDisplayString(a.roundPrecision((wo=(Bo=(Ao=I.meteo)==null?void 0:Ao.wave)==null?void 0:Bo.sig)==null?void 0:wo.height,1)),1),e.createElementVNode("td",null,e.toDisplayString(a.roundPrecision((Fo=(Oo=(To=I.meteo)==null?void 0:To.wave)==null?void 0:Oo.sig)==null?void 0:Fo.period,1)),1),e.createElementVNode("td",null,[(uo=(Po=I.meteo)==null?void 0:Po.current)!=null&&uo.kts?(e.openBlock(),e.createElementBlock("span",fE,[e.createTextVNode(e.toDisplayString((Wo=(Lo=I.meteo)==null?void 0:Lo.current)==null?void 0:Wo.direction),1),e.createElementVNode("i",{class:"iconfont",style:e.normalizeStyle(a.computeDegree((Mo=(Ho=I.meteo)==null?void 0:Ho.current)==null?void 0:Mo.degree,!0))},"",4)])):(e.openBlock(),e.createElementBlock("span",gE,"-"))]),e.createElementVNode("td",null,e.toDisplayString(a.roundPrecision((Io=(Go=I.meteo)==null?void 0:Go.current)==null?void 0:Io.kts,1)),1),e.createElementVNode("td",null,e.toDisplayString(a.roundPrecision(I.cFactor,1)),1)],2)}),128))])])],64)):e.createCommentVNode("",!0),DE])])])}const fn=De(Cp,[["render",xE],["__scopeId","data-v-146f11b9"]]),bE={install(t){t.component("RouteReport",cn),t.component("OpiPlanReport",cn),t.component("FliPlanReport",Vn),t.component("OrmPlanReport",fn)}},CE={install(t){t.component("IdmEditor",Ro)}},SE={install(t){t.component("IdmLat",va)}},kE={install(t){t.component("IdmLng",$a)}},AE={name:"PiLogo",props:{fill:{type:String,default:"#000000"}}},BE={class:"logo"},wE={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1280.000000 1280.000000"},TE=["fill","fill-opacity"],OE=[e.createElementVNode("path",{d:`M4225 11533 c-100 -6 -311 -23 -335 -27 -14 -3 -59 -10 -100 -16
1
+ (function(le,v){typeof exports=="object"&&typeof module<"u"?v(exports,require("@idmwx/idmwx-base"),require("moment"),require("vue"),require("echarts"),require("@wangeditor/editor-for-vue"),require("mapbox-gl"),require("@idmwx/idmui-gl"),require("@element-plus/icons-vue"),require("element-plus"),require("axios")):typeof define=="function"&&define.amd?define(["exports","@idmwx/idmwx-base","moment","vue","echarts","@wangeditor/editor-for-vue","mapbox-gl","@idmwx/idmui-gl","@element-plus/icons-vue","element-plus","axios"],v):(le=typeof globalThis<"u"?globalThis:le||self,v(le["idmui-report"]={},le["@idmwx/idmwx-base"],le.moment,le.Vue,le.echarts,le["@wangeditor/editor-for-vue"],le["mapbox-gl"],le["@idmwx/idmui-gl"],le["@element-plus/icons-vue"],le["element-plus"],le.axios))})(this,function(le,v,w,e,qs,mn,en,Xs,tn,hn,fl){"use strict";function js(t){const n=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(t){for(const o in t)if(o!=="default"){const d=Object.getOwnPropertyDescriptor(t,o);Object.defineProperty(n,o,d.get?d:{enumerable:!0,get:()=>t[o]})}}return n.default=t,Object.freeze(n)}const zo=js(qs),mee="",De=(t,n)=>{const o=t.__vccOpts||t;for(const[d,l]of n)o[d]=l;return o},$s={props:{name:{type:String,default:""},issued:{type:String,default:""}},computed:{computeUTCTime(){return function(t,n="MMM-DD/HHmm[Z]"){return`${(t?w(t):w()).utc().format(n)}`}}}},pn=t=>(e.pushScopeId("data-v-c0d9515b"),t=t(),e.popScopeId(),t),vs={class:"section brand-section flex-space"},ei=e.createStaticVNode('<div class="logo-box flex-center" data-v-c0d9515b><div class="logo" data-v-c0d9515b><a href="https://fmp.idmwx.com" target="_blank" data-v-c0d9515b><img src="https://img.idmwx.com/asset/orm/logo_300x180.png" data-v-c0d9515b></a><a href="https://fmp.idmwx.com" target="_blank" style="text-decoration:none;" data-v-c0d9515b><div class="brand" data-v-c0d9515b><span style="text-decoration:underline;" data-v-c0d9515b>Weather Routing</span><div class="company" data-v-c0d9515b>Ocean Right Marine Service</div></div></a></div></div>',1),ti={class:"report-box flex-space"},oi={class:"name flex-start"},li={class:"flex-start",style:{"flex-wrap":"wrap",width:"200px"}},ai={class:"flex-start",style:{width:"100%"}},ni={class:"label-block flex-evenly",style:{flex:"1"}},si=pn(()=>e.createElementVNode("label",{class:"flex-end",style:{flex:"1"}},"Issued",-1)),ii={class:"flex-end",style:{flex:"2"}},di=pn(()=>e.createElementVNode("div",{class:"flex-start",style:{width:"100%"}},[e.createElementVNode("div",{class:"label-block flex-evenly",style:{flex:"1"}},[e.createElementVNode("label",{class:"flex-end",style:{flex:"1"}},"Mail to"),e.createElementVNode("a",{class:"flex-end",style:{flex:"2"},href:"mailto:op@ormwx.com"},"op@ormwx.com")])],-1));function ci(t,n,o,d,l,a){return e.openBlock(),e.createElementBlock("div",vs,[ei,e.createElementVNode("div",ti,[e.createElementVNode("div",oi,e.toDisplayString(o.name),1),e.createElementVNode("div",li,[e.createElementVNode("div",ai,[e.createElementVNode("div",ni,[si,e.createElementVNode("span",ii,e.toDisplayString(a.computeUTCTime(o.issued,"MMM-DD, YYYY")),1)])]),di])])])}const yl=De($s,[["render",ci],["__scopeId","data-v-c0d9515b"]]),ri={name:"IdmLoading",props:{loading:{type:Boolean,default:!1},text:{type:String,default:"Loading..."}}},mi={key:0,class:"loading"},hi=e.createElementVNode("i",{class:"iconfont"},"",-1);function pi(t,n,o,d,l,a){return o.loading?(e.openBlock(),e.createElementBlock("div",mi,[hi,e.createElementVNode("div",null,e.toDisplayString(o.text),1)])):e.createCommentVNode("",!0)}const on=De(ri,[["render",pi]]),hee="",Ei={name:"ORMPointReport",components:{IdmLoading:on,IdmBrand:yl},props:{report:{type:Object,default:()=>({})},showPrate:{type:Boolean,default:!1},showAcc:{type:Boolean,default:!0}},data(){return{echart:void 0,localTZ:"0",loading:!0}},watch:{report:{handler(){var t,n,o,d;(n=(t=this.report)==null?void 0:t.extend)!=null&&n.data&&(this.loading=!1,this.localTZ=v.LngLatHelper.guessTimeZoneOffset((o=this.report)==null?void 0:o.lng,(d=this.report)==null?void 0:d.lat),this.$nextTick(()=>{this.initEchart()}))},immediate:!0}},computed:{computeLat(){return function(t){return v.LngLatHelper.lat2pretty(t,2)}},computeLng(){return function(t){return v.LngLatHelper.lng2pretty(t,2)}},computeLTime(){return function(t,n=8,o="MMM-DD/HHmm[LT]"){return`${w(t).utcOffset(n).format(o)}`}},computeTZ(){return function(t="0"){return v.LngLatHelper.prettyTimeZoneOffset(t)}},roundPrecision(){return function(t,n=4){if(typeof t=="number"){const o=Number("1".padEnd(n+1,"0"));return Math.round(t*o)/o}else return"-"}},computeDegree(){return function(t,n){t=t%360;for(let o=0;o<17;o++)if(o*22.5+t+11.25>=360){let d=(16-o)*22.5;return n||(d=d+180),`transform:rotate(${d}deg);height:1rem;width:1rem;margin-left:3px`}}},computeForm(){return function(t){var d,l,a,p,i,y,b,S,E,V;const n={};for(let D=0;D<((l=(d=t==null?void 0:t.extend)==null?void 0:d.data)==null?void 0:l.length);D++){const r=(a=t==null?void 0:t.extend)==null?void 0:a.data[D];if(D===0)r.precip.pacc=0;else{const C=(p=t==null?void 0:t.extend)==null?void 0:p.data[D-1],k=w(r.utc).utcOffset(this.localTZ),T=w(C.utc).utcOffset(this.localTZ),u=(i=C==null?void 0:C.precip)==null?void 0:i.prate,L=k.diff(T,"h"),O=this.roundPrecision(u*L,1);if(r.precip.pacc=O,O>0){const x=n[k.format("MMM-DD")],P=Math.floor(k.get("hour")/6);x?(x.pacc=this.roundPrecision(x.pacc+O,1),x[`${P}`]?x[`${P}`]+=O:(x[`${P}`]=O,x.colspan+=1)):(n[k.format("MMM-DD")]={pacc:O,colspan:1},n[k.format("MMM-DD")][`${P}`]=O)}}}t.paccInDays=n;let o=0;for(const D of Object.keys(n))o+=(y=n[D])==null?void 0:y.colspan,n[D].level=((b=n[D])==null?void 0:b.pacc)<10?"Light":((S=n[D])==null?void 0:S.pacc)<24.9?"Moderate":((E=n[D])==null?void 0:E.pacc)<49.9?"Heavy":((V=n[D])==null?void 0:V.pacc)<99.9?"Rainstorm":"HeavyRainstorm";return t.span=o,t}}},methods:{initEchart(){var a,p,i;this.echart||(this.echart=e.markRaw(zo.init(this.$refs.echart)));const t=[],n=[],o={dateTime:0,windSpeed:1,gusts:2,waveHeight:3,windDirection:4,windDegree:5,windScale:6,current:7,precip:8,visibility:9,temp:10};let d=4;(i=(p=(a=this.report)==null?void 0:a.extend)==null?void 0:p.data)==null||i.forEach(y=>{var S,E,V,D,r,C,k,T,u,L,O,x,P;const b=w(y.utc).utcOffset(this.localTZ).format("MMM-DD/HHmm[LT]");t.push(b),d=((E=(S=y.wave)==null?void 0:S.sig)==null?void 0:E.height)>d?(D=(V=y.wave)==null?void 0:V.sig)==null?void 0:D.height:d,n.push([b,(r=y.wind)==null?void 0:r.kts,(C=y.gusts)==null?void 0:C.kts,(T=(k=y.wave)==null?void 0:k.sig)==null?void 0:T.height,(u=y.wind)==null?void 0:u.direction,(L=y.wind)==null?void 0:L.degree,(O=y.wind)==null?void 0:O.scale,(x=y.current)==null?void 0:x.kts,(P=y.precip)==null?void 0:P.acc,this.roundPrecision(y.visibility/1852,0),y.temp])});const l={animation:!1,title:{text:"Weather Conditions",subtext:"Wind/Gusts/Sig.Wave/Visibility/Precip Acc",textStyle:{color:"#000000B3",fontWeight:"500"},left:"left"},legend:{show:!0,right:0},tooltip:{trigger:"axis"},grid:{bottom:35},xAxis:[{data:t}],yAxis:[{name:"Precip Acc (mm)",nameLocation:"middle",position:"left",nameGap:30,axisLine:{lineStyle:{color:"#f85c5c"}}},{name:"Visibility (nm)",nameLocation:"middle",position:"left",offset:45,nameGap:30,axisLine:{lineStyle:{color:"#de8600"}}},{name:"Sig. Wave Height (m)",nameLocation:"middle",position:"right",nameGap:25,max:d,axisLine:{lineStyle:{color:"#015DD5"}},splitLine:{show:!1}},{name:"Wind Speed (kts)",nameLocation:"middle",position:"right",offset:40,nameGap:25,axisLine:{lineStyle:{color:"#0e6500"}}}],visualMap:{type:"piecewise",orient:"horizontal",left:"center",bottom:0,show:!1,pieces:[{gte:17,color:"#f85c5c",label:"≥ BF5"},{gte:11,lt:17,color:"#de8600",label:"BF4"},{lt:11,color:"#67c23a",label:"< BF4"}],seriesIndex:3,dimension:1},series:[{type:"bar",name:"Precip Acc",yAxisIndex:0,showSymbol:!1,encode:{x:o.dateTime,y:o.precip},lineStyle:{color:"#f85c5c",type:"solid"},itemStyle:{color:"#f85c5c"},data:n,z:4},{type:"line",name:"Visibility",yAxisIndex:1,showSymbol:!1,encode:{x:o.dateTime,y:o.visibility},lineStyle:{color:"#de8600",type:"solid"},itemStyle:{color:"#de8600"},data:n,z:3},{name:"Sig. Wave Height",type:"line",showSymbol:!1,yAxisIndex:2,areaStyle:{color:{type:"linear",x:0,y:0,x2:0,y2:1,global:!1,colorStops:[{offset:0,color:"rgba(88, 160, 253, 1)"},{offset:.5,color:"rgba(88, 160, 253, 0.7)"},{offset:1,color:"rgba(88, 160, 253, 0)"}]}},lineStyle:{color:"rgba(88, 160, 253, 1)"},itemStyle:{color:"rgba(88, 160, 253, 1)"},encode:{x:o.dateTime,y:o.waveHeight},data:n,z:1},{name:"Wind Speed",type:"line",showSymbol:!1,yAxisIndex:3,encode:{x:o.dateTime,y:o.windSpeed},lineStyle:{color:"#398626",type:"solid"},itemStyle:{color:"#398626"},data:n,z:2},{type:"line",name:"Gusts",showSymbol:!1,yAxisIndex:3,encode:{x:o.dateTime,y:o.gusts},lineStyle:{color:"#0e6500",type:"dashed"},itemStyle:{color:"#0e6500"},data:n,z:2}]};this.echart.setOption(l)}}},st=t=>(e.pushScopeId("data-v-f465d74a"),t=t(),e.popScopeId(),t),yi={class:"point-report"},_i={class:"section info-section"},Ni={class:"flex-evenly"},Vi={class:"flex-space label-block",style:{width:"100%"}},fi=st(()=>e.createElementVNode("label",{class:"flex-end",style:{width:"180px"}},"Position",-1)),gi={class:"flex-space label-block",style:{width:"100%"}},Di=st(()=>e.createElementVNode("label",{class:"flex-end",style:{width:"180px"}},"Issued (+00:00)",-1)),xi={class:"flex-evenly"},bi={class:"flex-space label-block",style:{width:"100%"}},Ci=st(()=>e.createElementVNode("label",{class:"flex-end",style:{width:"180px"}},"Timezone",-1)),Si={class:"flex-space label-block",style:{width:"100%"}},ki={class:"flex-end",style:{width:"180px"}},Ai={class:"section echart-section"},Bi={ref:"echart",class:"echart"},wi={class:"section sample-section"},Ti=st(()=>e.createElementVNode("th",{rowspan:"2"},"Date Time",-1)),Oi=st(()=>e.createElementVNode("th",{colspan:"4"},"Wind",-1)),Fi=st(()=>e.createElementVNode("th",{rowspan:"2"},[e.createTextVNode("Sea HT "),e.createElementVNode("br"),e.createTextVNode("(m)")],-1)),Pi=st(()=>e.createElementVNode("th",{colspan:"3"},"Swell",-1)),ui=st(()=>e.createElementVNode("th",{colspan:"3"},"Sig",-1)),Li=st(()=>e.createElementVNode("th",{colspan:"2"},"Current",-1)),Wi=["colspan"],Hi=st(()=>e.createElementVNode("th",{colspan:"1"},"Visibility",-1)),Mi=st(()=>e.createElementVNode("th",{colspan:"1"},"Temp",-1)),Gi=st(()=>e.createElementVNode("th",null,"Dir",-1)),Ii=st(()=>e.createElementVNode("th",null,"Speed (kts)",-1)),Ri=st(()=>e.createElementVNode("th",null,"BF",-1)),zi=st(()=>e.createElementVNode("th",null,"Gusts (kts)",-1)),Ui=st(()=>e.createElementVNode("th",null,"Dir",-1)),Yi=st(()=>e.createElementVNode("th",null,"Ht (m)",-1)),Zi=st(()=>e.createElementVNode("th",null,"Prd (s)",-1)),Qi=st(()=>e.createElementVNode("th",null,"Dir",-1)),Ji=st(()=>e.createElementVNode("th",null,"Hgt (m)",-1)),Ki=st(()=>e.createElementVNode("th",null,"Prd (s)",-1)),qi=st(()=>e.createElementVNode("th",null,"Dir",-1)),Xi=st(()=>e.createElementVNode("th",null,"Speed (kts)",-1)),ji={key:0},$i={key:1},vi=st(()=>e.createElementVNode("th",null,"Dist (nm)",-1)),ed=st(()=>e.createElementVNode("th",null,"°C",-1)),td={width:"120px"},od={key:0,class:"degree-box"},ld={key:1},ad={key:0,class:"degree-box"},nd={key:1},sd={key:0,class:"degree-box"},id={key:1},dd={key:0,class:"degree-box"},cd={key:1},rd={key:0},md={key:1};function hd(t,n,o,d,l,a){var y,b,S,E;const p=e.resolveComponent("IdmBrand"),i=e.resolveComponent("IdmLoading");return e.openBlock(),e.createElementBlock("div",yi,[e.createVNode(p,{name:"Point Weather Forecast"}),e.createVNode(i,{loading:l.loading},null,8,["loading"]),e.createElementVNode("div",_i,[e.createElementVNode("div",Ni,[e.createElementVNode("div",Vi,[fi,e.createElementVNode("span",null,e.toDisplayString(a.computeLat((y=o.report)==null?void 0:y.lat).pretty)+" / "+e.toDisplayString(a.computeLng((b=o.report)==null?void 0:b.lng).pretty),1)]),e.createElementVNode("div",gi,[Di,e.createElementVNode("span",null,e.toDisplayString(a.computeLTime(o.report.updatedAt,0,"YYYY, MMM-DD/HHmm[Z]")),1)])]),e.createElementVNode("div",xi,[e.createElementVNode("div",bi,[Ci,e.createElementVNode("span",null,e.toDisplayString(a.computeTZ(this.localTZ)),1)]),e.createElementVNode("div",Si,[e.createElementVNode("label",ki,"("+e.toDisplayString(a.computeTZ(this.localTZ))+")",1),e.createElementVNode("span",null,e.toDisplayString(a.computeLTime(o.report.updatedAt,this.localTZ,"YYYY, MMM-DD/HHmm[LT]")),1)])])]),e.createElementVNode("div",Ai,[e.createElementVNode("div",Bi,null,512)]),e.createElementVNode("div",wi,[e.createElementVNode("table",null,[e.createElementVNode("thead",null,[e.createElementVNode("tr",null,[Ti,Oi,Fi,Pi,ui,Li,e.createElementVNode("th",{colspan:o.showPrate&&o.showAcc?2:1},"Precip",8,Wi),Hi,Mi]),e.createElementVNode("tr",null,[Gi,Ii,Ri,zi,Ui,Yi,Zi,Qi,Ji,Ki,qi,Xi,o.showPrate?(e.openBlock(),e.createElementBlock("th",ji,"Rate (mm/h)")):e.createCommentVNode("",!0),o.showAcc?(e.openBlock(),e.createElementBlock("th",$i,"Acc (mm)")):e.createCommentVNode("",!0),vi,ed])]),e.createElementVNode("tbody",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList((E=(S=o.report)==null?void 0:S.extend)==null?void 0:E.data,(V,D)=>{var r,C,k,T,u,L,O,x,P,R,Z,z,W,f,Y,G,H,K,q,j,X,N,M,J,s,$,c,ee,oe,te,se,ie,ce,re;return e.openBlock(),e.createElementBlock("tr",{key:D},[e.createElementVNode("td",td,e.toDisplayString(a.computeLTime(V.utc,this.localTZ)),1),e.createElementVNode("td",null,[(r=V.wind)!=null&&r.kts?(e.openBlock(),e.createElementBlock("span",od,[e.createTextVNode(e.toDisplayString((C=V.wind)==null?void 0:C.direction),1),e.createElementVNode("i",{class:"iconfont",style:e.normalizeStyle(a.computeDegree((k=V.wind)==null?void 0:k.degree,!1))},"",4)])):(e.openBlock(),e.createElementBlock("span",ld,"-"))]),e.createElementVNode("td",null,e.toDisplayString(a.roundPrecision((T=V.wind)==null?void 0:T.kts,1)),1),e.createElementVNode("td",null,e.toDisplayString((u=V.wind)==null?void 0:u.scale),1),e.createElementVNode("td",null,e.toDisplayString(a.roundPrecision((L=V.gusts)==null?void 0:L.kts,1)),1),e.createElementVNode("td",null,e.toDisplayString(a.roundPrecision((x=(O=V.wave)==null?void 0:O.wd)==null?void 0:x.height,1)),1),e.createElementVNode("td",null,[(R=(P=V.wave)==null?void 0:P.swell)!=null&&R.height?(e.openBlock(),e.createElementBlock("span",ad,[e.createTextVNode(e.toDisplayString((z=(Z=V.wave)==null?void 0:Z.swell)==null?void 0:z.direction),1),e.createElementVNode("i",{class:"iconfont",style:e.normalizeStyle(a.computeDegree((f=(W=V.wave)==null?void 0:W.swell)==null?void 0:f.degree,!1))},"",4)])):(e.openBlock(),e.createElementBlock("span",nd,"-"))]),e.createElementVNode("td",null,e.toDisplayString(a.roundPrecision((G=(Y=V.wave)==null?void 0:Y.swell)==null?void 0:G.height,1)),1),e.createElementVNode("td",null,e.toDisplayString(a.roundPrecision((K=(H=V.wave)==null?void 0:H.swell)==null?void 0:K.period,1)),1),e.createElementVNode("td",null,[(j=(q=V.wave)==null?void 0:q.sig)!=null&&j.height?(e.openBlock(),e.createElementBlock("span",sd,[e.createTextVNode(e.toDisplayString((N=(X=V.wave)==null?void 0:X.sig)==null?void 0:N.direction),1),e.createElementVNode("i",{class:"iconfont",style:e.normalizeStyle(a.computeDegree((J=(M=V.wave)==null?void 0:M.sig)==null?void 0:J.degree,!1))},"",4)])):(e.openBlock(),e.createElementBlock("span",id,"-"))]),e.createElementVNode("td",null,e.toDisplayString(a.roundPrecision(($=(s=V.wave)==null?void 0:s.sig)==null?void 0:$.height,1)),1),e.createElementVNode("td",null,e.toDisplayString(a.roundPrecision((ee=(c=V.wave)==null?void 0:c.sig)==null?void 0:ee.period,1)),1),e.createElementVNode("td",null,[(oe=V.current)!=null&&oe.kts?(e.openBlock(),e.createElementBlock("span",dd,[e.createTextVNode(e.toDisplayString((te=V.current)==null?void 0:te.direction),1),e.createElementVNode("i",{class:"iconfont",style:e.normalizeStyle(a.computeDegree((se=V.current)==null?void 0:se.degree,!0))},"",4)])):(e.openBlock(),e.createElementBlock("span",cd,"-"))]),e.createElementVNode("td",null,e.toDisplayString(a.roundPrecision((ie=V.current)==null?void 0:ie.kts,1)),1),o.showPrate?(e.openBlock(),e.createElementBlock("td",rd,e.toDisplayString(a.roundPrecision((ce=V.precip)==null?void 0:ce.prate,2)),1)):e.createCommentVNode("",!0),o.showAcc?(e.openBlock(),e.createElementBlock("td",md,e.toDisplayString(a.roundPrecision((re=V.precip)==null?void 0:re.acc,2)),1)):e.createCommentVNode("",!0),e.createElementVNode("td",null,e.toDisplayString(a.roundPrecision(V.visibility/1852,0)),1),e.createElementVNode("td",null,e.toDisplayString(a.roundPrecision(V.temp,1)),1)])}),128))])])])])}const En=De(Ei,[["render",hd],["__scopeId","data-v-f465d74a"]]),pee="",pd={props:{name:{type:String,default:""}}},Ed={class:"section brand-section flex-space"},yd=e.createStaticVNode('<div class="logo-box flex-center" data-v-602c94e3><a class="logo" href="https://www.idmwx.com" target="_blank" data-v-602c94e3><img src="https://img.idmwx.com/asset/orm/logo_300x180.png" data-v-602c94e3><div class="brand" data-v-602c94e3><span data-v-602c94e3>Weather Routing</span><div class="company" data-v-602c94e3>Ocean Right Marine Service</div></div></a></div>',1),_d={class:"report-box flex-space"},Nd={class:"name flex-start"},Vd=e.createStaticVNode('<div class="support flex-end" data-v-602c94e3><img src="https://img.idmwx.com/asset/idm/qrcode_for_gh_976e5ac920c0_258.jpg" data-v-602c94e3><div style="margin-left:10px;" data-v-602c94e3><div class="name flex-space" data-v-602c94e3><label data-v-602c94e3>IDM Service Team</label></div><div class="desc flex-center" data-v-602c94e3>Technical Support &amp; Consulting Center</div></div></div>',1);function fd(t,n,o,d,l,a){return e.openBlock(),e.createElementBlock("div",Ed,[yd,e.createElementVNode("div",_d,[e.createElementVNode("div",Nd,e.toDisplayString(o.name),1),Vd])])}const ja=De(pd,[["render",fd],["__scopeId","data-v-602c94e3"]]),Eee="",gd={name:"PointReport",components:{IdmBrand:ja},props:{data:{type:Object,default:()=>({})},showPrate:{type:Boolean,default:!1},showAcc:{type:Boolean,default:!1}},data(){return{}},computed:{computeLat(){return function(t){return v.LngLatHelper.lat2pretty(t,2)}},computeLng(){return function(t){return v.LngLatHelper.lng2pretty(t,2)}},computeUTCTime(){return function(t,n="MMM-DD/HHmm"){return`${w(t).utc().format(n)}Z`}},roundPrecision(){return function(t,n=4){if(typeof t=="number"){const o=Number("1".padEnd(n+1,"0"));return Math.round(t*o)/o}else return"-"}},computeDegree(){return function(t,n){t=t%360;for(let o=0;o<17;o++)if(o*22.5+t+11.25>=360){let d=(16-o)*22.5;return n||(d=d+180),`transform:rotate(${d}deg);height:1rem;width:1rem;margin-left:3px`}}}},methods:{}},et=t=>(e.pushScopeId("data-v-2fead0ca"),t=t(),e.popScopeId(),t),Dd={class:"point-report"},xd=et(()=>e.createElementVNode("div",{class:"report-bg"},[e.createElementVNode("img",{src:"https://img.idmwx.com/asset/report-head-bg.png"})],-1)),bd={class:"report-header flex-center"},Cd={class:"info-box"},Sd=et(()=>e.createElementVNode("img",{class:"logo",src:"https://img.idmwx.com/asset/logo-150x150.png"},null,-1)),kd={class:"info"},Ad=et(()=>e.createElementVNode("label",null,"Position",-1)),Bd={class:"info"},wd=et(()=>e.createElementVNode("label",null,"Issued",-1)),Td=et(()=>e.createElementVNode("div",{class:"title-box"},[e.createElementVNode("div",{class:"title"},"Point Weather Forecast Report")],-1)),Od={class:"report-body"},Fd={class:"weather-sample"},Pd=et(()=>e.createElementVNode("th",{rowspan:"2"},"Date Time",-1)),ud=et(()=>e.createElementVNode("th",{colspan:"4"},"Wind",-1)),Ld=et(()=>e.createElementVNode("th",{rowspan:"2"},[e.createTextVNode("Sea HT "),e.createElementVNode("br"),e.createTextVNode("(m)")],-1)),Wd=et(()=>e.createElementVNode("th",{colspan:"3"},"Swell",-1)),Hd=et(()=>e.createElementVNode("th",{colspan:"3"},"Sig",-1)),Md=et(()=>e.createElementVNode("th",{colspan:"2"},"Current",-1)),Gd=["colspan"],Id=et(()=>e.createElementVNode("th",{colspan:"1"},"Visibility",-1)),Rd=et(()=>e.createElementVNode("th",{colspan:"1"},"Temp",-1)),zd=et(()=>e.createElementVNode("th",null,"Dir",-1)),Ud=et(()=>e.createElementVNode("th",null,"Speed (kts)",-1)),Yd=et(()=>e.createElementVNode("th",null,"BF",-1)),Zd=et(()=>e.createElementVNode("th",null,"Gusts (kts)",-1)),Qd=et(()=>e.createElementVNode("th",null,"Dir",-1)),Jd=et(()=>e.createElementVNode("th",null,"Ht (m)",-1)),Kd=et(()=>e.createElementVNode("th",null,"Prd (s)",-1)),qd=et(()=>e.createElementVNode("th",null,"Dir",-1)),Xd=et(()=>e.createElementVNode("th",null,"Hgt (m)",-1)),jd=et(()=>e.createElementVNode("th",null,"Prd (s)",-1)),$d=et(()=>e.createElementVNode("th",null,"Dir",-1)),vd=et(()=>e.createElementVNode("th",null,"Speed (kts)",-1)),ec={key:0},tc={key:1},oc=et(()=>e.createElementVNode("th",null,"Dist (nm)",-1)),lc=et(()=>e.createElementVNode("th",null,"°C",-1)),ac={width:"120px"},nc={key:0,class:"degree-box"},sc={key:1},ic={key:0,class:"degree-box"},dc={key:1},cc={key:0,class:"degree-box"},rc={key:1},mc={key:0,class:"degree-box"},hc={key:1},pc={key:0},Ec={key:1};function yc(t,n,o,d,l,a){const p=e.resolveComponent("IdmBrand");return e.openBlock(),e.createElementBlock("div",Dd,[e.createVNode(p),xd,e.createElementVNode("div",bd,[e.createElementVNode("div",Cd,[Sd,e.createElementVNode("div",kd,[Ad,e.createElementVNode("span",null,e.toDisplayString(a.computeLat(o.data.lat).pretty)+" / "+e.toDisplayString(a.computeLng(o.data.lng).pretty),1)]),e.createElementVNode("div",Bd,[wd,e.createElementVNode("span",null,e.toDisplayString(a.computeUTCTime(o.data.issuedAt,"YYYY, MMM-DD/HHmm")),1)])]),Td]),e.createElementVNode("div",Od,[e.createElementVNode("div",Fd,[e.createElementVNode("table",null,[e.createElementVNode("thead",null,[e.createElementVNode("tr",null,[Pd,ud,Ld,Wd,Hd,Md,e.createElementVNode("th",{colspan:o.showPrate&&o.showAcc?2:1},"Precip",8,Gd),Id,Rd]),e.createElementVNode("tr",null,[zd,Ud,Yd,Zd,Qd,Jd,Kd,qd,Xd,jd,$d,vd,o.showPrate?(e.openBlock(),e.createElementBlock("th",ec,"Rate (mm/h)")):e.createCommentVNode("",!0),o.showAcc?(e.openBlock(),e.createElementBlock("th",tc,"Acc (mm)")):e.createCommentVNode("",!0),oc,lc])]),e.createElementVNode("tbody",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(o.data.meteo,(i,y)=>{var b,S,E,V,D,r,C,k,T,u,L,O,x,P,R,Z,z,W,f,Y,G,H,K,q,j,X,N,M,J,s,$,c,ee,oe;return e.openBlock(),e.createElementBlock("tr",{key:y},[e.createElementVNode("td",ac,e.toDisplayString(a.computeUTCTime(i.utc)),1),e.createElementVNode("td",null,[(b=i.wind)!=null&&b.kts?(e.openBlock(),e.createElementBlock("span",nc,[e.createTextVNode(e.toDisplayString((S=i.wind)==null?void 0:S.direction),1),e.createElementVNode("i",{class:"iconfont",style:e.normalizeStyle(a.computeDegree((E=i.wind)==null?void 0:E.degree,!1))},"",4)])):(e.openBlock(),e.createElementBlock("span",sc,"-"))]),e.createElementVNode("td",null,e.toDisplayString(a.roundPrecision((V=i.wind)==null?void 0:V.kts,1)),1),e.createElementVNode("td",null,e.toDisplayString((D=i.wind)==null?void 0:D.scale),1),e.createElementVNode("td",null,e.toDisplayString(a.roundPrecision((r=i.gusts)==null?void 0:r.kts,1)),1),e.createElementVNode("td",null,e.toDisplayString(a.roundPrecision((k=(C=i.wave)==null?void 0:C.wd)==null?void 0:k.height,1)),1),e.createElementVNode("td",null,[(u=(T=i.wave)==null?void 0:T.swell)!=null&&u.height?(e.openBlock(),e.createElementBlock("span",ic,[e.createTextVNode(e.toDisplayString((O=(L=i.wave)==null?void 0:L.swell)==null?void 0:O.direction),1),e.createElementVNode("i",{class:"iconfont",style:e.normalizeStyle(a.computeDegree((P=(x=i.wave)==null?void 0:x.swell)==null?void 0:P.degree,!1))},"",4)])):(e.openBlock(),e.createElementBlock("span",dc,"-"))]),e.createElementVNode("td",null,e.toDisplayString(a.roundPrecision((Z=(R=i.wave)==null?void 0:R.swell)==null?void 0:Z.height,1)),1),e.createElementVNode("td",null,e.toDisplayString(a.roundPrecision((W=(z=i.wave)==null?void 0:z.swell)==null?void 0:W.period,1)),1),e.createElementVNode("td",null,[(Y=(f=i.wave)==null?void 0:f.sig)!=null&&Y.height?(e.openBlock(),e.createElementBlock("span",cc,[e.createTextVNode(e.toDisplayString((H=(G=i.wave)==null?void 0:G.sig)==null?void 0:H.direction),1),e.createElementVNode("i",{class:"iconfont",style:e.normalizeStyle(a.computeDegree((q=(K=i.wave)==null?void 0:K.sig)==null?void 0:q.degree,!1))},"",4)])):(e.openBlock(),e.createElementBlock("span",rc,"-"))]),e.createElementVNode("td",null,e.toDisplayString(a.roundPrecision((X=(j=i.wave)==null?void 0:j.sig)==null?void 0:X.height,1)),1),e.createElementVNode("td",null,e.toDisplayString(a.roundPrecision((M=(N=i.wave)==null?void 0:N.sig)==null?void 0:M.period,1)),1),e.createElementVNode("td",null,[(J=i.current)!=null&&J.kts?(e.openBlock(),e.createElementBlock("span",mc,[e.createTextVNode(e.toDisplayString((s=i.current)==null?void 0:s.direction),1),e.createElementVNode("i",{class:"iconfont",style:e.normalizeStyle(a.computeDegree(($=i.current)==null?void 0:$.degree,!0))},"",4)])):(e.openBlock(),e.createElementBlock("span",hc,"-"))]),e.createElementVNode("td",null,e.toDisplayString(a.roundPrecision((c=i.current)==null?void 0:c.kts,1)),1),o.showPrate?(e.openBlock(),e.createElementBlock("td",pc,e.toDisplayString(a.roundPrecision((ee=i.precip)==null?void 0:ee.prate,2)),1)):e.createCommentVNode("",!0),o.showAcc?(e.openBlock(),e.createElementBlock("td",Ec,e.toDisplayString(a.roundPrecision((oe=i.precip)==null?void 0:oe.inter6h,2)),1)):e.createCommentVNode("",!0),e.createElementVNode("td",null,e.toDisplayString(a.roundPrecision(i.visibility/1852,0)),1),e.createElementVNode("td",null,e.toDisplayString(a.roundPrecision(i.temp,1)),1)])}),128))])])])])])}const yn=De(gd,[["render",yc],["__scopeId","data-v-2fead0ca"]]),_c={install(t){t.component("ORMPointReport",En),t.component("PointReport",yn)}},Nc={name:"brabImg",props:{fill:{type:String,default:"#000000"}}},Vc={class:"logo"},fc=[e.createElementVNode("svg",{t:"1681710850227",class:"icon",viewBox:"0 0 3413 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"7633",width:"66.66015625",height:"20","xmlns:xlink":"http://www.w3.org/1999/xlink"},[e.createElementVNode("path",{d:"M0 409.6h3413.333333v204.8H0z","p-id":"7634"}),e.createElementVNode("path",{d:"M68.266667 477.866667v68.266666h3276.8V477.866667H68.266667M0 409.6h3413.333333v204.8H0z","p-id":"7635"}),e.createElementVNode("path",{d:"M2362.5728 1006.933333H713.659733l302.011734-478.4128 5.666133-8.942933-5.5296-9.079467L713.181867 17.066667h1649.2544l347.409066 502.237866-347.272533 487.6288z",fill:"#FFFFFF","p-id":"7636"}),e.createElementVNode("path",{d:"M743.6288 34.133333l297.847467 485.5808-296.891734 470.152534h1609.181867l335.189333-470.698667L2353.493333 34.133333H743.6288M682.666667 0h1688.712533L2730.666667 519.441067 2371.3792 1024H682.666667l318.600533-504.558933L682.666667 0z",fill:"#000000","p-id":"7637"})],-1)];function gc(t,n,o,d,l,a){return e.openBlock(),e.createElementBlock("i",Vc,fc)}const Dc=De(Nc,[["render",gc]]),xc={name:"brabImg",props:{fill:{type:String,default:"#000000"}}},bc={class:"logo"},Cc=[e.createElementVNode("svg",{t:"1681710772723",class:"icon",viewBox:"0 0 3413 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"7205",width:"66.66015625",height:"20","xmlns:xlink":"http://www.w3.org/1999/xlink"},[e.createElementVNode("path",{d:"M0 477.866667h3413.333333v68.266666H0z","p-id":"7206"}),e.createElementVNode("path",{d:"M682.666667 0h1688.712533L2730.666667 519.441067 2371.3792 1024H682.666667l318.600533-504.558933z",fill:"#C8C8C8","p-id":"7207"}),e.createElementVNode("path",{d:"M743.6288 34.133333l297.847467 485.5808-296.891734 470.152534h1609.181867l335.189333-471.04L2353.493333 34.133333H743.6288M682.666667 0h1688.712533L2730.666667 519.441067 2371.3792 1024H682.666667l318.600533-504.558933z","p-id":"7208"})],-1)];function Sc(t,n,o,d,l,a){return e.openBlock(),e.createElementBlock("i",bc,Cc)}const kc=De(xc,[["render",Sc]]),Ac={name:"brabImg",props:{fill:{type:String,default:"#000000"}}},Bc={class:"logo"},wc=[e.createElementVNode("svg",{t:"1681710864960",class:"icon",viewBox:"0 0 3413 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"7832",width:"66.66015625",height:"20","xmlns:xlink":"http://www.w3.org/1999/xlink"},[e.createElementVNode("path",{d:"M0 409.6h136.533333v204.8H0z","p-id":"7833"}),e.createElementVNode("path",{d:"M204.8 409.6h136.533333v204.8H204.8z","p-id":"7834"}),e.createElementVNode("path",{d:"M409.6 409.6h136.533333v204.8H409.6z","p-id":"7835"}),e.createElementVNode("path",{d:"M614.4 409.6h136.533333v204.8H614.4z","p-id":"7836"}),e.createElementVNode("path",{d:"M819.2 409.6h136.533333v204.8h-136.533333z","p-id":"7837"}),e.createElementVNode("path",{d:"M1024 409.6h136.533333v204.8h-136.533333z","p-id":"7838"}),e.createElementVNode("path",{d:"M1228.8 409.6h136.533333v204.8h-136.533333z","p-id":"7839"}),e.createElementVNode("path",{d:"M1433.6 409.6h136.533333v204.8h-136.533333z","p-id":"7840"}),e.createElementVNode("path",{d:"M1638.4 409.6h136.533333v204.8h-136.533333z","p-id":"7841"}),e.createElementVNode("path",{d:"M1843.2 409.6h136.533333v204.8h-136.533333z","p-id":"7842"}),e.createElementVNode("path",{d:"M2048 409.6h136.533333v204.8h-136.533333z","p-id":"7843"}),e.createElementVNode("path",{d:"M2252.8 409.6h136.533333v204.8h-136.533333z","p-id":"7844"}),e.createElementVNode("path",{d:"M2457.6 409.6h136.533333v204.8h-136.533333z","p-id":"7845"}),e.createElementVNode("path",{d:"M2662.4 409.6h136.533333v204.8h-136.533333z","p-id":"7846"}),e.createElementVNode("path",{d:"M2867.2 409.6h136.533333v204.8h-136.533333z","p-id":"7847"}),e.createElementVNode("path",{d:"M3072 409.6h136.533333v204.8h-136.533333z","p-id":"7848"}),e.createElementVNode("path",{d:"M3276.8 409.6h136.533333v204.8h-136.533333z","p-id":"7849"}),e.createElementVNode("path",{d:"M682.666667 0h1688.712533L2730.666667 519.441067 2371.3792 1024H682.666667l318.600533-504.558933z",fill:"#686868","p-id":"7850"}),e.createElementVNode("path",{d:"M743.6288 34.133333l297.847467 485.5808-296.891734 470.152534h1609.181867l335.189333-471.04L2353.493333 34.133333H743.6288M682.666667 0h1688.712533L2730.666667 519.441067 2371.3792 1024H682.666667l318.600533-504.558933z","p-id":"7851"})],-1)];function Tc(t,n,o,d,l,a){return e.openBlock(),e.createElementBlock("i",Bc,wc)}const Oc=De(Ac,[["render",Tc]]),Vee="",Fc={name:"IdmLng",props:{lng:{type:Number,default:void 0},label:{type:String,default:"Lng"}},data(){return{lngDegree:void 0,lngMinute:void 0,lngDirection:void 0}},watch:{lng:{handler(){if(this.lng!==void 0){let t=v.convertToStandardLng(this.lng);t>=0?this.lngDirection="E":this.lngDirection="W",t=Math.abs(t),this.lngDegree=Math.trunc(t),this.lngMinute=Math.round((t-this.lngDegree)*60*100)/100}},immediate:!0}}},_n=t=>(e.pushScopeId("data-v-533ec662"),t=t(),e.popScopeId(),t),Pc={class:"lng-box"},uc={key:0},Lc=_n(()=>e.createElementVNode("span",null,"°",-1)),Wc=_n(()=>e.createElementVNode("span",null,"'",-1));function Hc(t,n,o,d,l,a){return e.openBlock(),e.createElementBlock("div",Pc,[o.label?(e.openBlock(),e.createElementBlock("span",uc,e.toDisplayString(o.label),1)):e.createCommentVNode("",!0),e.createElementVNode("label",null,e.toDisplayString(l.lngDegree),1),Lc,e.createElementVNode("label",null,e.toDisplayString(l.lngMinute),1),Wc,e.createElementVNode("label",null,e.toDisplayString(l.lngDirection),1)])}const $a=De(Fc,[["render",Hc],["__scopeId","data-v-533ec662"]]),fee="",Mc={name:"IdmLat",props:{lat:{type:Number,default:void 0},label:{type:String,default:"Lat"}},data(){return{latDegree:void 0,latMinute:void 0,latDirection:void 0}},watch:{lat:{handler(){if(this.lat!==void 0){this.lat>=0?this.latDirection="N":this.latDirection="S";const t=Math.abs(this.lat);this.latDegree=Math.trunc(t),this.latMinute=Math.round((t-this.latDegree)*60*100)/100}},immediate:!0}}},Nn=t=>(e.pushScopeId("data-v-d3432239"),t=t(),e.popScopeId(),t),Gc={class:"lat-box"},Ic={key:0},Rc=Nn(()=>e.createElementVNode("span",null,"°",-1)),zc=Nn(()=>e.createElementVNode("span",null,"'",-1));function Uc(t,n,o,d,l,a){return e.openBlock(),e.createElementBlock("div",Gc,[o.label?(e.openBlock(),e.createElementBlock("span",Ic,e.toDisplayString(o.label),1)):e.createCommentVNode("",!0),e.createElementVNode("label",null,e.toDisplayString(l.latDegree),1),Rc,e.createElementVNode("label",null,e.toDisplayString(l.latMinute),1),zc,e.createElementVNode("label",null,e.toDisplayString(l.latDirection),1)])}const va=De(Mc,[["render",Uc],["__scopeId","data-v-d3432239"]]),gee="",Yc={name:"IdmEditor",components:{Editor:mn.Editor,Toolbar:mn.Toolbar},props:{height:{type:String,default:"200px"},modelValue:{type:String,default:()=>""},disabled:{type:Boolean,default:()=>!1}},data(){return{editorRef:null,editor:null,mode:"simple",valueHtml:void 0,editorConfig:{placeholder:"please input something..."},toolbarConfig:{toolbarKeys:["bold","color","bgColor","fontSize","lineHeight"]}}},watch:{disabled:{handler(t){var n,o;t?(n=this.editor)==null||n.disable():(o=this.editor)==null||o.enable()}},modelValue:{handler(){var t;this.valueHtml=this.modelValue,(t=this.editor)==null||t.setHtml(this.valueHtml)}}},methods:{handleCreated(t){var n;this.editorRef=e.shallowRef(),this.editor=Object.seal(t),this.valueHtml=this.modelValue,(n=this.editor)==null||n.setHtml(this.valueHtml),this.disabled?this.editor.disable():this.editor.enable()},handleChange(t){this.$emit("update:modelValue",this.valueHtml)},handleBlur(t){this.$emit("blur",this.valueHtml)},beforeDestroy(){var t;(t=this.editor)==null||t.destroy()}}},Zc={class:"editor-box"};function Qc(t,n,o,d,l,a){const p=e.resolveComponent("Toolbar"),i=e.resolveComponent("Editor");return e.openBlock(),e.createElementBlock("div",Zc,[e.withDirectives(e.createVNode(p,{editor:l.editor,"default-config":l.toolbarConfig,mode:l.mode,class:"toolbar"},null,8,["editor","default-config","mode"]),[[e.vShow,!o.disabled]]),e.createVNode(i,{modelValue:l.valueHtml,"onUpdate:modelValue":n[0]||(n[0]=y=>l.valueHtml=y),"default-config":l.editorConfig,mode:l.mode,class:"editor",style:e.normalizeStyle({height:o.height}),onOnCreated:a.handleCreated,onOnChange:a.handleChange,onOnBlur:a.handleBlur},null,8,["modelValue","default-config","mode","style","onOnCreated","onOnChange","onOnBlur"])])}const Ro=De(Yc,[["render",Qc],["__scopeId","data-v-0d3b5c3c"]]),Jc="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADIAAAAyCAYAAAAeP4ixAAAABHNCSVQICAgIfAhkiAAADdBJREFUaEPtWguUFcWZ/ququ+9rnsy9MzIzMKCAyMtXRFHJgYigoEElk109S9R1F9Acc0h8rEZ2t3eFRBDdVXMwakyMJobAGskmxiwawiaICQTdja/4ANYA82BgmGG4j+7bXbXfP9zZ4AhzZyaje05O+pzvVE93V9X/1f+suiPoT+QSfyI86I8j0rhOkR0vo7yJk9KGpMpSU6KLNs8MPu4FGjiRaetiiYQ/xorYc8m2ZpGtRpKSCWOp0CiVBg5qSW9qIbdoEq/4mdwe8o+kaf1nw4+S3ACIuLLi/NoplmNfa2y1wChruLFkxljWbmOJXdq29wspfa1UzChZQ0rVkxRRrcSbRojnRdbfmP3WnL0gYz4KQv0mkjr94TNFVK6C8BdAeEdbcnso5RNBxP4VSd2SzussJVMh5TqtuKpIUEyfZKQaL5SYLYT8hJHy9yHpr3sHan5K6yf6Q02mX0TK6u8fF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:va,Editor:Ro,Route1:Dc,Route2:kc,Route3:Oc,IdmBrand:ja},props:{plan:{type:Object,default:()=>({})},editorDisabled:{type:Boolean,default:()=>!1}},emits:["commit","refresh"],data(){return{tableData:[],sogChart:void 0,windChart:void 0,waveChart:void 0,currentChart:void 0,editable:!1,advisory:""}},computed:{computeUTCTime(){return function(t){return`${w(t).utc().format("MMM-DD/HHmm")}Z`}},computeLTime(){return function(t,n){const o=w(t);return o.utcOffset(n),`${o.format("MMM-DD/HHmm")}LT`}},computeUTCOffset(){var t,n,o,d,l;return(l=(d=(o=(n=(t=this.plan)==null?void 0:t.leg)==null?void 0:n.destination)==null?void 0:o.port)==null?void 0:d.timezone)==null?void 0:l.UtcCurrentOffset},computeTimeDiff(){return function(t,n){var o,d,l;if(n===0)return"-";{const a=w((d=(o=t==null?void 0:t.speeds[n])==null?void 0:o.speed)==null?void 0:d.eta).diff(w((l=t==null?void 0:t.speeds[0])==null?void 0:l.speed.eta),"h",!0);return Math.round(a*10)/10}}},computeNav(){return function(t){return t.gcToPrevious?"GC":"RL"}},roundPrecision(){return function(t,n=4){if(typeof t=="number"){const o=Number("1".padEnd(n+1,"0"));return Math.round(t*o)/o}else return"-"}},computeMapChart(){var t;return((t=this.plan)==null?void 0:t.chartUrl)||"//oss.idmwx.com/asset/route-report_example.png"},computeDegree(){return function(t,n){t=t%360;for(let o=0;o<17;o++)if(o*22.5+t+11.25>=360){let d=(16-o)*22.5;return n||(d=d+180),`transform:rotate(${d}deg);margin-left:3px;`}}},computeDay(){return function(t){var l,a,p;const n=(p=(a=(l=t==null?void 0:t.speeds[0])==null?void 0:l.speed)==null?void 0:a.sample)==null?void 0:p.hours,o=n[0],d=n[n.length-1];return w(d.eta).diff(w(o.eta),"day")}},computeMemo(){return function(t){return(t==null?void 0:t.memo)??"-"}},computeMajorPoints(){return function(t){const n=[];if(t.length)return t.forEach(o=>{n.push(o),o.suspend&&n.push({etd:o.etd,eta:o.etd,isResume:!0,memo:`Drifting: ${o.suspend}hrs`})}),n}}},watch:{plan:{handler(){var t,n;(t=this.plan)!=null&&t.id&&(this.advisory=((n=this.plan)==null?void 0:n.advisory)||"As conditions and safe navigation permit, our suggested route remains valid.",this.$nextTick(()=>{this.initEChart()}))},immediate:!0}},methods:{initEChart(){var t,n,o,d,l,a,p,i,y,b;if(this.sogChart||(this.sogChart=e.markRaw(zo.init(this.$refs.sogChart))),this.windChart||(this.windChart=e.markRaw(zo.init(this.$refs.windChart))),this.waveChart||(this.waveChart=e.markRaw(zo.init(this.$refs.waveChart))),(n=(t=this.plan)==null?void 0:t.speeds)!=null&&n.length){const S=[],E={grid:{right:"15%",bottom:"15%",top:"15%"},tooltip:{trigger:"axis"},legend:{itemGap:100,icon:"roundRect",itemHeight:2},xAxis:[{data:S}],yAxis:{type:"value",splitNumber:5,name:"SOG (kts)",nameGap:60,nameRotate:90,nameLocation:"middle",nameTextStyle:{fontSize:16,fontWeight:600,textAlign:"center"},position:"left",axisLabel:{formatter:"{value} kts"}},series:[]},V={grid:{right:"15%",bottom:"15%",top:"5%"},tooltip:{trigger:"axis"},xAxis:[{data:S}],yAxis:{type:"value",splitNumber:5,name:"Wind Speed (kts)",nameGap:60,nameRotate:90,nameLocation:"middle",nameTextStyle:{fontSize:16,fontWeight:600,textAlign:"center"},position:"left",axisLabel:{formatter:"{value} kts"}},series:[]},D={grid:{right:"15%",top:"5%",bottom:"10%"},tooltip:{trigger:"axis"},xAxis:[{data:S}],yAxis:{type:"value",splitNumber:5,name:"Sig Wave Height (m)",nameGap:60,nameRotate:90,nameLocation:"middle",nameTextStyle:{fontSize:16,fontWeight:600,textAlign:"center"},axisLabel:{formatter:"{value} m"}},series:[]};let r,C;for(let k=0;k<((d=(o=this.plan)==null?void 0:o.speeds)==null?void 0:d.length);k++){const T=(l=this.plan)==null?void 0:l.speeds[k].speed,u=[],L=[],O=[],x=[];for(let z=0;z<T.sample.hours.length;z++){const W=T.sample.hours[z];if(k===0){r||(r=w(W.eta).utc(),C=r.clone().add(this.computeDay(this.plan),"day"));const K=w(W.eta).utc();if(K.isAfter(C))break;S.push(`${K.format("MMM-DD/HHmm")}Z`)}const f=this.roundPrecision(W.speed||10,1),Y=this.roundPrecision(W.cFactor||0,1),G=this.roundPrecision((p=(a=W.meteo)==null?void 0:a.wind)==null?void 0:p.kts,1),H=this.roundPrecision((b=(y=(i=W.meteo)==null?void 0:i.wave)==null?void 0:y.sig)==null?void 0:b.height,1);u.push(f),O.push(G),x.push(H),L.push(Y)}const P={name:`Route ${k+1}`,type:"line",smooth:!0,showSymbol:!0,data:u},R={name:`Route ${k+1}`,type:"line",smooth:!0,showSymbol:!0,data:O},Z={name:`Route ${k+1}`,type:"line",smooth:!0,showSymbol:!0,data:x};E.series.push(P),V.series.push(R),D.series.push(Z)}this.sogChart.setOption(E),this.windChart.setOption(V),this.waveChart.setOption(D)}},handleSave(){this.$emit("commit",this.$refs.editor.valueHtml),this.editable=!1},handleRefresh(){this.$emit("refresh")},decideDisable(){this.editorDisabled?this.editable=!1:this.editable=!0}}},it=t=>(e.pushScopeId("data-v-ba499fc2"),t=t(),e.popScopeId(),t),qc={class:"route-report"},Xc={class:"report-header flex-space"},jc=it(()=>e.createElementVNode("img",{style:{"margin-right":"20px"},src:Jc,alt:""},null,-1)),$c=it(()=>e.createElementVNode("div",{class:"tips",style:{"line-height":"2"}},[e.createElementVNode("div",null,"The waypoints in this sheet are approximate positions."),e.createElementVNode("div",null," The route map is for reference only and should not be used for navigation. All the material is an advisory provided so as to assist the Master in making the final route decision. ")],-1)),vc={class:"issued flex-end"},er=it(()=>e.createElementVNode("label",null,"Issued",-1)),tr={class:"report-body"},or={class:"voyage-summary flex-space"},lr={class:"title"},ar={key:0},nr={key:1},sr={key:0,class:"initial"},ir={key:1,class:"warning"},dr={class:"summary flex-start"},cr={class:"summary-item"},rr=it(()=>e.createElementVNode("label",{class:"label"},"Voyage No",-1)),mr={class:"summary-item"},hr=it(()=>e.createElementVNode("label",{class:"label"},"From ",-1)),pr={key:0},Er={key:1,class:"flex-start"},yr=it(()=>e.createElementVNode("span",{style:{"margin-right":"3px"}},",",-1)),_r={class:"summary-item"},Nr=it(()=>e.createElementVNode("label",{class:"label"},"To ",-1)),Vr={key:0},fr={key:1,class:"flex-start"},gr=it(()=>e.createElementVNode("span",{style:{"margin-right":"3px"}},",",-1)),Dr={class:"route-advisory"},xr={class:"charts"},br={key:0},Cr=["src"],Sr={class:"legend-box"},kr=e.createStaticVNode('<div class="legend-item" data-v-ba499fc2><span class="img-legend" style="background-color:var(--dangerous);" data-v-ba499fc2></span>   Dangerous </div><div class="legend-item" data-v-ba499fc2><span class="img-legend" style="background-color:var(--severe);" data-v-ba499fc2></span>   Severe </div><div class="legend-item" data-v-ba499fc2><span class="img-legend" style="background-color:var(--heavy);" data-v-ba499fc2></span>   Heavy </div><div class="legend-item" data-v-ba499fc2><b class="route1" data-v-ba499fc2></b><span data-v-ba499fc2>Route 1</span></div>',4),Ar={key:0,class:"legend-item"},Br=[it(()=>e.createElementVNode("b",{class:"route2"},null,-1)),it(()=>e.createElementVNode("span",null,"Route 2",-1))],wr={key:1,class:"legend-item"},Tr=[it(()=>e.createElementVNode("b",{class:"route3"},null,-1)),it(()=>e.createElementVNode("span",null,"Route 3",-1))],Or={key:1,class:"empty"},Fr={class:"route-comparison"},Pr=it(()=>e.createElementVNode("div",{class:"title flex-space"},[e.createElementVNode("div",{class:"secondary-title"},"Route Comparison"),e.createElementVNode("div",{class:"tips"},[e.createTextVNode(" * Please note the climatology data was used for days that extend beyond the available forecast."),e.createElementVNode("br"),e.createTextVNode(" * Fuel consumption was calculated only based on CP terms, and does not reflect actual consumption. ")])],-1)),ur={class:"container"},Lr={key:0},Wr=it(()=>e.createElementVNode("tr",null,[e.createElementVNode("th",{rowspan:"2",colspan:"2"},"Route"),e.createElementVNode("th",null,"SPD (kts)"),e.createElementVNode("th",{rowspan:"2"},"TTL Dist (nm)"),e.createElementVNode("th",null,"ETA (UTC)"),e.createElementVNode("th",{rowspan:"2"},"Diff (h)"),e.createElementVNode("th",{colspan:"2"},"TTL Cons (mt)"),e.createElementVNode("th",null,"Dangerous"),e.createElementVNode("th",null,"Severe"),e.createElementVNode("th",null,"Heavy")],-1)),Hr=it(()=>e.createElementVNode("th",null,"CP Cons (mt)",-1)),Mr=it(()=>e.createElementVNode("th",null,"Avg.Spd / Wx / Cur.Factor (kts)",-1)),Gr=it(()=>e.createElementVNode("th",null,"*FO",-1)),Ir=it(()=>e.createElementVNode("th",null,"*DO",-1)),Rr={colspan:"3"},zr={rowspan:"2"},Ur={rowspan:"2"},Yr={rowspan:"2"},Zr={rowspan:"2"},Qr={rowspan:"2"},Jr={rowspan:"2"},Kr={rowspan:"2"},qr={rowspan:"2"},Xr={rowspan:"2"},jr={class:"route-advisory",style:{"page-break-after":"always"}},$r={class:"advisory"},vr={class:"reason"},em={class:"secondary-title flex-space"},tm=it(()=>e.createElementVNode("div",null,"Note",-1)),om=["innerHTML"],lm={class:"major-waypoints"},am=it(()=>e.createElementVNode("div",{class:"secondary-title"},"Major Waypoints of Route 1",-1)),nm={class:"container"},sm=e.createStaticVNode('<div class="header" data-v-ba499fc2><div class="cell-item" style="width:180px;" data-v-ba499fc2>Major waypoint</div><div class="cell-item" style="width:100px;" data-v-ba499fc2>Time</div><div class="cell-item" style="width:35px;" data-v-ba499fc2>Nav</div><div class="cell-item" style="width:55px;" data-v-ba499fc2>Dist</div><div class="cell-item" style="width:40px;" data-v-ba499fc2>SOG</div><div class="cell-item" style="width:125px;" data-v-ba499fc2>Memo</div></div>',1),im={class:"body"},dm={class:"cell-item",style:{width:"180px"}},cm={key:0,class:"flex-center"},rm={key:1,class:"flex-center"},mm=it(()=>e.createElementVNode("span",{style:{"margin-right":"3px"}},",",-1)),hm={key:0},pm={class:"cell-item",style:{width:"100px"}},Em={key:0,class:"cell-item offset",style:{width:"35px"}},ym={key:1,class:"cell-item offset",style:{width:"55px"}},_m={key:2,class:"cell-item offset",style:{width:"40px"}},Nm={key:3,class:"cell-item offset",style:{width:"125px"}},Vm={class:"weather-eChart"},fm=it(()=>e.createElementVNode("div",{class:"secondary-title"},"Weather and Speed Analysis",-1)),gm={ref:"sogChart",class:"eChart"},Dm={ref:"windChart",class:"eChart wind"},xm={ref:"waveChart",class:"eChart"},bm={class:"weather-sample"},Cm={class:"secondary-title"},Sm=it(()=>e.createElementVNode("thead",null,[e.createElementVNode("tr",null,[e.createElementVNode("th",{rowspan:"2"},[e.createTextVNode("Date Time "),e.createElementVNode("br"),e.createTextVNode("UTC")]),e.createElementVNode("th",{rowspan:"2"},[e.createTextVNode("Position "),e.createElementVNode("br"),e.createTextVNode("(lat/lon)")]),e.createElementVNode("th",{colspan:"2"},"Wind"),e.createElementVNode("th",{rowspan:"2"},[e.createTextVNode("Sea HT "),e.createElementVNode("br"),e.createTextVNode("(m)")]),e.createElementVNode("th",{colspan:"3"},"Swell"),e.createElementVNode("th",{colspan:"3"},"Sig"),e.createElementVNode("th",{colspan:"3"},"Current")]),e.createElementVNode("tr",null,[e.createElementVNode("th",null,"Dir"),e.createElementVNode("th",null,"Speed (kts)"),e.createElementVNode("th",null,"Dir"),e.createElementVNode("th",null,"Ht (m)"),e.createElementVNode("th",null,"Prd (s)"),e.createElementVNode("th",null,"Dir"),e.createElementVNode("th",null,"Hgt (m)"),e.createElementVNode("th",null,"Prd (s)"),e.createElementVNode("th",null,"Dir"),e.createElementVNode("th",null,"Speed (kts)"),e.createElementVNode("th",null,"Factor (kts)")])],-1)),km={class:"flex-center"},Am=it(()=>e.createElementVNode("span",null,"/",-1)),Bm={key:0,class:"degree-box"},wm={key:1},Tm={key:0,class:"degree-box"},Om={key:1},Fm={key:0,class:"degree-box"},Pm={key:1},um={key:0,class:"degree-box"},Lm={key:1};function Wm(t,n,o,d,l,a){var S,E,V,D,r,C,k,T,u,L,O,x,P,R,Z,z,W,f,Y,G,H,K,q,j,X,N,M,J,s,$,c,ee,oe,te,se,ie,ce,re,he,pe,Ee,de,ye,xe,be,Ce,Se,ke,Ae,Be,Fe,Pe,fe;const p=e.resolveComponent("IdmBrand"),i=e.resolveComponent("Lat"),y=e.resolveComponent("Lng"),b=e.resolveComponent("Editor");return e.openBlock(),e.createElementBlock("div",qc,[e.createVNode(p,{name:"Voyage Planning"}),e.createElementVNode("div",Xc,[jc,$c,e.createElementVNode("div",vc,[er,e.createElementVNode("span",null,e.toDisplayString(a.computeUTCTime((S=o.plan)==null?void 0:S.updatedAt)),1)])]),e.createElementVNode("div",tr,[e.createElementVNode("div",or,[e.createElementVNode("div",lr,[((E=o.plan)==null?void 0:E.type)==="Recommend"?(e.openBlock(),e.createElementBlock("div",ar,"Recommended Route Report for "+e.toDisplayString((r=(D=(V=o.plan)==null?void 0:V.voyage)==null?void 0:D.vessel)==null?void 0:r.name),1)):(e.openBlock(),e.createElementBlock("div",nr,"Route Report for "+e.toDisplayString((T=(k=(C=o.plan)==null?void 0:C.voyage)==null?void 0:k.vessel)==null?void 0:T.name),1)),e.createElementVNode("div",null,[((u=o.plan)==null?void 0:u.type)==="Recommend"?(e.openBlock(),e.createElementBlock("span",sr,"Initial Route Report")):e.createCommentVNode("",!0),((L=o.plan)==null?void 0:L.type)==="Drifting"?(e.openBlock(),e.createElementBlock("span",ir,"Drifting Route Report")):e.createCommentVNode("",!0)])]),e.createElementVNode("div",dr,[e.createElementVNode("div",cr,[rr,e.createElementVNode("span",null,e.toDisplayString((x=(O=o.plan)==null?void 0:O.voyage)==null?void 0:x.number),1)]),e.createElementVNode("div",mr,[hr,(Z=(R=(P=o.plan)==null?void 0:P.leg)==null?void 0:R.departure)!=null&&Z.name?(e.openBlock(),e.createElementBlock("div",pr,e.toDisplayString((W=(z=o.plan)==null?void 0:z.leg)==null?void 0:W.departure.name),1)):(e.openBlock(),e.createElementBlock("div",Er,[e.createVNode(i,{lat:(G=(Y=(f=o.plan)==null?void 0:f.leg)==null?void 0:Y.departure)==null?void 0:G.lat,label:""},null,8,["lat"]),yr,e.createVNode(y,{lng:(q=(K=(H=o.plan)==null?void 0:H.leg)==null?void 0:K.departure)==null?void 0:q.lng,label:""},null,8,["lng"])]))]),e.createElementVNode("div",_r,[Nr,(N=(X=(j=o.plan)==null?void 0:j.leg)==null?void 0:X.destination)!=null&&N.name?(e.openBlock(),e.createElementBlock("div",Vr,e.toDisplayString((M=o.plan)==null?void 0:M.leg.destination.name),1)):(e.openBlock(),e.createElementBlock("div",fr,[e.createVNode(i,{lat:($=(s=(J=o.plan)==null?void 0:J.leg)==null?void 0:s.destination)==null?void 0:$.lat,label:""},null,8,["lat"]),gr,e.createVNode(y,{lat:(oe=(ee=(c=o.plan)==null?void 0:c.leg)==null?void 0:ee.destination)==null?void 0:oe.lng,label:""},null,8,["lat"])]))])])]),e.createElementVNode("div",Dr,[e.createElementVNode("div",xr,[(te=o.plan)!=null&&te.chartUrl?(e.openBlock(),e.createElementBlock("div",br,[e.createElementVNode("img",{src:o.plan.chartUrl},null,8,Cr),e.createElementVNode("div",Sr,[kr,((ie=(se=o.plan)==null?void 0:se.speeds)==null?void 0:ie.length)>1?(e.openBlock(),e.createElementBlock("div",Ar,Br)):e.createCommentVNode("",!0),((re=(ce=o.plan)==null?void 0:ce.speeds)==null?void 0:re.length)>2?(e.openBlock(),e.createElementBlock("div",wr,Tr)):e.createCommentVNode("",!0)])])):(e.openBlock(),e.createElementBlock("div",Or,[e.createElementVNode("span",null,[e.createTextVNode("weather chart in cooking "),e.createElementVNode("span",{class:"btn",onClick:n[0]||(n[0]=(...F)=>a.handleRefresh&&a.handleRefresh(...F))},"Refresh"),e.createTextVNode(" later please")])]))])]),e.createElementVNode("div",Fr,[Pr,e.createElementVNode("div",ur,[(pe=(he=o.plan)==null?void 0:he.speeds)!=null&&pe.length?(e.openBlock(),e.createElementBlock("table",Lr,[e.createElementVNode("thead",null,[Wr,e.createElementVNode("tr",null,[Hr,Mr,Gr,Ir,e.createElementVNode("th",Rr,"*days (with in the next "+e.toDisplayString(a.computeDay(o.plan))+" days)",1)])]),e.createElementVNode("tbody",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList((Ee=o.plan)==null?void 0:Ee.speeds,(F,_e)=>{var ue,Le,We,we,He,Ke,qe,U,Oe,ze,Ue,Ye,Ze,Qe,Je,_,Q,ge,Te,Me;return e.openBlock(),e.createElementBlock(e.Fragment,{key:_e},[e.createElementVNode("tr",null,[e.createElementVNode("td",zr,e.toDisplayString(_e+1),1),e.createElementVNode("td",Ur,e.toDisplayString((Le=(ue=F.speed)==null?void 0:ue.lane)==null?void 0:Le.name),1),e.createElementVNode("td",null,e.toDisplayString(`${((We=F.speed)==null?void 0:We.label)??"CP"} ${((we=F.speed)==null?void 0:we.v0)??((Ke=(He=F.speed)==null?void 0:He.cpCopy)==null?void 0:Ke.speed)}`),1),e.createElementVNode("td",Yr,e.toDisplayString(a.roundPrecision((qe=F.speed)==null?void 0:qe.distance,0)),1),e.createElementVNode("td",null,e.toDisplayString(a.computeUTCTime((U=F.speed)==null?void 0:U.eta)),1),e.createElementVNode("td",Zr,e.toDisplayString(a.computeTimeDiff(o.plan,_e)),1),e.createElementVNode("td",Qr,e.toDisplayString(a.roundPrecision((Oe=F.speed)==null?void 0:Oe.totalFoCons,3)),1),e.createElementVNode("td",Jr,e.toDisplayString(a.roundPrecision((ze=F.speed)==null?void 0:ze.totalDgoCons,3)),1),e.createElementVNode("td",Kr,e.toDisplayString(a.roundPrecision(((Ue=F.speed)==null?void 0:Ue.dangerous)/24,1)),1),e.createElementVNode("td",qr,e.toDisplayString(a.roundPrecision(((Ye=F.speed)==null?void 0:Ye.severe)/24,1)),1),e.createElementVNode("td",Xr,e.toDisplayString(a.roundPrecision(((Ze=F.speed)==null?void 0:Ze.heavy)/24,1)),1)]),e.createElementVNode("tr",null,[e.createElementVNode("td",null,e.toDisplayString((Je=(Qe=F.speed)==null?void 0:Qe.cpCopy)==null?void 0:Je.fo)+" FO / "+e.toDisplayString((Q=(_=F.speed)==null?void 0:_.cpCopy)==null?void 0:Q.dgo)+" DO",1),e.createElementVNode("td",null,e.toDisplayString(a.roundPrecision((ge=F.speed)==null?void 0:ge.avgSpeed,2))+" / "+e.toDisplayString(a.roundPrecision((Te=F.speed)==null?void 0:Te.wxFactor,2))+" / "+e.toDisplayString(a.roundPrecision((Me=F.speed)==null?void 0:Me.cFactor,2)),1)])],64)}),128))])])):e.createCommentVNode("",!0)])]),e.createElementVNode("div",jr,[e.createElementVNode("div",$r,[e.createElementVNode("div",vr,[e.createElementVNode("div",em,[tm,l.editable?(e.openBlock(),e.createElementBlock("div",{key:0,class:"print-hidden save-button",onClick:n[1]||(n[1]=F=>a.handleSave())},"Save")):e.createCommentVNode("",!0)]),e.createElementVNode("div",null,[l.editable?(e.openBlock(),e.createBlock(b,{key:0,ref:"editor",modelValue:l.advisory,"onUpdate:modelValue":n[2]||(n[2]=F=>l.advisory=F),class:"editor",height:"320px"},null,8,["modelValue"])):(e.openBlock(),e.createElementBlock("div",{key:1,class:"txt",onDblclick:n[3]||(n[3]=(...F)=>a.decideDisable&&a.decideDisable(...F)),innerHTML:l.advisory},null,40,om))])]),e.createElementVNode("div",lm,[am,e.createElementVNode("div",nm,[sm,e.createElementVNode("div",im,[(ye=(de=o.plan)==null?void 0:de.speeds)!=null&&ye.length?(e.openBlock(!0),e.createElementBlock(e.Fragment,{key:0},e.renderList(a.computeMajorPoints((Se=(Ce=(be=(xe=o.plan)==null?void 0:xe.speeds[0])==null?void 0:be.speed)==null?void 0:Ce.sample)==null?void 0:Se.wps),(F,_e)=>(e.openBlock(),e.createElementBlock("div",{key:_e,class:"cell-row"},[e.createElementVNode("div",dm,[F.isResume?(e.openBlock(),e.createElementBlock("div",cm,"Resume")):(e.openBlock(),e.createElementBlock("div",rm,[e.createVNode(i,{lat:F.lat,label:""},null,8,["lat"]),mm,e.createVNode(y,{lng:F.lng,label:""},null,8,["lng"]),F.pilot?(e.openBlock(),e.createElementBlock("span",hm," [P]")):e.createCommentVNode("",!0)]))]),e.createElementVNode("div",pm,e.toDisplayString(a.computeUTCTime(F.eta)),1),_e?(e.openBlock(),e.createElementBlock("div",Em,e.toDisplayString(a.computeNav(F)),1)):e.createCommentVNode("",!0),_e?(e.openBlock(),e.createElementBlock("div",ym,e.toDisplayString(a.roundPrecision(F.distanceFromStart,1)),1)):e.createCommentVNode("",!0),_e?(e.openBlock(),e.createElementBlock("div",_m,e.toDisplayString(a.roundPrecision(F.avgSpd??F.speed,1)),1)):e.createCommentVNode("",!0),_e?(e.openBlock(),e.createElementBlock("div",Nm,e.toDisplayString(a.computeMemo(F)),1)):e.createCommentVNode("",!0)]))),128)):e.createCommentVNode("",!0)])])])])]),e.createElementVNode("div",Vm,[fm,e.createElementVNode("div",gm,null,512),e.createElementVNode("div",Dm,null,512),e.createElementVNode("div",xm,null,512)]),e.createElementVNode("div",bm,[(Ae=(ke=o.plan)==null?void 0:ke.speeds)!=null&&Ae.length?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[e.createElementVNode("div",Cm,"Weather Forecast for the Next "+e.toDisplayString(a.computeDay(o.plan))+" Days of Route 1",1),e.createElementVNode("table",null,[Sm,e.createElementVNode("tbody",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList((fe=(Pe=(Fe=(Be=o.plan)==null?void 0:Be.speeds[0])==null?void 0:Fe.speed)==null?void 0:Pe.sample)==null?void 0:fe.hours,(F,_e)=>{var ue,Le,We,we,He,Ke,qe,U,Oe,ze,Ue,Ye,Ze,Qe,Je,_,Q,ge,Te,Me,me,Xe,$e,ve,ot,lt,at,nt,mt,ht,pt,Et,yt,_t,Nt,Vt,ft,gt,Dt,xt,bt,Ct,St,kt,At,Bt,wt,Tt,Ht;return e.openBlock(),e.createElementBlock("tr",{key:_e,class:e.normalizeClass(F.isDangerous?"dangerous":F.isSevere?"severe":F.isHeavy?"heavy":"")},[e.createElementVNode("td",null,e.toDisplayString(a.computeUTCTime(F.eta)),1),e.createElementVNode("td",null,[e.createElementVNode("div",km,[e.createVNode(i,{lat:F.lat,label:""},null,8,["lat"]),Am,e.createVNode(y,{lng:F.lng,label:""},null,8,["lng"])])]),e.createElementVNode("td",null,[(Le=(ue=F.meteo)==null?void 0:ue.wind)!=null&&Le.kts?(e.openBlock(),e.createElementBlock("span",Bm,[e.createTextVNode(e.toDisplayString((we=(We=F.meteo)==null?void 0:We.wind)==null?void 0:we.direction),1),e.createElementVNode("i",{class:"iconfont",style:e.normalizeStyle(a.computeDegree((Ke=(He=F.meteo)==null?void 0:He.wind)==null?void 0:Ke.degree,!1))},"",4)])):(e.openBlock(),e.createElementBlock("span",wm,"-"))]),e.createElementVNode("td",null,e.toDisplayString(a.roundPrecision((U=(qe=F.meteo)==null?void 0:qe.wind)==null?void 0:U.kts,1)),1),e.createElementVNode("td",null,e.toDisplayString(a.roundPrecision((Ue=(ze=(Oe=F.meteo)==null?void 0:Oe.wave)==null?void 0:ze.wd)==null?void 0:Ue.height,1)),1),e.createElementVNode("td",null,[(Qe=(Ze=(Ye=F.meteo)==null?void 0:Ye.wave)==null?void 0:Ze.swell)!=null&&Qe.height?(e.openBlock(),e.createElementBlock("span",Tm,[e.createTextVNode(e.toDisplayString((Q=(_=(Je=F.meteo)==null?void 0:Je.wave)==null?void 0:_.swell)==null?void 0:Q.direction),1),e.createElementVNode("i",{class:"iconfont",style:e.normalizeStyle(a.computeDegree((Me=(Te=(ge=F.meteo)==null?void 0:ge.wave)==null?void 0:Te.swell)==null?void 0:Me.degree,!1))},"",4)])):(e.openBlock(),e.createElementBlock("span",Om,"-"))]),e.createElementVNode("td",null,e.toDisplayString(a.roundPrecision(($e=(Xe=(me=F.meteo)==null?void 0:me.wave)==null?void 0:Xe.swell)==null?void 0:$e.height,1)),1),e.createElementVNode("td",null,e.toDisplayString(a.roundPrecision((lt=(ot=(ve=F.meteo)==null?void 0:ve.wave)==null?void 0:ot.swell)==null?void 0:lt.period,1)),1),e.createElementVNode("td",null,[(mt=(nt=(at=F.meteo)==null?void 0:at.wave)==null?void 0:nt.sig)!=null&&mt.height?(e.openBlock(),e.createElementBlock("span",Fm,[e.createTextVNode(e.toDisplayString((Et=(pt=(ht=F.meteo)==null?void 0:ht.wave)==null?void 0:pt.sig)==null?void 0:Et.direction),1),e.createElementVNode("i",{class:"iconfont",style:e.normalizeStyle(a.computeDegree((Nt=(_t=(yt=F.meteo)==null?void 0:yt.wave)==null?void 0:_t.sig)==null?void 0:Nt.degree,!1))},"",4)])):(e.openBlock(),e.createElementBlock("span",Pm,"-"))]),e.createElementVNode("td",null,e.toDisplayString(a.roundPrecision((gt=(ft=(Vt=F.meteo)==null?void 0:Vt.wave)==null?void 0:ft.sig)==null?void 0:gt.height,1)),1),e.createElementVNode("td",null,e.toDisplayString(a.roundPrecision((bt=(xt=(Dt=F.meteo)==null?void 0:Dt.wave)==null?void 0:xt.sig)==null?void 0:bt.period,1)),1),e.createElementVNode("td",null,[(St=(Ct=F.meteo)==null?void 0:Ct.current)!=null&&St.kts?(e.openBlock(),e.createElementBlock("span",um,[e.createTextVNode(e.toDisplayString((At=(kt=F.meteo)==null?void 0:kt.current)==null?void 0:At.direction),1),e.createElementVNode("i",{class:"iconfont",style:e.normalizeStyle(a.computeDegree((wt=(Bt=F.meteo)==null?void 0:Bt.current)==null?void 0:wt.degree,!0))},"",4)])):(e.openBlock(),e.createElementBlock("span",Lm,"-"))]),e.createElementVNode("td",null,e.toDisplayString(a.roundPrecision((Ht=(Tt=F.meteo)==null?void 0:Tt.current)==null?void 0:Ht.kts,1)),1),e.createElementVNode("td",null,e.toDisplayString(a.roundPrecision(F.cFactor,1)),1)],2)}),128))])])],64)):e.createCommentVNode("",!0)])])])}const cn=De(Kc,[["render",Wm],["__scopeId","data-v-ba499fc2"]]),Aee="",Hm={name:"RouteReport",components:{Lng:$a,Lat:va,Editor:Ro},props:{plan:{type:Object,default:()=>({})},editorDisabled:{type:Boolean,default:()=>!1}},emits:["commit","refresh"],data(){return{editable:!1,advisory:""}},computed:{computeUTCTime(){return function(t,n="MMM-DD/HHmm[Z]"){return`${w(t).utc().format(n)}`}},computeLTime(){return function(t,n){const o=w(t);return o.utcOffset(n),`${o.format("MMM-DD/HHmm")}LT`}},computeUTCOffset(){var t,n,o,d,l;return(l=(d=(o=(n=(t=this.plan)==null?void 0:t.leg)==null?void 0:n.destination)==null?void 0:o.port)==null?void 0:d.timezone)==null?void 0:l.UtcCurrentOffset},computeTimeDiff(){return function(t,n){var o,d,l;if(n===0)return"-";{const a=w((d=(o=t==null?void 0:t.speeds[n])==null?void 0:o.speed)==null?void 0:d.eta).diff(w((l=t==null?void 0:t.speeds[0])==null?void 0:l.speed.eta),"h",!0);return Math.round(a*10)/10}}},computeNav(){return function(t){return t.gcToPrevious?"GC":"RL"}},roundPrecision(){return function(t,n=4){if(typeof t=="number"){const o=Number("1".padEnd(n+1,"0"));return Math.round(t*o)/o}else return"-"}},computeMapChart(){var t;return((t=this.plan)==null?void 0:t.chartUrl)||"//oss.idmwx.com/asset/route-report_example.png"},computeDegree(){return function(t,n){t=t%360;for(let o=0;o<17;o++)if(o*22.5+t+11.25>=360){let d=(16-o)*22.5;return n||(d=d+180),`transform:rotate(${d}deg);margin-left:3px;`}}},computeDay(){return function(t){var l,a,p;const n=(p=(a=(l=t==null?void 0:t.speeds[0])==null?void 0:l.speed)==null?void 0:a.sample)==null?void 0:p.hours,o=n[0],d=n[n.length-1];return w(d.eta).diff(w(o.eta),"day")}}},watch:{plan:{handler(){var t,n;(t=this.plan)!=null&&t.id&&(this.advisory=((n=this.plan)==null?void 0:n.advisory)||"Pls find the following major waypoints for your safe navigation.")},immediate:!0}},methods:{handleCommit(t){this.editable=!1,this.$emit("commit",t)},handleRefresh(){this.$emit("refresh")},handleEdit(){this.editorDisabled?this.editable=!1:this.editable=!0}}},dt=t=>(e.pushScopeId("data-v-afd0f0bf"),t=t(),e.popScopeId(),t),Mm={class:"route-report"},Gm=dt(()=>e.createElementVNode("div",{class:"brand"},[e.createElementVNode("img",{class:"bgImg",src:"https://img.idmwx.com/asset/fli_bg.jpeg"})],-1)),Im={class:"section"},Rm=dt(()=>e.createElementVNode("div",{class:"section-header flex-start"},[e.createElementVNode("i",{class:"iconfont"},""),e.createElementVNode("div",{class:"title"},"Voyage Basics")],-1)),zm={class:"section-body basics"},Um={class:"flex-space section-row"},Ym={class:"flex-start"},Zm=dt(()=>e.createElementVNode("label",{class:"flex-end"},"Company Name",-1)),Qm={class:"flex-start"},Jm={class:"flex-start"},Km=dt(()=>e.createElementVNode("label",{class:"flex-end"},"Departure Port",-1)),qm={class:"flex-start flex"},Xm={key:0,class:"flex"},jm={key:1,class:"flex-space flex"},$m=dt(()=>e.createElementVNode("span",{style:{"margin-right":"3px"}},",",-1)),vm={class:"time flex"},eh={class:"flex-space section-row"},th={class:"flex-start"},oh=dt(()=>e.createElementVNode("label",{class:"flex-end"},"Vessel Name",-1)),lh={class:"flex-start"},ah={class:"flex-start"},nh=dt(()=>e.createElementVNode("label",{class:"flex-end"},"Arrival Port",-1)),sh={class:"flex-start flex"},ih={key:0,class:"flex"},dh={key:1,class:"flex-space"},ch=dt(()=>e.createElementVNode("span",{style:{"margin-right":"3px"}},",",-1)),rh={class:"time flex"},mh={class:"flex-space section-row"},hh={class:"flex-start"},ph=dt(()=>e.createElementVNode("label",{class:"flex-end"},"Report Created",-1)),Eh={class:"flex-start"},yh={class:"flex-start"},_h=dt(()=>e.createElementVNode("label",{class:"flex-end"},"Voyage Condition",-1)),Nh={class:"flex-start flex"},Vh={class:"section",style:{"border-bottom":"2px dashed var(--fli-border-color-dark)"}},fh=dt(()=>e.createElementVNode("div",{class:"section-header flex-start"},[e.createElementVNode("i",{class:"iconfont"},""),e.createElementVNode("div",{class:"title"},"Route Details")],-1)),gh={class:"section-body detail"},Dh={class:"flex-space",style:{"align-items":"stretch"}},xh={class:"chart"},bh=["src"],Ch={key:1,class:"empty flex-center"},Sh={class:"route flex",style:{"justify-content":"space-between"}},kh=dt(()=>e.createElementVNode("div",{class:"title"},"ROUTE REMARKS",-1)),Ah={class:"suggestion"},Bh=["innerHTML"],wh={class:"flex-start legends"},Th=e.createStaticVNode('<div class="legend" data-v-afd0f0bf><label style="background-color:var(--severe);" data-v-afd0f0bf></label><span data-v-afd0f0bf>Dangerous</span></div><div class="legend" data-v-afd0f0bf><label style="background-color:var(--heavy);" data-v-afd0f0bf></label><span data-v-afd0f0bf>Severe</span></div><div class="legend" data-v-afd0f0bf><b class="route1" data-v-afd0f0bf></b><span data-v-afd0f0bf>Route 1</span></div>',3),Oh={key:0,class:"legend"},Fh=[dt(()=>e.createElementVNode("b",{class:"route2"},null,-1)),dt(()=>e.createElementVNode("span",null,"Route 2",-1))],Ph={key:1,class:"legend"},uh=[dt(()=>e.createElementVNode("b",{class:"route3"},null,-1)),dt(()=>e.createElementVNode("span",null,"Route 3",-1))],Lh={class:"section"},Wh=dt(()=>e.createElementVNode("div",{class:"section-header flex-start"},[e.createElementVNode("i",{class:"iconfont"},""),e.createElementVNode("div",{class:"title"},"Route Summary")],-1)),Hh={class:"section-body comparison"},Mh={class:"container"},Gh={key:0},Ih=dt(()=>e.createElementVNode("thead",null,[e.createElementVNode("tr"),e.createElementVNode("tr",null,[e.createElementVNode("th",null,"Route"),e.createElementVNode("th",null,"TTL Dist (nm)"),e.createElementVNode("th",null,"SPD (kts)"),e.createElementVNode("th",null,"CP Cons (mt)"),e.createElementVNode("th",null,"ETA (UTC)"),e.createElementVNode("th",null,"Avg.Spd / Wx / Cur.Factor (kts)"),e.createElementVNode("th",null,"TTL Cons (mt)")])],-1)),Rh={class:"section",style:{"page-break-inside":"avoid"}},zh=dt(()=>e.createElementVNode("div",{class:"section-header flex-start"},[e.createElementVNode("i",{class:"iconfont"},""),e.createElementVNode("div",{class:"title"},"Major Waypoint")],-1)),Uh={class:"section-body sample"},Yh={class:"major-waypoints"},Zh={class:"container"},Qh=e.createStaticVNode('<div class="header" data-v-afd0f0bf><div class="cell-item flexM" data-v-afd0f0bf>Major waypoint</div><div class="cell-item flexL" data-v-afd0f0bf>Name</div><div class="cell-item flex" data-v-afd0f0bf>Time</div><div class="cell-item flex" data-v-afd0f0bf>Nav</div><div class="cell-item flex" data-v-afd0f0bf>Dist</div><div class="cell-item flex" data-v-afd0f0bf>SOG</div></div>',1),Jh={class:"body"},Kh={class:"cell-item flexM"},qh={class:"flex-center"},Xh=dt(()=>e.createElementVNode("span",{style:{"margin-right":"3px"}},",",-1)),jh={class:"cell-item flexL"},$h={key:0,class:"flex-center"},vh={key:1},ep={class:"cell-item flex"},tp={key:0,class:"cell-item flex offset"},op={key:1,class:"cell-item flex nbsp"},lp={key:2,class:"cell-item flex offset"},ap={key:3,class:"cell-item flex nbsp"},np={key:4,class:"cell-item flex offset"},sp={key:5,class:"cell-item flex nbsp"},ip={class:"section"},dp=dt(()=>e.createElementVNode("div",{class:"section-header flex-start"},[e.createElementVNode("i",{class:"iconfont"},""),e.createElementVNode("div",{class:"title"},"Route Forecast")],-1)),cp={class:"section-body sample"},rp={key:0},mp=dt(()=>e.createElementVNode("thead",null,[e.createElementVNode("tr",null,[e.createElementVNode("th",{rowspan:"2"},[e.createTextVNode("Date Time "),e.createElementVNode("br"),e.createTextVNode("(UTC)")]),e.createElementVNode("th",{rowspan:"2"},[e.createTextVNode("Position "),e.createElementVNode("br"),e.createTextVNode("(lat/lon)")]),e.createElementVNode("th",{colspan:"2"},"Wind"),e.createElementVNode("th",{rowspan:"2"},[e.createTextVNode("Sea HT "),e.createElementVNode("br"),e.createTextVNode("(m)")]),e.createElementVNode("th",{colspan:"3"},"Swell"),e.createElementVNode("th",{colspan:"3"},"Sig"),e.createElementVNode("th",{colspan:"3"},"Current")]),e.createElementVNode("tr",null,[e.createElementVNode("th",null,"Dir"),e.createElementVNode("th",null,"Speed (kts)"),e.createElementVNode("th",null,"Dir"),e.createElementVNode("th",null,"Ht (m)"),e.createElementVNode("th",null,"Prd (s)"),e.createElementVNode("th",null,"Dir"),e.createElementVNode("th",null,"Hgt (m)"),e.createElementVNode("th",null,"Prd (s)"),e.createElementVNode("th",null,"Dir"),e.createElementVNode("th",null,"Speed (kts)"),e.createElementVNode("th",null,"Factor (kts)")])],-1)),hp={class:"flex-center"},pp=dt(()=>e.createElementVNode("span",null,"/",-1)),Ep={key:0,class:"degree-box"},yp={key:1},_p={key:0,class:"degree-box"},Np={key:1},Vp={key:0,class:"degree-box"},fp={key:1},gp={key:0,class:"degree-box"},Dp={key:1},xp=dt(()=>e.createElementVNode("div",{class:"section"},[e.createElementVNode("div",{class:"section-body footer"},[e.createElementVNode("div",null,[e.createTextVNode("Fleet Insight Limited "),e.createElementVNode("a",{href:"mailto:ops@fltins.com"},"ops@fltins.com")]),e.createElementVNode("div",{style:{"font-size":"11px","margin-top":"10px"}}," The waypoints and route map provided are intended for informational purposes only and should not be relied upon for actual navigation. Fleet Insight Limited assumes no liability for any direct/potential damage to vessels or cargo that may occur as a result of using this voyage plan for exact navigation. ")])],-1));function bp(t,n,o,d,l,a){var b,S,E,V,D,r,C,k,T,u,L,O,x,P,R,Z,z,W,f,Y,G,H,K,q,j,X,N,M,J,s,$,c,ee,oe,te,se,ie,ce,re,he,pe,Ee,de,ye,xe,be,Ce,Se,ke,Ae,Be,Fe,Pe,fe,F,_e,ue,Le,We,we,He,Ke,qe;const p=e.resolveComponent("Lat"),i=e.resolveComponent("Lng"),y=e.resolveComponent("Editor");return e.openBlock(),e.createElementBlock("div",Mm,[Gm,e.createElementVNode("div",Im,[Rm,e.createElementVNode("div",zm,[e.createElementVNode("div",Um,[e.createElementVNode("div",Ym,[Zm,e.createElementVNode("div",Qm,e.toDisplayString((E=(S=(b=o.plan)==null?void 0:b.voyage)==null?void 0:S.company)==null?void 0:E.name),1)]),e.createElementVNode("div",Jm,[Km,e.createElementVNode("div",qm,[(r=(D=(V=o.plan)==null?void 0:V.leg)==null?void 0:D.departure)!=null&&r.name?(e.openBlock(),e.createElementBlock("div",Xm,e.toDisplayString((k=(C=o.plan)==null?void 0:C.leg)==null?void 0:k.departure.name),1)):(e.openBlock(),e.createElementBlock("div",jm,[e.createVNode(p,{lat:(L=(u=(T=o.plan)==null?void 0:T.leg)==null?void 0:u.departure)==null?void 0:L.lat,label:""},null,8,["lat"]),$m,e.createVNode(i,{lng:(P=(x=(O=o.plan)==null?void 0:O.leg)==null?void 0:x.departure)==null?void 0:P.lng,label:""},null,8,["lng"])])),e.createElementVNode("div",vm,e.toDisplayString(a.computeUTCTime(((z=(Z=(R=o.plan)==null?void 0:R.leg)==null?void 0:Z.departure)==null?void 0:z.atd)||((Y=(f=(W=o.plan)==null?void 0:W.leg)==null?void 0:f.departure)==null?void 0:Y.etd),"MMMM-DD, HHmm[Z]")),1)])])]),e.createElementVNode("div",eh,[e.createElementVNode("div",th,[oh,e.createElementVNode("div",lh,e.toDisplayString((K=(H=(G=o.plan)==null?void 0:G.voyage)==null?void 0:H.vessel)==null?void 0:K.name),1)]),e.createElementVNode("div",ah,[nh,e.createElementVNode("div",sh,[(X=(j=(q=o.plan)==null?void 0:q.leg)==null?void 0:j.destination)!=null&&X.name?(e.openBlock(),e.createElementBlock("div",ih,e.toDisplayString((M=(N=o.plan)==null?void 0:N.leg)==null?void 0:M.destination.name),1)):(e.openBlock(),e.createElementBlock("div",dh,[e.createVNode(p,{lat:($=(s=(J=o.plan)==null?void 0:J.leg)==null?void 0:s.destination)==null?void 0:$.lat,label:""},null,8,["lat"]),ch,e.createVNode(i,{lng:(oe=(ee=(c=o.plan)==null?void 0:c.leg)==null?void 0:ee.destination)==null?void 0:oe.lng,label:""},null,8,["lng"])])),e.createElementVNode("div",rh,e.toDisplayString(a.computeUTCTime(((ie=(se=(te=o.plan)==null?void 0:te.speeds)==null?void 0:se[0])==null?void 0:ie.speed.ata)||((re=(ce=o.plan)==null?void 0:ce.speeds)==null?void 0:re[0].speed.eta),"MMMM-DD, HHmm[Z]")),1)])])]),e.createElementVNode("div",mh,[e.createElementVNode("div",hh,[ph,e.createElementVNode("div",Eh,e.toDisplayString(a.computeUTCTime((he=o.plan)==null?void 0:he.createdAt,"MMMM-DD, HHmm[Z]")),1)]),e.createElementVNode("div",yh,[_h,e.createElementVNode("div",Nh,[e.createElementVNode("div",null,e.toDisplayString((Ee=(pe=o.plan)==null?void 0:pe.voyage)==null?void 0:Ee.loadCondition),1)])])])])]),e.createElementVNode("div",Vh,[fh,e.createElementVNode("div",gh,[e.createElementVNode("div",Dh,[e.createElementVNode("div",xh,[(de=o.plan)!=null&&de.chartUrl?(e.openBlock(),e.createElementBlock("img",{key:0,src:(ye=o.plan)==null?void 0:ye.chartUrl},null,8,bh)):(e.openBlock(),e.createElementBlock("div",Ch,[e.createTextVNode("waiting for weather map, "),e.createElementVNode("b",{onClick:n[0]||(n[0]=(...U)=>a.handleRefresh&&a.handleRefresh(...U))},"Refresh"),e.createTextVNode("later please")]))]),e.createElementVNode("div",Sh,[e.createElementVNode("div",null,[kh,e.createElementVNode("div",Ah,[l.editable?(e.openBlock(),e.createBlock(y,{key:0,modelValue:l.advisory,"onUpdate:modelValue":n[1]||(n[1]=U=>l.advisory=U),class:"editor",height:"120px",onBlur:n[2]||(n[2]=U=>a.handleCommit(U))},null,8,["modelValue"])):(e.openBlock(),e.createElementBlock("div",{key:1,class:"txt",onDblclick:n[3]||(n[3]=(...U)=>a.handleEdit&&a.handleEdit(...U)),innerHTML:l.advisory},null,40,Bh))])]),e.createElementVNode("div",wh,[Th,((be=(xe=o.plan)==null?void 0:xe.speeds)==null?void 0:be.length)>1?(e.openBlock(),e.createElementBlock("div",Oh,Fh)):e.createCommentVNode("",!0),((Se=(Ce=o.plan)==null?void 0:Ce.speeds)==null?void 0:Se.length)>2?(e.openBlock(),e.createElementBlock("div",Ph,uh)):e.createCommentVNode("",!0)])])])])]),e.createElementVNode("div",Lh,[Wh,e.createElementVNode("div",Hh,[e.createElementVNode("div",Mh,[(Ae=(ke=o.plan)==null?void 0:ke.speeds)!=null&&Ae.length?(e.openBlock(),e.createElementBlock("table",Gh,[Ih,e.createElementVNode("tbody",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList((Be=o.plan)==null?void 0:Be.speeds,(U,Oe)=>{var ze,Ue,Ye,Ze,Qe,Je,_,Q,ge,Te,Me,me,Xe,$e,ve;return e.openBlock(),e.createElementBlock("tr",{key:Oe},[e.createElementVNode("td",null,"Route "+e.toDisplayString(Oe+1),1),e.createElementVNode("td",null,e.toDisplayString(a.roundPrecision((ze=U.speed)==null?void 0:ze.distance,0)),1),e.createElementVNode("td",null,e.toDisplayString(`${((Ue=U.speed)==null?void 0:Ue.label)??"CP"} ${((Ye=U.speed)==null?void 0:Ye.v0)??((Qe=(Ze=U.speed)==null?void 0:Ze.cpCopy)==null?void 0:Qe.speed)}`),1),e.createElementVNode("td",null,e.toDisplayString((_=(Je=U.speed)==null?void 0:Je.cpCopy)==null?void 0:_.fo)+" FO / "+e.toDisplayString((ge=(Q=U.speed)==null?void 0:Q.cpCopy)==null?void 0:ge.dgo)+" DO",1),e.createElementVNode("td",null,e.toDisplayString(a.computeUTCTime((Te=U.speed)==null?void 0:Te.eta)),1),e.createElementVNode("td",null,e.toDisplayString(a.roundPrecision((Me=U.speed)==null?void 0:Me.avgSpeed,2))+" / "+e.toDisplayString(a.roundPrecision((me=U.speed)==null?void 0:me.wxFactor,2))+" / "+e.toDisplayString(a.roundPrecision((Xe=U.speed)==null?void 0:Xe.cFactor,2)),1),e.createElementVNode("td",null,e.toDisplayString(a.roundPrecision(($e=U.speed)==null?void 0:$e.totalFoCons,3))+" FO /"+e.toDisplayString(a.roundPrecision((ve=U.speed)==null?void 0:ve.totalDgoCons,3))+" DO",1)])}),128))])])):e.createCommentVNode("",!0)])])]),e.createElementVNode("div",Rh,[zh,e.createElementVNode("div",Uh,[e.createElementVNode("div",Yh,[e.createElementVNode("div",Zh,[Qh,e.createElementVNode("div",Jh,[(Pe=(Fe=o.plan)==null?void 0:Fe.speeds)!=null&&Pe.length?(e.openBlock(!0),e.createElementBlock(e.Fragment,{key:0},e.renderList((ue=(_e=(F=(fe=o.plan)==null?void 0:fe.speeds[0])==null?void 0:F.speed)==null?void 0:_e.sample)==null?void 0:ue.wps,(U,Oe)=>(e.openBlock(),e.createElementBlock("div",{key:Oe,class:"cell-row"},[e.createElementVNode("div",Kh,[e.createElementVNode("div",qh,[e.createVNode(p,{lat:U.lat,label:""},null,8,["lat"]),Xh,e.createVNode(i,{lng:U.lng,label:""},null,8,["lng"])])]),e.createElementVNode("div",jh,[U.name?(e.openBlock(),e.createElementBlock("span",$h,e.toDisplayString(U.name),1)):(e.openBlock(),e.createElementBlock("span",vh,"-"))]),e.createElementVNode("div",ep,e.toDisplayString(a.computeUTCTime(U.eta)),1),Oe?(e.openBlock(),e.createElementBlock("div",tp,e.toDisplayString(a.computeNav(U)),1)):(e.openBlock(),e.createElementBlock("div",op)),Oe?(e.openBlock(),e.createElementBlock("div",lp,e.toDisplayString(a.roundPrecision(U.distanceFromStart,1)),1)):(e.openBlock(),e.createElementBlock("div",ap)),Oe?(e.openBlock(),e.createElementBlock("div",np,e.toDisplayString(a.roundPrecision(U.avgSpd??U.speed,1)),1)):(e.openBlock(),e.createElementBlock("div",sp))]))),128)):e.createCommentVNode("",!0)])])])])]),e.createElementVNode("div",ip,[dp,e.createElementVNode("div",cp,[(We=(Le=o.plan)==null?void 0:Le.speeds)!=null&&We.length?(e.openBlock(),e.createElementBlock("table",rp,[mp,e.createElementVNode("tbody",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList((qe=(Ke=(He=(we=o.plan)==null?void 0:we.speeds[0])==null?void 0:He.speed)==null?void 0:Ke.sample)==null?void 0:qe.hours,(U,Oe)=>{var ze,Ue,Ye,Ze,Qe,Je,_,Q,ge,Te,Me,me,Xe,$e,ve,ot,lt,at,nt,mt,ht,pt,Et,yt,_t,Nt,Vt,ft,gt,Dt,xt,bt,Ct,St,kt,At,Bt,wt,Tt;return e.openBlock(),e.createElementBlock("tr",{key:Oe,class:e.normalizeClass(U.isDangerous?"dangerous":U.isSevere?"severe":U.isHeavy?"heavy":"")},[e.createElementVNode("td",null,e.toDisplayString(a.computeUTCTime(U.eta)),1),e.createElementVNode("td",null,[e.createElementVNode("div",hp,[e.createVNode(p,{lat:U.lat,label:""},null,8,["lat"]),pp,e.createVNode(i,{lng:U.lng,label:""},null,8,["lng"])])]),e.createElementVNode("td",null,[(Ue=(ze=U.meteo)==null?void 0:ze.wind)!=null&&Ue.kts?(e.openBlock(),e.createElementBlock("span",Ep,e.toDisplayString((Ze=(Ye=U.meteo)==null?void 0:Ye.wind)==null?void 0:Ze.direction),1)):(e.openBlock(),e.createElementBlock("span",yp,"-"))]),e.createElementVNode("td",null,e.toDisplayString(a.roundPrecision((Je=(Qe=U.meteo)==null?void 0:Qe.wind)==null?void 0:Je.kts,1)),1),e.createElementVNode("td",null,e.toDisplayString(a.roundPrecision((ge=(Q=(_=U.meteo)==null?void 0:_.wave)==null?void 0:Q.wd)==null?void 0:ge.height,1)),1),e.createElementVNode("td",null,[(me=(Me=(Te=U.meteo)==null?void 0:Te.wave)==null?void 0:Me.swell)!=null&&me.height?(e.openBlock(),e.createElementBlock("span",_p,e.toDisplayString((ve=($e=(Xe=U.meteo)==null?void 0:Xe.wave)==null?void 0:$e.swell)==null?void 0:ve.direction),1)):(e.openBlock(),e.createElementBlock("span",Np,"-"))]),e.createElementVNode("td",null,e.toDisplayString(a.roundPrecision((at=(lt=(ot=U.meteo)==null?void 0:ot.wave)==null?void 0:lt.swell)==null?void 0:at.height,1)),1),e.createElementVNode("td",null,e.toDisplayString(a.roundPrecision((ht=(mt=(nt=U.meteo)==null?void 0:nt.wave)==null?void 0:mt.swell)==null?void 0:ht.period,1)),1),e.createElementVNode("td",null,[(yt=(Et=(pt=U.meteo)==null?void 0:pt.wave)==null?void 0:Et.sig)!=null&&yt.height?(e.openBlock(),e.createElementBlock("span",Vp,e.toDisplayString((Vt=(Nt=(_t=U.meteo)==null?void 0:_t.wave)==null?void 0:Nt.sig)==null?void 0:Vt.direction),1)):(e.openBlock(),e.createElementBlock("span",fp,"-"))]),e.createElementVNode("td",null,e.toDisplayString(a.roundPrecision((Dt=(gt=(ft=U.meteo)==null?void 0:ft.wave)==null?void 0:gt.sig)==null?void 0:Dt.height,1)),1),e.createElementVNode("td",null,e.toDisplayString(a.roundPrecision((Ct=(bt=(xt=U.meteo)==null?void 0:xt.wave)==null?void 0:bt.sig)==null?void 0:Ct.period,1)),1),e.createElementVNode("td",null,[(kt=(St=U.meteo)==null?void 0:St.current)!=null&&kt.kts?(e.openBlock(),e.createElementBlock("span",gp,e.toDisplayString((Bt=(At=U.meteo)==null?void 0:At.current)==null?void 0:Bt.direction)+" ",1)):(e.openBlock(),e.createElementBlock("span",Dp,"-"))]),e.createElementVNode("td",null,e.toDisplayString(a.roundPrecision((Tt=(wt=U.meteo)==null?void 0:wt.current)==null?void 0:Tt.kts,1)),1),e.createElementVNode("td",null,e.toDisplayString(a.roundPrecision(U.cFactor,1)),1)],2)}),128))])])):e.createCommentVNode("",!0)])]),xp])}const Vn=De(Hm,[["render",bp],["__scopeId","data-v-afd0f0bf"]]),Fee="",Cp={name:"OrmRouteReport",components:{Lng:$a,Lat:va,Editor:Ro,Brand:yl,Loading:on},props:{plan:{type:Object,default:()=>({})},editorDisabled:{type:Boolean,default:()=>!1}},emits:["commit","refresh"],data(){return{editable:!1,advisory:"",echart:void 0,speedIndex:0,loading:!0}},computed:{computeUTCTime(){return function(t,n="MMM-DD/HHmm[Z]"){return`${w(t).utc().format(n)}`}},computeLTime(){return function(t,n,o){let d=0;return o&&n&&(d=v.LngLatHelper.guessTimeZoneOffset(n,o)),`${w(t).utcOffset(d).format("MMM-DD/HHmm")}LT`}},computeTimeDiff(){return function(t,n){var o,d,l,a,p;if(n===0)return"-";{const i=w((l=(d=(o=t==null?void 0:t.speeds)==null?void 0:o[n])==null?void 0:d.speed)==null?void 0:l.eta).diff(w((p=(a=t==null?void 0:t.speeds)==null?void 0:a[0])==null?void 0:p.speed.eta),"h",!0);return Math.round(i*10)/10}}},computeNav(){return function(t){return t.gcToPrevious?"GC":"RL"}},roundPrecision(){return function(t,n=4){if(typeof t=="number"){const o=Number("1".padEnd(n+1,"0"));return Math.round(t*o)/o}else return"-"}},computeMemo(){return function(t){return(t==null?void 0:t.memo)??"-"}},computeMajorPoints(){return function(t){const n=[];if(t.length)return t.forEach(o=>{n.push(o),o.suspend&&n.push({etd:o.etd,eta:o.etd,isResume:!0,memo:`Drifting: ${o.suspend}hrs`})}),n}},computeDegree(){return function(t,n){t=t%360;for(let o=0;o<17;o++)if(o*22.5+t+11.25>=360){let d=(16-o)*22.5;return n||(d=d+180),`transform:rotate(${d}deg);margin-left:3px;`}}},computeDay(){return function(t,n=0){var a,p,i,y;const o=(y=(i=(p=(a=t==null?void 0:t.speeds)==null?void 0:a[n])==null?void 0:p.speed)==null?void 0:i.sample)==null?void 0:y.hours,d=o[0],l=o[o.length-1];return Math.round(w(l.eta).diff(w(d.eta),"day",!0)*10)/10}}},watch:{plan:{handler(){var t,n;(t=this.plan)!=null&&t.id&&(this.loading=!1,this.advisory=((n=this.plan)==null?void 0:n.advisory)||"Pls find the following major waypoints for your safe navigation.",this.$nextTick(()=>{this.initEchart()}))},immediate:!0}},methods:{handleCommit(t){this.editable=!1,this.$emit("commit",t)},handleRefresh(){this.$emit("refresh")},handleEdit(){this.editorDisabled?this.editable=!1:this.editable=!0},initEchart(){this.echart||(this.echart=e.markRaw(zo.init(this.$refs.echart))),this.renderEchart()},renderEchart(){var y,b,S,E,V,D,r;const t=[],n=[],o={dateTime:0,windSpeed:1,waveHeight:2,windDirection:3,windDegree:4,windScale:5,currentFactor:6,weatherFactor:7,speed:8},d={};["W","WSW","SW","SSW","S","SSE","SE","ESE","E","ENE","NE","NNE","N","NNW","NW","WNW"].forEach((C,k)=>{d[C]=Math.PI/8*k});const a=18;let p=4;(D=(V=(E=(S=(b=(y=this.plan)==null?void 0:y.speeds)==null?void 0:b[this.speedIndex])==null?void 0:S.speed)==null?void 0:E.sample)==null?void 0:V.hours)==null||D.forEach(C=>{var T,u,L,O,x,P,R,Z,z,W;const k=C.meteo;if(k){const f=w(k.utc).utc().format("MMM-DD/HHmm[Z]");t.push(f),p=Math.ceil(((u=(T=k.wave)==null?void 0:T.sig)==null?void 0:u.height)>p?(O=(L=k.wave)==null?void 0:L.sig)==null?void 0:O.height:p),n.push([f,(x=k.wind)==null?void 0:x.kts,(R=(P=k.wave)==null?void 0:P.sig)==null?void 0:R.height,(Z=k.wind)==null?void 0:Z.direction,(z=k.wind)==null?void 0:z.degree,(W=k.wind)==null?void 0:W.scale,C.cFactor,C.wFactor,C.speed])}});const i={animation:!1,title:{text:"Weather Conditions & Speed Analysis",textStyle:{color:"#000000B3",fontWeight:"500"},left:"left"},tooltip:{trigger:"axis"},legend:{show:!0,right:0},grid:{bottom:40},xAxis:[{data:t,boundaryGap:!1}],yAxis:[{name:"Wind Speed (kts)",nameLocation:"middle",position:"left",nameGap:35,minInterval:5,axisLine:{lineStyle:{color:"#000000B3"}}},{type:"value",name:"Sig. Wave Height (m)",nameLocation:"middle",position:"right",nameGap:35,max:p,min:0,minInterval:1,axisLine:{lineStyle:{color:"#015DD5"}},splitLine:{show:!1}},{name:"Current Factor (kts)",nameLocation:"middle",position:"left",offset:50,nameGap:35,axisLine:{lineStyle:{color:"#da2e2ecc"}},splitLine:{show:!0},alignTicks:!0},{name:"SOG (kts)",nameLocation:"middle",position:"right",offset:50,nameGap:35,axisLine:{lineStyle:{color:"#398626"}},splitLine:{show:!0}}],visualMap:{show:!1,type:"piecewise",orient:"horizontal",left:"center",bottom:0,pieces:[{gte:22,color:"#f85c5c",label:"≥ BF6"},{gte:17,lt:22,color:"#de8600",label:"BF5"},{lt:17,color:"#67c23a",label:"≤ BF4"}],seriesIndex:2,dimension:1},series:[{name:"Sig. Wave Height",type:"line",showSymbol:!0,yAxisIndex:1,areaStyle:{color:{type:"linear",x:0,y:0,x2:0,y2:1,global:!1,colorStops:[{offset:0,color:"rgba(88, 160, 253, 1)"},{offset:.5,color:"rgba(88, 160, 253, 0.7)"},{offset:1,color:"rgba(88, 160, 253, 0)"}]}},lineStyle:{color:"rgba(88, 160, 253, 1)"},itemStyle:{color:"rgba(88, 160, 253, 1)"},encode:{x:o.dateTime,y:o.waveHeight},data:n,z:1},{name:"Wind Speed",type:"line",showSymbol:!0,yAxisIndex:0,encode:{x:o.dateTime,y:o.windSpeed},lineStyle:{color:"#000000B3",type:"dashed"},itemStyle:{color:"#000000B3"},data:n,z:2},{type:"custom",yAxisIndex:0,renderItem:(C,k)=>{const T=k.coord([k.value(o.dateTime),k.value(o.windSpeed)]);return{type:"path",shape:{pathData:"M31 16l-15-15v9h-26v12h26v9z",x:-a/2,y:-a/2,width:a,height:a},rotation:d[k.value(o.windDirection)],position:T,style:k.style({stroke:"#555",lineWidth:1})}},encode:{x:o.dateTime,y:o.windSpeed},data:n,z:10},{name:"Current Factor",type:"line",yAxisIndex:2,showSymbol:!0,encode:{x:o.dateTime,y:o.currentFactor},lineStyle:{color:"#da2e2ecc",type:"dotted"},itemStyle:{color:"#da2e2ecc"},data:n,z:3},{name:"SOG",type:"line",yAxisIndex:3,showSymbol:!0,encode:{x:o.dateTime,y:o.speed},lineStyle:{color:"#398626",type:"solid"},itemStyle:{color:"#398626"},data:n,z:4}]};(r=this.echart)==null||r.setOption(i)}}},ct=t=>(e.pushScopeId("data-v-146f11b9"),t=t(),e.popScopeId(),t),Sp={class:"voyage-plan"},kp={class:"plan-report"},Ap={class:"section voyage-section flex-space"},Bp={class:"flex-end",style:{width:"50%","flex-wrap":"wrap"}},wp={class:"flex-start label-block",style:{width:"100%"}},Tp=ct(()=>e.createElementVNode("label",{class:"flex-end",style:{width:"140px"}},"Prepare for",-1)),Op={style:{"text-transform":"uppercase"},class:"text-ellipsis"},Fp={class:"flex-start label-block",style:{width:"100%"}},Pp=ct(()=>e.createElementVNode("label",{class:"flex-end",style:{width:"140px"}},"Vessel",-1)),up={class:"flex-end text-ellipsis",style:{"text-transform":"uppercase"}},Lp={class:"flex-start label-block",style:{width:"100%"}},Wp=ct(()=>e.createElementVNode("label",{class:"flex-end",style:{width:"140px"}},"Voyage No.",-1)),Hp={class:"flex-end"},Mp={class:"flex-end",style:{width:"50%","flex-wrap":"wrap"}},Gp={class:"flex-start label-block",style:{width:"100%"}},Ip=ct(()=>e.createElementVNode("label",{class:"flex-end",style:{width:"140px"}},"From",-1)),Rp={key:0,class:"flex-end",style:{flex:"1"}},zp={key:1,class:"flex-end",style:{flex:"1"}},Up=ct(()=>e.createElementVNode("span",{style:{"margin-right":"3px"}},",",-1)),Yp={class:"flex-end",style:{width:"120px"}},Zp={class:"flex-space label-block",style:{width:"100%"}},Qp=ct(()=>e.createElementVNode("label",{class:"flex-end",style:{width:"140px"}},"To",-1)),Jp={key:0,class:"flex-end",style:{flex:"1"}},Kp={key:1,class:"flex-end",style:{flex:"1"}},qp=ct(()=>e.createElementVNode("span",{style:{"margin-right":"3px"}},",",-1)),Xp={class:"flex-end",style:{width:"120px"}},jp={class:"flex-space label-block",style:{width:"100%"}},$p=ct(()=>e.createElementVNode("label",{class:"flex-end",style:{width:"140px"}},"Load Condition",-1)),vp={class:"flex-end",style:{"text-transform":"uppercase"}},e1={class:"section chart-section"},t1=ct(()=>e.createElementVNode("div",{class:"header-block flex-start"},[e.createElementVNode("i",{class:"iconfont"},""),e.createElementVNode("div",{class:"title"},"Weather chart")],-1)),o1={class:"flex-center"},l1=["src"],a1={class:"legends"},n1=e.createStaticVNode('<div class="legend" data-v-146f11b9><label style="background-color:var(--idm-dangerous);" data-v-146f11b9></label><span data-v-146f11b9>Dangerous</span></div><div class="legend" data-v-146f11b9><label style="background-color:var(--idm-severe);" data-v-146f11b9></label><span data-v-146f11b9>Severe</span></div><div class="legend" data-v-146f11b9><label style="background-color:var(--idm-heavy);" data-v-146f11b9></label><span data-v-146f11b9>Heavy</span></div>',3),s1={class:"legend"},i1=ct(()=>e.createElementVNode("b",{class:"route1"},null,-1)),d1={key:0,class:"legend"},c1=ct(()=>e.createElementVNode("b",{class:"route2"},null,-1)),r1={key:1,class:"legend"},m1=ct(()=>e.createElementVNode("b",{class:"route3"},null,-1)),h1={key:1,class:"empty"},p1={class:"section comparison-section"},E1={key:0},y1=ct(()=>e.createElementVNode("tr",null,[e.createElementVNode("th",{rowspan:"2",colspan:"2"},"Route"),e.createElementVNode("th",null,"SPD (kts)"),e.createElementVNode("th",{rowspan:"2"},"TTL Dist (nm)"),e.createElementVNode("th",null,"ETA (LT)"),e.createElementVNode("th",{rowspan:"2"},"Diff (h)"),e.createElementVNode("th",{colspan:"2"},"TTL Cons (mt)"),e.createElementVNode("th",null,"Dangerous"),e.createElementVNode("th",null,"Severe"),e.createElementVNode("th",null,"Heavy")],-1)),_1=ct(()=>e.createElementVNode("th",null,"CP Cons (mt)",-1)),N1=ct(()=>e.createElementVNode("th",null,"Avg.Spd / Wx / Cur.Factor (kts)",-1)),V1=ct(()=>e.createElementVNode("th",null,"*FO",-1)),f1=ct(()=>e.createElementVNode("th",null,"*DO",-1)),g1={colspan:"3"},D1={rowspan:"2"},x1={rowspan:"2"},b1={rowspan:"2"},C1={rowspan:"2"},S1={rowspan:"2"},k1={rowspan:"2"},A1={rowspan:"2"},B1={rowspan:"2"},w1={rowspan:"2"},T1=ct(()=>e.createElementVNode("div",{class:"tips"},[e.createTextVNode(" * Please note the climatology data was used for days that extend beyond the available forecast."),e.createElementVNode("br"),e.createTextVNode(" * Fuel consumption was calculated only based on CP terms, and does not reflect actual consumption. ")],-1)),O1={class:"section waypoint-section"},F1={class:"header-block flex-start"},P1=ct(()=>e.createElementVNode("i",{class:"iconfont"},"",-1)),u1={class:"title"},L1={key:0,class:"flex-end",style:{flex:"1"}},W1=["onClick"],H1={class:"advisory"},M1=["innerHTML"],G1={class:"major-waypoint"},I1=e.createStaticVNode('<div class="major-header" data-v-146f11b9><div class="cell-item flex" style="flex:1.5;" data-v-146f11b9>Major waypoint</div><div class="cell-item flex" data-v-146f11b9>Time</div><div class="cell-item flex" data-v-146f11b9>Nav</div><div class="cell-item flex" data-v-146f11b9>Dist</div><div class="cell-item flex" data-v-146f11b9>SOG</div><div class="cell-item flex" data-v-146f11b9>Memo</div></div>',1),R1={class:"major-body"},z1={class:"cell-item flex",style:{flex:"1.5"}},U1={key:0,class:"flex-center"},Y1={key:1,class:"flex-center"},Z1=ct(()=>e.createElementVNode("span",{style:{"margin-right":"3px"}},",",-1)),Q1={key:0},J1={class:"cell-item flex"},K1={key:0,class:"cell-item flex offset"},q1={key:1,class:"cell-item flex nbsp"},X1={key:2,class:"cell-item flex offset"},j1={key:3,class:"cell-item flex nbsp"},$1={key:4,class:"cell-item flex offset"},v1={key:5,class:"cell-item flex nbsp"},eE={key:6,class:"cell-item flex offset"},tE={key:7,class:"cell-item flex nbsp"},oE={class:"section forecast-section"},lE={class:"header-block flex-start"},aE=ct(()=>e.createElementVNode("i",{class:"iconfont"},"",-1)),nE={class:"title"},sE={key:0,class:"flex-end",style:{flex:"1"}},iE=["onClick"],dE={class:"echart-block"},cE={ref:"echart",class:"echart"},rE=ct(()=>e.createElementVNode("thead",null,[e.createElementVNode("tr",null,[e.createElementVNode("th",{rowspan:"2"},[e.createTextVNode("Date Time "),e.createElementVNode("br"),e.createTextVNode("UTC")]),e.createElementVNode("th",{rowspan:"2"},[e.createTextVNode("Position "),e.createElementVNode("br"),e.createTextVNode("(lat/lon)")]),e.createElementVNode("th",{colspan:"2"},"Wind"),e.createElementVNode("th",{rowspan:"2"},[e.createTextVNode("Sea HT "),e.createElementVNode("br"),e.createTextVNode("(m)")]),e.createElementVNode("th",{colspan:"3"},"Swell"),e.createElementVNode("th",{colspan:"3"},"Sig"),e.createElementVNode("th",{colspan:"3"},"Current")]),e.createElementVNode("tr",null,[e.createElementVNode("th",null,"Dir"),e.createElementVNode("th",null,"Speed (kts)"),e.createElementVNode("th",null,"Dir"),e.createElementVNode("th",null,"Ht (m)"),e.createElementVNode("th",null,"Prd (s)"),e.createElementVNode("th",null,"Dir"),e.createElementVNode("th",null,"Hgt (m)"),e.createElementVNode("th",null,"Prd (s)"),e.createElementVNode("th",null,"Dir"),e.createElementVNode("th",null,"Speed (kts)"),e.createElementVNode("th",null,"Factor (kts)")])],-1)),mE={class:"flex-center"},hE=ct(()=>e.createElementVNode("span",null,"/",-1)),pE={key:0,class:"degree-box"},EE={key:1},yE={key:0,class:"degree-box"},_E={key:1},NE={key:0,class:"degree-box"},VE={key:1},fE={key:0,class:"degree-box"},gE={key:1},DE=ct(()=>e.createElementVNode("div",{class:"tips",style:{"text-align":"justify"}},[e.createElementVNode("div",null,"The waypoints in this sheet are approximate positions."),e.createElementVNode("div",null," The route map is for reference only and should not be used for navigation. All the material is an advisory provided so as to assist the Master in making the final route decision. ")],-1));function xE(t,n,o,d,l,a){var E,V,D,r,C,k,T,u,L,O,x,P,R,Z,z,W,f,Y,G,H,K,q,j,X,N,M,J,s,$,c,ee,oe,te,se,ie,ce,re,he,pe,Ee,de,ye,xe,be,Ce,Se,ke,Ae,Be,Fe,Pe,fe,F,_e,ue,Le,We,we,He,Ke,qe,U,Oe,ze,Ue,Ye,Ze,Qe,Je,_,Q,ge,Te,Me,me,Xe,$e,ve,ot,lt,at,nt,mt,ht,pt,Et,yt,_t,Nt,Vt,ft,gt,Dt,xt,bt,Ct,St,kt,At,Bt,wt,Tt,Ht,ho,yo,_o,No,Vo;const p=e.resolveComponent("Brand"),i=e.resolveComponent("Loading"),y=e.resolveComponent("Lat"),b=e.resolveComponent("Lng"),S=e.resolveComponent("Editor");return e.openBlock(),e.createElementBlock("div",Sp,[e.createElementVNode("div",kp,[e.createVNode(p,{name:"Voyage Planning",issued:(E=o.plan)==null?void 0:E.updatedAt},null,8,["issued"]),e.createVNode(i,{loading:l.loading},null,8,["loading"]),e.createElementVNode("div",Ap,[e.createElementVNode("div",Bp,[e.createElementVNode("div",wp,[Tp,e.createElementVNode("span",Op,e.toDisplayString((r=(D=(V=o.plan)==null?void 0:V.voyage)==null?void 0:D.company)==null?void 0:r.name),1)]),e.createElementVNode("div",Fp,[Pp,e.createElementVNode("span",up,e.toDisplayString((T=(k=(C=o.plan)==null?void 0:C.voyage)==null?void 0:k.vessel)==null?void 0:T.name)+" ("+e.toDisplayString((x=(O=(L=(u=o.plan)==null?void 0:u.voyage)==null?void 0:L.vessel)==null?void 0:O.vesselType)==null?void 0:x.name)+")",1)]),e.createElementVNode("div",Lp,[Wp,e.createElementVNode("span",Hp,e.toDisplayString((R=(P=o.plan)==null?void 0:P.voyage)==null?void 0:R.number),1)])]),e.createElementVNode("div",Mp,[e.createElementVNode("div",Gp,[Ip,(W=(z=(Z=o.plan)==null?void 0:Z.leg)==null?void 0:z.departure)!=null&&W.name?(e.openBlock(),e.createElementBlock("span",Rp,e.toDisplayString((Y=(f=o.plan)==null?void 0:f.leg)==null?void 0:Y.departure.name),1)):(e.openBlock(),e.createElementBlock("div",zp,[e.createVNode(y,{lat:(K=(H=(G=o.plan)==null?void 0:G.leg)==null?void 0:H.departure)==null?void 0:K.lat,label:""},null,8,["lat"]),Up,e.createVNode(b,{lng:(X=(j=(q=o.plan)==null?void 0:q.leg)==null?void 0:j.departure)==null?void 0:X.lng,label:""},null,8,["lng"])])),e.createElementVNode("span",Yp,e.toDisplayString(a.computeUTCTime(((J=(M=(N=o.plan)==null?void 0:N.leg)==null?void 0:M.departure)==null?void 0:J.atd)||((c=($=(s=o.plan)==null?void 0:s.leg)==null?void 0:$.departure)==null?void 0:c.etd)||((se=(te=(oe=(ee=o.plan)==null?void 0:ee.speeds)==null?void 0:oe[l.speedIndex])==null?void 0:te.speed)==null?void 0:se.etd),"MMM-DD/HHmm[Z]")),1)]),e.createElementVNode("div",Zp,[Qp,(re=(ce=(ie=o.plan)==null?void 0:ie.leg)==null?void 0:ce.destination)!=null&&re.name?(e.openBlock(),e.createElementBlock("span",Jp,e.toDisplayString((Ee=(pe=(he=o.plan)==null?void 0:he.leg)==null?void 0:pe.destination)==null?void 0:Ee.name),1)):(e.openBlock(),e.createElementBlock("div",Kp,[e.createVNode(y,{lat:(xe=(ye=(de=o.plan)==null?void 0:de.leg)==null?void 0:ye.destination)==null?void 0:xe.lat,label:""},null,8,["lat"]),qp,e.createVNode(b,{lng:(Se=(Ce=(be=o.plan)==null?void 0:be.leg)==null?void 0:Ce.destination)==null?void 0:Se.lng,label:""},null,8,["lng"])])),e.createElementVNode("span",Xp,e.toDisplayString(a.computeUTCTime(((Fe=(Be=(Ae=(ke=o.plan)==null?void 0:ke.speeds)==null?void 0:Ae[l.speedIndex])==null?void 0:Be.speed)==null?void 0:Fe.ata)||((_e=(F=(fe=(Pe=o.plan)==null?void 0:Pe.speeds)==null?void 0:fe[l.speedIndex])==null?void 0:F.speed)==null?void 0:_e.eta),"MMM-DD/HHmm[Z]")),1)]),e.createElementVNode("div",jp,[$p,e.createElementVNode("span",vp,e.toDisplayString((Le=(ue=o.plan)==null?void 0:ue.voyage)==null?void 0:Le.loadCondition),1)])])]),e.createElementVNode("div",e1,[t1,(We=o.plan)!=null&&We.chartUrl?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[e.createElementVNode("div",o1,[e.createElementVNode("img",{src:o.plan.chartUrl},null,8,l1)]),e.createElementVNode("div",a1,[n1,e.createElementVNode("div",s1,[i1,e.createElementVNode("span",{class:"btn",onClick:n[0]||(n[0]=I=>(l.speedIndex=0,a.renderEchart()))},e.toDisplayString((U=(qe=(Ke=(He=(we=o.plan)==null?void 0:we.speeds)==null?void 0:He[0])==null?void 0:Ke.speed)==null?void 0:qe.lane)==null?void 0:U.name),1)]),((ze=(Oe=o.plan)==null?void 0:Oe.speeds)==null?void 0:ze.length)>1?(e.openBlock(),e.createElementBlock("div",d1,[c1,e.createElementVNode("span",{class:"btn",onClick:n[1]||(n[1]=I=>(l.speedIndex=1,a.renderEchart()))},e.toDisplayString((Je=(Qe=(Ze=(Ye=(Ue=o.plan)==null?void 0:Ue.speeds)==null?void 0:Ye[1])==null?void 0:Ze.speed)==null?void 0:Qe.lane)==null?void 0:Je.name),1)])):e.createCommentVNode("",!0),((Q=(_=o.plan)==null?void 0:_.speeds)==null?void 0:Q.length)>2?(e.openBlock(),e.createElementBlock("div",r1,[m1,e.createElementVNode("span",{class:"btn",onClick:n[2]||(n[2]=I=>(l.speedIndex=2,a.renderEchart()))},e.toDisplayString((Xe=(me=(Me=(Te=(ge=o.plan)==null?void 0:ge.speeds)==null?void 0:Te[2])==null?void 0:Me.speed)==null?void 0:me.lane)==null?void 0:Xe.name),1)])):e.createCommentVNode("",!0)])],64)):(e.openBlock(),e.createElementBlock("div",h1,[e.createElementVNode("span",null,[e.createTextVNode("Weather chart in cooking "),e.createElementVNode("span",{class:"btn",onClick:n[3]||(n[3]=(...I)=>a.handleRefresh&&a.handleRefresh(...I))},"Refresh"),e.createTextVNode(" later please")])]))]),e.createElementVNode("div",p1,[(ve=($e=o.plan)==null?void 0:$e.speeds)!=null&&ve.length?(e.openBlock(),e.createElementBlock("table",E1,[e.createElementVNode("thead",null,[y1,e.createElementVNode("tr",null,[_1,N1,V1,f1,e.createElementVNode("th",g1,"*days (with in the next "+e.toDisplayString(a.computeDay(o.plan,0))+" days)",1)])]),e.createElementVNode("tbody",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList((ot=o.plan)==null?void 0:ot.speeds,(I,tt)=>{var Ot,Ft,Mt,Gt,It,Rt,zt,Ut,Yt,Zt,Qt,Jt,Kt,qt,Xt,jt,$t,vt,eo,to,oo,lo,ao,no,so,io,co;return e.openBlock(),e.createElementBlock(e.Fragment,{key:tt},[e.createElementVNode("tr",null,[e.createElementVNode("td",D1,e.toDisplayString(tt+1),1),e.createElementVNode("td",x1,e.toDisplayString((Ft=(Ot=I.speed)==null?void 0:Ot.lane)==null?void 0:Ft.name),1),e.createElementVNode("td",null,e.toDisplayString(`${((Mt=I.speed)==null?void 0:Mt.label)??"CP"} ${((Gt=I.speed)==null?void 0:Gt.v0)??((Rt=(It=I.speed)==null?void 0:It.cpCopy)==null?void 0:Rt.speed)}`),1),e.createElementVNode("td",b1,e.toDisplayString(a.roundPrecision((zt=I.speed)==null?void 0:zt.distance,0)),1),e.createElementVNode("td",null,[e.createElementVNode("b",null,e.toDisplayString(a.computeLTime((Ut=I.speed)==null?void 0:Ut.eta,(Qt=(Zt=(Yt=o.plan)==null?void 0:Yt.leg)==null?void 0:Zt.destination)==null?void 0:Qt.lng,(qt=(Kt=(Jt=o.plan)==null?void 0:Jt.leg)==null?void 0:Kt.destination)==null?void 0:qt.lat)),1),e.createTextVNode(" ["+e.toDisplayString(a.computeUTCTime((Xt=I.speed)==null?void 0:Xt.eta))+"]",1)]),e.createElementVNode("td",C1,e.toDisplayString(a.computeTimeDiff(o.plan,tt)),1),e.createElementVNode("td",S1,e.toDisplayString(a.roundPrecision((jt=I.speed)==null?void 0:jt.totalFoCons,3)),1),e.createElementVNode("td",k1,e.toDisplayString(a.roundPrecision(($t=I.speed)==null?void 0:$t.totalDgoCons,3)),1),e.createElementVNode("td",A1,e.toDisplayString(a.roundPrecision(((vt=I.speed)==null?void 0:vt.dangerous)/24,1)),1),e.createElementVNode("td",B1,e.toDisplayString(a.roundPrecision(((eo=I.speed)==null?void 0:eo.severe)/24,1)),1),e.createElementVNode("td",w1,e.toDisplayString(a.roundPrecision(((to=I.speed)==null?void 0:to.heavy)/24,1)),1)]),e.createElementVNode("tr",null,[e.createElementVNode("td",null,e.toDisplayString((lo=(oo=I.speed)==null?void 0:oo.cpCopy)==null?void 0:lo.fo)+" FO / "+e.toDisplayString((no=(ao=I.speed)==null?void 0:ao.cpCopy)==null?void 0:no.dgo)+" DO",1),e.createElementVNode("td",null,e.toDisplayString(a.roundPrecision((so=I.speed)==null?void 0:so.avgSpeed,2))+" / "+e.toDisplayString(a.roundPrecision((io=I.speed)==null?void 0:io.wxFactor,2))+" / "+e.toDisplayString(a.roundPrecision((co=I.speed)==null?void 0:co.cFactor,2)),1)])],64)}),128))])])):e.createCommentVNode("",!0),T1]),e.createElementVNode("div",O1,[e.createElementVNode("div",F1,[P1,e.createElementVNode("div",u1,"Advisory & Major Waypoint of Route "+e.toDisplayString((mt=(nt=(at=(lt=o.plan.speeds)==null?void 0:lt[l.speedIndex])==null?void 0:at.speed)==null?void 0:nt.lane)==null?void 0:mt.name),1),((pt=(ht=o.plan)==null?void 0:ht.speeds)==null?void 0:pt.length)>1?(e.openBlock(),e.createElementBlock("div",L1,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList((Et=o.plan)==null?void 0:Et.speeds,(I,tt)=>{var Ot,Ft;return e.openBlock(),e.createElementBlock("div",{class:"route-item",onClick:Mt=>(l.speedIndex=tt,a.renderEchart())},e.toDisplayString((Ft=(Ot=I.speed)==null?void 0:Ot.lane)==null?void 0:Ft.name),9,W1)}),256))])):e.createCommentVNode("",!0)]),e.createElementVNode("div",H1,[l.editable?(e.openBlock(),e.createBlock(S,{key:0,modelValue:l.advisory,"onUpdate:modelValue":n[4]||(n[4]=I=>l.advisory=I),class:"editor",height:"120px",onBlur:n[5]||(n[5]=I=>a.handleCommit(I))},null,8,["modelValue"])):(e.openBlock(),e.createElementBlock("div",{key:1,class:"txt",onDblclick:n[6]||(n[6]=(...I)=>a.handleEdit&&a.handleEdit(...I)),innerHTML:l.advisory},null,40,M1))]),e.createElementVNode("div",G1,[I1,e.createElementVNode("div",R1,[(_t=(yt=o.plan)==null?void 0:yt.speeds)!=null&&_t.length?(e.openBlock(!0),e.createElementBlock(e.Fragment,{key:0},e.renderList(a.computeMajorPoints((Dt=(gt=(ft=(Vt=(Nt=o.plan)==null?void 0:Nt.speeds)==null?void 0:Vt[l.speedIndex])==null?void 0:ft.speed)==null?void 0:gt.sample)==null?void 0:Dt.wps),(I,tt)=>(e.openBlock(),e.createElementBlock("div",{key:tt,class:"cell-row"},[e.createElementVNode("div",z1,[I.isResume?(e.openBlock(),e.createElementBlock("div",U1,"Resume")):(e.openBlock(),e.createElementBlock("div",Y1,[e.createVNode(y,{lat:I.lat,label:""},null,8,["lat"]),Z1,e.createVNode(b,{lng:I.lng,label:""},null,8,["lng"]),I.pilot?(e.openBlock(),e.createElementBlock("span",Q1," [P]")):e.createCommentVNode("",!0)]))]),e.createElementVNode("div",J1,e.toDisplayString(a.computeUTCTime(I.eta)),1),tt?(e.openBlock(),e.createElementBlock("div",K1,e.toDisplayString(a.computeNav(I)),1)):(e.openBlock(),e.createElementBlock("div",q1)),tt?(e.openBlock(),e.createElementBlock("div",X1,e.toDisplayString(a.roundPrecision(I.distanceFromStart,1)),1)):(e.openBlock(),e.createElementBlock("div",j1)),tt?(e.openBlock(),e.createElementBlock("div",$1,e.toDisplayString(a.roundPrecision(I.avgSpd??I.speed,1)),1)):(e.openBlock(),e.createElementBlock("div",v1)),tt?(e.openBlock(),e.createElementBlock("div",eE,e.toDisplayString(a.computeMemo(I)),1)):(e.openBlock(),e.createElementBlock("div",tE))]))),128)):e.createCommentVNode("",!0)])])]),e.createElementVNode("div",oE,[(bt=(xt=o.plan)==null?void 0:xt.speeds)!=null&&bt.length?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[e.createElementVNode("div",lE,[aE,e.createElementVNode("div",nE,"Weather Forecast for the Next "+e.toDisplayString(a.computeDay(o.plan,l.speedIndex))+" Days of Route "+e.toDisplayString((Bt=(At=(kt=(St=(Ct=o.plan)==null?void 0:Ct.speeds)==null?void 0:St[l.speedIndex])==null?void 0:kt.speed)==null?void 0:At.lane)==null?void 0:Bt.name),1),((Tt=(wt=o.plan)==null?void 0:wt.speeds)==null?void 0:Tt.length)>1?(e.openBlock(),e.createElementBlock("div",sE,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList((Ht=o.plan)==null?void 0:Ht.speeds,(I,tt)=>{var Ot,Ft;return e.openBlock(),e.createElementBlock("div",{class:"route-item",onClick:Mt=>(l.speedIndex=tt,a.renderEchart())},e.toDisplayString((Ft=(Ot=I==null?void 0:I.speed)==null?void 0:Ot.lane)==null?void 0:Ft.name),9,iE)}),256))])):e.createCommentVNode("",!0)]),e.createElementVNode("div",dE,[e.createElementVNode("div",cE,null,512)]),e.createElementVNode("table",null,[rE,e.createElementVNode("tbody",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList((Vo=(No=(_o=(yo=(ho=o.plan)==null?void 0:ho.speeds)==null?void 0:yo[l.speedIndex])==null?void 0:_o.speed)==null?void 0:No.sample)==null?void 0:Vo.hours,(I,tt)=>{var Ot,Ft,Mt,Gt,It,Rt,zt,Ut,Yt,Zt,Qt,Jt,Kt,qt,Xt,jt,$t,vt,eo,to,oo,lo,ao,no,so,io,co,fo,go,Do,xo,bo,Co,So,ko,Ao,Bo,wo,To,Oo,Fo,Po,uo,Lo,Wo,Ho,Mo,Go,Io;return e.openBlock(),e.createElementBlock("tr",{key:tt,class:e.normalizeClass(I.isDangerous?"dangerous":I.isSevere?"severe":I.isHeavy?"heavy":"")},[e.createElementVNode("td",null,e.toDisplayString(a.computeUTCTime(I.eta)),1),e.createElementVNode("td",null,[e.createElementVNode("div",mE,[e.createVNode(y,{lat:I.lat,label:""},null,8,["lat"]),hE,e.createVNode(b,{lng:I.lng,label:""},null,8,["lng"])])]),e.createElementVNode("td",null,[(Ft=(Ot=I.meteo)==null?void 0:Ot.wind)!=null&&Ft.kts?(e.openBlock(),e.createElementBlock("span",pE,[e.createTextVNode(e.toDisplayString((Gt=(Mt=I.meteo)==null?void 0:Mt.wind)==null?void 0:Gt.direction),1),e.createElementVNode("i",{class:"iconfont",style:e.normalizeStyle(a.computeDegree((Rt=(It=I.meteo)==null?void 0:It.wind)==null?void 0:Rt.degree,!1))},"",4)])):(e.openBlock(),e.createElementBlock("span",EE,"-"))]),e.createElementVNode("td",null,e.toDisplayString(a.roundPrecision((Ut=(zt=I.meteo)==null?void 0:zt.wind)==null?void 0:Ut.kts,1)),1),e.createElementVNode("td",null,e.toDisplayString(a.roundPrecision((Qt=(Zt=(Yt=I.meteo)==null?void 0:Yt.wave)==null?void 0:Zt.wd)==null?void 0:Qt.height,1)),1),e.createElementVNode("td",null,[(qt=(Kt=(Jt=I.meteo)==null?void 0:Jt.wave)==null?void 0:Kt.swell)!=null&&qt.height?(e.openBlock(),e.createElementBlock("span",yE,[e.createTextVNode(e.toDisplayString(($t=(jt=(Xt=I.meteo)==null?void 0:Xt.wave)==null?void 0:jt.swell)==null?void 0:$t.direction),1),e.createElementVNode("i",{class:"iconfont",style:e.normalizeStyle(a.computeDegree((to=(eo=(vt=I.meteo)==null?void 0:vt.wave)==null?void 0:eo.swell)==null?void 0:to.degree,!1))},"",4)])):(e.openBlock(),e.createElementBlock("span",_E,"-"))]),e.createElementVNode("td",null,e.toDisplayString(a.roundPrecision((ao=(lo=(oo=I.meteo)==null?void 0:oo.wave)==null?void 0:lo.swell)==null?void 0:ao.height,1)),1),e.createElementVNode("td",null,e.toDisplayString(a.roundPrecision((io=(so=(no=I.meteo)==null?void 0:no.wave)==null?void 0:so.swell)==null?void 0:io.period,1)),1),e.createElementVNode("td",null,[(go=(fo=(co=I.meteo)==null?void 0:co.wave)==null?void 0:fo.sig)!=null&&go.height?(e.openBlock(),e.createElementBlock("span",NE,[e.createTextVNode(e.toDisplayString((bo=(xo=(Do=I.meteo)==null?void 0:Do.wave)==null?void 0:xo.sig)==null?void 0:bo.direction),1),e.createElementVNode("i",{class:"iconfont",style:e.normalizeStyle(a.computeDegree((ko=(So=(Co=I.meteo)==null?void 0:Co.wave)==null?void 0:So.sig)==null?void 0:ko.degree,!1))},"",4)])):(e.openBlock(),e.createElementBlock("span",VE,"-"))]),e.createElementVNode("td",null,e.toDisplayString(a.roundPrecision((wo=(Bo=(Ao=I.meteo)==null?void 0:Ao.wave)==null?void 0:Bo.sig)==null?void 0:wo.height,1)),1),e.createElementVNode("td",null,e.toDisplayString(a.roundPrecision((Fo=(Oo=(To=I.meteo)==null?void 0:To.wave)==null?void 0:Oo.sig)==null?void 0:Fo.period,1)),1),e.createElementVNode("td",null,[(uo=(Po=I.meteo)==null?void 0:Po.current)!=null&&uo.kts?(e.openBlock(),e.createElementBlock("span",fE,[e.createTextVNode(e.toDisplayString((Wo=(Lo=I.meteo)==null?void 0:Lo.current)==null?void 0:Wo.direction),1),e.createElementVNode("i",{class:"iconfont",style:e.normalizeStyle(a.computeDegree((Mo=(Ho=I.meteo)==null?void 0:Ho.current)==null?void 0:Mo.degree,!0))},"",4)])):(e.openBlock(),e.createElementBlock("span",gE,"-"))]),e.createElementVNode("td",null,e.toDisplayString(a.roundPrecision((Io=(Go=I.meteo)==null?void 0:Go.current)==null?void 0:Io.kts,1)),1),e.createElementVNode("td",null,e.toDisplayString(a.roundPrecision(I.cFactor,1)),1)],2)}),128))])])],64)):e.createCommentVNode("",!0),DE])])])}const fn=De(Cp,[["render",xE],["__scopeId","data-v-146f11b9"]]),bE={install(t){t.component("RouteReport",cn),t.component("OpiPlanReport",cn),t.component("FliPlanReport",Vn),t.component("OrmPlanReport",fn)}},CE={install(t){t.component("IdmEditor",Ro)}},SE={install(t){t.component("IdmLat",va)}},kE={install(t){t.component("IdmLng",$a)}},AE={name:"PiLogo",props:{fill:{type:String,default:"#000000"}}},BE={class:"logo"},wE={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1280.000000 1280.000000"},TE=["fill","fill-opacity"],OE=[e.createElementVNode("path",{d:`M4225 11533 c-100 -6 -311 -23 -335 -27 -14 -3 -59 -10 -100 -16
2
2
  -408 -60 -813 -229 -1110 -465 -98 -77 -307 -287 -393 -395 -37 -47 -74 -93
3
3
  -82 -102 -7 -9 -22 -29 -32 -45 -9 -15 -20 -30 -23 -33 -16 -13 -139 -202
4
4
  -225 -345 -94 -157 -256 -467 -330 -635 -21 -47 -48 -108 -60 -136 -71 -158
@@ -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)];function FE(t,n,o,d,l,a){return e.openBlock(),e.createElementBlock("i",BE,[(e.openBlock(),e.createElementBlock("svg",wE,[e.createElementVNode("g",{transform:"translate(0.000000,1280.000000) scale(0.100000,-0.100000)",fill:o.fill,"fill-opacity":.6,stroke:"none"},OE,8,TE)]))])}const gn=De(AE,[["render",FE]]),PE={install(t){t.component("PiLogo",gn)}},uee="",Lee="",uE={components:{Editor:Ro,IdmBrand:ja},props:{reportData:{type:Object,default:()=>({})},editorDisabled:{type:Boolean,default:()=>!1}},emits:["commit"],data(){return{logSrc2:new URL("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAJYAAACWCAYAAAA8AXHiAAAABHNCSVQICAgIfAhkiAAAIABJREFUeF7tXQeAFEXWruruSZsTaQNJBARFTsQcCAaQZOLM+URPz3h6nIo6J+nUO8+Eip6CZ8aMCRUF9cQz8JsJAkqOy+Y0O9Pd//c6zPSkndndmdkFpqSc2enu6qpXX71Ur6o4S6c0BZJAAZ6EMtNFpinA0sBKgyApFEgDKylkTReaBlYaA0mhQBpYSSFrutA0sNIYSAoF9g5gTV4gsiaXgzmdNsYqRT+l7Fk+1pznZWxzM3v593JSKJguNCIF9jxgjVgiMdeWjFybsz9z2A9RBfVoLgiDYd/mq4xnc4HbGedMFZAZa2QCr2NMqGSCulVlwo+ywL7jqrK+QVV/YxlKPdte50uDLvGjY88A1rC5tuySvMNELpzDBOFIgKgnAJPDuGDDd/yHZuCfSp8AlAYs+sH47r9Gv3MB+GLNnAuNuLFS5WyLwtkPTBLfb2hu/Jo9PmZb4sm875XYiYGl8pyTn91PEiQC02RwoEHAhaiBhmptBZEGrEDWrhOoCFEG9wpcNwBo3E+cTbtPB2GVwvkKztXPZIUtbpKzAbRDq/c9WLS/xZ0SWK5RT5dkiOK1TOTXos+d4ExaSzUQBAGIAEFXdGBoHCv0ugWEwdeDORyVEShfBy5AtkHh4jzVqzzvsddvZA+d4mk/yfeNEjoZsBaIhSMbrobOdAtA0A36EoeeZBFpFvBonCYK2EwwGdyKc94I0SgAfI4wbhdFZJoART1UAK4Bf38vK/Jsz5yRb+8b0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qgEVtp8OuaBdpMl6sKWHAokIJXBR+SyKOLJZYceoUDEYLFEjhI291JC80TerSJC4pu6YuFtKGqH8SsanRlIgjaOdFtyORgXKn8TzpSQR8SmR0kLHR2jQND5gxbCQ6THG4AN8pRo3oQSHOH8UomAbhRci/RzYZApVNEqQ1aQButk5ub8ffpMeFLYiwFEp9TA7ik5BJ+pDEIg5OXJiiOsJSazlWaxqQvncfpkAaWPtw5yez6WlgJZO6+3DZaWDtw52fzKangZVM6u7DZaeBtQ93fjKbngZWMqm7D5f9/zc746V8ZtviAAAAAElFTkSuQmCC",self.location).href,bgSrc:new URL("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAABBoAAAAvCAYAAABNJKlSAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAABBVSURBVHhe7d2Hd1TnnYdx/wm7m91szWart2+yfTdtW5KtySbZTeLuxA3HLU6CCzY4Y9xiwMaFEkMoBkw1TXQVhEACdaEu1NuojEZdM2oz89t773vv3HvnviI4dnBsP99znsPhcECcOULM++Gd4ZqybhGnUrMup5RVibdOt+LMOlJyoSOp7Xx7sKJ0CSlqcyvMrDUh57TNy1mzlmAFTs1uZ5rngl2ak3xNp82azGZ95Tk1uuVm1jBjlbNA2Wb1wU7VT6vq3E5mVqs6kS6e7niNvmNO1WYxq6OZXYzJkcuUVTUV6LBTpb9D6SZVFZNycIEOlGc2Ifudyvy96a3UbV/puLa9JcH2OBWP+drt7YJqV6BR2Xle3xtORW47rEb8Faq2a9p2zttwutfNzvrbmllB1GqLps1n9G06MySb8v39KLPTbhvTRdJtyNP3mlmut0H5obcc1Xpd2YOyLnsg0FqnU/7W+OqXNSdVr+o60S+vBOqTl82OB3vJ2zHVaquwv6NheVHTC2ZHnHp9rXLKclsZqEdWHu6RFZqeNzvk7wdW3aqDbs9ldqBbnvXVle4Zs/3Bnvb2plOnPJXZvk5ZvkBP7u0IFPK2x+376dpVu9vliQVatktXmyx12un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3IAGoAFosAsBDUAD0AA0BJEBaAAagAYNLngDGoAGoAFoABpUQIMb0AA0AA12IaABaAAagIYgMgANQAPQoMEFb0AD0AA0AA1AgwpocAMagAagwS4ENAANQAPQEEQGoAFoABo0uOANaAAagAagAWhQAQ1uQAPQADTYhYAGoAFoABqCyAA0AA1AgwYXvAENQAPQADQADSqgwQ1oABqABrsQ0AA0AA1AQxAZgAagAWjQ4II3oAFoABqABqBBBTS4AQ1AA9BgFwIagAagAWgIIgPQADQADRpc8AY0AA1AA9AANKiABjegAWgAGuxCQAPQADQADUFkABqABqBBgwvegAagAWgAGoAGFdDgBjQADUCDXQhoABqABqAhiAxAA9AANGhwwRvQADQADUAD0KACGtyABqABaLALAQ1AA9AANASRAWgAGoAGDS54AxqABqABaAAaVECDG9AANAANdiGgAWgAGoCGIDIADUAD0KDBBW9AA9AANAANQIMKaHADGoAGoMEuBDQADUAD0BBEBqABaAAaNLjgDWgAGoAGoAFoUAENbkAD0AA02IWABqABaAAagsgANAANQIMGF7wBDUAD0AA0AA0qoMENaAAagAa7ENAANAANQEMQGYAGoAFo0OCCN6ABaAAagAagQQU0uAENQAPQYBcCGoAGoAFoCCID0AA0AA0aXPAGNAANQAPQADSogAY3oAFoABrsQkAD0AA0AA1BZAAagAagQYML3oAGoAFoABqABhXQ4AY0AA1Ag10IaAAagAagIYgMQAPQADRocMEb0AA0AA1AA9CgAhrcgAagAWiwCwENQAPQADQEkQFoABqABg0ueAMagAagAWgAGlRAgxvQADQADXYhoAFoABqAhiAyAA1AA9CgwQVvQAPQADQADUCDCmhwAxqABqDBLgQ0AA1AA9AQRAagAWgAGjS44A1oABqABqABaFABDW5AA9AANNiFgAagAWgAGoLIADQADUCDBhe8AQ1AA9AANAANKqDBDWgAGoAGuxDQADQADUBDEBmABqABaNDggjegAWgAGoAGoEEFNLgBDUAD0GAXAhqABqABaAgiA9AANAANGlzwBjQADUAD0AA0qIAGN6ABaAAa7EJAA9AANAANQWQAGoAGoEGDC96ABqABaAA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qo9MicN4Zl0lZ3TUt6hKmufloKmWLrcuik5Xu1kAgXQADQADW8HGlYf7ZG1J8PGYxeWDTl9suPsoJUJAEfKo5Jld6Z+TArsTAC42Dlp1RRW7w1g1js8k0YAM8YYY4wx9sEb0MDed5uaSaabmE5KZHzeatCoZ3hOOiKzvhr7ZqS2Z9pXeUdcilu9xSS/YUpy6yZ9ZdeatzbGVeVu+0rHgAagwUYGFxrWneqTjXn9xuNkl9sv289GZE/RkOz2dKRiWE5UjciJyhE5blfQMCaFTeNujeNS1TEltV2qGrs261/8Z3yZLwcwXwrgLZmy/8AwxhhjjDH2Dg9oYOwqbj6RksmZZLBp1dDEvAyMzaXr19Q5NCstAzNXVHVXXCo7YldUhVF5e0wKGidVDbom0p1ZoHyzem/j2k7rqtOX51TrL9fuTMO4lLROSknL5SvOqLY7Jg29cW31Rq0D09IzPCs9UW8z6fpGZ2U8ntA2N89JnjHGGGOMfRAn8v+kbzBftZKigAAAAABJRU5ErkJggg==",self.location).href,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:[],noGoodWxDay:"Not available due to no good weather days."}},computed:{computedAvgCf:function(){return function(t){var n,o;return(o=(n=this.reportData)==null?void 0:n.weather)!=null&&o.favorableCur?t.avgCf>0:!1}},computedPositive(){return function(t){return t>0?t:`(${t})`}},computedTime(){return function(t,n){return n==="subtitle"?T(t).utc().format("MMMM-DD, YYYY/HHmm[Z]"):n==="table"?T(t).utc().format("MMMM-DD/HHmm[Z]"):T(t).utc().format("dddd, MMMM D, YYYY")}},computedLngLat(){return function(t,n){const o=this.getLonLat(v.LngLatHelper.lat2pretty(t)),d=this.getLonLat(v.LngLatHelper.lng2pretty(n));return`${o} ${d}`}},computedSeg(){return function(t){const n=t.departure.portName||this.computedLngLat(t.departure.lat,t.departure.lng),o=this.computedTime(t.departure.utcTime,"subtitle"),d=t.arrival.portName||this.computedLngLat(t.arrival.lat,t.arrival.lng),l=this.computedTime(t.arrival.utcTime,"subtitle");return`${n} (${o}) to ${d} (${l})`}},computedTimeConclusion(){return function(t){let n=t.conclusionStatus,o={conclusion:"",className:"",timeCon:""};return n==="No"?(o.conclusion="No Time Lost/Gained",o.className="",o.timeCon=""):n==="Lost"?(o.conclusion="Time Lost",o.className="error",o.timeCon=`${t.timeLost} hrs`):(o.conclusion="Time Gained",o.className="success",o.timeCon=`${t.timeGain} hrs`),o}},computedFuelConclusion(){return function(t,n){let o=t.conclusionStatus,d={conclusion:"",className:"",cons:""};return o==="No"?(n==="FO"?d.conclusion="No FO over/under consumption":d.conclusion="No DO/GO over/under consumption ",d.className="",d.cons=""):o==="Over"?(n==="FO"?d.conclusion="FO over consumption":d.conclusion="DO/GO over consumption",d.className="error",d.cons=`${t.overCons} mt`):(n==="FO"?d.conclusion="FO under consumption":d.conclusion="DO/GO under consumption",d.className="success",d.cons=`${t.saving} mt`),d}},computedUnit(){return function(t,n){return n?"%":t==="speed"?"kts":t==="cons"?"mt":""}},computedWeatherDef(){return function(t){let n="";t!=null&&t.timePercentage?`${t==null?void 0:t.time}`:`${t==null?void 0:t.time}`;let o=t==null?void 0:t.windScale,d="",l=0;return t!=null&&t.waveSwitch?(d+=`, Wind wave height is ${t==null?void 0:t.waveHeight} meters or less`,l++):t!=null&&t.swellSwitch?(d+=`, Swell wave height is ${t==null?void 0:t.swellHeight} meters or less`,l++):t!=null&&t.sigSwitch&&(d+=`, Significant wave height is ${t==null?void 0:t.sigHeight} meters or less`,l++),l>0&&(d+=`(Douglas Sea State ${t==null?void 0:t.seaScale})`),n=`Winds are BF/${o} or less${d}`,t!=null&&t.noAdverseCur&&(n+=", No Adverse Current"),t!=null&&t.noExtrapolation&&(n+=", No Extrapolation"),t!=null&&t.overallAsGoodWx&&(n="No specific thresholds for wind/wave/currents are defined in the Charter Party. Therefore the Good Weather Definition in this reports does not apply any thresholds."),n}},computedColor(){return function(t,n,o){let d="";if(t==="No")return d=o?"bg-color-normal":"color-normal",d;switch(n){case"time":t==="Lost"?d="color-fail":d="color-success";break;case"fuel":t==="Over"?d="color-fail":d="color-success";break;case"pfm":t==="Under"?d="color-fail":d="color-success";break}return o&&(d="bg-"+d),d}}},watch:{reportData:{handler(t,n){var o;t!=null&&t.id&&(this.$nextTick(()=>{this.checkData()}),this.advisory=(o=this.reportData)==null?void 0:o.remarks,this.date=this.computedTime(this.reportData.createdAt))},immediate:!0}},methods:{getLonLat(t){return`${t.degree}°${v.roundPrecision(t.minute,2)}′${t.direction}`},handleCommit(t){this.editable=!1,this.$emit("commit",t)},decideDisable(){this.editable=!this.editorDisabled},checkData(){var t,n;this.goodDays=[],this.segDetail=[],this.excludedTableData=[],(n=(t=this.reportData)==null?void 0:t.segments)==null||n.forEach((o,d)=>{let l=o.excluded;l.sumDistance>0&&l.detail.forEach(p=>{let i={time:T(p.begin).utc().format("DD/MM/YYYY HHmm[Z]")+" - "+T(p.end).utc().format("DD/MM/YYYY HHmm[Z]"),duration:p.duration,distance:p.distance,fo:p.foCons,dgo:p.dgoCons};this.excludedTableData.push(i)});let a=[];o.extend.segTimes.forEach(p=>{a.push(this.computedSeg(p))}),this.segDetail.push(a),this.goodDays.push(o.inventory.sample.hours.filter(p=>p.type!=="A"&&p.goodWx))})}}},g=t=>(e.pushScopeId("data-v-6f2b44b1"),t=t(),e.popScopeId(),t),LE=["src"],WE={class:"voyage-main"},HE={class:"main",style:{"page-break-after":"always"}},ME={class:"main-title",style:{position:"relative !important"}},GE=["src"],IE={class:"main-title-content"},RE=g(()=>e.createElementVNode("div",{class:"title"},"Voyage Analysis Report",-1)),zE={class:"title-date"},UE={class:"main-subtitle"},YE={class:"white"},ZE=g(()=>e.createElementVNode("td",{style:{width:"42%","text-align":"right"}},"Prepared For",-1)),QE={class:"subtitle-main"},JE=g(()=>e.createElementVNode("td",{style:{width:"42%","text-align":"right"}},"Vessel Name",-1)),KE={class:"subtitle-main"},qE={class:"main-box"},XE={class:"main-table"},jE=g(()=>e.createElementVNode("td",{style:{width:"35%"},class:"title"},"Ship Type",-1)),$E={class:"bold"},vE=g(()=>e.createElementVNode("td",{class:"title"},"Load Condition",-1)),ey={class:"bold"},ty=g(()=>e.createElementVNode("td",{class:"title"},"Reference Number",-1)),oy={class:"bold"},ly=g(()=>e.createElementVNode("td",{class:"title"},"Departure Port and Date",-1)),ay={class:"bold"},ny={style:{display:"inline-block",width:"50%"}},sy=g(()=>e.createElementVNode("td",{class:"title"},"Arrival Port and Date",-1)),iy={class:"bold"},dy={style:{display:"inline-block",width:"50%"}},cy=g(()=>e.createElementVNode("div",{class:"subtitle",style:{color:"var(--main-color)"}},"Report Summary",-1)),ry={class:"tips",style:{display:"flex"}},my={style:{color:"var(--table-note-color)"}},hy={class:"summary-table",style:{"margin-top":"5px"}},py=g(()=>e.createElementVNode("td",{style:{"line-height":"30pt",width:"35%"}},"Total Voyage Time",-1)),Ey={style:{width:"15%"}},yy={key:1},_y=g(()=>e.createElementVNode("td",{style:{"line-height":"30pt"}},"Total FO Consumption",-1)),Ny={key:1},Vy=g(()=>e.createElementVNode("td",{style:{"line-height":"30pt"}},"Total DO/GO Consumption",-1)),fy={key:1},gy=g(()=>e.createElementVNode("div",{style:{color:"var(--table-note-color-2)","font-size":"10.5pt",margin:"10px 0","text-align":"right"}}," *Please see voyage analysis pages for the details. ",-1)),Dy=g(()=>e.createElementVNode("div",{class:"subtitle"},"Good Weather Definition",-1)),xy={class:"weather-definition"},by={key:0,class:e.normalizeClass("main-info main-box page-avoid main-txt}")},Cy=g(()=>e.createElementVNode("div",null,"Exclusion",-1)),Sy=g(()=>e.createElementVNode("div",null,"The following time,distance and amount of consumed fuel have been excluded from the voyage analysis",-1)),ky={class:"remark-table"},Ay=g(()=>e.createElementVNode("thead",null,[e.createElementVNode("tr",null,[e.createElementVNode("td"),e.createElementVNode("td",{style:{width:"40%"}},"Date/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)),By=["innerHTML"],wy={class:"analysis page-title"},Ty={class:"analysis-title"},Oy={class:"analysis-title-detail"},Fy=g(()=>e.createElementVNode("div",{class:"subtitle"},"CP Terms",-1)),Py={class:"page-avoid"},uy={class:"subtitle-table",cellspacing:"0",cellpadding:"0"},Ly=g(()=>e.createElementVNode("td",{class:"daily title"},"CP Type",-1)),Wy=g(()=>e.createElementVNode("td",{class:"title"},"Daily FO Consumption (mt)",-1)),Hy=g(()=>e.createElementVNode("td",{class:"title"},"CP Speed (kts)",-1)),My=g(()=>e.createElementVNode("td",{class:"daily title"},"Daily DO/GO Consumption (mt)",-1)),Gy=g(()=>e.createElementVNode("tr",null,null,-1)),Iy={class:"title"},Ry={class:"title"},zy={class:"title"},Uy={class:"title"},Yy=g(()=>e.createElementVNode("div",{class:"subtitle"},"Good Weather Analysis",-1)),Zy={class:"page-avoid",style:{"margin-bottom":"15px"}},Qy={class:"analysis-table",cellspacing:"0",cellpadding:"0"},Jy=g(()=>e.createElementVNode("tr",null,[e.createElementVNode("td",{class:"title",style:{width:"35%"}}),e.createElementVNode("td",{colspan:"2",class:"title"},"Good Weather"),e.createElementVNode("td",{colspan:"2",class:"title"},"All Weather")],-1)),Ky=g(()=>e.createElementVNode("tr",null,[e.createElementVNode("td",{class:"title"}),e.createElementVNode("td",{class:"title"},"out of ECA"),e.createElementVNode("td",{class:"title"},"in ECA"),e.createElementVNode("td",{class:"title"},"out of ECA"),e.createElementVNode("td",{class:"title"},"in ECA")],-1)),qy=g(()=>e.createElementVNode("td",{class:"title"},"Total Distance (nm)",-1)),Xy={class:"inGoodWx"},jy={class:"inGoodWx"},$y=g(()=>e.createElementVNode("td",{class:"title"},"Total Time (hrs)",-1)),vy={class:"inGoodWx"},e_={class:"inGoodWx"},t_=g(()=>e.createElementVNode("td",{class:"title"},"Average Speed (kts)",-1)),o_={class:"inGoodWx"},l_={class:"inGoodWx"},a_=g(()=>e.createElementVNode("td",{class:"title"},"FO Consumption (mt)",-1)),n_={class:"inGoodWx"},s_={class:"inGoodWx"},i_=g(()=>e.createElementVNode("td",{class:"title"},"Averaged Daily FO Consumption (mt)",-1)),d_={class:"inGoodWx"},c_={class:"inGoodWx"},r_=g(()=>e.createElementVNode("td",{class:"title"},"DO/GO Consumption (mt)",-1)),m_={class:"inGoodWx"},h_={class:"inGoodWx"},p_=g(()=>e.createElementVNode("td",{class:"title"},"Averaged Daily DO/GO Consumption (mt)",-1)),E_={class:"inGoodWx"},y_={class:"inGoodWx"},__={key:0,class:"analysis-tips"},N_={key:1,class:"analysis-definition"},V_={key:2,class:"analysis-definition"},f_=g(()=>e.createElementVNode("br",null,null,-1)),g_={key:3,class:"tr-tips equation-tips",style:{"font-size":"12pt"}},D_=g(()=>e.createElementVNode("span",null,"Good Weather Performance Speed",-1)),x_=g(()=>e.createElementVNode("span",null,"= ",-1)),b_={key:0},C_={key:1},S_={key:2},k_={key:3},A_={key:4,class:"tr-tips equation-tips",style:{"font-size":"12pt"}},B_=g(()=>e.createElementVNode("span",null," All Weather Performance Speed",-1)),w_=g(()=>e.createElementVNode("span",null,"=",-1)),T_={key:0},O_={key:1},F_=g(()=>e.createElementVNode("span",null,"-",-1)),P_=g(()=>e.createElementVNode("span",null,"=",-1)),u_={key:0},L_={key:1},W_={key:6,class:"tr-tips tips-color"},H_={class:"formula page-title"},M_={class:"page-avoid"},G_={class:"subtitle",style:{"margin-top":"0"}},I_={key:0},R_={class:"definition"},z_=g(()=>e.createElementVNode("br",null,null,-1)),U_=g(()=>e.createElementVNode("br",null,null,-1)),Y_=g(()=>e.createElementVNode("br",null,null,-1)),Z_={class:"equation"},Q_=g(()=>e.createElementVNode("div",{style:{width:"35%"}},"Total Time at Good Weather Performance Speed",-1)),J_=g(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"=",-1)),K_={style:{width:"50%"},class:"fraction"},q_=g(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),X_=g(()=>e.createElementVNode("div",null,"Good Weather Performance Speed",-1)),j_=g(()=>e.createElementVNode("div",{style:{width:"10%","text-align":"center"}},"(a)",-1)),$_={class:"equation"},v_={style:{width:"35%"}},eN=g(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"=",-1)),tN={style:{width:"50%"},class:"fraction"},oN=g(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),lN=g(()=>e.createElementVNode("div",{style:{width:"10%","text-align":"center"}},"(b)",-1)),aN={class:"equation"},nN={style:{width:"35%"}},sN=g(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"=",-1)),iN={style:{width:"50%"},class:"fraction"},dN=g(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),cN=g(()=>e.createElementVNode("div",{style:{width:"10%","text-align":"center"}},"(c)",-1)),rN=g(()=>e.createElementVNode("div",null,[e.createElementVNode("span",null,"Time Lost = (a) - (b)"),e.createElementVNode("span",{style:{"margin-left":"20px"}},"Time Gained = (c) - (a)")],-1)),mN={class:"page-avoid"},hN={key:0,class:"definition",style:{margin:"15px 0"}},pN={class:"equation"},EN=g(()=>e.createElementVNode("div",{style:{width:"35%"}},"Total Time at Good Weather Performance Speed",-1)),yN=g(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"=",-1)),_N={style:{width:"35%"},class:"fraction"},NN=g(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),VN=g(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"=",-1)),fN={style:{width:"10%","text-align":"center"}},gN=g(()=>e.createElementVNode("div",{style:{width:"10%","text-align":"center"}},"(a')",-1)),DN={class:"equation"},xN={style:{width:"35%"}},bN=g(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"=",-1)),CN={style:{width:"35%"},class:"fraction"},SN=g(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),kN=g(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"=",-1)),AN={style:{width:"10%","text-align":"center"}},BN=g(()=>e.createElementVNode("div",{style:{width:"10%","text-align":"center"}},"(b')",-1)),wN={class:"equation"},TN={style:{width:"35%"}},ON=g(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"=",-1)),FN={style:{width:"35%"},class:"fraction"},PN=g(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),uN=g(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"=",-1)),LN={style:{width:"10%","text-align":"center"}},WN=g(()=>e.createElementVNode("div",{style:{width:"10%","text-align":"center"}},"(c')",-1)),HN=g(()=>e.createElementVNode("span",null,"=",-1)),MN=g(()=>e.createElementVNode("span",null,"=",-1)),GN=g(()=>e.createElementVNode("span",null,"=",-1)),IN=["innerHTML"],RN={class:"page-avoid"},zN={class:"subtitle page-title"},UN={key:0},YN={class:"definition",style:{"margin-bottom":"15px"}},ZN=g(()=>e.createElementVNode("br",null,null,-1)),QN=g(()=>e.createElementVNode("br",null,null,-1)),JN=g(()=>e.createElementVNode("br",null,null,-1)),KN={class:"equation"},qN=g(()=>e.createElementVNode("div",{style:{width:"25%"}},"Entire Voyage Consumption using Good Weather Consumption",-1)),XN=g(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"=",-1)),jN={style:{width:"25%"},class:"fraction"},$N=g(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),vN=g(()=>e.createElementVNode("div",null,"Good Weather Performance Speed",-1)),eV=g(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"×",-1)),tV=g(()=>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)),oV=g(()=>e.createElementVNode("div",{style:{width:"10%","text-align":"center"}},"(d)",-1)),lV={style:{display:"flex","flex-direction":"column","align-content":"flex-end",width:"100%","flex-wrap":"wrap",transform:"scale(0.9)"}},aV=g(()=>e.createElementVNode("div",null,"* For FO: Good Weather FO Cons. + Good Weather M/E DO/GO Cons. in ECA",-1)),nV={key:0},sV={class:"equation"},iV=g(()=>e.createElementVNode("div",{style:{width:"25%"}},"Max CP Consumption",-1)),dV=g(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"=",-1)),cV={style:{width:"25%"},class:"fraction"},rV=g(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),mV=g(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"×",-1)),hV=g(()=>e.createElementVNode("div",{style:{width:"30%"},class:"fraction"},[e.createElementVNode("div",null,"Daily CP Consumption + Consumer Over"),e.createElementVNode("div",{class:"fractional-line"}),e.createElementVNode("div",null,"24 hours")],-1)),pV=g(()=>e.createElementVNode("div",{style:{width:"10%","text-align":"center"}},"(e)",-1)),EV={class:"equation"},yV=g(()=>e.createElementVNode("div",{style:{width:"25%"}},"Min CP Consumption",-1)),_V=g(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"=",-1)),NV={style:{width:"25%"},class:"fraction"},VV=g(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),fV=g(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"×",-1)),gV=g(()=>e.createElementVNode("div",{style:{width:"30%"},class:"fraction"},[e.createElementVNode("div",null,"Daily CP Consumption - Consumer Under"),e.createElementVNode("div",{class:"fractional-line"}),e.createElementVNode("div",null,"24 hours")],-1)),DV=g(()=>e.createElementVNode("div",{style:{width:"10%","text-align":"center"}},"(f)",-1)),xV=g(()=>e.createElementVNode("div",{style:{"font-weight":"600"}},[e.createElementVNode("span",null,"Fuel Over-consumption = (d) - (e) "),e.createElementVNode("span",{style:{"margin-left":"20px"}},"Fuel Saving = (f) - (d)")],-1)),bV={key:0,class:"equation"},CV=g(()=>e.createElementVNode("div",{style:{width:"25%"}},"Fuel Over-consumption in ECA",-1)),SV=g(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"=",-1)),kV={style:{width:"45%"},class:"fraction"},AV=g(()=>e.createElementVNode("div",null,"ECA Distance × Fuel Over-consumption",-1)),BV=g(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),wV={key:1,class:"equation"},TV=g(()=>e.createElementVNode("div",{style:{width:"25%"}},"Fuel Saving in ECA",-1)),OV=g(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"=",-1)),FV={style:{width:"45%"},class:"fraction"},PV=g(()=>e.createElementVNode("div",null,"ECA Distance × Fuel Saving",-1)),uV=g(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),LV={class:"page-avoid"},WV=g(()=>e.createElementVNode("div",{class:"page-title"},"Fuel Oil Calculation",-1)),HV={key:0,class:"definition",style:{margin:"15px 0"}},MV={class:"equation"},GV=g(()=>e.createElementVNode("div",{style:{width:"25%"}},"Entire Voyage Consumption using Good Weather Consumption",-1)),IV=g(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"=",-1)),RV={style:{width:"20%"},class:"fraction"},zV=g(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),UV=g(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"×",-1)),YV={style:{width:"20%"},class:"fraction"},ZV=g(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),QV=g(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"=",-1)),JV={style:{width:"10%","text-align":"center"}},KV=g(()=>e.createElementVNode("div",{style:{width:"10%","text-align":"center"}},"(d')",-1)),qV={class:"equation"},XV=g(()=>e.createElementVNode("div",{style:{width:"25%"}},"Max CP Consumption",-1)),jV=g(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"=",-1)),$V={style:{width:"20%"},class:"fraction"},vV=g(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),ef=g(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"×",-1)),tf={style:{width:"20%"},class:"fraction"},of=g(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),lf=g(()=>e.createElementVNode("div",null,"24",-1)),af=g(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"=",-1)),nf={style:{width:"10%","text-align":"center"}},sf=g(()=>e.createElementVNode("div",{style:{width:"10%","text-align":"center"}},"(e')",-1)),df={class:"equation"},cf=g(()=>e.createElementVNode("div",{style:{width:"25%"}},"Min CP Consumption",-1)),rf=g(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"=",-1)),mf={style:{width:"20%"},class:"fraction"},hf=g(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),pf=g(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"×",-1)),Ef={style:{width:"20%"},class:"fraction"},yf=g(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),_f=g(()=>e.createElementVNode("div",null,"24",-1)),Nf=g(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"=",-1)),Vf={style:{width:"10%","text-align":"center"}},ff=g(()=>e.createElementVNode("div",{style:{width:"10%","text-align":"center"}},"(f')",-1)),gf=g(()=>e.createElementVNode("span",null,"=",-1)),Df=g(()=>e.createElementVNode("span",null,"=",-1)),xf=g(()=>e.createElementVNode("span",null,"=",-1)),bf={key:0},Cf={key:0,class:"equation"},Sf=g(()=>e.createElementVNode("div",{style:{width:"25%"}},"Fuel Oil Over-consumption in ECA",-1)),kf=g(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"=",-1)),Af={style:{width:"45%"},class:"fraction"},Bf=g(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),wf=g(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"=",-1)),Tf={style:{width:"10%","text-align":"center"}},Of={key:1,class:"equation"},Ff=g(()=>e.createElementVNode("div",{style:{width:"25%"}},"Fuel Oil Saving in ECA",-1)),Pf=g(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"=",-1)),uf={style:{width:"45%"},class:"fraction"},Lf=g(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),Wf=g(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"=",-1)),Hf={style:{width:"10%","text-align":"center"}},Mf=["innerHTML"],Gf={class:"page-avoid"},If={key:0},Rf=g(()=>e.createElementVNode("div",null,"Diesel/Gas Oil Calculation",-1)),zf={key:0,class:"definition",style:{margin:"15px 0"}},Uf={class:"equation"},Yf=g(()=>e.createElementVNode("div",{style:{width:"25%"}},"Entire Voyage Consumption using Good Weather Consumption",-1)),Zf=g(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"=",-1)),Qf={style:{width:"20%"},class:"fraction"},Jf=g(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),Kf=g(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"×",-1)),qf={style:{width:"20%"},class:"fraction"},Xf=g(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),jf=g(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"=",-1)),$f={style:{width:"10%","text-align":"center"}},vf=g(()=>e.createElementVNode("div",{style:{width:"10%","text-align":"center"}},"(d'')",-1)),eg={class:"equation"},tg=g(()=>e.createElementVNode("div",{style:{width:"25%"}},"Max CP Consumption",-1)),og=g(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"=",-1)),lg={style:{width:"20%"},class:"fraction"},ag=g(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),ng=g(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"×",-1)),sg={style:{width:"20%"},class:"fraction"},ig=g(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),dg=g(()=>e.createElementVNode("div",null,"24",-1)),cg=g(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"=",-1)),rg={style:{width:"10%","text-align":"center"}},mg=g(()=>e.createElementVNode("div",{style:{width:"10%","text-align":"center"}},"(e'')",-1)),hg={class:"equation"},pg=g(()=>e.createElementVNode("div",{style:{width:"25%"}},"Min CP Consumption",-1)),Eg=g(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"=",-1)),yg={style:{width:"20%"},class:"fraction"},_g=g(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),Ng=g(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"×",-1)),Vg={style:{width:"20%"},class:"fraction"},fg=g(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),gg=g(()=>e.createElementVNode("div",null,"24",-1)),Dg=g(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"=",-1)),xg={style:{width:"10%","text-align":"center"}},bg=g(()=>e.createElementVNode("div",{style:{width:"10%","text-align":"center"}},"(f'')",-1)),Cg=g(()=>e.createElementVNode("span",null,"=",-1)),Sg=g(()=>e.createElementVNode("span",null,"=",-1)),kg=g(()=>e.createElementVNode("span",null,"=",-1)),Ag=["innerHTML"];function Bg(t,n,o,d,l,a){var E,b,S,_,N,D,r,C,k,O,P,F,w,x,u,R,Z,z,W,f,Y,G,H,K,q,j,X,V,M,J,s,$;const p=e.resolveComponent("IdmBrand"),i=e.resolveComponent("Editor");return e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass((b=(E=o.reportData)==null?void 0:E.weather)!=null&&b.referenceOnly||(_=(S=o.reportData)==null?void 0:S.weather)!=null&&_.overallAsGoodWx?"watermark":"")},[e.createVNode(p,{name:"Voyage Analysis Report"}),e.createElementVNode("img",{src:l.bgSrc,class:"bgImg",alt:""},null,8,LE),e.createElementVNode("div",WE,[e.createElementVNode("div",HE,[e.createElementVNode("div",ME,[e.createElementVNode("img",{src:l.logSrc2,style:{width:"120px",position:"absolute","margin-top":"30px"},alt:""},null,8,GE),e.createElementVNode("div",IE,[RE,e.createElementVNode("div",zE,e.toDisplayString(l.date),1)])]),e.createElementVNode("div",UE,[e.createElementVNode("table",YE,[e.createElementVNode("tr",null,[ZE,e.createElementVNode("td",QE,"    "+e.toDisplayString((N=o.reportData)==null?void 0:N.preparedFor),1)]),e.createElementVNode("tr",null,[JE,e.createElementVNode("td",KE,"    "+e.toDisplayString((r=(D=o.reportData)==null?void 0:D.vessel)==null?void 0:r.name),1)])])]),e.createElementVNode("div",qE,[e.createElementVNode("table",XE,[e.createElementVNode("tr",null,[jE,e.createElementVNode("td",$E,e.toDisplayString((k=(C=o.reportData)==null?void 0:C.vessel)==null?void 0:k.type),1)]),e.createElementVNode("tr",null,[vE,e.createElementVNode("td",ey,e.toDisplayString((P=(O=o.reportData)==null?void 0:O.voyage)==null?void 0:P.loadCondition),1)]),e.createElementVNode("tr",null,[ty,e.createElementVNode("td",oy,e.toDisplayString((w=(F=o.reportData)==null?void 0:F.voyage)==null?void 0:w.number),1)]),e.createElementVNode("tr",null,[ly,e.createElementVNode("td",ay,[e.createElementVNode("span",ny,e.toDisplayString(((u=(x=o.reportData)==null?void 0:x.departure)==null?void 0:u.portName)||a.computedLngLat((Z=(R=o.reportData)==null?void 0:R.departure)==null?void 0:Z.lat,(W=(z=o.reportData)==null?void 0:z.departure)==null?void 0:W.lng)),1),e.createElementVNode("span",null,e.toDisplayString(a.computedTime((Y=(f=o.reportData)==null?void 0:f.departure)==null?void 0:Y.utcTime,"table")),1)])]),e.createElementVNode("tr",null,[sy,e.createElementVNode("td",iy,[e.createElementVNode("span",dy,e.toDisplayString(((H=(G=o.reportData)==null?void 0:G.arrival)==null?void 0:H.portName)||a.computedLngLat((q=(K=o.reportData)==null?void 0:K.arrival)==null?void 0:q.lat,(X=(j=o.reportData)==null?void 0:j.arrival)==null?void 0:X.lng)),1),e.createElementVNode("span",null,e.toDisplayString(a.computedTime((M=(V=o.reportData)==null?void 0:V.arrival)==null?void 0:M.utcTime,"table")),1)])])])]),cy,(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList((J=o.reportData)==null?void 0:J.segments,(c,ee)=>(e.openBlock(),e.createElementBlock("div",{key:"summary"+ee},[e.createElementVNode("div",ry,[e.createElementVNode("div",my,"Seg."+e.toDisplayString(ee+1)+"  ",1),e.createElementVNode("div",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(l.segDetail[ee],(oe,te)=>(e.openBlock(),e.createElementBlock("div",{key:"seg"+te,class:"tips-seg"},e.toDisplayString(oe),1))),128))])]),e.createElementVNode("table",hy,[e.createElementVNode("tr",null,[py,e.createElementVNode("td",Ey,e.toDisplayString(c.allWx.time)+" hrs",1),c.goodWx.distance?(e.openBlock(),e.createElementBlock("td",{key:0,class:e.normalizeClass(a.computedTimeConclusion(c.timeConclusion).className)},e.toDisplayString(a.computedTimeConclusion(c.timeConclusion).conclusion),3)):(e.openBlock(),e.createElementBlock("td",yy,e.toDisplayString(l.noGoodWxDay),1)),c.goodWx.distance?(e.openBlock(),e.createElementBlock("td",{key:2,style:{width:"15%"},class:e.normalizeClass(a.computedTimeConclusion(c.timeConclusion).className)},e.toDisplayString(a.computedTimeConclusion(c.timeConclusion).timeCon),3)):e.createCommentVNode("",!0)]),e.createElementVNode("tr",null,[_y,e.createElementVNode("td",null,e.toDisplayString(c.allWx.sumFoCons)+" mt",1),c.goodWx.distance?(e.openBlock(),e.createElementBlock("td",{key:0,class:e.normalizeClass(a.computedFuelConclusion(c.fuelConclusion.fo,"FO").className)},e.toDisplayString(a.computedFuelConclusion(c.fuelConclusion.fo,"FO").conclusion),3)):(e.openBlock(),e.createElementBlock("td",Ny,e.toDisplayString(l.noGoodWxDay),1)),c.goodWx.distance?(e.openBlock(),e.createElementBlock("td",{key:2,class:e.normalizeClass(a.computedFuelConclusion(c.fuelConclusion.fo,"FO").className)},e.toDisplayString(a.computedFuelConclusion(c.fuelConclusion.fo,"FO").cons),3)):e.createCommentVNode("",!0)]),e.createElementVNode("tr",null,[Vy,e.createElementVNode("td",null,e.toDisplayString(c.allWx.sumDgoCons)+" mt",1),c.goodWx.distance?(e.openBlock(),e.createElementBlock("td",{key:0,class:e.normalizeClass(a.computedFuelConclusion(c.fuelConclusion.dgo,"DGO").className)},e.toDisplayString(a.computedFuelConclusion(c.fuelConclusion.dgo,"DGO").conclusion),3)):(e.openBlock(),e.createElementBlock("td",fy,e.toDisplayString(l.noGoodWxDay),1)),c.goodWx.distance?(e.openBlock(),e.createElementBlock("td",{key:2,class:e.normalizeClass(a.computedFuelConclusion(c.fuelConclusion.dgo,"DGO").className)},e.toDisplayString(a.computedFuelConclusion(c.fuelConclusion.dgo,"DGO").cons),3)):e.createCommentVNode("",!0)])]),gy]))),128)),Dy,e.createElementVNode("div",xy,[e.createElementVNode("div",null,e.toDisplayString(a.computedWeatherDef((s=o.reportData)==null?void 0:s.weather)),1)]),e.createElementVNode("div",{class:e.normalizeClass(`subtitle ${l.advisory&&l.advisory!=="<p><br></p>"||l.excludedTableData.length?"":"print-hidden"}`)},"Remarks",2),l.excludedTableData.length?(e.openBlock(),e.createElementBlock("div",by,[Cy,e.createElementVNode("div",null,[Sy,e.createElementVNode("table",ky,[Ay,e.createElementVNode("tbody",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(l.excludedTableData,(c,ee)=>(e.openBlock(),e.createElementBlock("tr",{key:ee},[e.createElementVNode("td",null,e.toDisplayString(ee+1),1),e.createElementVNode("td",null,e.toDisplayString(c.time),1),e.createElementVNode("td",null,e.toDisplayString(c.duration),1),e.createElementVNode("td",null,e.toDisplayString(c.distance),1),e.createElementVNode("td",null,e.toDisplayString(c.fo),1),e.createElementVNode("td",null,e.toDisplayString(c.dgo),1)]))),128))])])])])):e.createCommentVNode("",!0),e.createElementVNode("div",{class:e.normalizeClass(`main-info main-box page-avoid ${l.advisory&&l.advisory!=="<p><br></p>"?"":"print-hidden"}`),style:{"min-height":"50px"}},[l.editable?(e.openBlock(),e.createBlock(i,{key:0,modelValue:l.advisory,"onUpdate:modelValue":n[0]||(n[0]=c=>l.advisory=c),height:"320px",onBlur:n[1]||(n[1]=c=>a.handleCommit(c))},null,8,["modelValue"])):(e.openBlock(),e.createElementBlock("div",{key:1,class:"remark-txt editor",style:{"min-height":"50px"},onDblclick:n[2]||(n[2]=(...c)=>a.decideDisable&&a.decideDisable(...c)),innerHTML:l.advisory&&l.advisory!=="<p><br></p>"?l.advisory:"Please double click to modify remark"},null,40,By))],2)]),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(($=o.reportData)==null?void 0:$.segments,(c,ee)=>{var oe,te,se,ie,ce,re,he,pe,Ee,de,ye,xe,be,Ce,Se,ke,Ae,Be,Fe,Pe,fe,L,_e,ue,Le,We,we,He,Ke,qe,U,Oe,ze,Ue,Ye,Ze,Qe,Je,y,Q,ge,Te,Me,me,Xe,$e,ve,ot,lt,at,nt,mt,ht,pt,Et,yt,_t,Nt,Vt,ft,gt,Dt,xt,bt,Ct,St,kt,At,Bt,wt,Tt;return e.openBlock(),e.createElementBlock("div",{key:"seg"+ee,class:"page-title"},[e.createElementVNode("div",wy,[e.createElementVNode("div",Ty,"Voyage Analysis - Seg. "+e.toDisplayString(ee+1),1),e.createElementVNode("div",Oy,[e.createElementVNode("div",null,e.toDisplayString((te=(oe=o.reportData)==null?void 0:oe.vessel)==null?void 0:te.name),1),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(l.segDetail[ee],(Ht,ho)=>(e.openBlock(),e.createElementBlock("div",{key:"seg"+ho,class:"tips-seg"},e.toDisplayString(Ht),1))),128))]),Fy,e.createElementVNode("div",Py,[e.createElementVNode("table",uy,[e.createElementVNode("tr",null,[Ly,e.createElementVNode("td",null,e.toDisplayString(c.extend.cp.type),1),Wy,e.createElementVNode("td",null,e.toDisplayString(c.extend.cp.fo),1)]),e.createElementVNode("tr",null,[Hy,e.createElementVNode("td",null,e.toDisplayString(c.extend.cp.speed),1),My,e.createElementVNode("td",null,e.toDisplayString(c.extend.cp.dgo),1)]),Gy,e.createElementVNode("tr",null,[e.createElementVNode("td",Iy,"Speed Over ("+e.toDisplayString(a.computedUnit("speed",c.timeConclusion.spdPercentage))+")",1),e.createElementVNode("td",null,e.toDisplayString(c.timeConclusion.spdOfOver),1),e.createElementVNode("td",Ry,"Consumer Over ("+e.toDisplayString(a.computedUnit("cons",c.fuelConclusion.consPercentage))+")",1),e.createElementVNode("td",null,e.toDisplayString(c.fuelConclusion.consOfOver),1)]),e.createElementVNode("tr",null,[e.createElementVNode("td",zy,"Speed Under ("+e.toDisplayString(a.computedUnit("speed",c.timeConclusion.spdPercentage))+")",1),e.createElementVNode("td",null,e.toDisplayString(c.timeConclusion.spdOfUnder),1),e.createElementVNode("td",Uy,"Consumer Under ("+e.toDisplayString(a.computedUnit("cons",c.fuelConclusion.consPercentage))+")",1),e.createElementVNode("td",null,e.toDisplayString(c.fuelConclusion.consOfUnder),1)])])]),Yy,e.createElementVNode("div",Zy,[e.createElementVNode("table",Qy,[Jy,Ky,e.createElementVNode("tr",null,[qy,e.createElementVNode("td",Xy,e.toDisplayString(c.goodWx.outEca.distance),1),e.createElementVNode("td",jy,e.toDisplayString(c.goodWx.inEca.distance),1),e.createElementVNode("td",null,e.toDisplayString(c.allWx.outEca.distance),1),e.createElementVNode("td",null,e.toDisplayString(c.allWx.inEca.distance),1)]),e.createElementVNode("tr",null,[$y,e.createElementVNode("td",vy,e.toDisplayString(c.goodWx.outEca.time),1),e.createElementVNode("td",e_,e.toDisplayString(c.goodWx.inEca.time),1),e.createElementVNode("td",null,e.toDisplayString(c.allWx.outEca.time),1),e.createElementVNode("td",null,e.toDisplayString(c.allWx.inEca.time),1)]),e.createElementVNode("tr",null,[t_,e.createElementVNode("td",o_,e.toDisplayString(c.goodWx.outEca.avgSpd||"--"),1),e.createElementVNode("td",l_,e.toDisplayString(c.goodWx.inEca.avgSpd||"--"),1),e.createElementVNode("td",null,e.toDisplayString(c.allWx.outEca.avgSpd||"--"),1),e.createElementVNode("td",null,e.toDisplayString(c.allWx.inEca.avgSpd||"--"),1)]),e.createElementVNode("tr",null,[a_,e.createElementVNode("td",n_,e.toDisplayString(c.goodWx.outEca.sumFoCons||"--"),1),e.createElementVNode("td",s_,e.toDisplayString(c.goodWx.inEca.sumFoCons||"--"),1),e.createElementVNode("td",null,e.toDisplayString(c.allWx.outEca.sumFoCons||"--"),1),e.createElementVNode("td",null,e.toDisplayString(c.allWx.inEca.sumFoCons||"--"),1)]),e.createElementVNode("tr",null,[i_,e.createElementVNode("td",d_,e.toDisplayString(c.goodWx.outEca.avgFoCons||"--"),1),e.createElementVNode("td",c_,e.toDisplayString(c.goodWx.inEca.avgFoCons||"--"),1),e.createElementVNode("td",null,e.toDisplayString(c.allWx.outEca.avgFoCons||"--"),1),e.createElementVNode("td",null,e.toDisplayString(c.allWx.inEca.avgFoCons||"--"),1)]),e.createElementVNode("tr",null,[r_,e.createElementVNode("td",m_,e.toDisplayString(c.goodWx.outEca.sumDgoCons||"--"),1),e.createElementVNode("td",h_,e.toDisplayString(c.goodWx.inEca.sumDgoCons||"--"),1),e.createElementVNode("td",null,e.toDisplayString(c.allWx.outEca.sumDgoCons||"--"),1),e.createElementVNode("td",null,e.toDisplayString(c.allWx.inEca.sumDgoCons||"--"),1)]),e.createElementVNode("tr",null,[p_,e.createElementVNode("td",E_,e.toDisplayString(c.goodWx.outEca.avgDgoCons||"--"),1),e.createElementVNode("td",y_,e.toDisplayString(c.goodWx.inEca.avgDgoCons||"--"),1),e.createElementVNode("td",null,e.toDisplayString(c.allWx.outEca.avgDgoCons||"--"),1),e.createElementVNode("td",null,e.toDisplayString(c.allWx.inEca.avgDgoCons||"--"),1)])])]),l.excludedTableData.length?(e.openBlock(),e.createElementBlock("div",__," The exclusion time, distance and amount of consumed fuel have been excluded from the Performance Speed Evaluation. ")):e.createCommentVNode("",!0),c.goodWx.distance?(e.openBlock(),e.createElementBlock("div",N_," Good Weather Performance Speed = Good Weather Average Speed "+e.toDisplayString((ie=(se=o.reportData)==null?void 0:se.weather)!=null&&ie.favorableCur&&c.goodWx.avgCf>0?"":"- Good Weather Current Factor"),1)):(e.openBlock(),e.createElementBlock("div",V_,[e.createTextVNode(" No Charter Party defined good weather was found. "),f_,e.createTextVNode(" All Weather Performance Speed = Average Speed "+e.toDisplayString((re=(ce=o.reportData)==null?void 0:ce.weather)!=null&&re.favorableCur&&c.allWx.avgCf>0?"":"- Current Factor")+" - Weather Factor ",1)])),c.goodWx.distance?(e.openBlock(),e.createElementBlock("div",g_,[D_,x_,(pe=(he=o.reportData)==null?void 0:he.weather)!=null&&pe.favorableCur&&c.goodWx.avgCf>0?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("span",b_,e.toDisplayString(c.goodWx.avgSpd),1)),(de=(Ee=o.reportData)==null?void 0:Ee.weather)!=null&&de.favorableCur&&c.goodWx.avgCf>0?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("span",C_,"-")),(xe=(ye=o.reportData)==null?void 0:ye.weather)!=null&&xe.favorableCur&&c.goodWx.avgCf>0?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("span",S_,e.toDisplayString(`${a.computedPositive(c.goodWx.avgCf)}`),1)),(Ce=(be=o.reportData)==null?void 0:be.weather)!=null&&Ce.favorableCur&&c.goodWx.avgCf>0?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("span",k_,"=")),e.createElementVNode("span",null,e.toDisplayString(c.goodWx.pfmSpd)+" (kts)",1)])):(e.openBlock(),e.createElementBlock("div",A_,[B_,w_,e.createElementVNode("span",null,e.toDisplayString(c.allWx.avgSpd),1),(ke=(Se=o.reportData)==null?void 0:Se.weather)!=null&&ke.favorableCur&&c.allWx.avgCf>0?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("span",T_,"-")),(Be=(Ae=o.reportData)==null?void 0:Ae.weather)!=null&&Be.favorableCur&&c.allWx.avgCf>0?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("span",O_,e.toDisplayString(`${a.computedPositive(c.allWx.avgCf)}`),1)),F_,e.createElementVNode("span",null,e.toDisplayString(`${a.computedPositive(c.allWx.avgWf)}`),1),P_,e.createElementVNode("span",null,e.toDisplayString(c.allWx.pfmSpd)+" (kts)",1)])),c.goodWx.distance?(e.openBlock(),e.createElementBlock("div",{key:5,class:e.normalizeClass(`tr-tips ${a.computedColor(c.goodWx.pfmStatus,"pfm",!1)}`)},[e.createTextVNode(" Good Weather Performance Speed: "+e.toDisplayString(c.goodWx.pfmSpd)+" (kts) ",1),c.goodWx.pfmStatus==="Under"?(e.openBlock(),e.createElementBlock("span",u_,"(Under-performance)")):e.createCommentVNode("",!0),c.goodWx.pfmStatus==="Over"?(e.openBlock(),e.createElementBlock("span",L_,"(Over-performance)")):e.createCommentVNode("",!0)],2)):(e.openBlock(),e.createElementBlock("div",W_,e.toDisplayString(l.noGoodWxDay),1))]),e.createElementVNode("div",H_,[e.createElementVNode("div",M_,[e.createElementVNode("div",G_,[e.createTextVNode(" Time Analysis "),(Pe=(Fe=o.reportData)==null?void 0:Fe.weather)!=null&&Pe.noExtrapolation?(e.openBlock(),e.createElementBlock("span",I_,"( no extrapolation beyond the good weather period ) ")):e.createCommentVNode("",!0)]),e.createElementVNode("div",R_,[e.createTextVNode(" Time Lost: Total Time at Good Weather Performance Speed > Total Time at (CP Speed - "+e.toDisplayString(c.timeConclusion.abt4SpdUnder)+" "+e.toDisplayString(a.computedUnit("speed",c.timeConclusion.spdPercentage))+") ",1),z_,e.createTextVNode(" Time Gained: Total Time at Good Weather Performance Speed < Total Time at (CP Speed + "+e.toDisplayString(c.timeConclusion.abt4SpdOver)+" "+e.toDisplayString(a.computedUnit("speed",c.timeConclusion.spdPercentage))+") ",1),U_,e.createTextVNode(" No Time Lost and Gained: Total Time at (CP Speed + "+e.toDisplayString(c.timeConclusion.abt4SpdOver)+" "+e.toDisplayString(a.computedUnit("speed",c.timeConclusion.spdPercentage))+") ≤ Total Time at Good Weather Performance Speed ≤ Total Time at (CP Speed - "+e.toDisplayString(c.timeConclusion.abt4SpdUnder)+" "+e.toDisplayString(a.computedUnit("speed",c.timeConclusion.spdPercentage))+") ",1),Y_,e.createElementVNode("div",Z_,[Q_,J_,e.createElementVNode("div",K_,[e.createElementVNode("div",null,e.toDisplayString((L=(fe=o.reportData)==null?void 0:fe.weather)!=null&&L.noExtrapolation?"Total Distance At Good Weather":"Total Distance"),1),q_,X_]),j_]),e.createElementVNode("div",$_,[e.createElementVNode("div",v_," Total Time at (CP Speed - "+e.toDisplayString(c.timeConclusion.abt4SpdUnder)+" "+e.toDisplayString(a.computedUnit("speed",c.timeConclusion.spdPercentage))+") ",1),eN,e.createElementVNode("div",tN,[e.createElementVNode("div",null,e.toDisplayString((ue=(_e=o.reportData)==null?void 0:_e.weather)!=null&&ue.noExtrapolation?"Total Distance At Good Weather":"Total Distance"),1),oN,e.createElementVNode("div",null,"CP Speed - "+e.toDisplayString(c.timeConclusion.abt4SpdUnder)+" kts",1)]),lN]),e.createElementVNode("div",aN,[e.createElementVNode("div",nN," Total Time at (CP Speed + "+e.toDisplayString(c.timeConclusion.abt4SpdOver)+" "+e.toDisplayString(a.computedUnit("speed",c.timeConclusion.spdPercentage))+") ",1),sN,e.createElementVNode("div",iN,[e.createElementVNode("div",null,e.toDisplayString((We=(Le=o.reportData)==null?void 0:Le.weather)!=null&&We.noExtrapolation?"Total Distance At Good Weather":"Total Distance"),1),dN,e.createElementVNode("div",null,"CP Speed + "+e.toDisplayString(c.timeConclusion.abt4SpdOver)+" kts",1)]),cN]),rN])]),e.createElementVNode("div",mN,[c.goodWx.distance?(e.openBlock(),e.createElementBlock("div",hN,[e.createElementVNode("div",pN,[EN,yN,e.createElementVNode("div",_N,[e.createElementVNode("div",null,e.toDisplayString((He=(we=o.reportData)==null?void 0:we.weather)!=null&&He.noExtrapolation?c.goodWx.distance:c.allWx.distance),1),NN,e.createElementVNode("div",null,e.toDisplayString(c.goodWx.pfmSpd),1)]),VN,e.createElementVNode("div",fN,e.toDisplayString(c.timeConclusion.timeAtPfmSpd)+" (hrs)",1),gN]),e.createElementVNode("div",DN,[e.createElementVNode("div",xN," Total Time at (CP Speed - "+e.toDisplayString(c.timeConclusion.abt4SpdUnder)+" "+e.toDisplayString(a.computedUnit("speed",c.timeConclusion.spdPercentage))+") ",1),bN,e.createElementVNode("div",CN,[e.createElementVNode("div",null,e.toDisplayString((qe=(Ke=o.reportData)==null?void 0:Ke.weather)!=null&&qe.noExtrapolation?c.goodWx.distance:c.allWx.distance),1),SN,e.createElementVNode("div",null,e.toDisplayString(c.timeConclusion.minusAbtSpd),1)]),kN,e.createElementVNode("div",AN,e.toDisplayString(c.timeConclusion.timeAtMinusAbtSpd)+" (hrs)",1),BN]),e.createElementVNode("div",wN,[e.createElementVNode("div",TN," Total Time at (CP Speed + "+e.toDisplayString(c.timeConclusion.abt4SpdOver)+" "+e.toDisplayString(a.computedUnit("speed",c.timeConclusion.spdPercentage))+") ",1),ON,e.createElementVNode("div",FN,[e.createElementVNode("div",null,e.toDisplayString((Oe=(U=o.reportData)==null?void 0:U.weather)!=null&&Oe.noExtrapolation?c.goodWx.distance:c.allWx.distance),1),PN,e.createElementVNode("div",null,e.toDisplayString(c.timeConclusion.plusAbtSpd),1)]),uN,e.createElementVNode("div",LN,e.toDisplayString(c.timeConclusion.timeAtPlusAbtSpd)+" (hrs)",1),WN]),e.createElementVNode("div",null,[c.timeConclusion.conclusionStatus!=="No"?(e.openBlock(),e.createElementBlock("span",{key:0,class:e.normalizeClass(`equation-tips ${a.computedColor(c.timeConclusion.conclusionStatus,"time",!0)}`)},[e.createElementVNode("span",null,e.toDisplayString(c.timeConclusion.conclusionStatus==="Lost"?"Time Lost":"Time Gained"),1),HN,e.createElementVNode("span",null,e.toDisplayString(c.timeConclusion.conclusionStatus==="Lost"?"(a') - (b')":"(c') - (a')"),1),MN,e.createElementVNode("span",null,e.toDisplayString(c.timeConclusion.conclusionStatus==="Lost"?c.timeConclusion.timeAtPfmSpd:c.timeConclusion.timeAtPlusAbtSpd)+" - "+e.toDisplayString(c.timeConclusion.conclusionStatus==="Lost"?c.timeConclusion.timeAtMinusAbtSpd:c.timeConclusion.timeAtPfmSpd),1),GN,e.createElementVNode("span",null,e.toDisplayString(c.timeConclusion.conclusionStatus==="Lost"?c.timeConclusion.timeLost:c.timeConclusion.timeGain)+" (hrs)",1)],2)):e.createCommentVNode("",!0)])])):e.createCommentVNode("",!0),c.goodWx.distance?(e.openBlock(),e.createElementBlock("div",{key:1,class:e.normalizeClass(`tr-tips ${a.computedColor(c.timeConclusion.conclusionStatus,"time",!1)} `)}," Conclusion :  "+e.toDisplayString(((ze=c.timeConclusion)==null?void 0:ze.conclusion)||""),3)):(e.openBlock(),e.createElementBlock("div",{key:2,class:"tr-tips tips-color",style:{margin:"15px 0"},innerHTML:l.noGoodWxDay},null,8,IN))]),e.createElementVNode("div",RN,[e.createElementVNode("div",zN,[e.createTextVNode(" Consumption Analysis "),(Ye=(Ue=o.reportData)==null?void 0:Ue.weather)!=null&&Ye.noExtrapolation?(e.openBlock(),e.createElementBlock("span",UN,"( no extrapolation beyond the good weather period ) ")):e.createCommentVNode("",!0)]),e.createElementVNode("div",null,[e.createElementVNode("div",YN,[e.createTextVNode(" Fuel Over-consumption: Entire Voyage Consumption using Good Weather Consumption > Max CP Consumption "),ZN,e.createTextVNode(" Fuel Saving: Entire Voyage Consumption using Good Weather Consumption < Min CP Consumption "),QN,e.createTextVNode(" No Fuel Over-consumption or Saving: Min CP Consumption ≤ Entire Voyage Consumption using Good Weather Consumption ≤ Max CP Consumption "),JN,e.createElementVNode("div",KN,[qN,XN,e.createElementVNode("div",jN,[e.createElementVNode("div",null,e.toDisplayString((Qe=(Ze=o.reportData)==null?void 0:Ze.weather)!=null&&Qe.noExtrapolation?"Total Distance At Good Weather":"Total Distance"),1),$N,vN]),eV,tV,oV]),e.createElementVNode("div",lV,[aV,((y=(Je=c.extend)==null?void 0:Je.cp)==null?void 0:y.dgo)>0?(e.openBlock(),e.createElementBlock("div",nV,"* For DO/GO: Good Weather DO/GO Cons. - Good Weather M/E DO/GO Cons. in ECA")):e.createCommentVNode("",!0)]),e.createElementVNode("div",sV,[iV,dV,e.createElementVNode("div",cV,[e.createElementVNode("div",null,e.toDisplayString((ge=(Q=o.reportData)==null?void 0:Q.weather)!=null&&ge.noExtrapolation?"Total Distance At Good Weather":"Total Distance"),1),rV,e.createElementVNode("div",null,"CP Speed - "+e.toDisplayString(c.timeConclusion.abt4SpdUnder)+" "+e.toDisplayString(a.computedUnit("speed",c.timeConclusion.spdPercentage)),1)]),mV,hV,pV]),e.createElementVNode("div",EV,[yV,_V,e.createElementVNode("div",NV,[e.createElementVNode("div",null,e.toDisplayString((Me=(Te=o.reportData)==null?void 0:Te.weather)!=null&&Me.noExtrapolation?"Total Distance At Good Weather":"Total Distance"),1),VV,e.createElementVNode("div",null,"CP Speed - "+e.toDisplayString(c.timeConclusion.abt4SpdUnder)+" "+e.toDisplayString(a.computedUnit("speed",c.timeConclusion.spdPercentage)),1)]),fV,gV,DV]),xV,((Xe=(me=c.extend)==null?void 0:me.cp)==null?void 0:Xe.dgo)>0?(e.openBlock(),e.createElementBlock("div",bV,[CV,SV,e.createElementVNode("div",kV,[AV,BV,e.createElementVNode("div",null,e.toDisplayString((ve=($e=o.reportData)==null?void 0:$e.weather)!=null&&ve.noExtrapolation?"Total Distance At Good Weather":"Total Distance"),1)])])):e.createCommentVNode("",!0),((lt=(ot=c.extend)==null?void 0:ot.cp)==null?void 0:lt.dgo)>0?(e.openBlock(),e.createElementBlock("div",wV,[TV,OV,e.createElementVNode("div",FV,[PV,uV,e.createElementVNode("div",null,e.toDisplayString((nt=(at=o.reportData)==null?void 0:at.weather)!=null&&nt.noExtrapolation?"Total Distance At Good Weather":"Total Distance"),1)])])):e.createCommentVNode("",!0)])])]),e.createElementVNode("div",LV,[WV,c.goodWx.distance?(e.openBlock(),e.createElementBlock("div",HV,[e.createElementVNode("div",MV,[GV,IV,e.createElementVNode("div",RV,[e.createElementVNode("div",null,e.toDisplayString((ht=(mt=o.reportData)==null?void 0:mt.weather)!=null&&ht.noExtrapolation?c.goodWx.distance:c.allWx.distance),1),zV,e.createElementVNode("div",null,e.toDisplayString(c.goodWx.pfmSpd),1)]),UV,e.createElementVNode("div",YV,[e.createElementVNode("div",null,e.toDisplayString(c.goodWx.sumFoCons)+" "+e.toDisplayString(c.allWx.inEca.distance>0?` + ${c.fuelConclusion.fo.dgoAsFoCons}`:""),1),ZV,e.createElementVNode("div",null,e.toDisplayString(c.goodWx.time),1)]),QV,e.createElementVNode("div",JV,e.toDisplayString(c.fuelConclusion.fo.entireCons)+" (mt)",1),KV]),e.createElementVNode("div",qV,[XV,jV,e.createElementVNode("div",$V,[e.createElementVNode("div",null,e.toDisplayString((Et=(pt=o.reportData)==null?void 0:pt.weather)!=null&&Et.noExtrapolation?c.goodWx.distance:c.allWx.distance),1),vV,e.createElementVNode("div",null,e.toDisplayString(c.timeConclusion.minusAbtSpd),1)]),ef,e.createElementVNode("div",tf,[e.createElementVNode("div",null,e.toDisplayString(c.fuelConclusion.fo.overTolerance),1),of,lf]),af,e.createElementVNode("div",nf,e.toDisplayString(c.fuelConclusion.fo.maxCons)+" (mt)",1),sf]),e.createElementVNode("div",df,[cf,rf,e.createElementVNode("div",mf,[e.createElementVNode("div",null,e.toDisplayString((_t=(yt=o.reportData)==null?void 0:yt.weather)!=null&&_t.noExtrapolation?c.goodWx.distance:c.allWx.distance),1),hf,e.createElementVNode("div",null,e.toDisplayString(c.timeConclusion.minusAbtSpd),1)]),pf,e.createElementVNode("div",Ef,[e.createElementVNode("div",null,e.toDisplayString(c.fuelConclusion.fo.underTolerance),1),yf,_f]),Nf,e.createElementVNode("div",Vf,e.toDisplayString(c.fuelConclusion.fo.minCons)+" (mt)",1),ff]),e.createElementVNode("div",null,[c.fuelConclusion.fo.conclusionStatus!=="No"?(e.openBlock(),e.createElementBlock("span",{key:0,class:e.normalizeClass(`equation-tips ${a.computedColor(c.fuelConclusion.fo.conclusionStatus,"fuel",!0)}`)},[e.createElementVNode("span",null,e.toDisplayString(c.fuelConclusion.fo.conclusionStatus==="Over"?"Fuel Oil Over-consumption":"Fuel Oil Under-consumption"),1),gf,e.createElementVNode("span",null,e.toDisplayString(c.fuelConclusion.fo.conclusionStatus==="Over"?"(d') - (e')":"(f') - (d')"),1),Df,e.createElementVNode("span",null,e.toDisplayString(c.fuelConclusion.fo.conclusionStatus==="Over"?c.fuelConclusion.fo.entireCons:c.fuelConclusion.fo.minCons)+" - "+e.toDisplayString(c.fuelConclusion.fo.conclusionStatus==="Over"?c.fuelConclusion.fo.maxCons:c.fuelConclusion.fo.entireCons),1),xf,e.createElementVNode("span",null,e.toDisplayString(c.fuelConclusion.fo.conclusionStatus==="Over"?c.fuelConclusion.fo.overCons:c.fuelConclusion.fo.saving)+" (mt)",1)],2)):e.createCommentVNode("",!0)]),c.allWx.inEca.distance&&c.fuelConclusion.fo.conclusionStatus!=="No"?(e.openBlock(),e.createElementBlock("div",bf,[c.fuelConclusion.fo.conclusionStatus==="Over"?(e.openBlock(),e.createElementBlock("div",Cf,[Sf,kf,e.createElementVNode("div",Af,[e.createElementVNode("div",null,e.toDisplayString(c.goodWx.inEca.distance)+" × "+e.toDisplayString(c.fuelConclusion.fo.overCons),1),Bf,e.createElementVNode("div",null,e.toDisplayString((Vt=(Nt=o.reportData)==null?void 0:Nt.weather)!=null&&Vt.noExtrapolation?c.goodWx.distance:c.allWx.distance),1)]),wf,e.createElementVNode("div",Tf,e.toDisplayString(c.fuelConclusion.fo.foOverConsInEca)+" (mt)",1)])):(e.openBlock(),e.createElementBlock("div",Of,[Ff,Pf,e.createElementVNode("div",uf,[e.createElementVNode("div",null,e.toDisplayString((gt=(ft=o.reportData)==null?void 0:ft.weather)!=null&&gt.noExtrapolation?c.goodWx.inEca.distance:c.allWx.inEca.distance)+" × "+e.toDisplayString(c.fuelConclusion.fo.saving),1),Lf,e.createElementVNode("div",null,e.toDisplayString((xt=(Dt=o.reportData)==null?void 0:Dt.weather)!=null&&xt.noExtrapolation?c.goodWx.distance:c.allWx.distance),1)]),Wf,e.createElementVNode("div",Hf,e.toDisplayString(c.fuelConclusion.fo.foSavingInEca)+" (mt)",1)]))])):e.createCommentVNode("",!0)])):e.createCommentVNode("",!0),c.goodWx.distance?(e.openBlock(),e.createElementBlock("div",{key:1,class:e.normalizeClass(`tr-tips ${a.computedColor(c.fuelConclusion.fo.conclusionStatus,"fuel",!1)} `)}," Conclusion: "+e.toDisplayString(c.fuelConclusion.fo.conclusion),3)):(e.openBlock(),e.createElementBlock("div",{key:2,class:"tr-tips tips-color",innerHTML:l.noGoodWxDay},null,8,Mf))]),e.createElementVNode("div",Gf,[((Ct=(bt=c.extend)==null?void 0:bt.cp)==null?void 0:Ct.dgo)>0?(e.openBlock(),e.createElementBlock("div",If,[Rf,c.goodWx.distance?(e.openBlock(),e.createElementBlock("div",zf,[e.createElementVNode("div",Uf,[Yf,Zf,e.createElementVNode("div",Qf,[e.createElementVNode("div",null,e.toDisplayString((kt=(St=o.reportData)==null?void 0:St.weather)!=null&&kt.noExtrapolation?c.goodWx.distance:c.allWx.distance),1),Jf,e.createElementVNode("div",null,e.toDisplayString(c.goodWx.pfmSpd),1)]),Kf,e.createElementVNode("div",qf,[e.createElementVNode("div",null,e.toDisplayString(c.goodWx.sumDgoCons)+" "+e.toDisplayString(c.allWx.inEca.distance>0?` - ${c.fuelConclusion.fo.dgoAsFoCons}`:""),1),Xf,e.createElementVNode("div",null,e.toDisplayString(c.goodWx.time),1)]),jf,e.createElementVNode("div",$f,e.toDisplayString(c.fuelConclusion.dgo.entireCons)+" (mt)",1),vf]),e.createElementVNode("div",eg,[tg,og,e.createElementVNode("div",lg,[e.createElementVNode("div",null,e.toDisplayString((Bt=(At=o.reportData)==null?void 0:At.weather)!=null&&Bt.noExtrapolation?c.goodWx.distance:c.allWx.distance),1),ag,e.createElementVNode("div",null,e.toDisplayString(c.timeConclusion.minusAbtSpd),1)]),ng,e.createElementVNode("div",sg,[e.createElementVNode("div",null,e.toDisplayString(c.fuelConclusion.dgo.overTolerance),1),ig,dg]),cg,e.createElementVNode("div",rg,e.toDisplayString(c.fuelConclusion.dgo.maxCons)+" (mt)",1),mg]),e.createElementVNode("div",hg,[pg,Eg,e.createElementVNode("div",yg,[e.createElementVNode("div",null,e.toDisplayString((Tt=(wt=o.reportData)==null?void 0:wt.weather)!=null&&Tt.noExtrapolation?c.goodWx.distance:c.allWx.distance),1),_g,e.createElementVNode("div",null,e.toDisplayString(c.timeConclusion.minusAbtSpd),1)]),Ng,e.createElementVNode("div",Vg,[e.createElementVNode("div",null,e.toDisplayString(c.fuelConclusion.dgo.underTolerance),1),fg,gg]),Dg,e.createElementVNode("div",xg,e.toDisplayString(c.fuelConclusion.dgo.minCons)+" (mt)",1),bg]),e.createElementVNode("div",null,[c.fuelConclusion.dgo.conclusionStatus!=="No"?(e.openBlock(),e.createElementBlock("span",{key:0,class:e.normalizeClass(`equation-tips ${a.computedColor(c.fuelConclusion.dgo.conclusionStatus,"fuel",!0)}`)},[e.createElementVNode("span",null,e.toDisplayString(c.fuelConclusion.dgo.conclusionStatus==="Over"?"Diesel/Gas Oil Over-consumption":"Diesel/Gas Oil Under-consumption"),1),Cg,e.createElementVNode("span",null,e.toDisplayString(c.fuelConclusion.dgo.conclusionStatus==="Over"?"(d'') - (e'')":"(f'') - (d'')"),1),Sg,e.createElementVNode("span",null,e.toDisplayString(c.fuelConclusion.dgo.conclusionStatus==="Over"?c.fuelConclusion.dgo.entireCons:c.fuelConclusion.dgo.minCons)+" - "+e.toDisplayString(c.fuelConclusion.dgo.conclusionStatus==="Over"?c.fuelConclusion.dgo.maxCons:c.fuelConclusion.dgo.entireCons),1),kg,e.createElementVNode("span",null,e.toDisplayString(c.fuelConclusion.dgo.conclusionStatus==="Over"?c.fuelConclusion.dgo.overCons:c.fuelConclusion.dgo.saving)+" (mt)",1)],2)):e.createCommentVNode("",!0)])])):e.createCommentVNode("",!0),c.goodWx.distance?(e.openBlock(),e.createElementBlock("div",{key:1,class:e.normalizeClass(`tr-tips ${a.computedColor(c.fuelConclusion.dgo.conclusionStatus,"fuel",!1)}`)}," Conclusion: "+e.toDisplayString(c.fuelConclusion.dgo.conclusion),3)):(e.openBlock(),e.createElementBlock("div",{key:2,class:"tr-tips color-normal",innerHTML:l.noGoodWxDay},null,8,Ag))])):e.createCommentVNode("",!0)])])])}),128))])],2)}const wg=De(uE,[["render",Bg],["__scopeId","data-v-6f2b44b1"]]),Wee="",Tg={props:{reportData:{type:Object,default:()=>({})},isAdmin:{type:Boolean,default:()=>!1}},data(){return{date:"",showCF:!1,showAisDistance:!0,showSig:!0,showSwell:!0,showWave:!0,summaryTable:[],typeList:[]}},computed:{computeRoundPrecision(){return function(t,n=2){return t==="--"?"--":v.roundPrecision(t,n)}},computeColspan(){let t=11;return this.showCF||(t=t-2),this.showAisDistance||(t=t-2),this.showWave||(t=t-1),this.showSwell||(t=t-2),this.showSig||(t=t-1),t},computedClass(){return function(t,n,o){let d="";return n&&(d=t.abbreviation==="A"||t.abbreviation==="B"?"td-no-bottom":""),t.goodWx===!0&&!o&&(d=d+" good-weather"),t.excluded===!0&&!o&&(d=d+" excluded"),d}},computedPort(){return function(t){return!((t.abbreviation==="E"||t.abbreviation==="B")&&t.noon&&t.noon.port)}},computedTime(){return function(t,n){return n==="subtitle"?T(t).utc().format("MMMM-DD, YYYY/HHmm [Z]"):n==="table"?T(t).utc().format("MMMM-DD/HHmm[Z]"):T(t).utc().format("dddd, MMMM D, YYYY")}}},mounted(){},watch:{reportData:{handler(t){t!=null&&t.id&&this.$nextTick(()=>{this.checkData()})},immediate:!0}},methods:{getLonLat(t){return`${t.degree}°${v.roundPrecision(t.minute,1)}′${t.direction}`},checkData(){var o,d,l,a,p,i,E,b,S,_,N,D;this.showCF=((d=(o=this.reportData)==null?void 0:o.weather)==null?void 0:d.showCF)??!1,this.showAisDistance=((a=(l=this.reportData)==null?void 0:l.weather)==null?void 0:a.showAisDistance)??!0,this.showSig=((i=(p=this.reportData)==null?void 0:p.weather)==null?void 0:i.showSig)??!0,this.showSwell=((b=(E=this.reportData)==null?void 0:E.weather)==null?void 0:b.showSwell)??!0,this.showWave=((_=(S=this.reportData)==null?void 0:S.weather)==null?void 0:_.showWave)??!0;let t=[];(D=(N=this.reportData)==null?void 0:N.segments)==null||D.forEach(r=>{let C=r.extend.cp;r.inventory.sample.hours.forEach(k=>{let O=JSON.parse(JSON.stringify(k));O.cp=C,t.push(O)})}),t.sort(function(r,C){let k=r.date,O=C.date;return k-O});let n="";t.forEach(r=>{r.seg!==n&&(r.isFirstSeg=!0,n=r.seg);let C=r.type.charAt(0);r.abbreviation=C,C==="M"?C="*":C==="A"&&(C=""),r.dateTime=C+" "+T(r.utc).utc().format("MM/DD HHmm[Z]"),r.lngPretty=this.getLonLat(v.LngLatHelper.lng2pretty(r.lng)),r.latPretty=this.getLonLat(v.LngLatHelper.lat2pretty(r.lat))}),this.summaryTable=t}}},Ne=t=>(e.pushScopeId("data-v-9fe5beca"),t=t(),e.popScopeId(),t),Og={class:"table",id:"second-table"},Fg=Ne(()=>e.createElementVNode("div",{class:"table-title"},"Speed and Consumption with Weather Analysis",-1)),Pg={class:"subtitle"},ug={class:"introduce"},Lg={class:"introduce-ship"},Wg={style:{"margin-bottom":"15px"}},Hg=Ne(()=>e.createElementVNode("thead",null,[e.createElementVNode("tr",null,[e.createElementVNode("th",{rowspan:"2"},"Seg."),e.createElementVNode("th",{rowspan:"2"},"Periods"),e.createElementVNode("th",{rowspan:"2"},[e.createTextVNode(" Distance "),e.createElementVNode("br"),e.createTextVNode(" (nm) ")]),e.createElementVNode("th",{rowspan:"2"},[e.createTextVNode(" Time "),e.createElementVNode("br"),e.createTextVNode(" (hrs) ")]),e.createElementVNode("th",{rowspan:"2"},[e.createTextVNode("Average Speed "),e.createElementVNode("br"),e.createTextVNode("(kts)")]),e.createElementVNode("th",{colspan:"2"},"Total Consumption (mt)")]),e.createElementVNode("tr",null,[e.createElementVNode("th",null,"FO"),e.createElementVNode("th",null,"DO/GO")])],-1)),Mg={rowspan:"4"},Gg=Ne(()=>e.createElementVNode("td",null,"Entire Period",-1)),Ig=Ne(()=>e.createElementVNode("td",null,"Good weather period",-1)),Rg=Ne(()=>e.createElementVNode("td",null,"Adverse weather period",-1)),zg=Ne(()=>e.createElementVNode("td",null,"Excluded period",-1)),Ug=e.createStaticVNode('<div class="table-legend" data-v-9fe5beca><div style="background-color:var(--goodWx-bg-color);" class="legend" data-v-9fe5beca></div><div style="transform:scale(0.85);" data-v-9fe5beca>Charter Party defined Good Weather Days</div><div style="background-color:var(--table-bg-color);" class="legend" data-v-9fe5beca></div><div style="transform:scale(0.85);" data-v-9fe5beca>Charter Party defined Adverse Weather Days</div><div style="background-color:var(--exclude-bg-color);" class="legend" data-v-9fe5beca></div><div style="transform:scale(0.85);" data-v-9fe5beca>Excluded periods from analysis</div><div style="transform:scale(0.85);" data-v-9fe5beca>B : BOSP report   N : NOON report   E : EOSP report   * : Ship reported position</div></div>',1),Yg={class:"summary-table"},Zg=Ne(()=>e.createElementVNode("th",{rowspan:"3"},"Seg",-1)),Qg=Ne(()=>e.createElementVNode("th",{rowspan:"3"},"    Date    ",-1)),Jg=Ne(()=>e.createElementVNode("th",{colspan:"2"},"Position",-1)),Kg=Ne(()=>e.createElementVNode("th",{colspan:"3"},"CP",-1)),qg=["colspan"],Xg={key:0,colspan:"2"},jg=Ne(()=>e.createElementVNode("th",{colspan:"12"},"Vessel Noon Reported",-1)),$g=Ne(()=>e.createElementVNode("th",{rowspan:"3"},"In ECA",-1)),vg=Ne(()=>e.createElementVNode("th",{rowspan:"2"},"Lat",-1)),e2=Ne(()=>e.createElementVNode("th",{rowspan:"2"},"Lon",-1)),t2=Ne(()=>e.createElementVNode("th",{rowspan:"2"},[e.createTextVNode("Spd "),e.createElementVNode("br"),e.createTextVNode("(kts)")],-1)),o2=Ne(()=>e.createElementVNode("th",{colspan:"2"},"Daily Cons.(mt)",-1)),l2={key:0,rowspan:"2"},a2=Ne(()=>e.createElementVNode("br",null,null,-1)),n2={key:1,rowspan:"2"},s2=Ne(()=>e.createElementVNode("br",null,null,-1)),i2=Ne(()=>e.createElementVNode("th",{colspan:"2"},"Wind",-1)),d2={key:2,rowspan:"2"},c2=Ne(()=>e.createElementVNode("br",null,null,-1)),r2={key:3,colspan:"2"},m2={key:4,rowspan:"2"},h2=Ne(()=>e.createElementVNode("br",null,null,-1)),p2={key:5,colspan:"2"},E2=Ne(()=>e.createElementVNode("th",{rowspan:"2"},[e.createTextVNode("Avg. CF"),e.createElementVNode("br"),e.createTextVNode("(kts)")],-1)),y2={key:6,rowspan:"2"},_2={key:7,rowspan:"2"},N2=Ne(()=>e.createElementVNode("th",{rowspan:"2"},[e.createTextVNode("Spd"),e.createElementVNode("br"),e.createTextVNode("(kts)")],-1)),V2=Ne(()=>e.createElementVNode("th",{rowspan:"2"},[e.createTextVNode("Time"),e.createElementVNode("br"),e.createTextVNode("(h)")],-1)),f2=Ne(()=>e.createElementVNode("th",{rowspan:"2"},[e.createTextVNode("Dis"),e.createElementVNode("br"),e.createTextVNode("(nm)")],-1)),g2=Ne(()=>e.createElementVNode("th",{colspan:"2"},"Engine",-1)),D2=Ne(()=>e.createElementVNode("th",{colspan:"2"},"BROB(mt)",-1)),x2=Ne(()=>e.createElementVNode("th",{colspan:"2"},"DailyCons(mt)",-1)),b2=Ne(()=>e.createElementVNode("th",{colspan:"2"},"Wind",-1)),C2=Ne(()=>e.createElementVNode("th",{rowspan:"2"},[e.createTextVNode("Sea HT"),e.createElementVNode("br"),e.createTextVNode("(m)")],-1)),S2=Ne(()=>e.createElementVNode("th",null,"FO",-1)),k2=Ne(()=>e.createElementVNode("th",null,"DO/GO",-1)),A2=Ne(()=>e.createElementVNode("th",null,"Dir",-1)),B2=Ne(()=>e.createElementVNode("th",null,"BF",-1)),w2={key:0},T2={key:1},O2={key:2},F2={key:3},P2=Ne(()=>e.createElementVNode("th",null,"RPM",-1)),u2=Ne(()=>e.createElementVNode("th",null,"Slip%",-1)),L2=Ne(()=>e.createElementVNode("th",null,"FO",-1)),W2=Ne(()=>e.createElementVNode("th",null,"DO/GO",-1)),H2=Ne(()=>e.createElementVNode("th",null,"FO",-1)),M2=Ne(()=>e.createElementVNode("th",null,"DO/GO",-1)),G2=Ne(()=>e.createElementVNode("th",null,"Dir",-1)),I2=Ne(()=>e.createElementVNode("th",null,"BF",-1)),R2={class:"summary-tbody"};function z2(t,n,o,d,l,a){var p,i,E,b,S,_,N,D;return e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass((i=(p=o.reportData)==null?void 0:p.weather)!=null&&i.referenceOnly||(b=(E=o.reportData)==null?void 0:E.weather)!=null&&b.overallAsGoodWx?"watermark voyage-main":"voyage-main")},[e.createElementVNode("div",Og,[Fg,e.createElementVNode("div",Pg,e.toDisplayString(a.computedTime((S=o.reportData)==null?void 0:S.createdAt)),1),e.createElementVNode("div",ug,[e.createElementVNode("div",Lg,[e.createElementVNode("span",null,e.toDisplayString((N=(_=o.reportData)==null?void 0:_.vessel)==null?void 0:N.name),1)])]),e.createElementVNode("div",Wg,[e.createElementVNode("table",null,[Hg,e.createElementVNode("tbody",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList((D=o.reportData)==null?void 0:D.segments,(r,C)=>(e.openBlock(),e.createElementBlock(e.Fragment,{key:C},[e.createElementVNode("tr",null,[e.createElementVNode("td",Mg,e.toDisplayString(C+1),1),Gg,e.createElementVNode("td",null,e.toDisplayString(r.allWx.distance?a.computeRoundPrecision(r.allWx.distance,1):"0.0"),1),e.createElementVNode("td",null,e.toDisplayString(r.allWx.time?a.computeRoundPrecision(r.allWx.time,1):"0.0"),1),e.createElementVNode("td",null,e.toDisplayString(r.allWx.avgSpd?a.computeRoundPrecision(r.allWx.avgSpd,2):"0.00"),1),e.createElementVNode("td",null,e.toDisplayString(r.allWx.sumFoCons?a.computeRoundPrecision(r.allWx.sumFoCons,3):"0.000"),1),e.createElementVNode("td",null,e.toDisplayString(r.allWx.sumDgoCons?a.computeRoundPrecision(r.allWx.sumDgoCons,3):"0.000"),1)]),e.createElementVNode("tr",null,[Ig,e.createElementVNode("td",null,e.toDisplayString(r.goodWx.distance?a.computeRoundPrecision(r.goodWx.distance,1):"0.0"),1),e.createElementVNode("td",null,e.toDisplayString(r.goodWx.time?a.computeRoundPrecision(r.goodWx.time,1):"0.0"),1),e.createElementVNode("td",null,e.toDisplayString(r.goodWx.avgSpd?a.computeRoundPrecision(r.goodWx.avgSpd,2):"0.00"),1),e.createElementVNode("td",null,e.toDisplayString(r.goodWx.sumFoCons?a.computeRoundPrecision(r.goodWx.sumFoCons,3):"0.000"),1),e.createElementVNode("td",null,e.toDisplayString(r.goodWx.sumDgoCons?a.computeRoundPrecision(r.goodWx.sumDgoCons,3):"0.000"),1)]),e.createElementVNode("tr",null,[Rg,e.createElementVNode("td",null,e.toDisplayString(r.badWx.distance?a.computeRoundPrecision(r.badWx.distance,1):"0.0"),1),e.createElementVNode("td",null,e.toDisplayString(r.badWx.time?a.computeRoundPrecision(r.badWx.time,1):"0.0"),1),e.createElementVNode("td",null,e.toDisplayString(r.badWx.avgSpd?a.computeRoundPrecision(r.badWx.avgSpd,2):"0.00"),1),e.createElementVNode("td",null,e.toDisplayString(r.badWx.sumFoCons?a.computeRoundPrecision(r.badWx.sumFoCons,3):"0.000"),1),e.createElementVNode("td",null,e.toDisplayString(r.badWx.sumDgoCons?a.computeRoundPrecision(r.badWx.sumDgoCons,3):"0.000"),1)]),e.createElementVNode("tr",null,[zg,e.createElementVNode("td",null,e.toDisplayString(r.excluded.sumDistance?a.computeRoundPrecision(r.excluded.sumDistance,1):"0.0"),1),e.createElementVNode("td",null,e.toDisplayString(r.excluded.sumDuration?a.computeRoundPrecision(r.excluded.sumDuration,1):"0.0"),1),e.createElementVNode("td",null,e.toDisplayString(r.excluded.avgSpd?a.computeRoundPrecision(r.excluded.avgSpd,2):"0.00"),1),e.createElementVNode("td",null,e.toDisplayString(r.excluded.sumFoCons?a.computeRoundPrecision(r.excluded.sumFoCons,3):"0.000"),1),e.createElementVNode("td",null,e.toDisplayString(r.excluded.sumDgoCons?a.computeRoundPrecision(r.excluded.sumDgoCons,3):"0.000"),1)])],64))),128))])])]),Ug,e.createElementVNode("div",null,[e.createElementVNode("table",Yg,[e.createElementVNode("thead",null,[e.createElementVNode("tr",null,[Zg,Qg,Jg,Kg,e.createElementVNode("th",{colspan:a.computeColspan},"Weather Analysis",8,qg),o.isAdmin?(e.openBlock(),e.createElementBlock("th",Xg,"meteo")):e.createCommentVNode("",!0),jg,$g]),e.createElementVNode("tr",null,[vg,e2,t2,o2,l.showAisDistance?(e.openBlock(),e.createElementBlock("th",l2,[e.createTextVNode("Spd"),a2,e.createTextVNode("(kts)")])):e.createCommentVNode("",!0),l.showAisDistance?(e.openBlock(),e.createElementBlock("th",n2,[e.createTextVNode("Dis"),s2,e.createTextVNode("(nm)")])):e.createCommentVNode("",!0),i2,l.showWave?(e.openBlock(),e.createElementBlock("th",d2,[e.createTextVNode("Sea HT"),c2,e.createTextVNode("(m)")])):e.createCommentVNode("",!0),l.showSwell?(e.openBlock(),e.createElementBlock("th",r2,"Swell")):e.createCommentVNode("",!0),l.showSig?(e.openBlock(),e.createElementBlock("th",m2,[e.createTextVNode("Sig Wave"),h2,e.createTextVNode("(m)")])):e.createCommentVNode("",!0),l.showCF?(e.openBlock(),e.createElementBlock("th",p2,"Current")):e.createCommentVNode("",!0),E2,o.isAdmin?(e.openBlock(),e.createElementBlock("th",y2,"cFactor")):e.createCommentVNode("",!0),o.isAdmin?(e.openBlock(),e.createElementBlock("th",_2,"wxFactor")):e.createCommentVNode("",!0),N2,V2,f2,g2,D2,x2,b2,C2]),e.createElementVNode("tr",null,[S2,k2,A2,B2,l.showSwell?(e.openBlock(),e.createElementBlock("th",w2,"Dir")):e.createCommentVNode("",!0),l.showSwell?(e.openBlock(),e.createElementBlock("th",T2,"HT(m)")):e.createCommentVNode("",!0),l.showCF?(e.openBlock(),e.createElementBlock("th",O2,"Dir")):e.createCommentVNode("",!0),l.showCF?(e.openBlock(),e.createElementBlock("th",F2,"CF(kts)")):e.createCommentVNode("",!0),P2,u2,L2,W2,H2,M2,G2,I2])]),e.createElementVNode("tbody",R2,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(l.summaryTable,(r,C)=>{var k,O,P,F,w,x,u,R,Z,z,W,f,Y,G,H,K,q,j,X,V,M,J;return e.openBlock(),e.createElementBlock("tr",{key:C},[e.createElementVNode("td",{class:e.normalizeClass(r.isFirstSeg?"td-no-bottom td-top":(k=l.summaryTable[C+1])!=null&&k.isFirstSeg?"td-bottom":"td-no-bottom")},e.toDisplayString(r.isFirstSeg?r.seg:""),3),e.createElementVNode("td",{class:e.normalizeClass(a.computedClass(r))},e.toDisplayString(r.dateTime),3),a.computedPort(r)?(e.openBlock(),e.createElementBlock("td",{key:0,class:e.normalizeClass(a.computedClass(r))},e.toDisplayString(r.latPretty),3)):e.createCommentVNode("",!0),a.computedPort(r)?(e.openBlock(),e.createElementBlock("td",{key:1,class:e.normalizeClass(a.computedClass(r))},e.toDisplayString(r.lngPretty),3)):(e.openBlock(),e.createElementBlock("td",{key:2,colspan:"2",class:e.normalizeClass(a.computedClass(r))},e.toDisplayString(r.noon.port),3)),e.createElementVNode("td",{class:e.normalizeClass(a.computedClass(r,!0,!0))},e.toDisplayString(r.abbreviation==="A"||r.abbreviation==="B"?"":a.computeRoundPrecision(r.cp.speed)),3),e.createElementVNode("td",{class:e.normalizeClass(a.computedClass(r,!0,!0))},e.toDisplayString(r.abbreviation==="A"||r.abbreviation==="B"?"":a.computeRoundPrecision(r.cp.fo)),3),e.createElementVNode("td",{class:e.normalizeClass(a.computedClass(r,!0,!0))},e.toDisplayString(r.abbreviation==="A"||r.abbreviation==="B"?"":a.computeRoundPrecision(r.cp.dgo)),3),l.showAisDistance?(e.openBlock(),e.createElementBlock("td",{key:3,class:e.normalizeClass(a.computedClass(r,!0))},e.toDisplayString(a.computeRoundPrecision(r.avgSpdCalc)),3)):e.createCommentVNode("",!0),l.showAisDistance?(e.openBlock(),e.createElementBlock("td",{key:4,class:e.normalizeClass(a.computedClass(r,!0))},e.toDisplayString(a.computeRoundPrecision(r.distanceCalc)),3)):e.createCommentVNode("",!0),e.createElementVNode("td",{class:e.normalizeClass(a.computedClass(r))},e.toDisplayString(((P=(O=r.meteo)==null?void 0:O.wind)==null?void 0:P.direction)??"--"),3),e.createElementVNode("td",{class:e.normalizeClass(a.computedClass(r))},e.toDisplayString(((w=(F=r.meteo)==null?void 0:F.wind)==null?void 0:w.scale)??"--"),3),l.showWave?(e.openBlock(),e.createElementBlock("td",{key:5,class:e.normalizeClass(a.computedClass(r))},e.toDisplayString(a.computeRoundPrecision(((R=(u=(x=r.meteo)==null?void 0:x.wave)==null?void 0:u.wd)==null?void 0:R.height)??"--")),3)):e.createCommentVNode("",!0),l.showSwell?(e.openBlock(),e.createElementBlock("td",{key:6,class:e.normalizeClass(a.computedClass(r))},e.toDisplayString(((W=(z=(Z=r.meteo)==null?void 0:Z.wave)==null?void 0:z.swell)==null?void 0:W.direction)??"--"),3)):e.createCommentVNode("",!0),l.showSwell?(e.openBlock(),e.createElementBlock("td",{key:7,class:e.normalizeClass(a.computedClass(r))},e.toDisplayString(a.computeRoundPrecision(((G=(Y=(f=r.meteo)==null?void 0:f.wave)==null?void 0:Y.swell)==null?void 0:G.height)??"--")),3)):e.createCommentVNode("",!0),l.showSig?(e.openBlock(),e.createElementBlock("td",{key:8,class:e.normalizeClass(a.computedClass(r))},e.toDisplayString(a.computeRoundPrecision(((q=(K=(H=r.meteo)==null?void 0:H.wave)==null?void 0:K.sig)==null?void 0:q.height)??"--")),3)):e.createCommentVNode("",!0),l.showCF?(e.openBlock(),e.createElementBlock("td",{key:9,class:e.normalizeClass(a.computedClass(r))},e.toDisplayString(((X=(j=r.meteo)==null?void 0:j.current)==null?void 0:X.direction)??"--"),3)):e.createCommentVNode("",!0),l.showCF?(e.openBlock(),e.createElementBlock("td",{key:10,class:e.normalizeClass(a.computedClass(r))},e.toDisplayString(((V=r.meteo)==null?void 0:V.cFactor)??"--"),3)):e.createCommentVNode("",!0),e.createElementVNode("td",{class:e.normalizeClass(a.computedClass(r,!0))},e.toDisplayString(r.dailyAvgCf),3),o.isAdmin?(e.openBlock(),e.createElementBlock("td",{key:11,class:e.normalizeClass(a.computedClass(r))},e.toDisplayString(((M=r.meteo)==null?void 0:M.cFactor)??"--"),3)):e.createCommentVNode("",!0),o.isAdmin?(e.openBlock(),e.createElementBlock("td",{key:12,class:e.normalizeClass(a.computedClass(r))},e.toDisplayString(((J=r.meteo)==null?void 0:J.wxFactor)??"--"),3)):e.createCommentVNode("",!0),e.createElementVNode("td",{class:e.normalizeClass(a.computedClass(r))},e.toDisplayString(r.abbreviation==="A"?"":a.computeRoundPrecision(r.noon.avgSpd)||"0.00"),3),e.createElementVNode("td",{class:e.normalizeClass(a.computedClass(r))},e.toDisplayString(r.abbreviation==="A"?"":a.computeRoundPrecision(r.noon.timeSlr,1)||"0.0"),3),e.createElementVNode("td",{class:e.normalizeClass(a.computedClass(r))},e.toDisplayString(r.abbreviation==="A"?"":a.computeRoundPrecision(r.noon.distanceSlr,1)||"0.0"),3),e.createElementVNode("td",{class:e.normalizeClass(a.computedClass(r))},e.toDisplayString(r.abbreviation==="A"?"":a.computeRoundPrecision(r.noon.rpm,0)||"0"),3),e.createElementVNode("td",{class:e.normalizeClass(a.computedClass(r))},e.toDisplayString(r.abbreviation==="A"?"":a.computeRoundPrecision(r.noon.slip,0)||"0"),3),e.createElementVNode("td",{class:e.normalizeClass(a.computedClass(r))},e.toDisplayString(r.abbreviation==="A"?"":a.computeRoundPrecision(r.noon.foBrob)),3),e.createElementVNode("td",{class:e.normalizeClass(a.computedClass(r))},e.toDisplayString(r.abbreviation==="A"?"":a.computeRoundPrecision(r.noon.dgoBrob)),3),e.createElementVNode("td",{class:e.normalizeClass(a.computedClass(r))},e.toDisplayString(r.abbreviation==="A"?"":a.computeRoundPrecision(r.noon.foCons)||"0.00"),3),e.createElementVNode("td",{class:e.normalizeClass(a.computedClass(r))},e.toDisplayString(r.abbreviation==="A"?"":a.computeRoundPrecision(r.noon.dgoCons)||"0.00"),3),e.createElementVNode("td",{class:e.normalizeClass(a.computedClass(r))},e.toDisplayString(r.abbreviation==="A"?"":r.noon.windDir??"--"),3),e.createElementVNode("td",{class:e.normalizeClass(a.computedClass(r))},e.toDisplayString(r.abbreviation==="A"?"":r.noon.windBF??"--"),3),e.createElementVNode("td",{class:e.normalizeClass(a.computedClass(r))},e.toDisplayString(r.abbreviation==="A"?"":a.computeRoundPrecision(r.noon.seasHt??"--")),3),e.createElementVNode("td",{class:e.normalizeClass(a.computedClass(r))},e.toDisplayString(r.abbreviation==="A"||r.abbreviation==="B"||r.inEca===!1?"":"Inside ECA"),3)])}),128))])])])])],2)}const U2=De(Tg,[["render",z2],["__scopeId","data-v-9fe5beca"]]),Y2={props:{id:{type:String,default:"chart"},echartData:{type:Object,default:function(){return[]}},params:{type:Object,default:function(){return[]}},detail:{type:Object,default:function(){return[]}}},data(){return{chart:void 0,isOilBar:!1}},watch:{echartData:{handler(t,n){JSON.stringify(t)!=="[]"&&JSON.stringify(t)!==JSON.stringify(n)&&this.$nextTick(()=>{this.initData()})},immediate:!0,deep:!0}},methods:{getData(t,n){let o=[];return this.isOilBar=!1,t.forEach(d=>{let l;d.type=="line"?l={name:d.name,data:d.data,type:d.type,itemStyle:{color:d.color},showSymbol:d.showSymbol,smooth:d.smooth?d.smooth:!1,lineStyle:{type:d.lineType?d.lineType:"solid",dashOffset:5,type:d.lineType=="dotted"?[5,10]:"solid"}}:d.type=="markline"?l={name:d.name,markLine:{data:d.data},type:"line",barCategoryGap:-1,itemStyle:{color:d.color}}:d.type=="bar"?(this.isOilBar=!0,l={name:d.name,data:d.data,showSymbol:d.showSymbol,step:"start",type:"line",itemStyle:{color:d.color},areaStyle:{}}):l={name:d.name,data:d.data,type:d.type,barCategoryGap:-.2,itemStyle:{color:d.color}},o.push(l)}),n.forEach(d=>{o.push(d)}),o},getMax(t){if(this.isOilBar)return t.max<1?parseFloat(t.max*1.5).toFixed(1):parseFloat(Math.round(t.max)*1.2).toFixed(1)},initData(){if(!this.chart){let d=document.getElementById(this.id);this.chart=e.markRaw(zo.init(d))}let t=this,n=this.getData(this.echartData,JSON.parse(JSON.stringify(this.params.markArea))),o={title:{text:this.detail.title},grid:{right:"5%"},tooltip:{trigger:"axis"},legend:{show:!0,right:"5%"},xAxis:{axisTick:{alignWithLabel:!0},type:"category",data:this.params.xAxis},yAxis:{type:"value",splitNumber:5,boundaryGap:!1,name:this.detail.ytitle,nameGap:60,nameRotate:90,nameLocation:"middle",nameTextStyle:{fontSize:10,fontWeight:600,textAlign:"center"},splitLine:{show:!1},max:function(d){return t.getMax(d)}},series:n};this.$nextTick(()=>{this.chart.setOption(o)})}}},Z2=["id"];function Q2(t,n,o,d,l,a){return e.openBlock(),e.createElementBlock("div",null,[e.createElementVNode("div",{id:o.id,style:{width:"80%",height:"100%"}},null,8,Z2)])}const J2=De(Y2,[["render",Q2]]),K2={name:"brabImg",props:{fill:{type:String,default:"#000000"}}},q2={class:"logo"},X2=[e.createElementVNode("svg",{t:"1681038956775",class:"icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"3177",width:"30",height:"30"},[e.createElementVNode("path",{d:"M255.95 98.15h31.26v861.41h-31.26z","p-id":"3178"}),e.createElementVNode("path",{d:"M768.055 64.225v34h-512.1v-34zM576.115 230.225v31.89h-320.16v-31.89z","p-id":"3179"})],-1)];function j2(t,n,o,d,l,a){return e.openBlock(),e.createElementBlock("i",q2,X2)}const $2=De(K2,[["render",j2]]),Mee="",v2={components:{ScCharts:J2,BrabImg:$2},props:{reportData:{type:Object,default:()=>({})},mailData:{type:Object,default:()=>({})}},data(){return{date:"",shipSpeedChart:void 0,FOChart:void 0,DOChart:void 0,windSpeedChart:void 0,waveHeightChart:void 0,CurrentFactorChart:void 0,shipSpdChartData:[],FoChartData:[],DGOChartData:[],windSpdChartData:[],waveChartData:[],currentChartData:[],mailList:[],params:{},shipSpdDetail:{ytitle:"Daily Average Speed (kts)",title:"Ship Speed"},FODetail:{ytitle:"Daily FO (mt)",title:"FO Daily Consumption"},DGODetail:{ytitle:"Daily DO/GO (mt)",title:"DO/GO Daily Consumption"},windDetail:{ytitle:"Wind Speed",title:"Wind BF"},waveDetail:{ytitle:"Wave Height(m)",title:"Wave Heigt"},currentDetail:{ytitle:"Current Factor",title:"Current Factor"}}},computed:{computedArray(){return function(t){let n=[],o="";t.forEach((l,a)=>{l!=o&&l!=""&&(n.push({num:l,id:a}),o=l)});let d=[];return n.forEach((l,a)=>{let p=0;a==n.length-1?p=t.length-l.id:p=n[a+1].id-l.id+1;let i=[];for(let E=0;E<t.length;E++)(E>l.id||E==l.id)&&p>0?(i.push(l.num),p=p-1):i.push("");d.push(i)}),d}},computedCurrent(){return function(t,n){let o=[],d=null,l=0;t.forEach((p,i)=>{p!=d&&this.computedIsNull(p)!==""?(o.push({num:p,id:i}),d=p,l++):this.computedIsNull(p)!==""&&p==d&&(o[l-1].id=i)});let a=[];return o.forEach((p,i)=>{let E=i?o[i-1].id:-1;for(let b=E;b<p.id;b++)a.push(p.num)}),a}},computedTime(){return function(t,n){return n=="subtitle"?T(t).utc().format("MMMM-DD, YYYY/HHmm [Z]"):n=="table"?T(t).utc().format("MMMM-DD/HHmm[Z]"):T(t).utc().format("dddd, MMMM D, YYYY")}},computedIsNull(){return function(t){return t||t==0?t:""}},computedLngLat(){return function(t,n){const o=this.getLonLat(v.LngLatHelper.lat2pretty(t)),d=this.getLonLat(v.LngLatHelper.lng2pretty(n));return`${o} ${d}`}},computeFrom(){return function(t){if(t.indexOf("<")!==-1){const n=/.*(?=<)/,o=t.match(n);if(o)return o[0]}else return t;return"-"}},computeBody(){return function(t){if(t&&t!=="-"){let n=v.EmailHelper.convert2Html(t);return n=n.replace(/<\/br><\/br>+/g,"</br>"),n=n.replace(/(<\/br> <\/br>)+/g,"</br>"),n}else return"-"}},computeUTCTime(){return function(t,n="MMM-DD/HHmm[Z]"){return t?`${T(t).utc().format(n)}`:"-"}}},watch:{reportData:{handler(t,n){t!=null&&t.id&&this.$nextTick(()=>{this.getTableData()})},immediate:!0},mailData:{handler(t,n){t!=null&&t.rows&&this.getMailsList()},immediate:!0}},mounted(){},methods:{getLonLat(t){return`${t.degree}°${v.roundPrecision(t.minute,2)}′${t.direction}`},getMailsList(){let t=this.mailData.rows.filter(n=>n.status===1);this.mailList=t},getTableData(){var j,X;let t=[];(X=(j=this.reportData)==null?void 0:j.segments)==null||X.forEach((V,M)=>{let J=V.extend.cp;V.inventory.sample.hours.forEach((s,$)=>{let c=JSON.parse(JSON.stringify(s));c.cp=J,c.fuelConclusion=V.fuelConclusion,c.timeConclusion=V.timeConclusion,t.push(c)})}),t.sort(function(V,M){let J=V.date,s=M.date;return J-s});let n=[],o=[],d=[],l=[],a=[],p=[],i=[],E=[],b=[],S=[],_=[],N=[],D=[],r=[],C=[],k=[],O=[],P=[],F=[],w=[],x=[],u=[],R=[],Z=[],z=[],W=[!1,!1],f=[],Y=[],G=[!1,!1],H=[],K=[];t.forEach((V,M)=>{var s,$,c,ee,oe,te,se,ie,ce,re,he,pe,Ee,de,ye,xe,be,Ce,Se,ke,Ae,Be,Fe,Pe,fe,L,_e,ue,Le,We,we,He,Ke,qe,U,Oe,ze,Ue,Ye,Ze,Qe,Je,y,Q,ge,Te,Me;if(n.push(T(V.utc).utc().format("MM/DD HHmm[Z]")),V.goodWx===!0&&V.excluded!==!0?(W.indexOf(!0)==-1&&(V.type==="BOSP"?f.push({xAxis:T(V.utc).utc().format("MM/DD HHmm[Z]")}):f.push({xAxis:T(t[M-1].utc).utc().format("MM/DD HHmm[Z]")}),W[0]=!0),W.indexOf(!0)!=-1&&M==t.length-1&&(f.push({xAxis:T(V.utc).utc().format("MM/DD HHmm[Z]")}),W[0]=!1,Y.push(f),f=[])):W.indexOf(!0)!==-1&&(f.push({xAxis:T(t[M-1].utc).utc().format("MM/DD HHmm[Z]")}),W[0]=!1,Y.push(f),f=[]),V.excluded===!0?(G.indexOf(!0)===-1&&(M===0?H.push({xAxis:T(V.utc).utc().format("MM/DD HHmm[Z]")}):H.push({xAxis:T(t[M-1].utc).utc().format("MM/DD HHmm[Z]")}),G[0]=!0),G.indexOf(!0)!=-1&&M===t.length-1&&(H.push({xAxis:T(V.utc).utc().format("MM/DD HHmm[Z]")}),G[0]=!1,K.push(H),H=[])):G.indexOf(!0)!==-1&&(H.push({xAxis:T(t[M-1].utc).utc().format("MM/DD HHmm[Z]")}),G[0]=!1,K.push(H),H=[]),(V==null?void 0:V.type)==="EOSP"&&((s=t[M+1])==null?void 0:s.type)==="BOSP"){let me=[];me.push({xAxis:T(V.utc).utc().format("MM/DD HHmm[Z]")}),me.push({xAxis:T(t[M+1].utc).utc().format("MM/DD HHmm[Z]")}),K.push(me)}V.type!="A"&&(V.type==="BOSP"&&M===0?l.push([T(V==null?void 0:V.utc).utc().format("MM/DD HHmm[Z]"),($=V==null?void 0:V.noon)==null?void 0:$.avgSpd,V==null?void 0:V.type]):l.push([T(V==null?void 0:V.utc).utc().format("MM/DD HHmm[Z]"),((c=V==null?void 0:V.noon)==null?void 0:c.avgSpd)||"-",V==null?void 0:V.type]),F.push([T(V==null?void 0:V.utc).utc().format("MM/DD HHmm[Z]"),((ee=V==null?void 0:V.noon)==null?void 0:ee.windBF)||"-"]),R.push([T(V==null?void 0:V.utc).utc().format("MM/DD HHmm[Z]"),((oe=V==null?void 0:V.noon)==null?void 0:oe.seasHt)||"-"])),E.push((V==null?void 0:V.type)!="A"?this.computedIsNull((te=V==null?void 0:V.noon)==null?void 0:te.foCons):""),D.push((V==null?void 0:V.type)!="A"?this.computedIsNull((se=V==null?void 0:V.noon)==null?void 0:se.dgoCons):""),z.push((V==null?void 0:V.type)!="A"?this.computedIsNull(V==null?void 0:V.dailyAvgCf):""),d.push((V==null?void 0:V.cpSpd)??""),a.push(((ie=V==null?void 0:V.timeConclusion)==null?void 0:ie.minusAbtSpd)??""),i.push(((ce=V==null?void 0:V.cp)==null?void 0:ce.fo)??""),b.push(((he=(re=V==null?void 0:V.fuelConclusion)==null?void 0:re.fo)==null?void 0:he.underTolerance)??""),S.push(((Ee=(pe=V==null?void 0:V.fuelConclusion)==null?void 0:pe.fo)==null?void 0:Ee.overTolerance)??""),N.push(((de=V==null?void 0:V.cp)==null?void 0:de.dgo)??""),r.push(((xe=(ye=V==null?void 0:V.fuelConclusion)==null?void 0:ye.dgo)==null?void 0:xe.underTolerance)??""),C.push(((Ce=(be=V==null?void 0:V.fuelConclusion)==null?void 0:be.dgo)==null?void 0:Ce.overTolerance)??""),O.push(((ke=(Se=V==null?void 0:V.meteo)==null?void 0:Se.wind)==null?void 0:ke.scale)??""),P.push(((Be=(Ae=this.reportData)==null?void 0:Ae.weather)==null?void 0:Be.windScale)??"");let J="";(Pe=(Fe=this.reportData)==null?void 0:Fe.weather)!=null&&Pe.sigSwitch?(J=(_e=(L=(fe=V.meteo)==null?void 0:fe.wave)==null?void 0:L.sig)!=null&&_e.height?(We=(Le=(ue=V.meteo)==null?void 0:ue.wave)==null?void 0:Le.sig)==null?void 0:We.height:"",this.waveDetail.ytitle="Sig-wave Heigt(m)",u.push(this.reportData.weather.sigHeight)):(He=(we=this.reportData)==null?void 0:we.weather)!=null&&He.waveSwitch?(J=(U=(qe=(Ke=V.meteo)==null?void 0:Ke.wave)==null?void 0:qe.wd)!=null&&U.height?(Ue=(ze=(Oe=V.meteo)==null?void 0:Oe.wave)==null?void 0:ze.wd)==null?void 0:Ue.height:"",this.waveDetail.ytitle="Wind Wave Height(m)",u.push(this.reportData.weather.waveHeight)):(Ze=(Ye=this.reportData)==null?void 0:Ye.weather)!=null&&Ze.swellSwitch&&(J=(y=(Je=(Qe=V.meteo)==null?void 0:Qe.wave)==null?void 0:Je.swell)!=null&&y.height?(Te=(ge=(Q=V.meteo)==null?void 0:Q.wave)==null?void 0:ge.swell)==null?void 0:Te.height:"",this.waveDetail.ytitle="Swell Wave Height(m)",u.push(this.reportData.weather.swellHeight)),this.waveDetail.title=(Me=this.waveDetail)==null?void 0:Me.ytitle.replaceAll("(m)",""),x.push(J)}),this.params={xAxis:n,markArea:[{type:"line",markArea:{data:Y},itemStyle:{color:"#aedb8f"}},{type:"line",markArea:{data:K},itemStyle:{color:"#d3d3d3"}}]},l.forEach((V,M)=>{V.indexOf("-")!==-1&&M!==l.length-1&&(V[1]=l[M+1][1])}),d=this.computedArray(d),a=this.computedArray(a),i=this.computedArray(i),b=this.computedArray(b),S=this.computedArray(S),N=this.computedArray(N),r=this.computedArray(r),C=this.computedArray(C),E=this.computedCurrent(E),D=this.computedCurrent(D,"dgotype"),z=this.computedCurrent(z),d.forEach((V,M)=>{let J={name:M==0?"CP speed":"",type:"line",showSymbol:!1,data:V,color:"#ff8935"};o.push(J)}),a.forEach((V,M)=>{let J={name:M==0?"CP Speed Min":"",type:"line",showSymbol:!1,data:V,color:"#06890b",lineType:"dotted"};o.push(J)}),o.push({name:"Daily Average Speed",type:"line",data:l,color:"rgba(123,145,211,0.62)",showSymbol:!1,smooth:!0}),i.forEach((V,M)=>{let J={name:M==0?"CP FO":"",type:"line",showSymbol:!1,data:V,color:"#ff8935"};p.push(J)}),b.forEach((V,M)=>{let J={name:M==0?"CP FO Min":"",type:"line",showSymbol:!1,data:V,color:"#06890b",lineType:"dotted"};p.push(J)}),S.forEach((V,M)=>{let J={name:M==0?"CP FO Max":"",type:"line",showSymbol:!1,data:V,color:"#ff3a3a",lineType:"dotted"};p.push(J)}),p.push({name:"Daily FO",type:"bar",showSymbol:!1,data:E,color:"rgba(123,145,211,0.62)",barCategoryGap:"0"}),N.forEach((V,M)=>{let J={name:M==0?"CP DO/GO":"",type:"line",showSymbol:!1,data:V,color:"#ff8935"};_.push(J)}),r.forEach((V,M)=>{let J={name:M==0?"CP DO/GO Min":"",type:"line",showSymbol:!1,data:V,color:"#06890b",lineType:"dotted"};_.push(J)}),C.forEach((V,M)=>{let J={name:M==0?"CP DO/GO Max":"",type:"line",showSymbol:!1,data:V,color:"#ff3a3a",lineType:"dotted"};_.push(J)}),_.push({name:"Daily DO/GO",type:"bar",showSymbol:!1,data:D,color:"rgba(123,145,211,0.62)",barCategoryGap:"0"}),k.push({name:"CP Good Weather",type:"line",data:P,color:"#ff8935",showSymbol:!1,smooth:!0}),k.push({name:"Wind BF",type:"line",data:O,color:"#5eb3e0",showSymbol:!1,smooth:!0}),k.push({name:"Ship Report",type:"scatter",data:F,symbolSize:15,itemStyle:{normal:{color:"#C1B1E1"}}}),w.push({name:"CP Good Weather",type:"line",data:u,color:"#ff8935",showSymbol:!1,smooth:!0});let q=this.waveDetail.ytitle.replaceAll("(m)","");w.push({name:q,type:"line",data:x,color:"#5eb3e0",showSymbol:!1,smooth:!0}),w.push({name:"Ship Report",type:"scatter",data:R,symbolSize:15,itemStyle:{normal:{color:"#C1B1E1"}}}),Z.push({name:"Current Factor",type:"line",data:z,color:"#5eb3e0",showSymbol:!1,smooth:!1}),this.shipSpdChartData=o,this.FoChartData=p,this.DGOChartData=_,this.windSpdChartData=k,this.waveChartData=w,this.currentChartData=Z}}},Ge=t=>(e.pushScopeId("data-v-4fb04207"),t=t(),e.popScopeId(),t),eD={class:"charts"},tD=Ge(()=>e.createElementVNode("div",{class:"charts-title"},"Speed and Consumptifon with Weather / Current Analysis Graph",-1)),oD={class:"subtitle"},lD=e.createStaticVNode('<div class="chart-legend" data-v-4fb04207><div style="display:flex;align-items:center;" data-v-4fb04207><div style="background-color:var(--goodWx-bg-color);" class="legend" data-v-4fb04207></div><div style="transform:scale(0.85);" data-v-4fb04207>Charter Party defined Good Weather Days</div></div><div style="display:flex;align-items:center;" data-v-4fb04207><div style="border:1px solid var(--table-edging-color);" class="legend" data-v-4fb04207></div><div style="transform:scale(0.85);" data-v-4fb04207>Charter Party defined Adverse Weather Days</div></div><div style="display:flex;align-items:center;" data-v-4fb04207><div style="background-color:var(--exclude-bg-color);" class="legend" data-v-4fb04207></div><div style="transform:scale(0.85);" data-v-4fb04207>Excluded periods from analysis</div></div></div>',1),aD={class:"weather-eChart"},nD={class:"charts page-title"},sD=Ge(()=>e.createElementVNode("div",{class:"charts-title"},"Speed and Consumption with Weather / Current Analysis Graph",-1)),iD={class:"subtitle"},dD=e.createStaticVNode('<div class="chart-legend" data-v-4fb04207><div style="display:flex;align-items:center;" data-v-4fb04207><div style="background-color:var(--goodWx-bg-color);" class="legend" data-v-4fb04207></div><div style="transform:scale(0.85);" data-v-4fb04207>Charter Party defined Good Weather Days</div></div><div style="display:flex;align-items:center;" data-v-4fb04207><div style="border:1px solid var(--table-edging-color);" class="legend" data-v-4fb04207></div><div style="transform:scale(0.85);" data-v-4fb04207>Charter Party defined Adverse Weather Days</div></div><div style="display:flex;align-items:center;" data-v-4fb04207><div style="background-color:var(--exclude-bg-color);" class="legend" data-v-4fb04207></div><div style="transform:scale(0.85);" data-v-4fb04207>Excluded periods from analysis</div></div></div>',1),cD={class:"weather-eChart"},rD={class:"charts page-title"},mD=Ge(()=>e.createElementVNode("div",{class:"charts-title"},"Voyage Map",-1)),hD={class:"subtitle"},pD={class:"message-table"},ED=Ge(()=>e.createElementVNode("td",{class:"title"},"Vessel Name",-1)),yD=Ge(()=>e.createElementVNode("td",{class:"title"},"Prepared For",-1)),_D=Ge(()=>e.createElementVNode("td",{class:"title"},"Departure Port and Date",-1)),ND={style:{display:"inline-block",width:"50%"}},VD=Ge(()=>e.createElementVNode("td",{class:"title"},"Arrival Port and Date",-1)),fD={style:{display:"inline-block",width:"50%"}},gD={style:{margin:"15px auto","padding-left":"20px"}},DD=["src"],xD={class:"charts-imgLegend"},bD={style:{position:"relative",left:"-20px"}},CD=Ge(()=>e.createElementVNode("div",{style:{position:"relative",display:"inline-block",top:"-12px",left:"15px",transform:"scale(0.95)"}},[e.createElementVNode("div",null,"7"),e.createElementVNode("br"),e.createElementVNode("div",null,"W 4")],-1)),SD=Ge(()=>e.createElementVNode("div",{style:{display:"inline-block",transform:"scale(0.95)","text-align":"left","margin-left":"5px"}},[e.createTextVNode(" LEGEND: "),e.createElementVNode("br"),e.createTextVNode(" Wind from NE(045) "),e.createElementVNode("br"),e.createTextVNode(" Each barb = 10 kts "),e.createElementVNode("br"),e.createTextVNode(" 1/2 barb = 5 kts "),e.createElementVNode("br")],-1)),kD=Ge(()=>e.createElementVNode("div",{style:{transform:"scale(0.95)"}},[e.createTextVNode(" 7 - DAY OF THE MONTH "),e.createElementVNode("br"),e.createTextVNode(" W 4 - PRIMARY WAVE FROM WEST, 4 METERS"),e.createElementVNode("br"),e.createElementVNode("div",{class:"GoodWxBox"},"Date"),e.createTextVNode(" Good weather days"),e.createElementVNode("br")],-1)),AD={key:0,class:"charts page-title"},BD=Ge(()=>e.createElementVNode("div",{class:"charts-title"},"MESSAGE TRAFFIC",-1)),wD={class:"subtitle"},TD={class:"message-table"},OD=Ge(()=>e.createElementVNode("td",null,"Vessel Name",-1)),FD=Ge(()=>e.createElementVNode("td",null,"Prepared For",-1)),PD=Ge(()=>e.createElementVNode("td",null,"Departure Port and Date",-1)),uD={style:{display:"inline-block",width:"50%"}},LD=Ge(()=>e.createElementVNode("td",null,"Arrival Port and Date",-1)),WD={style:{display:"inline-block",width:"50%"}},HD={class:"columns"},MD={class:"title"},GD=["innerHTML"],ID={class:"charts",style:{"page-break-before":"always"}},RD=Ge(()=>e.createElementVNode("div",{class:"charts-title page-title"},"Charter Party Compliance Auditing Methodology",-1)),zD={class:"methodology"},UD=e.createStaticVNode('<div class="noun" data-v-4fb04207>1. Good Weather Method</div><div class="explain" data-v-4fb04207> Ship Performance is assessed based on the Good Weather Method as set out by The Didymi[1987] 2 Lloyd&#39;s Rep 166 and The Gas Enterprise [1993] 2 Lloyd&#39;s Rep. 352. <br data-v-4fb04207> The vessel&#39;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-4fb04207> A “day” is taken to be the period of time between consecutive daily noon positions: each day is categorized as a &quot;good weather day&quot; or &quot;adverse weather day&quot; according to the good weather definition stipulated in the Charter Party. </div><div class="noun" data-v-4fb04207>2. Damage assessment due to ship under-performance</div><div class="explain" data-v-4fb04207> 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 class="noun" data-v-4fb04207>3. Logbooks description vs. Analysis</div><div class="explain" data-v-4fb04207> 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 class="noun" data-v-4fb04207>4. “About”</div><div class="explain" data-v-4fb04207> Complying with arbitration standards, the speed calculation applies an allowance when an “about” is included with the speed warranty. <br data-v-4fb04207> 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 class="noun" data-v-4fb04207>5. Time Calculation</div><div class="explain" data-v-4fb04207> Time loss or gained is calculated by comparing (a) Total Time at Good weather Performance Speed to (b) and (c) listed below. Time loss calculation (b) applies allowance for &quot;about&quot;, while no allowance in (c) time gained calculation unless otherwise stipulated . <br data-v-4fb04207> The report conclusion only reflects the Time Lost calculation result only. </div>',10),YD={class:"definition"},ZD={class:"equation"},QD=Ge(()=>e.createElementVNode("div",{style:{width:"30%"}},"Total Time at Good Weather Performance Speed",-1)),JD=Ge(()=>e.createElementVNode("div",{style:{width:"10%","text-align":"center"}},"=",-1)),KD={style:{width:"50%"},class:"fraction"},qD=Ge(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),XD=Ge(()=>e.createElementVNode("div",null,"Good Weather Performance Speed",-1)),jD=Ge(()=>e.createElementVNode("div",{style:{width:"10%","text-align":"center"}},"(a)",-1)),$D={class:"equation"},vD=Ge(()=>e.createElementVNode("div",{style:{width:"30%"}},"Total Time at ( CP Speed - About Speed )",-1)),e0=Ge(()=>e.createElementVNode("div",{style:{width:"10%","text-align":"center"}},"=",-1)),t0={style:{width:"50%"},class:"fraction"},o0=Ge(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),l0=Ge(()=>e.createElementVNode("div",null,"CP Speed - About Speed",-1)),a0=Ge(()=>e.createElementVNode("div",{style:{width:"10%","text-align":"center"}},"(b)",-1)),n0={class:"equation"},s0=Ge(()=>e.createElementVNode("div",{style:{width:"30%"}},"Total Time at CP Speed",-1)),i0=Ge(()=>e.createElementVNode("div",{style:{width:"10%","text-align":"center"}},"=",-1)),d0={style:{width:"50%"},class:"fraction"},c0=Ge(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),r0=Ge(()=>e.createElementVNode("div",null,"CP Speed",-1)),m0=Ge(()=>e.createElementVNode("div",{style:{width:"10%","text-align":"center"}},"(c)",-1)),h0=Ge(()=>e.createElementVNode("div",null,[e.createElementVNode("span",null,"Time Lost = (a) - (b)"),e.createElementVNode("span",{style:{"margin-left":"20px"}},"Time Gained = (c) - (a)")],-1)),p0=Ge(()=>e.createElementVNode("div",{class:"noun"},"6. Bunker Analysis Methodology for Bunker Type Switch-Over",-1)),E0=Ge(()=>e.createElementVNode("div",{class:"explain"},[e.createTextVNode(" The following methodology will be applied to analyze bunker consumption when the bunker type is switched over,such as in ECA/SECA zone . "),e.createElementVNode("br"),e.createTextVNode(" 6-1 DO/GO consumption in the switch over period will be compared to the charter party warranted IFO figure. "),e.createElementVNode("br"),e.createTextVNode(" 6-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. ")],-1)),y0=Ge(()=>e.createElementVNode("div",{class:"noun"},"7. Further reference materials",-1)),_0=Ge(()=>e.createElementVNode("div",{class:"explain"},"Please send mail to op@oceanpitech.com",-1));function N0(t,n,o,d,l,a){var E,b,S,_,N,D,r,C,k,O,P,F,w,x,u,R,Z,z,W,f,Y,G,H,K,q,j,X,V,M,J,s,$,c,ee,oe,te,se,ie,ce,re,he,pe,Ee,de,ye,xe,be,Ce,Se,ke,Ae,Be,Fe,Pe;const p=e.resolveComponent("ScCharts"),i=e.resolveComponent("BrabImg");return e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass((b=(E=o.reportData)==null?void 0:E.weather)!=null&&b.referenceOnly||(_=(S=o.reportData)==null?void 0:S.weather)!=null&&_.overallAsGoodWx?"watermark voyage-main":"voyage-main")},[e.createElementVNode("div",eD,[tD,e.createElementVNode("div",oD,e.toDisplayString(a.computedTime((N=o.reportData)==null?void 0:N.createdAt)),1),lD,e.createElementVNode("div",aD,[e.createVNode(p,{id:"shipSpeedChart","echart-data":l.shipSpdChartData,params:l.params,detail:l.shipSpdDetail,class:"eChart"},null,8,["echart-data","params","detail"]),e.createVNode(p,{id:"FOChart","echart-data":l.FoChartData,params:l.params,detail:l.FODetail,class:"eChart"},null,8,["echart-data","params","detail"]),e.createVNode(p,{id:"DGOChart","echart-data":l.DGOChartData,params:l.params,detail:l.DGODetail,class:"eChart"},null,8,["echart-data","params","detail"])])]),e.createElementVNode("div",nD,[sD,e.createElementVNode("div",iD,e.toDisplayString(a.computedTime((D=o.reportData)==null?void 0:D.createdAt)),1),dD,e.createElementVNode("div",cD,[e.createVNode(p,{id:"windChart","echart-data":l.windSpdChartData,params:l.params,detail:l.windDetail,class:"eChart"},null,8,["echart-data","params","detail"]),e.createVNode(p,{id:"waveChart","echart-data":l.waveChartData,params:l.params,detail:l.waveDetail,class:"eChart"},null,8,["echart-data","params","detail"]),e.createVNode(p,{id:"currentChart","echart-data":l.currentChartData,params:l.params,detail:l.currentDetail,class:"eChart"},null,8,["echart-data","params","detail"])])]),e.createElementVNode("div",rD,[mD,e.createElementVNode("div",hD,e.toDisplayString(a.computedTime((r=o.reportData)==null?void 0:r.createdAt)),1),e.createElementVNode("div",null,[e.createElementVNode("table",pD,[e.createElementVNode("tr",null,[ED,e.createElementVNode("td",null,e.toDisplayString((k=(C=o.reportData)==null?void 0:C.vessel)==null?void 0:k.name),1)]),e.createElementVNode("tr",null,[yD,e.createElementVNode("td",null,e.toDisplayString((O=o.reportData)==null?void 0:O.preparedFor),1)]),e.createElementVNode("tr",null,[_D,e.createElementVNode("td",null,[e.createElementVNode("span",ND,e.toDisplayString(((F=(P=o.reportData)==null?void 0:P.departure)==null?void 0:F.portName)||a.computedLngLat((x=(w=o.reportData)==null?void 0:w.departure)==null?void 0:x.lat,(R=(u=o.reportData)==null?void 0:u.departure)==null?void 0:R.lng)),1),e.createElementVNode("span",null,e.toDisplayString(a.computedTime((z=(Z=o.reportData)==null?void 0:Z.departure)==null?void 0:z.utcTime,"table")),1)])]),e.createElementVNode("tr",null,[VD,e.createElementVNode("td",null,[e.createElementVNode("span",fD,e.toDisplayString(((f=(W=o.reportData)==null?void 0:W.arrival)==null?void 0:f.portName)||a.computedLngLat((G=(Y=o.reportData)==null?void 0:Y.arrival)==null?void 0:G.lat,(K=(H=o.reportData)==null?void 0:H.arrival)==null?void 0:K.lng)),1),e.createElementVNode("span",null,e.toDisplayString(a.computedTime((j=(q=o.reportData)==null?void 0:q.arrival)==null?void 0:j.utcTime,"table")),1)])])])]),e.createElementVNode("div",gD,[e.createElementVNode("img",{style:{width:"100%"},src:(X=o.reportData)==null?void 0:X.chartUrl,alt:""},null,8,DD),e.createElementVNode("div",xD,[e.createElementVNode("div",bD,[CD,e.createVNode(i,{style:{display:"inline-block",transform:"rotate(45deg)",margin:"8px 0 0 4px",position:"relative",top:"-20px"},fill:"var(--black-6)"}),SD]),kD])])]),(M=(V=o.reportData)==null?void 0:V.weather)!=null&&M.showMails?(e.openBlock(),e.createElementBlock("div",AD,[BD,e.createElementVNode("div",wD,e.toDisplayString(a.computedTime(o.reportData.createdAt)),1),e.createElementVNode("div",null,[e.createElementVNode("table",TD,[e.createElementVNode("tr",null,[OD,e.createElementVNode("td",null,e.toDisplayString((s=(J=o.reportData)==null?void 0:J.vessel)==null?void 0:s.name),1)]),e.createElementVNode("tr",null,[FD,e.createElementVNode("td",null,e.toDisplayString(($=o.reportData)==null?void 0:$.preparedFor),1)]),e.createElementVNode("tr",null,[PD,e.createElementVNode("td",null,[e.createElementVNode("span",uD,e.toDisplayString(((ee=(c=o.reportData)==null?void 0:c.departure)==null?void 0:ee.portName)||a.computedLngLat((te=(oe=o.reportData)==null?void 0:oe.departure)==null?void 0:te.lat,(ie=(se=o.reportData)==null?void 0:se.departure)==null?void 0:ie.lng)),1),e.createElementVNode("span",null,e.toDisplayString(a.computedTime((re=(ce=o.reportData)==null?void 0:ce.departure)==null?void 0:re.utcTime,"table")),1)])]),e.createElementVNode("tr",null,[LD,e.createElementVNode("td",null,[e.createElementVNode("span",WD,e.toDisplayString(((pe=(he=o.reportData)==null?void 0:he.arrival)==null?void 0:pe.portName)||a.computedLngLat((de=(Ee=o.reportData)==null?void 0:Ee.arrival)==null?void 0:de.lat,(xe=(ye=o.reportData)==null?void 0:ye.arrival)==null?void 0:xe.lng)),1),e.createElementVNode("span",null,e.toDisplayString(a.computedTime((Ce=(be=o.reportData)==null?void 0:be.arrival)==null?void 0:Ce.utcTime,"table")),1)])])])]),e.createElementVNode("div",HD,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(l.mailList,(fe,L)=>(e.openBlock(),e.createElementBlock("div",{key:fe.id,class:e.normalizeClass(L%2===0?"item":"item bg")},[e.createElementVNode("div",MD,"FROM "+e.toDisplayString(a.computeFrom(fe.from))+" "+e.toDisplayString(a.computeUTCTime(fe.createdAt,"DD/MM/YYYY hhmm")),1),e.createElementVNode("div",{class:"body",innerHTML:a.computeBody((fe==null?void 0:fe.body)??"-")},null,8,GD)],2))),128))])])):e.createCommentVNode("",!0),e.createElementVNode("div",ID,[RD,e.createElementVNode("div",zD,[UD,e.createElementVNode("div",YD,[e.createElementVNode("div",ZD,[QD,JD,e.createElementVNode("div",KD,[e.createElementVNode("div",null,e.toDisplayString((ke=(Se=o.reportData)==null?void 0:Se.weather)!=null&&ke.noExtrapolation?"Total Distance At Good Weather":"Total Distance"),1),qD,XD]),jD]),e.createElementVNode("div",$D,[vD,e0,e.createElementVNode("div",t0,[e.createElementVNode("div",null,e.toDisplayString((Be=(Ae=o.reportData)==null?void 0:Ae.weather)!=null&&Be.noExtrapolation?"Total Distance At Good Weather":"Total Distance"),1),o0,l0]),a0]),e.createElementVNode("div",n0,[s0,i0,e.createElementVNode("div",d0,[e.createElementVNode("div",null,e.toDisplayString((Pe=(Fe=o.reportData)==null?void 0:Fe.weather)!=null&&Pe.noExtrapolation?"Total Distance At Good Weather":"Total Distance"),1),c0,r0]),m0]),h0]),p0,E0,y0,_0])])],2)}const V0=De(v2,[["render",N0],["__scopeId","data-v-4fb04207"]]),Gee="",f0={components:{firstPart:wg,secondPart:U2,thirdPart:V0},props:{initialData:{type:Object,default:()=>({})},isAdmin:{type:Boolean,default:()=>!1},editorDisabled:{type:Boolean,default:()=>!1}},data(){return{reportData:{}}},watch:{initialData:{handler(t,n){t!=null&&t.id&&this.$nextTick(()=>{this.reportData=t})},immediate:!0}},methods:{commit(t){this.$emit("commit",t)}}},g0={class:"voyage-report"};function D0(t,n,o,d,l,a){const p=e.resolveComponent("first-part"),i=e.resolveComponent("second-part"),E=e.resolveComponent("third-part");return e.openBlock(),e.createElementBlock("div",g0,[e.createVNode(p,{reportData:l.reportData,class:"main","editor-disabled":o.editorDisabled,onCommit:a.commit},null,8,["reportData","editor-disabled","onCommit"]),e.createVNode(i,{isAdmin:o.isAdmin,reportData:l.reportData,class:"main"},null,8,["isAdmin","reportData"]),e.createVNode(E,e.mergeProps({reportData:l.reportData,class:"main"},t.$attrs),null,16,["reportData"])])}const Dn=De(f0,[["render",D0],["__scopeId","data-v-61638416"]]),Iee="",x0={components:{Editor:Ro},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(t){var n,o;return(o=(n=this.reportData)==null?void 0:n.weather)!=null&&o.favorableCur?t.avgCf>0:!1}},computedPositive(){return function(t){return t>0?t:`(${t})`}},computedTime(){return function(t,n){return n=="subtitle"?T(t).utc().format("MMMM-DD, YYYY/HHmm[Z]"):n=="table"?T(t).utc().format("MMMM-DD/HHmm[Z]"):n=="summary"?T(t).utc().format("MMMM D, HHmm[Z]"):n?T(t).utc().format(n):T(t).utc().format("MMMM D, YYYY")}},computedLngLat(){return function(t,n){const o=this.getLonLat(v.LngLatHelper.lat2pretty(t)),d=this.getLonLat(v.LngLatHelper.lng2pretty(n));return`${o} ${d}`}},computedSeg(){return function(t){const n=t.departure.portName||this.computedLngLat(t.departure.lat,t.departure.lng),o=this.computedTime(t.departure.utcTime,"summary"),d=this.computedTime(t.departure.utcTime,"MMMM-DD,YYYY/HHmm[Z]"),l=t.arrival.portName||this.computedLngLat(t.arrival.lat,t.arrival.lng),a=this.computedTime(t.arrival.utcTime,"summary"),p=this.computedTime(t.arrival.utcTime,"MMMM-DD,YYYY/HHmm[Z]");return{port1:n,time1:o,fullTime1:d,port2:l,time2:a,fullTime2:p}}},computedTimeConclusion(){return function(t){let n=t.conclusionStatus,o={conclusion:"",className:"",timeCon:""};return n=="No"?(o.conclusion="Not Available",o.className="",o.timeCon=""):n=="Lost"?(o.conclusion="Time Lost",o.className="error",o.timeCon=`${t.timeLost} hrs`):(o.conclusion="Time Gained",o.className="success",o.timeCon=`${t.timeGain} hrs`),o}},computedFuleConclusion(){return function(t,n){let o=t.conclusionStatus,d={conclusion:"",className:"",cons:""};return o==="No"?(d.conclusion="Not Available",d.className="",d.cons=""):o==="Over"?(n==="FO"?d.conclusion="FO Over":d.conclusion="DO/GO Over",d.className="error",d.cons=`${t.overCons} mt`):(n==="FO"?d.conclusion="FO Under":d.conclusion="DO/GO Under",d.className="success",d.cons=`${t.saving} mt`),d}},computedUnit(){return function(t,n){return n?"%":t=="speed"?"":"(mt)"}},computedWeatherDef(){return function(t){let n="";t!=null&&t.timePercentage?`${t==null?void 0:t.time}`:`${t==null?void 0:t.time}`;let o=t==null?void 0:t.windScale,d="",l=0;return t!=null&&t.waveSwitch?(d+=`, Wind wave height is ${t==null?void 0:t.waveHeight} meters or less`,l++):t!=null&&t.swellSwitch?(d+=`, Swell wave height is ${t==null?void 0:t.swellHeight} meters or less`,l++):t!=null&&t.sigSwitch&&(d+=`, Significant wave height is ${t==null?void 0:t.sigHeight} meters or less`,l++),l>0&&(d+=`(Douglas Sea State ${t==null?void 0:t.seaScale})`),n=`Winds are BF/${o} or less${d}`,t!=null&&t.noAdverseCur&&(n+=", No Adverse Current"),t!=null&&t.noExtrapolation&&(n+=", No Extrapolation"),n}},computedColor(){return function(t,n,o){let d="";if(t==="No")return d=o?"bg-color-normal":"color-normal",d;switch(n){case"time":t==="Lost"?d="color-fail":d="color-success";break;case"fuel":t==="Over"?d="color-fail":d="color-success";break;case"pfm":t==="Under"?d="color-fail":d="color-success";break}return o&&(d="bg-"+d),d}},computedAbt4Spd(){return function(t){var n,o,d;return(n=t.timeConclusion)!=null&&n.spdPercentage?v.roundPrecision(t.extend.cp.speed*(((o=t==null?void 0:t.timeConclusion)==null?void 0:o.spdOfAbout)/100),2):(d=t==null?void 0:t.timeConclusion)==null?void 0:d.spdOfAbout}}},watch:{reportData:{handler(t,n){var o;t!=null&&t.id&&(this.$nextTick(()=>{this.cheakData()}),this.advisory=(o=this.reportData)==null?void 0:o.remarks,this.date=this.computedTime(this.reportData.createdAt))},immediate:!0}},methods:{getLonLat(t){return`${t.degree}°${v.roundPrecision(t.minute,2)}′${t.direction}`},handleCommit(t){this.editable=!1,this.$emit("commit",t)},decideDisable(){this.editorDisabled?this.editable=!1:this.editable=!0},cheakData(){var n,o;this.goodDays=[],this.segDetail=[],this.excludedTableData=[],this.cpDetail=[];let t=[];(o=(n=this.reportData)==null?void 0:n.segments)==null||o.forEach((d,l)=>{let a=d.excluded;if(a.sumDistance>0&&a.detail.forEach(i=>{let E={begin:T(i.begin).utc().format("DD/MM/YYYY HHmm[Z]"),end:T(i.end).utc().format("DD/MM/YYYY HHmm[Z]"),time:T(i.begin).utc().format("DD/MM/YYYY HHmm[Z]")+" - "+T(i.end).utc().format("DD/MM/YYYY HHmm[Z]"),duration:i.duration,distance:i.distance,fo:i.foCons,dgo:i.dgoCons};this.excludedTableData.push(E)}),!t.includes(d.seg)){t.push(d.seg);let i=Object.assign({},d.extend.cp);i.spdOfOver=`+${d.timeConclusion.spdOfOver}${this.computedUnit("speed",d.timeConclusion.spdPercentage)}`,i.spdOfUnder=`-${d.timeConclusion.spdOfUnder}${this.computedUnit("speed",d.timeConclusion.spdPercentage)}`,i.over=`+${d.fuelConclusion.consOfOver}${this.computedUnit("cons",d.fuelConclusion.consPercentage)}`,i.under=`-${d.fuelConclusion.consOfUnder}${this.computedUnit("cons",d.fuelConclusion.consPercentage)}`,this.cpDetail.push(i)}let p=[];d.extend.segTimes.forEach(i=>{p.push(this.computedSeg(i))}),this.segDetail.push(p),this.goodDays.push(d.inventory.sample.hours.filter(i=>i.type!=="A"&&i.goodWx))})}}},h=t=>(e.pushScopeId("data-v-9be6b8be"),t=t(),e.popScopeId(),t),b0=h(()=>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)),C0={class:"fli-main"},S0=h(()=>e.createElementVNode("div",{class:"subtitle"},[e.createElementVNode("i",{class:"iconfont"},""),e.createElementVNode("div",{class:"content"},"Voyage Basics")],-1)),k0={class:"card basics"},A0={class:"list flex"},B0={class:"item"},w0=h(()=>e.createElementVNode("label",{class:"flex"},"Company Name: ",-1)),T0={class:"content flex"},O0={class:"item"},F0=h(()=>e.createElementVNode("label",{class:"flex"},"Vessel Name: ",-1)),P0={class:"content flex"},u0={class:"item"},L0=h(()=>e.createElementVNode("label",{class:"flex"},"Report Created: ",-1)),W0={class:"content flex"},H0={class:"list"},M0={class:"item"},G0=h(()=>e.createElementVNode("label",{class:"flex"},"Departure Port: ",-1)),I0={class:"content flex"},R0={class:"content flex"},z0={class:"item"},U0=h(()=>e.createElementVNode("label",{class:"flex"},"Arrival Port: ",-1)),Y0={class:"content flex"},Z0={class:"content flex"},Q0={class:"item"},J0=h(()=>e.createElementVNode("label",null,"Voyage Condition: ",-1)),K0={class:"content flexL"},q0=h(()=>e.createElementVNode("div",{class:"subtitle"},[e.createElementVNode("i",{class:"iconfont"},""),e.createElementVNode("div",{class:"content"},"Charter Party Clause")],-1)),X0={class:"clause"},j0={key:0,class:"definition flex"},$0={key:1,class:"definition flex"},v0={class:"item"},ex=h(()=>e.createElementVNode("label",null,"Beaufort Wind Scale",-1)),tx={class:"content"},ox={key:0,class:"item"},lx=h(()=>e.createElementVNode("label",null,"Wind Wave Height",-1)),ax={class:"content"},nx={key:1,class:"item"},sx=h(()=>e.createElementVNode("label",null,"Swell Wave Height",-1)),ix={class:"content"},dx={key:2,class:"item"},cx=h(()=>e.createElementVNode("label",null,"Significant Wave Height",-1)),rx={class:"content"},mx={key:3,class:"item"},hx=h(()=>e.createElementVNode("label",null,"Douglas Sea State",-1)),px={class:"content"},Ex={key:4,class:"item"},yx=[h(()=>e.createElementVNode("label",null,"No Adverse Current",-1)),h(()=>e.createElementVNode("div",{class:"content"},"Applied",-1))],_x={key:5,class:"item"},Nx=[h(()=>e.createElementVNode("label",null,"No Extrapolation",-1)),h(()=>e.createElementVNode("div",{class:"content"},"Applied",-1))],Vx={class:"definition flexM"},fx={class:"table"},gx=h(()=>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)),Dx=h(()=>e.createElementVNode("div",{class:"title"},[e.createElementVNode("i",{class:"iconfont"},""),e.createElementVNode("div",{class:"content"},"Analysis Summary")],-1)),xx={class:"summary"},bx={key:0,class:"summary-overall"},Cx=h(()=>e.createElementVNode("div",{class:"summary-overall-row"},[e.createElementVNode("h3",null,"Overall")],-1)),Sx={class:"summary-overall-row"},kx={class:"card"},Ax=h(()=>e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("label",null,"GW Avg Daily Speed")],-1)),Bx={class:"main-content"},wx={key:0},Tx={key:1},Ox={class:"card"},Fx=h(()=>e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("label",null,"GW Avg Daily Cons. FO*")],-1)),Px={class:"main-content"},ux={key:0},Lx={key:1},Wx={class:"card"},Hx=h(()=>e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("label",null,"GW Avg Daily Cons. DO/GO*")],-1)),Mx={class:"main-content"},Gx={key:0},Ix={key:1},Rx={class:"summary-overall-row"},zx={class:"card"},Ux=h(()=>e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("label",null,"Overall Avg Daily Speed")],-1)),Yx={class:"main-content"},Zx={class:"card"},Qx=h(()=>e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("label",null,"Overall Avg Daily Cons. FO*")],-1)),Jx={class:"main-content"},Kx={class:"card"},qx=h(()=>e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("label",null,"Overall Avg Daily Cons. DO/GO*")],-1)),Xx={class:"main-content"},jx=h(()=>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)),$x={class:"card",style:{flex:"1.5"}},vx={class:"card-title"},eb=h(()=>e.createElementVNode("i",{class:"iconfont"},"",-1)),tb={class:"card-segment"},ob={class:"card-segment"},lb={class:"card-segment"},ab=h(()=>e.createElementVNode("div",null,"Applied",-1)),nb={class:"uppercase"},sb={class:"card summary-card",style:{flex:"1"}},ib=h(()=>e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("span",null,"Time Lost/Gained: ")],-1)),db={key:0,class:"main-content"},cb={key:0,class:"iconfont success"},rb={key:1,class:"iconfont error"},mb={key:1,class:"main-content"},hb={class:"card-content",style:{"justify-content":"flex-start"}},pb={class:"card summary-card",style:{flex:"1"}},Eb=h(()=>e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("span",null,"FO Over/Under: ")],-1)),yb={key:0,class:"main-content"},_b={key:0,class:"iconfont success"},Nb={key:1,class:"iconfont error"},Vb={key:1,class:"main-content"},fb={class:"card-content",style:{"justify-content":"flex-start"}},gb={class:"card summary-card",style:{flex:"1"}},Db=h(()=>e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("span",null,"DO/GO Over/Under: ")],-1)),xb={key:0,class:"main-content"},bb={key:0,class:"iconfont success"},Cb={key:1,class:"iconfont error"},Sb={key:1,class:"main-content"},kb={class:"card-content",style:{"justify-content":"flex-start"}},Ab={style:{"page-break-inside":"avoid"}},Bb=h(()=>e.createElementVNode("div",{class:"subtitle"},[e.createElementVNode("i",{class:"iconfont"},""),e.createElementVNode("div",{class:"content"},"Voyage Remarks")],-1)),wb={class:"remarks"},Tb={class:"item"},Ob=h(()=>e.createElementVNode("div",{class:"remark-title"},[e.createElementVNode("i",{class:"iconfont"},""),e.createElementVNode("span",null,"Speed Adjustment")],-1)),Fb={class:"speed"},Pb={class:"uppercase"},ub={class:"item"},Lb=h(()=>e.createElementVNode("div",{class:"remark-title"},[e.createElementVNode("i",{class:"iconfont"},""),e.createElementVNode("span",null,"Excluded Period")],-1)),Wb={key:0,class:"remark-detail"},Hb={key:1,class:"remark-detail"},Mb={class:"page-avoid"},Gb={class:"dashed"},Ib={class:"card phase-title-card",style:{flex:"0.5"}},Rb={class:"card-title"},zb=h(()=>e.createElementVNode("i",{class:"iconfont"},"",-1)),Ub={class:"card-segment"},Yb={class:"card-segment"},Zb={class:"card-segment"},Qb=h(()=>e.createElementVNode("div",null,"Applied",-1)),Jb={class:"uppercase"},Kb=h(()=>e.createElementVNode("div",{class:"title"},[e.createElementVNode("i",{class:"iconfont"},""),e.createElementVNode("div",{class:"content"},"Calculation Summary")],-1)),qb={class:"phase-analysis"},Xb={class:"card phase-card",style:{flex:"1"}},jb=h(()=>e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("span",null,"GW Avg Daily Cons. FO*")],-1)),$b={class:"main-content"},vb=h(()=>e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("span",null,"Overall Avg Daily Cons. FO*")],-1)),eC={class:"main-content"},tC={class:"card-content"},oC=h(()=>e.createElementVNode("label",null,"GW Avg Daily Cons. FO (out of ECA)",-1)),lC=h(()=>e.createElementVNode("span",null,"mt",-1)),aC={class:"card-content"},nC=h(()=>e.createElementVNode("label",null,"GW Avg Daily Cons. FO* (in ECA)",-1)),sC=h(()=>e.createElementVNode("span",null,"mt",-1)),iC={class:"card-content"},dC=h(()=>e.createElementVNode("label",null,"Overall Avg Daily Cons. FO (out of ECA)",-1)),cC=h(()=>e.createElementVNode("span",null,"mt",-1)),rC={class:"card-content"},mC=h(()=>e.createElementVNode("label",null,"Overall Avg Daily Cons. FO* (in ECA)",-1)),hC=h(()=>e.createElementVNode("span",null,"mt",-1)),pC=h(()=>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)),EC={class:"card phase-card",style:{flex:"1"}},yC=h(()=>e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("span",null,"GW Avg Daily Cons. DO/GO*")],-1)),_C={class:"main-content"},NC=h(()=>e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("span",null,"Overall Avg Daily Cons. DO/GO*")],-1)),VC={class:"main-content"},fC={class:"card-content"},gC=h(()=>e.createElementVNode("label",null,"GW Avg Daily Cons. DO/GO (out of ECA)",-1)),DC=h(()=>e.createElementVNode("span",null,"mt",-1)),xC={class:"card-content"},bC=h(()=>e.createElementVNode("label",null,"GW Avg Daily Cons. DO/GO* (in ECA)",-1)),CC=h(()=>e.createElementVNode("span",null,"mt",-1)),SC={class:"card-content"},kC=h(()=>e.createElementVNode("label",null,"Overall Avg Daily Cons. DO/GO (out of ECA)",-1)),AC=h(()=>e.createElementVNode("span",null,"mt",-1)),BC={class:"card-content"},wC=h(()=>e.createElementVNode("label",null,"Overall Avg Daily Cons. DO/GO* (in ECA)",-1)),TC=h(()=>e.createElementVNode("span",null,"mt",-1)),OC=h(()=>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)),FC={class:"phase-analysis"},PC={class:"card phase-card",style:{flex:"1"}},uC=h(()=>e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("span",null,"GW Distance")],-1)),LC={class:"main-content"},WC=h(()=>e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("span",null,"Overall Distance")],-1)),HC={class:"main-content"},MC={class:"card-content"},GC=h(()=>e.createElementVNode("label",null,"GW Distance (out of ECA)",-1)),IC=h(()=>e.createElementVNode("span",null,"nm",-1)),RC={class:"card-content"},zC=h(()=>e.createElementVNode("label",null,"GW Distance (in ECA)",-1)),UC=h(()=>e.createElementVNode("span",null,"nm",-1)),YC={class:"card-content"},ZC=h(()=>e.createElementVNode("label",null,"Overall Distance (out of ECA)",-1)),QC=h(()=>e.createElementVNode("span",null,"nm",-1)),JC={class:"card-content"},KC=h(()=>e.createElementVNode("label",null,"Overall Distance (in ECA)",-1)),qC=h(()=>e.createElementVNode("span",null,"nm",-1)),XC={class:"card phase-card",style:{flex:"1"}},jC=h(()=>e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("span",null,"GW Time")],-1)),$C={class:"main-content"},vC=h(()=>e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("span",null,"Overall Time")],-1)),eS={class:"main-content"},tS={class:"card-content"},oS=h(()=>e.createElementVNode("label",null,"GW Time (out of ECA)",-1)),lS=h(()=>e.createElementVNode("span",null,"hrs",-1)),aS={class:"card-content"},nS=h(()=>e.createElementVNode("label",null,"GW Time (in ECA)",-1)),sS=h(()=>e.createElementVNode("span",null,"hrs",-1)),iS={class:"card-content"},dS=h(()=>e.createElementVNode("label",null,"Overall Time (out of ECA)",-1)),cS=h(()=>e.createElementVNode("span",null,"hrs",-1)),rS={class:"card-content"},mS=h(()=>e.createElementVNode("label",null,"Overall Time (in ECA)",-1)),hS=h(()=>e.createElementVNode("span",null,"hrs",-1)),pS={class:"card phase-card",style:{flex:"1"}},ES=h(()=>e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("span",null,"GW Avg Speed")],-1)),yS={class:"main-content"},_S=h(()=>e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("span",null,"Overall Avg Speed")],-1)),NS={class:"main-content"},VS={class:"card-content"},fS=h(()=>e.createElementVNode("label",null,"GW Avg Speed (out of ECA)",-1)),gS=h(()=>e.createElementVNode("span",null,"kts",-1)),DS={class:"card-content"},xS=h(()=>e.createElementVNode("label",null,"GW Avg Speed (in ECA)",-1)),bS=h(()=>e.createElementVNode("span",null,"kts",-1)),CS={class:"card-content"},SS=h(()=>e.createElementVNode("label",null,"Overall Avg Speed (out of ECA)",-1)),kS=h(()=>e.createElementVNode("span",null,"kts",-1)),AS={class:"card-content"},BS=h(()=>e.createElementVNode("label",null,"Overall Avg Speed (in ECA)",-1)),wS=h(()=>e.createElementVNode("span",null,"kts",-1)),TS={class:"phase-analysis"},OS={class:"card phase-card",style:{flex:"1"}},FS=h(()=>e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("span",null,"GW Cons. FO")],-1)),PS={class:"main-content"},uS=h(()=>e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("span",null,"Overall Cons. FO")],-1)),LS={class:"main-content"},WS={class:"card-content"},HS=h(()=>e.createElementVNode("label",null,"GW Cons. FO (out of ECA)",-1)),MS=h(()=>e.createElementVNode("span",null,"mt",-1)),GS={class:"card-content"},IS=h(()=>e.createElementVNode("label",null,"GW Cons. FO (in ECA)",-1)),RS=h(()=>e.createElementVNode("span",null,"mt",-1)),zS={class:"card-content"},US=h(()=>e.createElementVNode("label",null,"Overall Cons. FO (out of ECA)",-1)),YS=h(()=>e.createElementVNode("span",null,"mt",-1)),ZS={class:"card-content"},QS=h(()=>e.createElementVNode("label",null,"Overall Cons. FO (in ECA)",-1)),JS=h(()=>e.createElementVNode("span",null,"mt",-1)),KS={class:"card phase-card",style:{flex:"1"}},qS=h(()=>e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("span",null,"GW Cons. DO/GO")],-1)),XS={class:"main-content"},jS=h(()=>e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("span",null,"Overall Cons. DO/GO")],-1)),$S={class:"main-content"},vS={class:"card-content"},e3=h(()=>e.createElementVNode("label",null,"GW Cons. DO/GO (out of ECA)",-1)),t3=h(()=>e.createElementVNode("span",null,"mt",-1)),o3={class:"card-content"},l3=h(()=>e.createElementVNode("label",null,"GW Cons. DO/GO (in ECA)",-1)),a3=h(()=>e.createElementVNode("span",null,"mt",-1)),n3={class:"card-content"},s3=h(()=>e.createElementVNode("label",null,"Overall Cons. DO/GO (out of ECA)",-1)),i3=h(()=>e.createElementVNode("span",null,"mt",-1)),d3={class:"card-content"},c3=h(()=>e.createElementVNode("label",null,"Overall Cons. DO/GO (in ECA)",-1)),r3=h(()=>e.createElementVNode("span",null,"mt",-1)),m3={class:"card phase-card",style:{flex:"1","justify-content":"flex-start"}},h3=h(()=>e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("span",null,"GW Performance Speed")],-1)),p3={class:"main-content"},E3={class:"card-content"},y3=h(()=>e.createElementVNode("label",null,"GW Current Factor",-1)),_3={key:0},N3=h(()=>e.createElementVNode("span",null,"kts",-1)),V3={key:1},f3={class:"phase-card"},g3={class:"card",style:{flex:"1"}},D3=h(()=>e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("span",null,"Time Lost/Gained: ")],-1)),x3={key:0,class:"main-content"},b3={key:0,class:"iconfont success"},C3={key:1,class:"iconfont error"},S3={key:1,class:"main-content"},k3={class:"nogwd"},A3={class:"card-content",style:{"justify-content":"flex-start"}},B3={key:0},w3={class:"equation"},T3=h(()=>e.createElementVNode("div",{style:{width:"54%"}},"Total Time at Good Weather Performance Speed",-1)),O3=h(()=>e.createElementVNode("div",{style:{width:"5%"}},"=",-1)),F3={style:{width:"8%"}},P3=h(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),u3=h(()=>e.createElementVNode("div",{style:{width:"5%"}},"=",-1)),L3={style:{width:"10%"}},W3=h(()=>e.createElementVNode("div",{style:{width:"5%"}},"(a')",-1)),H3={class:"equation"},M3=h(()=>e.createElementVNode("div",{style:{width:"54%"}},"Total Time at ( Warranted Speed - Speed Under)",-1)),G3=h(()=>e.createElementVNode("div",{style:{width:"5%"}},"=",-1)),I3={style:{width:"8%"}},R3=h(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),z3=h(()=>e.createElementVNode("div",{style:{width:"5%"}},"=",-1)),U3={style:{width:"10%"}},Y3=h(()=>e.createElementVNode("div",{style:{width:"5%"}},"(b')",-1)),Z3={class:"equation"},Q3=h(()=>e.createElementVNode("div",{style:{width:"54%"}},"Total Time at ( Warranted Speed + Speed Over)",-1)),J3=h(()=>e.createElementVNode("div",{style:{width:"5%"}},"=",-1)),K3={style:{width:"8%"}},q3=h(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),X3=h(()=>e.createElementVNode("div",{style:{width:"5%"}},"=",-1)),j3={style:{width:"10%"}},$3=h(()=>e.createElementVNode("div",{style:{width:"5%"}},"(c')",-1)),v3={class:"phase-card"},ek={class:"card",style:{flex:"1"}},tk=h(()=>e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("span",null,"FO Over/Under: ")],-1)),ok={key:0,class:"main-content"},lk={key:0,class:"iconfont success"},ak={key:1,class:"iconfont error"},nk={key:1,class:"main-content"},sk={class:"nogwd"},ik={class:"card-content",style:{"justify-content":"flex-start"}},dk={key:0},ck={class:"equation"},rk=h(()=>e.createElementVNode("div",{style:{width:"54%"}},"Entire Voyage Consumption using Good Weather Consumption",-1)),mk=h(()=>e.createElementVNode("div",{style:{width:"5%"}},"=",-1)),hk={style:{width:"8%"}},pk=h(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),Ek=h(()=>e.createElementVNode("div",{style:{width:"5%"}},"×",-1)),yk={style:{width:"120px"}},_k=h(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),Nk=h(()=>e.createElementVNode("div",{style:{width:"5%"}},"=",-1)),Vk={style:{width:"10%"}},fk=h(()=>e.createElementVNode("div",{style:{width:"5%"}},"(d')",-1)),gk={class:"equation"},Dk=h(()=>e.createElementVNode("div",{style:{width:"54%"}},"Maximum Warranted Consumption for Over-Consumption",-1)),xk=h(()=>e.createElementVNode("div",{style:{width:"5%"}},"=",-1)),bk={style:{width:"8%"}},Ck=h(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),Sk=h(()=>e.createElementVNode("div",{style:{width:"5%"}},"×",-1)),kk={style:{width:"120px"}},Ak=h(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),Bk=h(()=>e.createElementVNode("div",null,"24",-1)),wk=h(()=>e.createElementVNode("div",{style:{width:"5%"}},"=",-1)),Tk={style:{width:"10%"}},Ok=h(()=>e.createElementVNode("div",{style:{width:"5%"}},"(e')",-1)),Fk={class:"equation"},Pk=h(()=>e.createElementVNode("div",{style:{width:"54%"}},"Minimum Warranted Consumption for Fuel-Consumption",-1)),uk=h(()=>e.createElementVNode("div",{style:{width:"5%"}},"=",-1)),Lk={style:{width:"8%"}},Wk=h(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),Hk=h(()=>e.createElementVNode("div",{style:{width:"5%"}},"×",-1)),Mk={style:{width:"120px"}},Gk=h(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),Ik=h(()=>e.createElementVNode("div",null,"24",-1)),Rk=h(()=>e.createElementVNode("div",{style:{width:"5%"}},"=",-1)),zk={style:{width:"10%"}},Uk=h(()=>e.createElementVNode("div",{style:{width:"5%"}},"(f')",-1)),Yk={class:"phase-card"},Zk={class:"card",style:{flex:"1"}},Qk=h(()=>e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("span",null,"DO/GO Over/Under: ")],-1)),Jk={key:0,class:"main-content"},Kk={key:0,class:"iconfont success"},qk={key:1,class:"iconfont error"},Xk={key:1,class:"main-content"},jk={class:"nogwd"},$k={class:"card-content",style:{"justify-content":"flex-start"}},vk={key:0},e4={class:"equation"},t4=h(()=>e.createElementVNode("div",{style:{width:"54%"}},"Entire Voyage Consumption using Good Weather Consumption",-1)),o4=h(()=>e.createElementVNode("div",{style:{width:"5%"}},"=",-1)),l4={style:{width:"8%"}},a4=h(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),n4=h(()=>e.createElementVNode("div",{style:{width:"5%"}},"×",-1)),s4={style:{width:"120px"}},i4=h(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),d4=h(()=>e.createElementVNode("div",{style:{width:"5%"}},"=",-1)),c4={style:{width:"10%"}},r4=h(()=>e.createElementVNode("div",{style:{width:"5%"}},"(d')",-1)),m4={class:"equation"},h4=h(()=>e.createElementVNode("div",{style:{width:"54%"}},"Maximum Warranted Consumption for Over-Consumption",-1)),p4=h(()=>e.createElementVNode("div",{style:{width:"5%"}},"=",-1)),E4={style:{width:"8%"}},y4=h(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),_4=h(()=>e.createElementVNode("div",{style:{width:"5%"}},"×",-1)),N4={style:{width:"120px"}},V4=h(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),f4=h(()=>e.createElementVNode("div",null,"24",-1)),g4=h(()=>e.createElementVNode("div",{style:{width:"5%"}},"=",-1)),D4={style:{width:"10%"}},x4=h(()=>e.createElementVNode("div",{style:{width:"5%"}},"(e')",-1)),b4={class:"equation"},C4=h(()=>e.createElementVNode("div",{style:{width:"54%"}},"Minimum Warranted Consumption for Fuel-Consumption",-1)),S4=h(()=>e.createElementVNode("div",{style:{width:"5%"}},"=",-1)),k4={style:{width:"8%"}},A4=h(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),B4=h(()=>e.createElementVNode("div",{style:{width:"5%"}},"×",-1)),w4={style:{width:"120px"}},T4=h(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),O4=h(()=>e.createElementVNode("div",null,"24",-1)),F4=h(()=>e.createElementVNode("div",{style:{width:"5%"}},"=",-1)),P4={style:{width:"10%"}},u4=h(()=>e.createElementVNode("div",{style:{width:"5%"}},"(f')",-1)),L4=h(()=>e.createElementVNode("div",{class:"dashed",style:{"margin-top":"20px"}},null,-1)),W4={class:"formular dashed",style:{"page-break-inside":"avoid"}},H4={class:"flex formular-item",style:{"border-right":"2px dashed var(--fli-border-color)"}},M4=h(()=>e.createElementVNode("div",{class:"subtitle"},[e.createElementVNode("div",{class:"content"},[e.createElementVNode("i",{class:"iconfont"},""),e.createTextVNode(" Time Lost/Saved Calculation Method ")])],-1)),G4={class:""},I4={class:"equation"},R4=h(()=>e.createElementVNode("div",{style:{width:"35%","text-align":"left"}},"Total Time at Good Weather Performance Speed",-1)),z4=h(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"=",-1)),U4={style:{width:"50%"},class:"fraction"},Y4=h(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),Z4=h(()=>e.createElementVNode("div",null,"Good Weather Performance Speed",-1)),Q4=h(()=>e.createElementVNode("div",{style:{width:"10%","text-align":"center"}},"(a)",-1)),J4={class:"equation"},K4=h(()=>e.createElementVNode("div",{style:{width:"35%","text-align":"left"}},"Total Time at ( Warranted Speed - Speed Under )",-1)),q4=h(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"=",-1)),X4={style:{width:"50%"},class:"fraction"},j4=h(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),$4=h(()=>e.createElementVNode("div",null,"Warranted Speed - Speed Under",-1)),v4=h(()=>e.createElementVNode("div",{style:{width:"10%","text-align":"center"}},"(b)",-1)),eA={class:"equation"},tA=h(()=>e.createElementVNode("div",{style:{width:"35%","text-align":"left"}},"Total Time at ( Warranted Speed + Speed Over )",-1)),oA=h(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"=",-1)),lA={style:{width:"50%"},class:"fraction"},aA=h(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),nA=h(()=>e.createElementVNode("div",null,"Warranted Speed + Speed Over",-1)),sA=h(()=>e.createElementVNode("div",{style:{width:"10%","text-align":"center"}},"(c)",-1)),iA=h(()=>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)),dA={class:"flexL formular-item",style:{"margin-left":"20px"}},cA=h(()=>e.createElementVNode("div",{class:"subtitle"},[e.createElementVNode("div",{class:"content"},[e.createElementVNode("i",{class:"iconfont"},""),e.createTextVNode(" Fuel Over/Under Consumption Calculation Method ")])],-1)),rA={class:""},mA={class:"equation"},hA=h(()=>e.createElementVNode("div",{style:{width:"28%","text-align":"left"}},"Entire Voyage Consumption using vessel Good Weather Consumption",-1)),pA=h(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"=",-1)),EA={style:{width:"25%"},class:"fraction"},yA=h(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),_A=h(()=>e.createElementVNode("div",null,"Good Weather Performance Speed",-1)),NA=h(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"×",-1)),VA=h(()=>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)),fA=h(()=>e.createElementVNode("div",{style:{width:"7%","text-align":"center"}},"(d)",-1)),gA={class:"equation"},DA=h(()=>e.createElementVNode("div",{style:{width:"28%","text-align":"left"}},"Maximum Warranted Consumption for over-consumption",-1)),xA=h(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"=",-1)),bA={style:{width:"25%"},class:"fraction"},CA=h(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),SA=h(()=>e.createElementVNode("div",null,"Warranted Speed - Speed Under",-1)),kA=h(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"×",-1)),AA=h(()=>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)),BA=h(()=>e.createElementVNode("div",{style:{width:"7%","text-align":"center"}},"(e)",-1)),wA={class:"equation"},TA=h(()=>e.createElementVNode("div",{style:{width:"28%","text-align":"left"}},"Minimum Warranted Consumption for fuel saving",-1)),OA=h(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"=",-1)),FA={style:{width:"25%"},class:"fraction"},PA=h(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),uA=h(()=>e.createElementVNode("div",null,"Warranted Speed - Speed Under",-1)),LA=h(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"×",-1)),WA=h(()=>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)),HA=h(()=>e.createElementVNode("div",{style:{width:"7%","text-align":"center"}},"(f)",-1)),MA=h(()=>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)),GA=h(()=>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));function IA(t,n,o,d,l,a){var p,i,E,b,S,_,N,D,r,C,k,O,P,F,w,x,u,R,Z,z,W,f,Y,G,H,K,q,j,X,V,M,J,s,$,c,ee,oe,te,se,ie,ce,re,he,pe,Ee,de,ye,xe,be,Ce,Se,ke,Ae,Be,Fe,Pe,fe,L,_e,ue,Le,We,we,He,Ke,qe,U,Oe,ze,Ue,Ye,Ze,Qe,Je;return e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass((i=(p=o.reportData)==null?void 0:p.weather)!=null&&i.referenceOnly?"watermark":"")},[b0,e.createElementVNode("div",C0,[S0,e.createElementVNode("div",k0,[e.createElementVNode("div",A0,[e.createElementVNode("div",B0,[w0,e.createElementVNode("div",T0,e.toDisplayString((E=o.reportData)==null?void 0:E.preparedFor),1)]),e.createElementVNode("div",O0,[F0,e.createElementVNode("div",P0,e.toDisplayString((S=(b=o.reportData)==null?void 0:b.vessel)==null?void 0:S.name),1)]),e.createElementVNode("div",u0,[L0,e.createElementVNode("div",W0,e.toDisplayString(l.date),1)])]),e.createElementVNode("div",H0,[e.createElementVNode("div",M0,[G0,e.createElementVNode("div",I0,e.toDisplayString(((N=(_=o.reportData)==null?void 0:_.departure)==null?void 0:N.portName)||a.computedLngLat((r=(D=o.reportData)==null?void 0:D.departure)==null?void 0:r.lat,(k=(C=o.reportData)==null?void 0:C.departure)==null?void 0:k.lng)),1),e.createElementVNode("div",R0,e.toDisplayString(a.computedTime((P=(O=o.reportData)==null?void 0:O.departure)==null?void 0:P.utcTime,"table")),1)]),e.createElementVNode("div",z0,[U0,e.createElementVNode("div",Y0,e.toDisplayString(((w=(F=o.reportData)==null?void 0:F.arrival)==null?void 0:w.portName)||a.computedLngLat((u=(x=o.reportData)==null?void 0:x.arrival)==null?void 0:u.lat,(Z=(R=o.reportData)==null?void 0:R.arrival)==null?void 0:Z.lng)),1),e.createElementVNode("div",Z0,e.toDisplayString(a.computedTime((W=(z=o.reportData)==null?void 0:z.arrival)==null?void 0:W.utcTime,"table")),1)]),e.createElementVNode("div",Q0,[J0,e.createElementVNode("div",K0,e.toDisplayString((Y=(f=o.reportData)==null?void 0:f.voyage)==null?void 0:Y.loadCondition),1)])])]),q0,e.createElementVNode("div",X0,[(H=(G=o.reportData)==null?void 0:G.weather)!=null&&H.overallAsGoodWx?(e.openBlock(),e.createElementBlock("div",j0," No specific thresholds in weather. ")):(e.openBlock(),e.createElementBlock("div",$0,[e.createElementVNode("div",v0,[ex,e.createElementVNode("div",tx,"BF "+e.toDisplayString(((q=(K=o.reportData)==null?void 0:K.weather)==null?void 0:q.windScale)||"-"),1)]),(X=(j=o.reportData)==null?void 0:j.weather)!=null&&X.waveSwitch?(e.openBlock(),e.createElementBlock("div",ox,[lx,e.createElementVNode("div",ax,e.toDisplayString(((M=(V=o.reportData)==null?void 0:V.weather)==null?void 0:M.waveHeight)||"-")+" Meter",1)])):(s=(J=o.reportData)==null?void 0:J.weather)!=null&&s.swellSwitch?(e.openBlock(),e.createElementBlock("div",nx,[sx,e.createElementVNode("div",ix,e.toDisplayString(((c=($=o.reportData)==null?void 0:$.weather)==null?void 0:c.swellHeight)||"-")+" Meter",1)])):(oe=(ee=o.reportData)==null?void 0:ee.weather)!=null&&oe.sigSwitch?(e.openBlock(),e.createElementBlock("div",dx,[cx,e.createElementVNode("div",rx,e.toDisplayString(((se=(te=o.reportData)==null?void 0:te.weather)==null?void 0:se.sigHeight)||"-")+" Meter",1)])):e.createCommentVNode("",!0),(ce=(ie=o.reportData)==null?void 0:ie.weather)!=null&&ce.waveSwitch||(he=(re=o.reportData)==null?void 0:re.weather)!=null&&he.swellHeight||(Ee=(pe=o.reportData)==null?void 0:pe.weather)!=null&&Ee.sigSwitch?(e.openBlock(),e.createElementBlock("div",mx,[hx,e.createElementVNode("div",px,e.toDisplayString((ye=(de=o.reportData)==null?void 0:de.weather)==null?void 0:ye.seaScale),1)])):e.createCommentVNode("",!0),(be=(xe=o.reportData)==null?void 0:xe.weather)!=null&&be.noAdverseCur?(e.openBlock(),e.createElementBlock("div",Ex,yx)):e.createCommentVNode("",!0),(Se=(Ce=o.reportData)==null?void 0:Ce.weather)!=null&&Se.noExtrapolation?(e.openBlock(),e.createElementBlock("div",_x,Nx)):e.createCommentVNode("",!0)])),e.createElementVNode("div",Vx,[e.createElementVNode("table",fx,[gx,e.createElementVNode("tbody",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(l.cpDetail,(y,Q)=>(e.openBlock(),e.createElementBlock("tr",{key:Q},[e.createElementVNode("td",null,e.toDisplayString(y==null?void 0:y.type),1),e.createElementVNode("td",null,e.toDisplayString(`${y==null?void 0:y.speed} | ${y==null?void 0:y.spdOfOver} , ${y.spdOfUnder}`),1),e.createElementVNode("td",null,e.toDisplayString(`${y==null?void 0:y.fo} | ${y==null?void 0:y.over} , ${y.under}`),1),e.createElementVNode("td",null,e.toDisplayString(`${y==null?void 0:y.dgo} | ${y==null?void 0:y.over} , ${y.under}`),1)]))),128))])])])]),Dx,e.createElementVNode("div",xx,[((Ae=(ke=o.reportData)==null?void 0:ke.segments)==null?void 0:Ae.length)>1?(e.openBlock(),e.createElementBlock("div",bx,[Cx,e.createElementVNode("div",Sx,[e.createElementVNode("div",kx,[Ax,e.createElementVNode("div",Bx,[(Fe=(Be=o.reportData)==null?void 0:Be.goodWx)!=null&&Fe.avgSpd?(e.openBlock(),e.createElementBlock("div",wx,e.toDisplayString((fe=(Pe=o.reportData)==null?void 0:Pe.goodWx)==null?void 0:fe.avgSpd)+" kts ",1)):(e.openBlock(),e.createElementBlock("div",Tx,e.toDisplayString(l.noGoodWxDay),1))])]),e.createElementVNode("div",Ox,[Fx,e.createElementVNode("div",Px,[(_e=(L=o.reportData)==null?void 0:L.goodWx)!=null&&_e.avgSpd?(e.openBlock(),e.createElementBlock("div",ux,e.toDisplayString((Le=(ue=o.reportData)==null?void 0:ue.goodWx)==null?void 0:Le.avgFoEcaCons)+" mt ",1)):(e.openBlock(),e.createElementBlock("div",Lx,e.toDisplayString(l.noGoodWxDay),1))])]),e.createElementVNode("div",Wx,[Hx,e.createElementVNode("div",Mx,[(we=(We=o.reportData)==null?void 0:We.goodWx)!=null&&we.avgSpd?(e.openBlock(),e.createElementBlock("div",Gx,e.toDisplayString((Ke=(He=o.reportData)==null?void 0:He.goodWx)==null?void 0:Ke.avgDgoEcaCons)+" mt ",1)):(e.openBlock(),e.createElementBlock("div",Ix,e.toDisplayString(l.noGoodWxDay),1))])])]),e.createElementVNode("div",Rx,[e.createElementVNode("div",zx,[Ux,e.createElementVNode("div",Yx,e.toDisplayString((U=(qe=o.reportData)==null?void 0:qe.allWx)==null?void 0:U.avgSpd)+" kts ",1)]),e.createElementVNode("div",Zx,[Qx,e.createElementVNode("div",Jx,e.toDisplayString((ze=(Oe=o.reportData)==null?void 0:Oe.allWx)==null?void 0:ze.avgFoEcaCons)+" mt ",1)]),e.createElementVNode("div",Kx,[qx,e.createElementVNode("div",Xx,e.toDisplayString((Ye=(Ue=o.reportData)==null?void 0:Ue.allWx)==null?void 0:Ye.avgDgoEcaCons)+" mt ",1)])]),jx])):e.createCommentVNode("",!0),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList((Ze=o.reportData)==null?void 0:Ze.segments,(y,Q)=>{var ge,Te,Me;return e.openBlock(),e.createElementBlock("div",{class:"summary-seg",key:Q},[e.createElementVNode("div",$x,[e.createElementVNode("div",vx,[eb,e.createElementVNode("span",null,"Phase "+e.toDisplayString(Q+1),1)]),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(l.segDetail[Q],(me,Xe)=>(e.openBlock(),e.createElementBlock("div",{key:"seg"+Xe,class:e.normalizeClass(l.segDetail[Q].length>1?"dashed":"")},[e.createElementVNode("div",tb,[e.createElementVNode("div",null,e.toDisplayString(me==null?void 0:me.port1),1),e.createElementVNode("div",null,e.toDisplayString(me==null?void 0:me.time1),1)]),e.createElementVNode("div",ob,[e.createElementVNode("div",null,e.toDisplayString(me==null?void 0:me.port2),1),e.createElementVNode("div",null,e.toDisplayString(me==null?void 0:me.time2),1)])],2))),128)),e.createElementVNode("div",lb,[ab,e.createElementVNode("div",null,[e.createElementVNode("span",nb,e.toDisplayString(y.extend.cp.type)+" : ",1),e.createElementVNode("span",null,e.toDisplayString(y.extend.cp.speed)+"kts / ",1),e.createElementVNode("span",null,e.toDisplayString(y.extend.cp.fo)+"mt / ",1),e.createElementVNode("span",null,e.toDisplayString(y.extend.cp.dgo)+"mt",1)])])]),e.createElementVNode("div",sb,[ib,(ge=y.goodWx)!=null&&ge.distance?(e.openBlock(),e.createElementBlock("div",db,[a.computedTimeConclusion(y.timeConclusion).className==="success"?(e.openBlock(),e.createElementBlock("i",cb,"")):e.createCommentVNode("",!0),a.computedTimeConclusion(y.timeConclusion).className==="error"?(e.openBlock(),e.createElementBlock("i",rb,"")):e.createCommentVNode("",!0),e.createElementVNode("span",null,e.toDisplayString(a.computedTimeConclusion(y.timeConclusion).timeCon),1)])):(e.openBlock(),e.createElementBlock("div",mb,[e.createElementVNode("span",null,e.toDisplayString(l.noGoodWxDay),1)])),e.createElementVNode("div",hb,[e.createElementVNode("i",{class:e.normalizeClass(`iconfont ${a.computedTimeConclusion(y.timeConclusion).className}`)},"",2),e.createElementVNode("span",null,e.toDisplayString(a.computedTimeConclusion(y.timeConclusion).conclusion),1)])]),e.createElementVNode("div",pb,[Eb,(Te=y.goodWx)!=null&&Te.distance?(e.openBlock(),e.createElementBlock("div",yb,[a.computedFuleConclusion(y.fuelConclusion.fo,"FO").className==="success"?(e.openBlock(),e.createElementBlock("i",_b,"")):e.createCommentVNode("",!0),a.computedFuleConclusion(y.fuelConclusion.fo,"FO").className==="error"?(e.openBlock(),e.createElementBlock("i",Nb,"")):e.createCommentVNode("",!0),e.createElementVNode("span",null,e.toDisplayString(a.computedFuleConclusion(y.fuelConclusion.fo,"FO").cons),1)])):(e.openBlock(),e.createElementBlock("div",Vb,[e.createElementVNode("span",null,e.toDisplayString(l.noGoodWxDay),1)])),e.createElementVNode("div",fb,[e.createElementVNode("i",{class:e.normalizeClass(`iconfont ${a.computedFuleConclusion(y.fuelConclusion.fo,"FO").className}`)},"",2),e.createElementVNode("span",null,e.toDisplayString(a.computedFuleConclusion(y.fuelConclusion.fo,"FO").conclusion),1)])]),e.createElementVNode("div",gb,[Db,(Me=y.goodWx)!=null&&Me.distance?(e.openBlock(),e.createElementBlock("div",xb,[a.computedFuleConclusion(y.fuelConclusion.dgo,"DGO").className==="success"?(e.openBlock(),e.createElementBlock("i",bb,"")):e.createCommentVNode("",!0),a.computedFuleConclusion(y.fuelConclusion.dgo,"DGO").className==="error"?(e.openBlock(),e.createElementBlock("i",Cb,"")):e.createCommentVNode("",!0),e.createElementVNode("span",null,e.toDisplayString(a.computedFuleConclusion(y.fuelConclusion.dgo,"DGO").cons),1)])):(e.openBlock(),e.createElementBlock("div",Sb,[e.createElementVNode("span",null,e.toDisplayString(l.noGoodWxDay),1)])),e.createElementVNode("div",kb,[e.createElementVNode("i",{class:e.normalizeClass(`iconfont ${a.computedFuleConclusion(y.fuelConclusion.dgo,"DGO").className}`)},"",2),e.createElementVNode("span",null,e.toDisplayString(a.computedFuleConclusion(y.fuelConclusion.dgo,"DGO").conclusion),1)])])])}),128))]),e.createElementVNode("div",Ab,[Bb,e.createElementVNode("div",wb,[e.createElementVNode("div",Tb,[Ob,(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList((Qe=o.reportData)==null?void 0:Qe.segments,(y,Q)=>(e.openBlock(),e.createElementBlock("div",{class:"remark-speed",key:Q},[e.createElementVNode("div",Fb,[e.createElementVNode("div",null,[e.createTextVNode(e.toDisplayString(`${Q+1}. Phase ${Q+1} Applied `)+" ",1),e.createElementVNode("span",Pb,e.toDisplayString(y.extend.cp.type)+" Speed ( ",1),e.createElementVNode("span",null,e.toDisplayString(y.extend.cp.speed)+"kts / ",1),e.createElementVNode("span",null,e.toDisplayString(y.extend.cp.fo)+"mt / ",1),e.createElementVNode("span",null,e.toDisplayString(y.extend.cp.dgo)+"mt )  ",1)]),e.createElementVNode("div",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(l.segDetail[Q],(ge,Te)=>(e.openBlock(),e.createElementBlock("div",{key:"seg"+Te},e.toDisplayString(`${ge.port1} (${ge.fullTime1}) to ${ge.port2} (${ge.fullTime2})`),1))),128))])])]))),128))]),e.createElementVNode("div",ub,[Lb,l.excludedTableData.length?(e.openBlock(),e.createElementBlock("div",Wb,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(l.excludedTableData,(y,Q)=>(e.openBlock(),e.createElementBlock("div",{key:Q},e.toDisplayString(`From ${y.begin} to ${y.end}`),1))),128))])):(e.openBlock(),e.createElementBlock("div",Hb,e.toDisplayString(l.noSpecialRemarks),1))])])]),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList((Je=o.reportData)==null?void 0:Je.segments,(y,Q)=>{var ge,Te,Me,me,Xe,$e,ve,ot,lt,at,nt,mt,ht,pt,Et,yt,_t,Nt,Vt,ft,gt,Dt,xt,bt,Ct,St,kt,At,Bt,wt,Tt,Ht,ho,yo,_o,No,Vo,I,tt,Ot,Ft,Mt,Gt,It,Rt,zt,Ut,Yt,Zt,Qt,Jt,Kt,qt,Xt,jt,$t,vt,eo,to,oo,lo,ao,no,so,io,co,fo,go,Do,xo,bo,Co,So,ko,Ao,Bo,wo,To,Oo,Fo,Po,uo,Lo,Wo,Ho,Mo,Go,Io,Uo,Yo,Zo,Qo,Jo,Ko,qo,Xo,jo,$o,vo,el,tl,ol,ll,al,nl,sl,il,dl,cl,rl,ml,hl,pl,El;return e.openBlock(),e.createElementBlock("div",{class:"phase",key:Q},[e.createElementVNode("div",Mb,[e.createElementVNode("div",Gb,[e.createElementVNode("div",Ib,[e.createElementVNode("div",Rb,[zb,e.createElementVNode("span",null,"Phase "+e.toDisplayString(Q+1),1)]),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(l.segDetail[Q],(Pt,Nl)=>(e.openBlock(),e.createElementBlock("div",{key:"seg"+Nl,class:e.normalizeClass(l.segDetail[Q].length>1?"dashed":"")},[e.createElementVNode("div",Ub,[e.createElementVNode("div",null,e.toDisplayString(Pt==null?void 0:Pt.port1),1),e.createElementVNode("div",null,e.toDisplayString(Pt==null?void 0:Pt.time1),1)]),e.createElementVNode("div",Yb,[e.createElementVNode("div",null,e.toDisplayString(Pt==null?void 0:Pt.port2),1),e.createElementVNode("div",null,e.toDisplayString(Pt==null?void 0:Pt.time2),1)])],2))),128)),e.createElementVNode("div",Zb,[Qb,e.createElementVNode("div",null,[e.createElementVNode("span",Jb,e.toDisplayString(y.extend.cp.type)+" : ",1),e.createElementVNode("span",null,e.toDisplayString(y.extend.cp.speed)+"kts / ",1),e.createElementVNode("span",null,e.toDisplayString(y.extend.cp.fo)+"mt / ",1),e.createElementVNode("span",null,e.toDisplayString(y.extend.cp.dgo)+"mt",1)])])])]),Kb,e.createElementVNode("div",qb,[e.createElementVNode("div",Xb,[jb,e.createElementVNode("div",$b,[e.createElementVNode("span",null,e.toDisplayString(((ge=y.goodWx)==null?void 0:ge.avgFoEcaCons)||"-")+" mt",1)]),vb,e.createElementVNode("div",eC,[e.createElementVNode("span",null,e.toDisplayString(((Te=y.allWx)==null?void 0:Te.avgFoEcaCons)||"-")+" mt",1)]),e.createElementVNode("div",tC,[oC,e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((Me=y.goodWx)==null?void 0:Me.outEca.avgFoCons)||"-"),1),lC])]),e.createElementVNode("div",aC,[nC,e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((me=y.goodWx)==null?void 0:me.inEca.avgFoEcaCons)||"-"),1),sC])]),e.createElementVNode("div",iC,[dC,e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((Xe=y.allWx)==null?void 0:Xe.outEca.avgFoCons)||"-"),1),cC])]),e.createElementVNode("div",rC,[mC,e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString((($e=y.allWx)==null?void 0:$e.inEca.avgFoEcaCons)||"-"),1),hC])]),pC]),e.createElementVNode("div",EC,[yC,e.createElementVNode("div",_C,[e.createElementVNode("span",null,e.toDisplayString(((ve=y.goodWx)==null?void 0:ve.avgDgoEcaCons)||"-")+" mt",1)]),NC,e.createElementVNode("div",VC,[e.createElementVNode("span",null,e.toDisplayString(((ot=y.allWx)==null?void 0:ot.avgDgoEcaCons)||"-")+" mt",1)]),e.createElementVNode("div",fC,[gC,e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((lt=y.goodWx)==null?void 0:lt.outEca.avgDgoCons)||"-"),1),DC])]),e.createElementVNode("div",xC,[bC,e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((at=y.goodWx)==null?void 0:at.inEca.avgDgoEcaCons)||"-"),1),CC])]),e.createElementVNode("div",SC,[kC,e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((nt=y.allWx)==null?void 0:nt.outEca.avgDgoCons)||"-"),1),AC])]),e.createElementVNode("div",BC,[wC,e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((mt=y.allWx)==null?void 0:mt.inEca.avgDgoEcaCons)||"-"),1),TC])]),OC])]),e.createElementVNode("div",FC,[e.createElementVNode("div",PC,[uC,e.createElementVNode("div",LC,[e.createElementVNode("span",null,e.toDisplayString(((ht=y.goodWx)==null?void 0:ht.distance)||"-")+" nm",1)]),WC,e.createElementVNode("div",HC,[e.createElementVNode("span",null,e.toDisplayString(((pt=y.allWx)==null?void 0:pt.distance)||"-")+" nm",1)]),e.createElementVNode("div",MC,[GC,e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((Et=y.goodWx)==null?void 0:Et.outEca.distance)||"-"),1),IC])]),e.createElementVNode("div",RC,[zC,e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((yt=y.goodWx)==null?void 0:yt.inEca.distance)||"-"),1),UC])]),e.createElementVNode("div",YC,[ZC,e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((_t=y.allWx)==null?void 0:_t.outEca.distance)||"-"),1),QC])]),e.createElementVNode("div",JC,[KC,e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((Nt=y.allWx)==null?void 0:Nt.inEca.distance)||"-"),1),qC])])]),e.createElementVNode("div",XC,[jC,e.createElementVNode("div",$C,[e.createElementVNode("span",null,e.toDisplayString(((Vt=y.goodWx)==null?void 0:Vt.time)||"-")+" hrs",1)]),vC,e.createElementVNode("div",eS,[e.createElementVNode("span",null,e.toDisplayString(((ft=y.allWx)==null?void 0:ft.time)||"-")+" hrs",1)]),e.createElementVNode("div",tS,[oS,e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((gt=y.goodWx)==null?void 0:gt.outEca.time)||"-"),1),lS])]),e.createElementVNode("div",aS,[nS,e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((Dt=y.goodWx)==null?void 0:Dt.inEca.time)||"-"),1),sS])]),e.createElementVNode("div",iS,[dS,e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((xt=y.allWx)==null?void 0:xt.outEca.time)||"-"),1),cS])]),e.createElementVNode("div",rS,[mS,e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((bt=y.allWx)==null?void 0:bt.inEca.time)||"-"),1),hS])])]),e.createElementVNode("div",pS,[ES,e.createElementVNode("div",yS,[e.createElementVNode("span",null,e.toDisplayString(((Ct=y.goodWx)==null?void 0:Ct.avgSpd)||"-")+" kts",1)]),_S,e.createElementVNode("div",NS,[e.createElementVNode("span",null,e.toDisplayString(((St=y.allWx)==null?void 0:St.avgSpd)||"-")+" kts",1)]),e.createElementVNode("div",VS,[fS,e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((kt=y.goodWx)==null?void 0:kt.outEca.avgSpd)||"-"),1),gS])]),e.createElementVNode("div",DS,[xS,e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((At=y.goodWx)==null?void 0:At.inEca.avgSpd)||"-"),1),bS])]),e.createElementVNode("div",CS,[SS,e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((Bt=y.allWx)==null?void 0:Bt.outEca.avgSpd)||"-"),1),kS])]),e.createElementVNode("div",AS,[BS,e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((wt=y.allWx)==null?void 0:wt.inEca.avgSpd)||"-"),1),wS])])])]),e.createElementVNode("div",TS,[e.createElementVNode("div",OS,[FS,e.createElementVNode("div",PS,[e.createElementVNode("span",null,e.toDisplayString(((Tt=y.goodWx)==null?void 0:Tt.sumFoCons)||"-")+" mt",1)]),uS,e.createElementVNode("div",LS,[e.createElementVNode("span",null,e.toDisplayString(((Ht=y.allWx)==null?void 0:Ht.sumFoCons)||"-")+" mt",1)]),e.createElementVNode("div",WS,[HS,e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((ho=y.goodWx)==null?void 0:ho.outEca.sumFoCons)||"-"),1),MS])]),e.createElementVNode("div",GS,[IS,e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((yo=y.goodWx)==null?void 0:yo.inEca.sumFoCons)||"-"),1),RS])]),e.createElementVNode("div",zS,[US,e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((_o=y.allWx)==null?void 0:_o.outEca.sumFoCons)||"-"),1),YS])]),e.createElementVNode("div",ZS,[QS,e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((No=y.allWx)==null?void 0:No.inEca.sumFoCons)||"-"),1),JS])])]),e.createElementVNode("div",KS,[qS,e.createElementVNode("div",XS,[e.createElementVNode("span",null,e.toDisplayString(((Vo=y.goodWx)==null?void 0:Vo.sumDgoCons)||"-")+" mt",1)]),jS,e.createElementVNode("div",$S,[e.createElementVNode("span",null,e.toDisplayString(((I=y.allWx)==null?void 0:I.sumDgoCons)||"-")+" mt",1)]),e.createElementVNode("div",vS,[e3,e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((tt=y.goodWx)==null?void 0:tt.outEca.sumDgoCons)||"-"),1),t3])]),e.createElementVNode("div",o3,[l3,e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((Ot=y.goodWx)==null?void 0:Ot.inEca.sumDgoCons)||"-"),1),a3])]),e.createElementVNode("div",n3,[s3,e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((Ft=y.allWx)==null?void 0:Ft.outEca.sumDgoCons)||"-"),1),i3])]),e.createElementVNode("div",d3,[c3,e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((Mt=y.allWx)==null?void 0:Mt.inEca.sumDgoCons)||"-"),1),r3])])]),e.createElementVNode("div",m3,[h3,e.createElementVNode("div",p3,[e.createElementVNode("span",null,e.toDisplayString(((Gt=y.goodWx)==null?void 0:Gt.pfmSpd)||"-")+" kts",1)]),e.createElementVNode("div",E3,[y3,(It=y.goodWx)!=null&&It.distance&&!((zt=(Rt=o.reportData)==null?void 0:Rt.weather)!=null&&zt.favorableCur&&((Ut=y.goodWx)==null?void 0:Ut.avgCf)>0)?(e.openBlock(),e.createElementBlock("b",_3,[e.createTextVNode(e.toDisplayString(a.computedPositive((Yt=y.goodWx)==null?void 0:Yt.avgCf)),1),N3])):(e.openBlock(),e.createElementBlock("b",V3,"Not Applied"))])])]),e.createElementVNode("div",null,[e.createElementVNode("div",f3,[e.createElementVNode("div",g3,[D3,(Zt=y.goodWx)!=null&&Zt.distance?(e.openBlock(),e.createElementBlock("div",x3,[a.computedTimeConclusion(y.timeConclusion).className==="success"?(e.openBlock(),e.createElementBlock("i",b3,"")):e.createCommentVNode("",!0),a.computedTimeConclusion(y.timeConclusion).className==="error"?(e.openBlock(),e.createElementBlock("i",C3,"")):e.createCommentVNode("",!0),e.createElementVNode("span",null,e.toDisplayString(a.computedTimeConclusion(y.timeConclusion).timeCon),1)])):(e.openBlock(),e.createElementBlock("div",S3,[e.createElementVNode("span",k3,e.toDisplayString(l.noGoodWxDay),1)])),e.createElementVNode("div",A3,[e.createElementVNode("i",{class:e.normalizeClass(`iconfont ${a.computedTimeConclusion(y.timeConclusion).className}`)},"",2),e.createElementVNode("span",null,e.toDisplayString(a.computedTimeConclusion(y.timeConclusion).conclusion),1)])]),e.createElementVNode("div",{class:e.normalizeClass(`${(Qt=y.goodWx)!=null&&Qt.distance?"":"analysis-none"} card analysis-card`)},[(Jt=y.goodWx)!=null&&Jt.distance?(e.openBlock(),e.createElementBlock("div",B3,[e.createElementVNode("div",w3,[T3,O3,e.createElementVNode("div",F3,[e.createElementVNode("div",null,e.toDisplayString((qt=(Kt=o.reportData)==null?void 0:Kt.weather)!=null&&qt.noExtrapolation?(Xt=y.goodWx)==null?void 0:Xt.distance:(jt=y.allWx)==null?void 0:jt.distance),1),P3,e.createElementVNode("div",null,e.toDisplayString(($t=y.goodWx)==null?void 0:$t.pfmSpd),1)]),u3,e.createElementVNode("div",L3,e.toDisplayString(y.timeConclusion.timeAtPfmSpd)+" Hrs",1),W3]),e.createElementVNode("div",H3,[M3,G3,e.createElementVNode("div",I3,[e.createElementVNode("div",null,e.toDisplayString((eo=(vt=o.reportData)==null?void 0:vt.weather)!=null&&eo.noExtrapolation?(to=y.goodWx)==null?void 0:to.distance:(oo=y.allWx)==null?void 0:oo.distance),1),R3,e.createElementVNode("div",null,e.toDisplayString(y.timeConclusion.minusAbtSpd),1)]),z3,e.createElementVNode("div",U3,e.toDisplayString(y.timeConclusion.timeAtMinusAbtSpd)+" Hrs",1),Y3]),e.createElementVNode("div",Z3,[Q3,J3,e.createElementVNode("div",K3,[e.createElementVNode("div",null,e.toDisplayString((ao=(lo=o.reportData)==null?void 0:lo.weather)!=null&&ao.noExtrapolation?(no=y.goodWx)==null?void 0:no.distance:(so=y.allWx)==null?void 0:so.distance),1),q3,e.createElementVNode("div",null,e.toDisplayString(y.timeConclusion.plusAbtSpd),1)]),X3,e.createElementVNode("div",j3,e.toDisplayString(y.timeConclusion.timeAtPlusAbtSpd)+" Hrs",1),$3])])):e.createCommentVNode("",!0)],2)]),e.createElementVNode("div",v3,[e.createElementVNode("div",ek,[tk,(io=y.goodWx)!=null&&io.distance?(e.openBlock(),e.createElementBlock("div",ok,[a.computedFuleConclusion(y.fuelConclusion.fo,"FO").className==="success"?(e.openBlock(),e.createElementBlock("i",lk,"")):e.createCommentVNode("",!0),a.computedFuleConclusion(y.fuelConclusion.fo,"FO").className==="error"?(e.openBlock(),e.createElementBlock("i",ak,"")):e.createCommentVNode("",!0),e.createElementVNode("span",null,e.toDisplayString(a.computedFuleConclusion(y.fuelConclusion.fo,"FO").cons),1)])):(e.openBlock(),e.createElementBlock("div",nk,[e.createElementVNode("span",sk,e.toDisplayString(l.noGoodWxDay),1)])),e.createElementVNode("div",ik,[e.createElementVNode("i",{class:e.normalizeClass(`iconfont ${a.computedFuleConclusion(y.fuelConclusion.fo,"FO").className}`)},"",2),e.createElementVNode("span",null,e.toDisplayString(a.computedFuleConclusion(y.fuelConclusion.fo,"FO").conclusion),1)])]),e.createElementVNode("div",{class:e.normalizeClass(`${(co=y.goodWx)!=null&&co.distance?"":"analysis-none"} card analysis-card`)},[(fo=y.goodWx)!=null&&fo.distance?(e.openBlock(),e.createElementBlock("div",dk,[e.createElementVNode("div",ck,[rk,mk,e.createElementVNode("div",hk,[e.createElementVNode("div",null,e.toDisplayString((Do=(go=o.reportData)==null?void 0:go.weather)!=null&&Do.noExtrapolation?(xo=y.goodWx)==null?void 0:xo.distance:(bo=y.allWx)==null?void 0:bo.distance),1),pk,e.createElementVNode("div",null,e.toDisplayString((Co=y.goodWx)==null?void 0:Co.pfmSpd),1)]),Ek,e.createElementVNode("div",yk,[e.createElementVNode("div",null,e.toDisplayString((So=y.goodWx)==null?void 0:So.sumFoCons)+" "+e.toDisplayString(((ko=y.allWx)==null?void 0:ko.inEca.distance)>0?` + ${y.fuelConclusion.fo.dgoAsFoCons}`:""),1),_k,e.createElementVNode("div",null,e.toDisplayString((Ao=y.goodWx)==null?void 0:Ao.time),1)]),Nk,e.createElementVNode("div",Vk,e.toDisplayString(y.fuelConclusion.fo.entireCons)+" MT",1),fk]),e.createElementVNode("div",gk,[Dk,xk,e.createElementVNode("div",bk,[e.createElementVNode("div",null,e.toDisplayString((wo=(Bo=o.reportData)==null?void 0:Bo.weather)!=null&&wo.noExtrapolation?(To=y.goodWx)==null?void 0:To.distance:(Oo=y.allWx)==null?void 0:Oo.distance),1),Ck,e.createElementVNode("div",null,e.toDisplayString(y.timeConclusion.minusAbtSpd),1)]),Sk,e.createElementVNode("div",kk,[e.createElementVNode("div",null,e.toDisplayString(y.fuelConclusion.fo.overTolerance),1),Ak,Bk]),wk,e.createElementVNode("div",Tk,e.toDisplayString(y.fuelConclusion.fo.maxCons)+" MT",1),Ok]),e.createElementVNode("div",Fk,[Pk,uk,e.createElementVNode("div",Lk,[e.createElementVNode("div",null,e.toDisplayString((Po=(Fo=o.reportData)==null?void 0:Fo.weather)!=null&&Po.noExtrapolation?(uo=y.goodWx)==null?void 0:uo.distance:(Lo=y.allWx)==null?void 0:Lo.distance),1),Wk,e.createElementVNode("div",null,e.toDisplayString(y.timeConclusion.minusAbtSpd),1)]),Hk,e.createElementVNode("div",Mk,[e.createElementVNode("div",null,e.toDisplayString(y.fuelConclusion.fo.underTolerance),1),Gk,Ik]),Rk,e.createElementVNode("div",zk,e.toDisplayString(y.fuelConclusion.fo.minCons)+" MT",1),Uk])])):e.createCommentVNode("",!0)],2)]),e.createElementVNode("div",Yk,[e.createElementVNode("div",Zk,[Qk,(Wo=y.goodWx)!=null&&Wo.distance?(e.openBlock(),e.createElementBlock("div",Jk,[a.computedFuleConclusion(y.fuelConclusion.dgo,"DGO").className==="success"?(e.openBlock(),e.createElementBlock("i",Kk,"")):e.createCommentVNode("",!0),a.computedFuleConclusion(y.fuelConclusion.dgo,"DGO").className==="error"?(e.openBlock(),e.createElementBlock("i",qk,"")):e.createCommentVNode("",!0),e.createElementVNode("span",null,e.toDisplayString(a.computedFuleConclusion(y.fuelConclusion.dgo,"DGO").cons),1)])):(e.openBlock(),e.createElementBlock("div",Xk,[e.createElementVNode("span",jk,e.toDisplayString(l.noGoodWxDay),1)])),e.createElementVNode("div",$k,[e.createElementVNode("i",{class:e.normalizeClass(`iconfont ${a.computedFuleConclusion(y.fuelConclusion.dgo,"DGO").className}`)},"",2),e.createElementVNode("span",null,e.toDisplayString(a.computedFuleConclusion(y.fuelConclusion.dgo,"DGO").conclusion),1)])]),e.createElementVNode("div",{class:e.normalizeClass(`${(Ho=y.goodWx)!=null&&Ho.distance?"":"analysis-none"} card analysis-card`)},[(Mo=y.goodWx)!=null&&Mo.distance?(e.openBlock(),e.createElementBlock("div",vk,[e.createElementVNode("div",e4,[t4,o4,e.createElementVNode("div",l4,[e.createElementVNode("div",null,e.toDisplayString((Io=(Go=o.reportData)==null?void 0:Go.weather)!=null&&Io.noExtrapolation?(Uo=y.goodWx)==null?void 0:Uo.distance:(Yo=y.allWx)==null?void 0:Yo.distance),1),a4,e.createElementVNode("div",null,e.toDisplayString((Zo=y.goodWx)==null?void 0:Zo.pfmSpd),1)]),n4,e.createElementVNode("div",s4,[e.createElementVNode("div",null,e.toDisplayString((Qo=y.goodWx)==null?void 0:Qo.sumDgoCons)+" "+e.toDisplayString(((Jo=y.allWx)==null?void 0:Jo.inEca.distance)>0?` - ${y.fuelConclusion.fo.dgoAsFoCons}`:""),1),i4,e.createElementVNode("div",null,e.toDisplayString((Ko=y.goodWx)==null?void 0:Ko.time),1)]),d4,e.createElementVNode("div",c4,e.toDisplayString(y.fuelConclusion.dgo.entireCons)+" MT",1),r4]),e.createElementVNode("div",m4,[h4,p4,e.createElementVNode("div",E4,[e.createElementVNode("div",null,e.toDisplayString((Xo=(qo=o.reportData)==null?void 0:qo.weather)!=null&&Xo.noExtrapolation?(jo=y.goodWx)==null?void 0:jo.distance:($o=y.allWx)==null?void 0:$o.distance),1),y4,e.createElementVNode("div",null,e.toDisplayString(y.timeConclusion.minusAbtSpd),1)]),_4,e.createElementVNode("div",N4,[e.createElementVNode("div",null,e.toDisplayString(y.fuelConclusion.dgo.overTolerance),1),V4,f4]),g4,e.createElementVNode("div",D4,e.toDisplayString(y.fuelConclusion.dgo.maxCons)+" MT",1),x4]),e.createElementVNode("div",b4,[C4,S4,e.createElementVNode("div",k4,[e.createElementVNode("div",null,e.toDisplayString((el=(vo=o.reportData)==null?void 0:vo.weather)!=null&&el.noExtrapolation?(tl=y.goodWx)==null?void 0:tl.distance:(ol=y.allWx)==null?void 0:ol.distance),1),A4,e.createElementVNode("div",null,e.toDisplayString(y.timeConclusion.minusAbtSpd),1)]),B4,e.createElementVNode("div",w4,[e.createElementVNode("div",null,e.toDisplayString(y.fuelConclusion.dgo.underTolerance),1),T4,O4]),F4,e.createElementVNode("div",P4,e.toDisplayString(y.fuelConclusion.dgo.minCons)+" MT",1),u4])])):e.createCommentVNode("",!0)],2)])]),L4,e.createElementVNode("div",W4,[e.createElementVNode("div",H4,[M4,e.createElementVNode("div",G4,[e.createElementVNode("div",I4,[R4,z4,e.createElementVNode("div",U4,[e.createElementVNode("div",null,e.toDisplayString((al=(ll=o.reportData)==null?void 0:ll.weather)!=null&&al.noExtrapolation?"Total Distance At Good Weather":"Total Distance"),1),Y4,Z4]),Q4]),e.createElementVNode("div",J4,[K4,q4,e.createElementVNode("div",X4,[e.createElementVNode("div",null,e.toDisplayString((sl=(nl=o.reportData)==null?void 0:nl.weather)!=null&&sl.noExtrapolation?"Good Weather Distance":"Total Distance"),1),j4,$4]),v4]),e.createElementVNode("div",eA,[tA,oA,e.createElementVNode("div",lA,[e.createElementVNode("div",null,e.toDisplayString((dl=(il=o.reportData)==null?void 0:il.weather)!=null&&dl.noExtrapolation?"Good Weather Distance":"Total Distance"),1),aA,nA]),sA]),iA])]),e.createElementVNode("div",dA,[cA,e.createElementVNode("div",rA,[e.createElementVNode("div",mA,[hA,pA,e.createElementVNode("div",EA,[e.createElementVNode("div",null,e.toDisplayString((rl=(cl=o.reportData)==null?void 0:cl.weather)!=null&&rl.noExtrapolation?"Good Weather Distance":"Total Distance"),1),yA,_A]),NA,VA,fA]),e.createElementVNode("div",gA,[DA,xA,e.createElementVNode("div",bA,[e.createElementVNode("div",null,e.toDisplayString((hl=(ml=o.reportData)==null?void 0:ml.weather)!=null&&hl.noExtrapolation?"Good Weather Distance":"Total Distance"),1),CA,SA]),kA,AA,BA]),e.createElementVNode("div",wA,[TA,OA,e.createElementVNode("div",FA,[e.createElementVNode("div",null,e.toDisplayString((El=(pl=o.reportData)==null?void 0:pl.weather)!=null&&El.noExtrapolation?"Good Weather Distance":"Total Distance"),1),PA,uA]),LA,WA,HA]),MA,GA])])])])])}),128))])],2)}const RA=De(x0,[["render",IA],["__scopeId","data-v-9be6b8be"]]),Zee="",zA={components:{},props:{reportData:{type:Object,default:()=>({})},isAdmin:{type:Boolean,default:()=>!1}},data(){return{date:"",showCF:!1,showAisDistance:!0,summaryTable:[],typeList:[]}},computed:{computeColspan(){let t=11;return this.showCF||(t=t-2),this.showAisDistance||(t=t-2),t},computedClass(){return function(t,n,o,d){var p;let l="";const a=((p=this.summaryTable)==null?void 0:p.length)-1;return o&&n!==a&&(l=t.abbreviation==="A"||t.abbreviation==="B"?"td-no-bottom":""),(t==null?void 0:t.goodWx)===!0&&!d&&(l=l+" good-weather"),(t==null?void 0:t.excluded)===!0&&!d&&(l=l+" excluded"),l}},computedSegClass(){return function(t,n){var d,l;const o=((d=this.summaryTable)==null?void 0:d.length)-1;if(o>-1){if(t.isFirstSeg&&n!==o)return"td-no-bottom td-top";if((l=this.summaryTable[n+1])!=null&&l.isFirstSeg)return"td-bottom";if(n!==o)return"td-no-bottom"}return"td-bottom"}},computedPort(){return function(t){var n;return!((t.abbreviation==="E"||t.abbreviation==="B")&&t.noon&&(n=t.noon)!=null&&n.port)}},computedTime(){return function(t,n){return n==="subtitle"?T(t).utc().format("MMMM-DD, YYYY/HHmm [Z]"):n==="table"?T(t).utc().format("MMMM-DD/HHmm[Z]"):T(t).utc().format("dddd, MMMM D, YYYY")}}},mounted(){},watch:{reportData:{handler(t,n){t!=null&&t.id&&this.$nextTick(()=>{this.checkData()})},immediate:!0}},methods:{getLonLat(t){return`${t.degree}°${v.roundPrecision(t.minute,1)}′${t.direction}`},checkData(){var d,l,a,p;this.showCF=(l=(d=this.reportData)==null?void 0:d.weather)==null?void 0:l.showCF,this.showAisDistance=!0;let t=[];(p=(a=this.reportData)==null?void 0:a.segments)==null||p.forEach((i,E)=>{let b=i.extend.cp;i.inventory.sample.hours.forEach((S,_)=>{let N=JSON.parse(JSON.stringify(S));N.cp=b,t.push(N)})}),t.sort(function(i,E){let b=i.date,S=E.date;return b-S});let n="",o="";t.forEach((i,E)=>{i.seg!==n&&(i.isFirstSeg=!0,n=i.seg);let b=i.type.charAt(0);i.abbreviation=b;const S=T(i.utc).utc().format("D-MMM");S!==o&&(i.lastdate=S,o=S),b==="A"?i.type="":b==="M"&&(i.type="*"),i.time=T(i.utc).utc().format("HH:mm[Z]"),i.lngPretty=this.getLonLat(v.LngLatHelper.lng2pretty(i.lng)),i.latPretty=this.getLonLat(v.LngLatHelper.lat2pretty(i.lat))}),this.summaryTable=t}}},rn=t=>(e.pushScopeId("data-v-a420dc44"),t=t(),e.popScopeId(),t),UA=rn(()=>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)),YA={class:"table",id:"second-table"},ZA={class:"summary-table"},QA=rn(()=>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)),JA={class:"summary-tbody"},KA=e.createStaticVNode('<div style="page-break-inside:avoid;" class="table-legend dashed" data-v-a420dc44><div class="item" data-v-a420dc44><div class="legend" data-v-a420dc44><div class="legend-bg gwd" data-v-a420dc44></div></div> Good Weather Days </div><div class="item" data-v-a420dc44><div class="legend" data-v-a420dc44><div class="legend-bg adverse" data-v-a420dc44></div></div> Adverse Weather Days </div><div class="item" data-v-a420dc44><div class="legend" data-v-a420dc44><div class="legend-bg excluded" data-v-a420dc44></div></div> Excluded Periods </div></div>',1),qA={class:"voyage-map",style:{"page-break-inside":"avoid"}},XA=rn(()=>e.createElementVNode("div",{class:"title"},[e.createElementVNode("i",{class:"iconfont"},""),e.createElementVNode("div",{class:"content"},"Voyage Map")],-1)),jA=["src"],$A=e.createStaticVNode('<div class="legend-block" data-v-a420dc44><div style="position:relative;left:-20px;" data-v-a420dc44><div style="position:relative;display:inline-block;top:-12px;left:15px;transform:scale(0.95);" data-v-a420dc44><div data-v-a420dc44>7</div><br data-v-a420dc44><div data-v-a420dc44>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-a420dc44></i><div style="display:inline-block;transform:scale(0.95);text-align:left;margin-left:5px;" data-v-a420dc44> LEGEND: <br data-v-a420dc44> Wind from NE(045) <br data-v-a420dc44> Each barb = 10 kts <br data-v-a420dc44> 1/2 barb = 5 kts <br data-v-a420dc44></div></div><div style="transform:scale(0.95);" data-v-a420dc44> 7 - DAY OF THE MONTH <br data-v-a420dc44> W 4 - PRIMARY WAVE FROM WEST, 4 METERS<br data-v-a420dc44><div class="goodWx" data-v-a420dc44>Date</div> Good weather days<br data-v-a420dc44></div></div>',1);function vA(t,n,o,d,l,a){var p,i,E,b,S;return e.openBlock(),e.createElementBlock("div",{style:{"page-break-before":"always"},class:e.normalizeClass((i=(p=o.reportData)==null?void 0:p.weather)!=null&&i.referenceOnly||(b=(E=o.reportData)==null?void 0:E.weather)!=null&&b.overallAsGoodWx?"watermark fli-main":"fli-main")},[UA,e.createElementVNode("div",YA,[e.createElementVNode("div",null,[e.createElementVNode("table",ZA,[QA,e.createElementVNode("tbody",JA,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(l.summaryTable,(_,N)=>{var D,r,C,k,O,P,F,w,x,u,R,Z,z,W,f,Y,G,H,K,q,j,X;return e.openBlock(),e.createElementBlock("tr",{key:N},[e.createElementVNode("td",{class:e.normalizeClass(a.computedSegClass(_,N))},e.toDisplayString(_.isFirstSeg?_.seg:""),3),e.createElementVNode("td",{class:e.normalizeClass(a.computedClass(_,N))},e.toDisplayString(_.type),3),e.createElementVNode("td",{class:e.normalizeClass(a.computedClass(_,N))},e.toDisplayString(_.lastdate),3),e.createElementVNode("td",{class:e.normalizeClass(a.computedClass(_,N))},e.toDisplayString(_.time),3),a.computedPort(_)?(e.openBlock(),e.createElementBlock("td",{key:0,class:e.normalizeClass(a.computedClass(_,N))},e.toDisplayString(_.latPretty),3)):e.createCommentVNode("",!0),a.computedPort(_)?(e.openBlock(),e.createElementBlock("td",{key:1,class:e.normalizeClass(a.computedClass(_,N))},e.toDisplayString(_.lngPretty),3)):(e.openBlock(),e.createElementBlock("td",{key:2,colspan:"2",class:e.normalizeClass(a.computedClass(_,N))},e.toDisplayString((D=_.noon)==null?void 0:D.port),3)),e.createElementVNode("td",{class:e.normalizeClass(a.computedClass(_,N,!0,!0))},e.toDisplayString(_.abbreviation==="A"||_.abbreviation==="B"?"":(r=_.cp)==null?void 0:r.speed),3),e.createElementVNode("td",{class:e.normalizeClass(a.computedClass(_,N,!0))},e.toDisplayString(_.avgSpdCalc),3),e.createElementVNode("td",{class:e.normalizeClass(a.computedClass(_,N,!0))},e.toDisplayString(_.distanceCalc),3),e.createElementVNode("td",{class:e.normalizeClass(a.computedClass(_,N))},e.toDisplayString(((k=(C=_.meteo)==null?void 0:C.wind)==null?void 0:k.scale)??"--"),3),e.createElementVNode("td",{class:e.normalizeClass(a.computedClass(_,N))},e.toDisplayString(((F=(P=(O=_.meteo)==null?void 0:O.wave)==null?void 0:P.swell)==null?void 0:F.direction)??"--"),3),e.createElementVNode("td",{class:e.normalizeClass(a.computedClass(_,N))},e.toDisplayString(((u=(x=(w=_.meteo)==null?void 0:w.wave)==null?void 0:x.swell)==null?void 0:u.height)??"--"),3),e.createElementVNode("td",{class:e.normalizeClass(a.computedClass(_,N))},e.toDisplayString(((z=(Z=(R=_.meteo)==null?void 0:R.wave)==null?void 0:Z.sig)==null?void 0:z.height)??"--"),3),l.showCF?(e.openBlock(),e.createElementBlock("td",{key:3,class:e.normalizeClass(a.computedClass(_,N))},e.toDisplayString(((W=_.meteo)==null?void 0:W.cFactor)??"0"),3)):(e.openBlock(),e.createElementBlock("td",{key:4,class:e.normalizeClass(a.computedClass(_,N))},e.toDisplayString(_.abbreviation==="A"?"":_.dailyAvgCf||"0"),3)),e.createElementVNode("td",{class:e.normalizeClass(a.computedClass(_,N))},e.toDisplayString(_.abbreviation==="A"?"":((f=_.noon)==null?void 0:f.avgSpd)||"0.00"),3),e.createElementVNode("td",{class:e.normalizeClass(a.computedClass(_,N))},e.toDisplayString(_.abbreviation==="A"?"":((Y=_.noon)==null?void 0:Y.distanceSlr)||"0.0"),3),e.createElementVNode("td",{class:e.normalizeClass(a.computedClass(_,N,!0,!0))},e.toDisplayString(_.abbreviation==="A"||_.abbreviation==="B"?"":(G=_.cp)==null?void 0:G.fo),3),e.createElementVNode("td",{class:e.normalizeClass(a.computedClass(_,N,!0,!0))},e.toDisplayString(_.abbreviation==="A"||_.abbreviation==="B"?"":(H=_.cp)==null?void 0:H.dgo),3),e.createElementVNode("td",{class:e.normalizeClass(a.computedClass(_,N))},e.toDisplayString(_.abbreviation==="A"?"":((K=_.noon)==null?void 0:K.foCons)||"0.00"),3),e.createElementVNode("td",{class:e.normalizeClass(a.computedClass(_,N))},e.toDisplayString(_.abbreviation==="A"?"":((q=_.noon)==null?void 0:q.dgoCons)||"0.00"),3),e.createElementVNode("td",{class:e.normalizeClass(a.computedClass(_,N))},e.toDisplayString(_.abbreviation==="A"?"":(j=_.noon)==null?void 0:j.foBrob),3),e.createElementVNode("td",{class:e.normalizeClass(a.computedClass(_,N))},e.toDisplayString(_.abbreviation==="A"?"":(X=_.noon)==null?void 0:X.dgoBrob),3)])}),128))])])])]),KA,e.createElementVNode("div",qA,[XA,e.createElementVNode("img",{style:{width:"100%"},src:(S=o.reportData)==null?void 0:S.chartUrl,alt:""},null,8,jA),$A])],2)}const e8=De(zA,[["render",vA],["__scopeId","data-v-a420dc44"]]),Qee="",t8={components:{Summary:RA,Inventory:e8},props:{initialData:{type:Object,default:()=>({})},isAdmin:{type:Boolean,default:()=>!1},editorDisabled:{type:Boolean,default:()=>!1}},data(){return{reportData:{}}},watch:{initialData:{handler(t,n){t!=null&&t.id&&this.$nextTick(()=>{this.reportData=t})},immediate:!0}},methods:{commit(t){this.$emit("commit",t)}}},o8={class:"voyage-report"};function l8(t,n,o,d,l,a){const p=e.resolveComponent("Summary"),i=e.resolveComponent("Inventory");return e.openBlock(),e.createElementBlock("div",o8,[e.createVNode(p,{reportData:l.reportData,class:"main","editor-disabled":o.editorDisabled,onCommit:a.commit},null,8,["reportData","editor-disabled","onCommit"]),e.createVNode(i,{isAdmin:o.isAdmin,reportData:l.reportData,class:"main"},null,8,["isAdmin","reportData"])])}const xn=De(t8,[["render",l8],["__scopeId","data-v-7345a543"]]),Jee="",a8={components:{Lng:$a,Lat:va,Editor:Ro},props:{report:{type:Object,default:()=>({})}},data(){return{exclusion:[],noGoodWxDay:"Not available due to no good weather days.",editable:!1,remarks:""}},computed:{computeUTCTime(){return function(t,n="MMM-DD/HHmm[Z]"){return`${T(t).utc().format(n)}`}},computeWeatherDef(){return function(t){let n="";t!=null&&t.waveSwitch?n+=`Wind wave height is ${t==null?void 0:t.waveHeight} meters or less (Douglas Sea State ${t==null?void 0:t.seaScale})`:t!=null&&t.swellSwitch?n+=`Swell height is ${t==null?void 0:t.swellHeight} meters or less (Douglas Sea State ${t==null?void 0:t.seaScale})`:t!=null&&t.sigSwitch&&(n+=`Significant wave height is ${t==null?void 0:t.sigHeight} meters or less (Douglas Sea State ${t==null?void 0:t.seaScale})`);let o=`Winds are BF/${t==null?void 0:t.windScale} or less, ${n}`;return t!=null&&t.noAdverseCur&&(o+=", No Adverse Current"),t!=null&&t.noExtrapolation&&(o+=", No Extrapolation"),t!=null&&t.overallAsGoodWx&&(o="No specific thresholds for wind/wave/currents are defined in the Charter Party. Therefore the Good Weather Definition in this reports does not apply any thresholds."),o}},computeLng(){return function(t){return v.LngLatHelper.lng2pretty(t)}},computeLat(){return function(t){return v.LngLatHelper.lat2pretty(t)}},computeAbtSpeed(){return function(t,n,o){return t.spdPercentage?o==="Over"?v.roundPrecision(t.abt4SpdOver*n,2):v.roundPrecision(t.abt4SpdUnder*n,2):o==="Over"?t.abt4SpdOver:t.abt4SpdUnder}},computeAbtCons(){return function(t,n){return t.consPercentage?n==="Over"?`${t.consOfOver}%`:`${t.consOfUnder}%`:n==="Over"?`${t.consOfOver}`:`${t.consOfUnder}`}},computeBlankHtml(){return function(t){return!(t!=null&&t.replace(/<[^>]+>/g,""))}}},watch:{report:{handler(t,n){t!=null&&t.id&&this.$nextTick(()=>{this.prepare()})},immediate:!0}},methods:{prepare(){var t,n;this.remarks=this.report.remarks||"Please double click to modify remark",(n=(t=this.report)==null?void 0:t.segments)==null||n.forEach((o,d)=>{const l=o.excluded;l.sumDistance>0&&l.detail.forEach(a=>{const p={time:T(a.begin).utc().format("MMM-DD/HHmm[Z]")+" - "+T(a.end).utc().format("MMM-DD/HHmm[Z]"),duration:a.duration,distance:a.distance,fo:a.foCons,dgo:a.dgoCons};this.exclusion.push(p)})})},handleCommit(t){this.editable=!1,this.$emit("commit",t)},handleEdit(){this.editable=!0}}},m=t=>(e.pushScopeId("data-v-b4b228d1"),t=t(),e.popScopeId(),t),n8={class:"report-summary"},s8={class:"section voyage-section flex-space"},i8={class:"flex-end",style:{width:"50%","flex-wrap":"wrap"}},d8={class:"flex-space label-block",style:{width:"100%"}},c8=m(()=>e.createElementVNode("label",{class:"flex-end",style:{width:"140px"}},"Prepare for",-1)),r8={style:{"text-transform":"uppercase"}},m8={class:"flex-space label-block",style:{width:"100%"}},h8=m(()=>e.createElementVNode("label",{class:"flex-end",style:{width:"140px"}},"Vessel",-1)),p8={class:"flex-end",style:{flex:"1","text-transform":"uppercase"}},E8={class:"flex-space label-block",style:{width:"100%"}},y8=m(()=>e.createElementVNode("label",{class:"flex-end",style:{width:"140px"}},"Voyage No",-1)),_8={class:"flex-end",style:{flex:"1","text-transform":"uppercase"}},N8={class:"flex-end",style:{width:"50%","flex-wrap":"wrap"}},V8={class:"flex-space label-block",style:{width:"100%"}},f8=m(()=>e.createElementVNode("label",{class:"flex-end",style:{width:"140px"}},"Departure Port",-1)),g8={key:0,class:"flex-end",style:{flex:"1"}},D8={key:1,class:"flex-end",style:{flex:"1"}},x8=m(()=>e.createElementVNode("span",{style:{"margin-right":"3px"}},",",-1)),b8={class:"flex-end",style:{width:"150px"}},C8={class:"flex-space label-block",style:{width:"100%"}},S8=m(()=>e.createElementVNode("label",{class:"flex-end",style:{width:"140px"}},"Arrival Port",-1)),k8={key:0,class:"flex-end",style:{flex:"1"}},A8={key:1,class:"flex-end",style:{flex:"1"}},B8=m(()=>e.createElementVNode("span",{style:{"margin-right":"3px"}},",",-1)),w8={class:"flex-end",style:{width:"150px"}},T8={class:"flex-space label-block",style:{width:"100%"}},O8=m(()=>e.createElementVNode("label",{class:"flex-end",style:{width:"140px"}},"Load Condition",-1)),F8={class:"flex-end",style:{flex:"1","text-transform":"uppercase"}},P8={class:"section weather-section"},u8=m(()=>e.createElementVNode("div",{class:"header-block flex-start"},[e.createElementVNode("i",{class:"iconfont"},""),e.createElementVNode("div",{class:"title"},"Good Weather Definition")],-1)),L8={class:"definition"},W8={class:"txt"},H8={class:"section summary-section"},M8=m(()=>e.createElementVNode("div",{class:"header-block flex-center"},[e.createElementVNode("i",{class:"iconfont"},""),e.createElementVNode("div",{class:"title"},"Analysis Summary")],-1)),G8={class:"phase-box"},I8={class:"phase-index"},R8={class:"phase-position"},z8={key:0},U8={key:1},Y8=m(()=>e.createElementVNode("div",{class:"phase-split"},"to",-1)),Z8={class:"phase-position"},Q8={key:0},J8={key:1},K8=m(()=>e.createElementVNode("div",{class:"bb"},null,-1)),q8={class:"phase-cp flex-space"},X8={class:"cp-box"},j8=m(()=>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)),$8={class:"flex-space"},v8=m(()=>e.createElementVNode("span",null,[e.createElementVNode("span",{style:{"vertical-align":"super"}}),e.createElementVNode("span",null,"-")],-1)),eB=m(()=>e.createElementVNode("span",{style:{"vertical-align":"super"}},"+",-1)),tB=m(()=>e.createElementVNode("span",{style:{"vertical-align":"super"}},"-",-1)),oB=m(()=>e.createElementVNode("span",{style:{"vertical-align":"super"}},"+",-1)),lB=m(()=>e.createElementVNode("span",{style:{"vertical-align":"super"}},"-",-1)),aB=m(()=>e.createElementVNode("span",{style:{"vertical-align":"super"}},"+",-1)),nB=m(()=>e.createElementVNode("span",{style:{"vertical-align":"super"}},"-",-1)),sB=m(()=>e.createElementVNode("div",{class:"bb"},null,-1)),iB={class:"phase-conclusion flex-space"},dB={class:"item-conclusion"},cB=m(()=>e.createElementVNode("div",{class:"label flex-start"},"Total Voyage Time",-1)),rB={class:"value flex-start"},mB=m(()=>e.createElementVNode("div",{class:"unit"},"hrs",-1)),hB={key:0,class:"label flex-end"},pB={key:0},EB={key:1},yB={key:2},_B={key:1,class:"label flex-end"},NB={key:2,class:"value flex-end"},VB={key:0},fB=m(()=>e.createElementVNode("i",{class:"iconfont gain"},"",-1)),gB={class:"gain"},DB=m(()=>e.createElementVNode("span",{class:"unit"},"hrs",-1)),xB={key:1},bB=m(()=>e.createElementVNode("i",{class:"iconfont lost"},"",-1)),CB={class:"lost"},SB=m(()=>e.createElementVNode("span",{class:"unit"},"hrs",-1)),kB={key:2},AB={class:"item-conclusion"},BB=m(()=>e.createElementVNode("div",{class:"label flex-start"},"Total FO Consumption",-1)),wB={class:"value flex-start"},TB=m(()=>e.createElementVNode("div",{class:"unit"},"mt",-1)),OB={key:0,class:"label flex-end"},FB={key:0},PB={key:1},uB={key:2},LB={key:1,class:"label flex-end"},WB={key:2,class:"value flex-end"},HB={key:0},MB=m(()=>e.createElementVNode("i",{class:"iconfont gain"},"",-1)),GB={class:"gain"},IB=m(()=>e.createElementVNode("span",{class:"unit"},"mt",-1)),RB={key:1},zB=m(()=>e.createElementVNode("i",{class:"iconfont lost"},"",-1)),UB={class:"lost"},YB=m(()=>e.createElementVNode("span",{class:"unit"},"mt",-1)),ZB={key:2},QB={class:"item-conclusion"},JB=m(()=>e.createElementVNode("div",{class:"label flex-start"},"Total DO/GO Consumption",-1)),KB={class:"value flex-start"},qB=m(()=>e.createElementVNode("div",{class:"unit"},"mt",-1)),XB={key:0,class:"label flex-end"},jB={key:0},$B={key:1},vB={key:2},ew={key:1,class:"label flex-end"},tw={key:2,class:"value flex-end"},ow={key:0},lw=m(()=>e.createElementVNode("i",{class:"iconfont gain"},"",-1)),aw={class:"gain"},nw=m(()=>e.createElementVNode("span",{class:"unit"},"mt",-1)),sw={key:1},iw=m(()=>e.createElementVNode("i",{class:"iconfont lost"},"",-1)),dw={class:"lost"},cw=m(()=>e.createElementVNode("span",{class:"unit"},"mt",-1)),rw={key:2},mw=m(()=>e.createElementVNode("div",{class:"tips flex-end"}," *Please see voyage analysis pages for the details. ",-1)),hw=m(()=>e.createElementVNode("div",{class:"header-block flex-start"},[e.createElementVNode("i",{class:"iconfont"},""),e.createElementVNode("div",{class:"title"},"Remarks")],-1)),pw={key:0,class:"exclusion-block"},Ew=m(()=>e.createElementVNode("div",{class:"title"},"Exclusion",-1)),yw=m(()=>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)),_w={style:{margin:"8px 0"}},Nw={class:"remark-table"},Vw=m(()=>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)),fw=["innerHTML"],gw={class:"section segment-section"},Dw=m(()=>e.createElementVNode("div",{class:"header-block flex-center"},[e.createElementVNode("i",{class:"iconfont"},""),e.createElementVNode("div",{class:"title"},"Speed and Consumption Calculation")],-1)),xw={class:"segment-index flex-center"},bw={class:"segment-position"},Cw={key:0},Sw={key:1},kw=m(()=>e.createElementVNode("div",{class:"segment-split"},"to",-1)),Aw={class:"segment-position"},Bw={key:0},ww={key:1},Tw=m(()=>e.createElementVNode("div",{class:"bb"},null,-1)),Ow={style:{margin:"10px 0 0"}},Fw=m(()=>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)),Pw=m(()=>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)),uw=m(()=>e.createElementVNode("td",{class:"label"},"Total Distance (nm)",-1)),Lw={class:"good-wx"},Ww={class:"good-wx"},Hw=m(()=>e.createElementVNode("td",{class:"label"},"Total Time (hrs)",-1)),Mw={class:"good-wx"},Gw={class:"good-wx"},Iw=m(()=>e.createElementVNode("td",{class:"label"},"Average Speed (kts)",-1)),Rw={class:"good-wx"},zw={class:"good-wx"},Uw=m(()=>e.createElementVNode("td",{class:"label"},"FO Consumption (mt)",-1)),Yw={class:"good-wx"},Zw={class:"good-wx"},Qw=m(()=>e.createElementVNode("td",{class:"label"},"Averaged Daily FO Consumption (mt)",-1)),Jw={class:"good-wx"},Kw={class:"good-wx"},qw=m(()=>e.createElementVNode("td",{class:"label"},"DO/GO Consumption (mt)",-1)),Xw={class:"good-wx"},jw={class:"good-wx"},$w=m(()=>e.createElementVNode("td",{class:"label"},"Averaged Daily DO/GO Consumption (mt)",-1)),vw={class:"good-wx"},e5={class:"good-wx"},t5={key:0,class:"flex-end tip"},o5={key:1,class:"segment-speed"},l5={class:"flex-center"},a5=m(()=>e.createElementVNode("div",{class:"speed-left flex-space"},[e.createElementVNode("label",null,"Good Weather Performance Speed"),e.createElementVNode("label",null,"=")],-1)),n5={class:"speed-right flex-space"},s5=m(()=>e.createElementVNode("span",null,"-",-1)),i5=m(()=>e.createElementVNode("label",null,"=",-1)),d5={class:"speed"},c5={key:1,class:"speed"},r5={key:2,class:"under"},m5={key:3,class:"over"},h5={class:"flex-center"},p5=m(()=>e.createElementVNode("div",{class:"speed-left formula flex-space"},[e.createElementVNode("label",null,"Good Weather Performance Speed"),e.createElementVNode("label",null,"=")],-1)),E5={class:"speed-right formula flex-space"},y5=m(()=>e.createElementVNode("label",null,"Good Weather Average Speed",-1)),_5=m(()=>e.createElementVNode("label",null,"-",-1)),N5=m(()=>e.createElementVNode("label",null,"Good Weather Current Factor",-1)),V5=m(()=>e.createElementVNode("label",null,"Good Weather Average Speed ",-1)),f5=m(()=>e.createElementVNode("label",{style:{"font-weight":"300"}},"(Good Weather Current Factor Not Applied)",-1)),g5={key:2,class:"segment-speed"},D5={class:"flex-center"},x5=m(()=>e.createElementVNode("div",{class:"speed-left flex-space"},[e.createElementVNode("label",null,"All Weather Performance Speed"),e.createElementVNode("label",null,"=")],-1)),b5={class:"speed-right flex-space"},C5=m(()=>e.createElementVNode("span",null,"-",-1)),S5=m(()=>e.createElementVNode("span",null,"-",-1)),k5=m(()=>e.createElementVNode("label",null,"=",-1)),A5={class:"speed"},B5=m(()=>e.createElementVNode("span",null,"-",-1)),w5=m(()=>e.createElementVNode("label",null,"=",-1)),T5={class:"speed"},O5={key:2,class:"under"},F5={key:3,class:"over"},P5={class:"flex-center"},u5=m(()=>e.createElementVNode("div",{class:"speed-left formula flex-space"},[e.createElementVNode("label",null,"All Weather Performance Speed"),e.createElementVNode("label",null,"=")],-1)),L5={class:"speed-right formula flex-space"},W5=m(()=>e.createElementVNode("label",null,"All Weather Average Speed",-1)),H5=m(()=>e.createElementVNode("label",null,"-",-1)),M5=m(()=>e.createElementVNode("label",null,"Current Factor",-1)),G5=m(()=>e.createElementVNode("label",null,"-",-1)),I5=m(()=>e.createElementVNode("label",null,"Weather Factor",-1)),R5=m(()=>e.createElementVNode("label",null,"All Weather Average Speed",-1)),z5=m(()=>e.createElementVNode("label",null,"-",-1)),U5=m(()=>e.createElementVNode("label",null,"Weather Factor ",-1)),Y5=m(()=>e.createElementVNode("label",{style:{"font-weight":"300"}},"(Current Factor Not Applied)",-1)),Z5=m(()=>e.createElementVNode("div",{class:"bb",style:{margin:"10px 0"}},null,-1)),Q5={class:"segment-formula"},J5={class:"header-block flex-start"},K5=m(()=>e.createElementVNode("i",{class:"iconfont"},"",-1)),q5={class:"title"},X5={key:0,style:{"margin-left":"4px","font-weight":"300"}},j5={class:"formula-block"},$5={class:"flex-evenly"},v5=m(()=>e.createElementVNode("div",{class:"formula-left flex-space"},[e.createElementVNode("label",null,"Total Time at Good Weather Performance Speed"),e.createElementVNode("label",null,"=")],-1)),e7={class:"formula-right flex-evenly"},t7={class:"fraction",style:{width:"240px"}},o7=m(()=>e.createElementVNode("div",{class:"line"},null,-1)),l7=m(()=>e.createElementVNode("div",null,"Good Weather Performance Speed",-1)),a7=m(()=>e.createElementVNode("div",null,"(a)",-1)),n7={class:"flex-center"},s7={class:"formula-left flex-space"},i7=m(()=>e.createElementVNode("label",null,"=",-1)),d7={class:"formula-right flex-evenly"},c7={class:"fraction",style:{width:"240px"}},r7=m(()=>e.createElementVNode("div",{class:"line"},null,-1)),m7=m(()=>e.createElementVNode("div",null,"(b)",-1)),h7={class:"flex-center"},p7={class:"formula-left flex-space"},E7=m(()=>e.createElementVNode("label",null,"=",-1)),y7={class:"formula-right flex-evenly"},_7={class:"fraction",style:{width:"240px"}},N7=m(()=>e.createElementVNode("div",{class:"line"},null,-1)),V7=m(()=>e.createElementVNode("div",null,"(c)",-1)),f7=e.createStaticVNode('<div class="flex-start" data-v-b4b228d1><div class="flex-space" style="width:300px;font-weight:400;" data-v-b4b228d1><label data-v-b4b228d1>Time Lost</label><div data-v-b4b228d1>=</div><div data-v-b4b228d1>(a)</div><div data-v-b4b228d1>-</div><div data-v-b4b228d1>(b)</div></div><div class="flex-space" style="width:300px;margin-left:200px;font-weight:400;" data-v-b4b228d1><label data-v-b4b228d1>Time Gained</label><div data-v-b4b228d1>=</div><div data-v-b4b228d1>(c)</div><div data-v-b4b228d1>-</div><div data-v-b4b228d1>(a)</div></div></div>',1),g7={class:"formula-desc"},D7={class:"flex-end"},x7=m(()=>e.createElementVNode("label",null,"Time Lost",-1)),b7={class:"flex-end"},C7=m(()=>e.createElementVNode("label",null,"Time Gained",-1)),S7={class:"flex-end"},k7=m(()=>e.createElementVNode("label",null,"No Time Lost and Gained",-1)),A7={key:0,class:"formula-block",style:{"font-weight":"400"}},B7={class:"flex-evenly"},w7=m(()=>e.createElementVNode("div",{class:"formula-left flex-space"},[e.createElementVNode("label",null,"Total Time at Good Weather Performance Speed"),e.createElementVNode("label",null,"=")],-1)),T7={class:"formula-right flex-evenly"},O7={class:"fraction",style:{width:"240px"}},F7=m(()=>e.createElementVNode("div",{class:"line"},null,-1)),P7=m(()=>e.createElementVNode("div",null,"=",-1)),u7=m(()=>e.createElementVNode("div",null,"(a')",-1)),L7={class:"flex-center"},W7={class:"formula-left flex-space"},H7=m(()=>e.createElementVNode("label",null,"=",-1)),M7={class:"formula-right flex-evenly"},G7={class:"fraction",style:{width:"240px"}},I7=m(()=>e.createElementVNode("div",{class:"line"},null,-1)),R7=m(()=>e.createElementVNode("div",null,"=",-1)),z7=m(()=>e.createElementVNode("div",null,"(b')",-1)),U7={class:"flex-center"},Y7={class:"formula-left flex-space"},Z7=m(()=>e.createElementVNode("label",null,"=",-1)),Q7={class:"formula-right flex-evenly"},J7={class:"fraction",style:{width:"240px"}},K7=m(()=>e.createElementVNode("div",{class:"line"},null,-1)),q7=m(()=>e.createElementVNode("div",null,"=",-1)),X7=m(()=>e.createElementVNode("div",null,"(c')",-1)),j7={class:"formula-conclusion",style:{"margin-bottom":"0"}},$7={key:0,class:"flex-evenly",style:{width:"500px"}},v7=m(()=>e.createElementVNode("div",null,"Time Lost",-1)),e9=m(()=>e.createElementVNode("div",null,"=",-1)),t9=m(()=>e.createElementVNode("div",null,"(a') - (b')",-1)),o9=m(()=>e.createElementVNode("div",null,"=",-1)),l9=m(()=>e.createElementVNode("div",null,"-",-1)),a9=m(()=>e.createElementVNode("div",null,"=",-1)),n9={key:1,class:"flex-evenly",style:{width:"500px"}},s9=m(()=>e.createElementVNode("div",null,"Time Lost",-1)),i9=m(()=>e.createElementVNode("div",null,"=",-1)),d9=m(()=>e.createElementVNode("div",null,"(c') - (a')",-1)),c9=m(()=>e.createElementVNode("div",null,"=",-1)),r9=m(()=>e.createElementVNode("div",null,"-",-1)),m9=m(()=>e.createElementVNode("div",null,"=",-1)),h9=m(()=>e.createElementVNode("label",{style:{"font-weight":"400","margin-right":"4px",color:"var(--idm-black-9)"}}," Conclusion: ",-1)),p9={key:1,class:"formula-conclusion"},E9=m(()=>e.createElementVNode("div",{class:"bb",style:{margin:"10px 0"}},null,-1)),y9={class:"segment-formula"},_9={class:"header-block flex-start"},N9=m(()=>e.createElementVNode("i",{class:"iconfont"},"",-1)),V9={class:"title"},f9={key:0,style:{"margin-left":"4px","font-weight":"300"}},g9={class:"formula-block"},D9={class:"flex-evenly"},x9=m(()=>e.createElementVNode("div",{class:"formula-left flex-space"},[e.createElementVNode("label",null,"Entire Voyage Consumption using Good Weather Consumption"),e.createElementVNode("label",null,"=")],-1)),b9={class:"formula-right flex-evenly"},C9={class:"fraction",style:{width:"240px"}},S9=m(()=>e.createElementVNode("div",{class:"line"},null,-1)),k9=m(()=>e.createElementVNode("div",null,"Good Weather Performance Speed",-1)),A9=m(()=>e.createElementVNode("div",null,"x",-1)),B9=m(()=>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)),w9=m(()=>e.createElementVNode("div",null,"(d)",-1)),T9={style:{"line-height":"1"}},O9=m(()=>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)),F9={key:0,class:"tips flex-end",style:{"font-size":"14px"}},P9={class:"flex-center"},u9=m(()=>e.createElementVNode("div",{class:"formula-left flex-space"},[e.createElementVNode("label",null,"Max CP Consumption"),e.createElementVNode("label",null,"=")],-1)),L9={class:"formula-right flex-evenly"},W9={class:"fraction",style:{width:"240px"}},H9=m(()=>e.createElementVNode("div",{class:"line"},null,-1)),M9=m(()=>e.createElementVNode("div",null,"x",-1)),G9=m(()=>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)),I9=m(()=>e.createElementVNode("div",null,"(e)",-1)),R9={class:"flex-center"},z9=m(()=>e.createElementVNode("div",{class:"formula-left flex-space"},[e.createElementVNode("label",null,"Min CP Consumption"),e.createElementVNode("label",null,"=")],-1)),U9={class:"formula-right flex-evenly"},Y9={class:"fraction",style:{width:"240px"}},Z9=m(()=>e.createElementVNode("div",{class:"line"},null,-1)),Q9=m(()=>e.createElementVNode("div",null,"x",-1)),J9=m(()=>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)),K9=m(()=>e.createElementVNode("div",null,"(f)",-1)),q9=e.createStaticVNode('<div class="flex-start" data-v-b4b228d1><div class="flex-space" style="width:300px;font-weight:400;" data-v-b4b228d1><label data-v-b4b228d1>Fuel Over-consumption</label><div data-v-b4b228d1>=</div><div data-v-b4b228d1>(d)</div><div data-v-b4b228d1>-</div><div data-v-b4b228d1>(e)</div></div><div class="flex-space" style="width:300px;margin-left:200px;font-weight:400;" data-v-b4b228d1><label data-v-b4b228d1>Fuel Saving</label><div data-v-b4b228d1>=</div><div data-v-b4b228d1>(f)</div><div data-v-b4b228d1>-</div><div data-v-b4b228d1>(d)</div></div></div>',1),X9={class:"flex-center"},j9=m(()=>e.createElementVNode("div",{class:"formula-left flex-space"},[e.createElementVNode("label",null,"Fuel Over-consumption in ECA"),e.createElementVNode("label",null,"=")],-1)),$9={class:"formula-right flex-evenly"},v9={class:"fraction",style:{width:"270px"}},e6=m(()=>e.createElementVNode("div",null,"ECA Distance × Fuel Over-consumption",-1)),t6=m(()=>e.createElementVNode("div",{class:"line"},null,-1)),o6={class:"flex-center"},l6=m(()=>e.createElementVNode("div",{class:"formula-left flex-space"},[e.createElementVNode("label",null,"Fuel Saving in ECA"),e.createElementVNode("label",null,"=")],-1)),a6={class:"formula-right flex-evenly"},n6={class:"fraction",style:{width:"270px"}},s6=m(()=>e.createElementVNode("div",null,"ECA Distance × Fuel Saving",-1)),i6=m(()=>e.createElementVNode("div",{class:"line"},null,-1)),d6=m(()=>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)),c6={class:"header-block flex-start",style:{"margin-top":"10px"}},r6=m(()=>e.createElementVNode("i",{class:"iconfont"},"",-1)),m6={class:"title"},h6={key:0,class:"formula-block"},p6={class:"flex-evenly"},E6=m(()=>e.createElementVNode("div",{class:"formula-left flex-space"},[e.createElementVNode("label",null,"Entire Voyage Consumption using Good Weather Consumption"),e.createElementVNode("label",null,"=")],-1)),y6={class:"formula-right flex-evenly"},_6={class:"fraction",style:{width:"240px"}},N6=m(()=>e.createElementVNode("div",{class:"line"},null,-1)),V6=m(()=>e.createElementVNode("div",null,"x",-1)),f6={class:"fraction",style:{width:"240px"}},g6={key:0},D6=m(()=>e.createElementVNode("span",null," + ",-1)),x6=m(()=>e.createElementVNode("div",{class:"line"},null,-1)),b6=m(()=>e.createElementVNode("div",null,"=",-1)),C6=m(()=>e.createElementVNode("div",null,"(d')",-1)),S6={class:"flex-evenly"},k6=m(()=>e.createElementVNode("div",{class:"formula-left flex-space"},[e.createElementVNode("label",null,"Max CP Consumption"),e.createElementVNode("label",null,"=")],-1)),A6={class:"formula-right flex-evenly"},B6={class:"fraction",style:{width:"240px"}},w6=m(()=>e.createElementVNode("div",{class:"line"},null,-1)),T6=m(()=>e.createElementVNode("div",null,"x",-1)),O6={class:"fraction",style:{width:"240px"}},F6=m(()=>e.createElementVNode("div",{class:"line"},null,-1)),P6=m(()=>e.createElementVNode("div",null,"24",-1)),u6=m(()=>e.createElementVNode("div",null,"=",-1)),L6=m(()=>e.createElementVNode("div",null,"(e')",-1)),W6={class:"flex-evenly"},H6=m(()=>e.createElementVNode("div",{class:"formula-left flex-space"},[e.createElementVNode("label",null,"Min CP Consumption"),e.createElementVNode("label",null,"=")],-1)),M6={class:"formula-right flex-evenly"},G6={class:"fraction",style:{width:"240px"}},I6=m(()=>e.createElementVNode("div",{class:"line"},null,-1)),R6=m(()=>e.createElementVNode("div",null,"x",-1)),z6={class:"fraction",style:{width:"240px"}},U6=m(()=>e.createElementVNode("div",{class:"line"},null,-1)),Y6=m(()=>e.createElementVNode("div",null,"24",-1)),Z6=m(()=>e.createElementVNode("div",null,"=",-1)),Q6=m(()=>e.createElementVNode("div",null,"(f')",-1)),J6={class:"formula-conclusion",style:{"margin-bottom":"0"}},K6={class:"flex-evenly",style:{width:"500px"}},q6=m(()=>e.createElementVNode("div",null,"Fuel Oil Over-consumption",-1)),X6=m(()=>e.createElementVNode("div",null,"=",-1)),j6=m(()=>e.createElementVNode("div",null,"(d') - (e')",-1)),$6=m(()=>e.createElementVNode("div",null,"=",-1)),v6=m(()=>e.createElementVNode("div",null,"-",-1)),eT=m(()=>e.createElementVNode("div",null,"=",-1)),tT={key:0,class:"flex-evenly"},oT=m(()=>e.createElementVNode("div",null,"Fuel Oil Over-consumption in ECA",-1)),lT=m(()=>e.createElementVNode("div",null,"=",-1)),aT={class:"fraction"},nT=m(()=>e.createElementVNode("div",{class:"line"},null,-1)),sT=m(()=>e.createElementVNode("div",null,"=",-1)),iT={class:"flex-evenly",style:{width:"700px"}},dT=m(()=>e.createElementVNode("div",null,"Fuel Oil Saving",-1)),cT=m(()=>e.createElementVNode("div",null,"=",-1)),rT=m(()=>e.createElementVNode("div",null,"(f') - (d')",-1)),mT=m(()=>e.createElementVNode("div",null,"=",-1)),hT=m(()=>e.createElementVNode("div",null,"-",-1)),pT=m(()=>e.createElementVNode("div",null,"=",-1)),ET={key:0,class:"flex-evenly",style:{width:"500px"}},yT=m(()=>e.createElementVNode("div",null,"Fuel Oil Saving in ECA",-1)),_T=m(()=>e.createElementVNode("div",null,"=",-1)),NT={class:"fraction",style:{width:"140px"}},VT=m(()=>e.createElementVNode("div",{class:"line",style:{"border-color":"var(--idm-black-9)"}},null,-1)),fT=m(()=>e.createElementVNode("div",null,"=",-1)),gT=m(()=>e.createElementVNode("label",{style:{"font-weight":"400","margin-right":"4px",color:"var(--idm-black-9)"}}," Conclusion: ",-1)),DT={key:1,class:"formula-conclusion"},xT={class:"header-block flex-end",style:{"margin-top":"10px"}},bT=m(()=>e.createElementVNode("i",{class:"iconfont"},"",-1)),CT={class:"title"},ST={key:0,class:"formula-block"},kT={class:"flex-evenly"},AT=m(()=>e.createElementVNode("div",{class:"formula-left flex-space"},[e.createElementVNode("label",null,"Entire Voyage Consumption using Good Weather Consumption"),e.createElementVNode("label",null,"=")],-1)),BT={class:"formula-right flex-evenly"},wT={class:"fraction",style:{width:"240px"}},TT=m(()=>e.createElementVNode("div",{class:"line"},null,-1)),OT=m(()=>e.createElementVNode("div",null,"x",-1)),FT={class:"fraction",style:{width:"240px"}},PT={key:0},uT=m(()=>e.createElementVNode("span",null," - ",-1)),LT=m(()=>e.createElementVNode("div",{class:"line"},null,-1)),WT=m(()=>e.createElementVNode("div",null,"=",-1)),HT=m(()=>e.createElementVNode("div",null,"(d'')",-1)),MT={class:"flex-evenly"},GT=m(()=>e.createElementVNode("div",{class:"formula-left flex-space"},[e.createElementVNode("label",null,"Max CP Consumption"),e.createElementVNode("label",null,"=")],-1)),IT={class:"formula-right flex-evenly"},RT={class:"fraction",style:{width:"240px"}},zT=m(()=>e.createElementVNode("div",{class:"line"},null,-1)),UT=m(()=>e.createElementVNode("div",null,"x",-1)),YT={class:"fraction",style:{width:"240px"}},ZT=m(()=>e.createElementVNode("div",{class:"line"},null,-1)),QT=m(()=>e.createElementVNode("div",null,"24",-1)),JT=m(()=>e.createElementVNode("div",null,"=",-1)),KT=m(()=>e.createElementVNode("div",null,"(e'')",-1)),qT={class:"flex-evenly"},XT=m(()=>e.createElementVNode("div",{class:"formula-left flex-space"},[e.createElementVNode("label",null,"Min CP Consumption"),e.createElementVNode("label",null,"=")],-1)),jT={class:"formula-right flex-evenly"},$T={class:"fraction",style:{width:"240px"}},vT=m(()=>e.createElementVNode("div",{class:"line"},null,-1)),eO=m(()=>e.createElementVNode("div",null,"x",-1)),tO={class:"fraction",style:{width:"240px"}},oO=m(()=>e.createElementVNode("div",{class:"line"},null,-1)),lO=m(()=>e.createElementVNode("div",null,"24",-1)),aO=m(()=>e.createElementVNode("div",null,"=",-1)),nO=m(()=>e.createElementVNode("div",null,"(f'')",-1)),sO={class:"formula-conclusion",style:{"margin-bottom":"0"}},iO={key:0,class:"flex-evenly",style:{width:"500px"}},dO=m(()=>e.createElementVNode("div",null,"Diesel/Gas Oil Over-consumption",-1)),cO=m(()=>e.createElementVNode("div",null,"=",-1)),rO=m(()=>e.createElementVNode("div",null,"(d'') - (e'')",-1)),mO=m(()=>e.createElementVNode("div",null,"=",-1)),hO=m(()=>e.createElementVNode("div",null,"-",-1)),pO=m(()=>e.createElementVNode("div",null,"=",-1)),EO={key:1,class:"flex-evenly",style:{width:"700px"}},yO=m(()=>e.createElementVNode("div",null,"Diesel/Gas Oil Saving",-1)),_O=m(()=>e.createElementVNode("div",null,"=",-1)),NO=m(()=>e.createElementVNode("div",null,"(f'') - (d'')",-1)),VO=m(()=>e.createElementVNode("div",null,"=",-1)),fO=m(()=>e.createElementVNode("div",null,"-",-1)),gO=m(()=>e.createElementVNode("div",null,"=",-1)),DO=m(()=>e.createElementVNode("label",{style:{"font-weight":"400","margin-right":"4px",color:"var(--idm-black-9)"}}," Conclusion: ",-1)),xO={key:1,class:"formula-conclusion"};function bO(t,n,o,d,l,a){var b,S,_,N,D,r,C,k,O,P,F,w,x,u,R,Z,z,W,f,Y,G,H,K,q,j,X,V,M,J;const p=e.resolveComponent("Lat"),i=e.resolveComponent("Lng"),E=e.resolveComponent("Editor");return e.openBlock(),e.createElementBlock("div",n8,[e.createElementVNode("div",s8,[e.createElementVNode("div",i8,[e.createElementVNode("div",d8,[c8,e.createElementVNode("span",r8,e.toDisplayString(o.report.preparedFor),1)]),e.createElementVNode("div",m8,[h8,e.createElementVNode("span",p8,e.toDisplayString((S=(b=o.report)==null?void 0:b.vessel)==null?void 0:S.name)+" ("+e.toDisplayString((N=(_=o.report)==null?void 0:_.vessel)==null?void 0:N.type)+")",1)]),e.createElementVNode("div",E8,[y8,e.createElementVNode("span",_8,e.toDisplayString((r=(D=o.report)==null?void 0:D.voyage)==null?void 0:r.number),1)])]),e.createElementVNode("div",N8,[e.createElementVNode("div",V8,[f8,(k=(C=o.report)==null?void 0:C.departure)!=null&&k.portName?(e.openBlock(),e.createElementBlock("span",g8,e.toDisplayString((P=(O=o.report)==null?void 0:O.departure)==null?void 0:P.portName),1)):(e.openBlock(),e.createElementBlock("div",D8,[e.createVNode(p,{lat:(w=(F=o.report)==null?void 0:F.departure)==null?void 0:w.lat,label:"",style:{"font-size":"14px","font-weight":"400"}},null,8,["lat"]),x8,e.createVNode(i,{lng:(x=o.report.departure)==null?void 0:x.lng,label:"",style:{"font-size":"14px","font-weight":"400"}},null,8,["lng"])])),e.createElementVNode("span",b8,e.toDisplayString(a.computeUTCTime((u=o.report.departure)==null?void 0:u.utcTime,"MMM-DD/HHmm[Z], YYYY")),1)]),e.createElementVNode("div",C8,[S8,(Z=(R=o.report)==null?void 0:R.arrival)!=null&&Z.portName?(e.openBlock(),e.createElementBlock("span",k8,e.toDisplayString((W=(z=o.report)==null?void 0:z.arrival)==null?void 0:W.portName),1)):(e.openBlock(),e.createElementBlock("div",A8,[e.createVNode(p,{lat:(Y=(f=o.report)==null?void 0:f.arrival)==null?void 0:Y.lat,label:"",style:{"font-size":"14px","font-weight":"400"}},null,8,["lat"]),B8,e.createVNode(i,{lng:(H=(G=o.report)==null?void 0:G.arrival)==null?void 0:H.lng,label:"",style:{"font-size":"14px","font-weight":"400"}},null,8,["lng"])])),e.createElementVNode("span",w8,e.toDisplayString(a.computeUTCTime((q=(K=o.report)==null?void 0:K.arrival)==null?void 0:q.utcTime,"MMM-DD/HHmm[Z], YYYY")),1)]),e.createElementVNode("div",T8,[O8,e.createElementVNode("span",F8,e.toDisplayString((X=(j=o.report)==null?void 0:j.voyage)==null?void 0:X.loadCondition),1)])])]),e.createElementVNode("div",P8,[u8,e.createElementVNode("div",L8,[e.createElementVNode("div",W8,e.toDisplayString(a.computeWeatherDef(o.report.weather)),1)])]),e.createElementVNode("div",H8,[M8,(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList((V=o.report)==null?void 0:V.segments,(s,$)=>{var c,ee,oe,te,se,ie,ce,re,he,pe,Ee,de,ye,xe,be,Ce,Se,ke,Ae,Be,Fe,Pe,fe,L,_e,ue,Le,We,we,He,Ke,qe,U,Oe,ze,Ue,Ye,Ze,Qe,Je,y;return e.openBlock(),e.createElementBlock("div",{class:"segment-box flex-space",key:"summary"+$},[e.createElementVNode("div",G8,[e.createElementVNode("div",I8,"Seg."+e.toDisplayString($+1),1),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList((c=s==null?void 0:s.extend)==null?void 0:c.segTimes,(Q,ge)=>{var Te,Me,me,Xe,$e,ve,ot,lt,at,nt;return e.openBlock(),e.createElementBlock("div",{class:"phase-row flex-space",key:ge},[e.createElementVNode("div",R8,[(Te=Q==null?void 0:Q.departure)!=null&&Te.portName?(e.openBlock(),e.createElementBlock("span",z8,e.toDisplayString((Me=Q==null?void 0:Q.departure)==null?void 0:Me.portName),1)):(e.openBlock(),e.createElementBlock("span",U8,e.toDisplayString(a.computeLat((me=Q==null?void 0:Q.departure)==null?void 0:me.lat).pretty)+", "+e.toDisplayString(a.computeLng((Xe=Q==null?void 0:Q.departure)==null?void 0:Xe.lng).pretty),1)),e.createElementVNode("label",null,"("+e.toDisplayString(a.computeUTCTime(($e=Q==null?void 0:Q.departure)==null?void 0:$e.utcTime))+")",1)]),Y8,e.createElementVNode("div",Z8,[(ve=Q==null?void 0:Q.arrival)!=null&&ve.portName?(e.openBlock(),e.createElementBlock("span",Q8,e.toDisplayString((ot=Q==null?void 0:Q.arrival)==null?void 0:ot.portName),1)):(e.openBlock(),e.createElementBlock("span",J8,e.toDisplayString(a.computeLat((lt=Q==null?void 0:Q.arrival)==null?void 0:lt.lat).pretty)+", "+e.toDisplayString(a.computeLng((at=Q==null?void 0:Q.arrival)==null?void 0:at.lng).pretty),1)),e.createElementVNode("label",null,"("+e.toDisplayString(a.computeUTCTime((nt=Q==null?void 0:Q.arrival)==null?void 0:nt.utcTime))+")",1)])])}),128)),K8,e.createElementVNode("div",q8,[e.createElementVNode("div",X8,[j8,e.createElementVNode("div",$8,[v8,e.createElementVNode("span",null,[e.createElementVNode("span",null,e.toDisplayString((oe=(ee=s==null?void 0:s.extend)==null?void 0:ee.cp)==null?void 0:oe.speed)+" |",1),e.createElementVNode("span",null,[eB,e.createElementVNode("span",null,e.toDisplayString(a.computeAbtSpeed(s==null?void 0:s.timeConclusion,(se=(te=s==null?void 0:s.extend)==null?void 0:te.cp)==null?void 0:se.speed,"Over"))+",",1)]),e.createElementVNode("span",null,[tB,e.createElementVNode("span",null,e.toDisplayString(a.computeAbtSpeed(s==null?void 0:s.timeConclusion,(ce=(ie=s==null?void 0:s.extend)==null?void 0:ie.cp)==null?void 0:ce.speed,"Under")),1)])]),e.createElementVNode("span",null,[e.createElementVNode("span",null,e.toDisplayString((he=(re=s==null?void 0:s.extend)==null?void 0:re.cp)==null?void 0:he.fo)+" |",1),e.createElementVNode("span",null,[oB,e.createElementVNode("span",null,e.toDisplayString(a.computeAbtCons(s==null?void 0:s.fuelConclusion,"Over"))+",",1)]),e.createElementVNode("span",null,[lB,e.createElementVNode("span",null,e.toDisplayString(a.computeAbtCons(s==null?void 0:s.fuelConclusion,"Under")),1)])]),e.createElementVNode("span",null,[e.createElementVNode("span",null,e.toDisplayString((Ee=(pe=s==null?void 0:s.extend)==null?void 0:pe.cp)==null?void 0:Ee.dgo)+" |",1),e.createElementVNode("span",null,[aB,e.createElementVNode("span",null,e.toDisplayString(a.computeAbtCons(s==null?void 0:s.fuelConclusion,"Over"))+",",1)]),e.createElementVNode("span",null,[nB,e.createElementVNode("span",null,e.toDisplayString(a.computeAbtCons(s==null?void 0:s.fuelConclusion,"Under")),1)])])])])]),sB,e.createElementVNode("div",iB,[e.createElementVNode("div",dB,[cB,e.createElementVNode("div",rB,[e.createElementVNode("div",null,e.toDisplayString(s.allWx.time),1),mB]),s.goodWx.distance?(e.openBlock(),e.createElementBlock("div",hB,[((de=s==null?void 0:s.timeConclusion)==null?void 0:de.conclusionStatus)==="Gain"?(e.openBlock(),e.createElementBlock("div",pB," Time Gained ")):((ye=s==null?void 0:s.timeConclusion)==null?void 0:ye.conclusionStatus)==="Lost"?(e.openBlock(),e.createElementBlock("div",EB," Time Lost ")):(e.openBlock(),e.createElementBlock("div",yB,"No Time Lost/Gained"))])):(e.openBlock(),e.createElementBlock("div",_B,e.toDisplayString(l.noGoodWxDay),1)),s.goodWx.distance?(e.openBlock(),e.createElementBlock("div",NB,[((xe=s==null?void 0:s.timeConclusion)==null?void 0:xe.conclusionStatus)==="Gain"?(e.openBlock(),e.createElementBlock("div",VB,[fB,e.createElementVNode("span",gB,e.toDisplayString((be=s==null?void 0:s.timeConclusion)==null?void 0:be.timeGain),1),DB])):((Ce=s==null?void 0:s.timeConclusion)==null?void 0:Ce.conclusionStatus)==="Lost"?(e.openBlock(),e.createElementBlock("div",xB,[bB,e.createElementVNode("span",CB,e.toDisplayString((Se=s==null?void 0:s.timeConclusion)==null?void 0:Se.timeLost),1),SB])):(e.openBlock(),e.createElementBlock("div",kB,"N/A"))])):e.createCommentVNode("",!0)]),e.createElementVNode("div",AB,[BB,e.createElementVNode("div",wB,[e.createElementVNode("div",null,e.toDisplayString(s.allWx.sumFoCons),1),TB]),s.goodWx.distance?(e.openBlock(),e.createElementBlock("div",OB,[((Ae=(ke=s==null?void 0:s.fuelConclusion)==null?void 0:ke.fo)==null?void 0:Ae.conclusionStatus)==="Saving"?(e.openBlock(),e.createElementBlock("div",FB," FO Saving ")):((Fe=(Be=s==null?void 0:s.fuelConclusion)==null?void 0:Be.fo)==null?void 0:Fe.conclusionStatus)==="Over"?(e.openBlock(),e.createElementBlock("div",PB," FO Over-consumption ")):(e.openBlock(),e.createElementBlock("div",uB,"No FO Over-consumption/Saving"))])):(e.openBlock(),e.createElementBlock("div",LB,e.toDisplayString(l.noGoodWxDay),1)),s.goodWx.distance?(e.openBlock(),e.createElementBlock("div",WB,[((fe=(Pe=s==null?void 0:s.fuelConclusion)==null?void 0:Pe.fo)==null?void 0:fe.conclusionStatus)==="Saving"?(e.openBlock(),e.createElementBlock("div",HB,[MB,e.createElementVNode("span",GB,e.toDisplayString((_e=(L=s==null?void 0:s.fuelConclusion)==null?void 0:L.fo)==null?void 0:_e.saving),1),IB])):((Le=(ue=s==null?void 0:s.fuelConclusion)==null?void 0:ue.fo)==null?void 0:Le.conclusionStatus)==="Over"?(e.openBlock(),e.createElementBlock("div",RB,[zB,e.createElementVNode("span",UB,e.toDisplayString((we=(We=s==null?void 0:s.fuelConclusion)==null?void 0:We.fo)==null?void 0:we.overCons),1),YB])):(e.openBlock(),e.createElementBlock("div",ZB,"N/A"))])):e.createCommentVNode("",!0)]),e.createElementVNode("div",QB,[JB,e.createElementVNode("div",KB,[e.createElementVNode("div",null,e.toDisplayString(s.allWx.sumDgoCons),1),qB]),s.goodWx.distance?(e.openBlock(),e.createElementBlock("div",XB,[((Ke=(He=s==null?void 0:s.fuelConclusion)==null?void 0:He.dgo)==null?void 0:Ke.conclusionStatus)==="Saving"?(e.openBlock(),e.createElementBlock("div",jB," DO/GO Saving ")):((U=(qe=s==null?void 0:s.fuelConclusion)==null?void 0:qe.dgo)==null?void 0:U.conclusionStatus)==="Over"?(e.openBlock(),e.createElementBlock("div",$B," DO/GO Over-consumption ")):(e.openBlock(),e.createElementBlock("div",vB,"No DO/GO Over-consumption/Saving"))])):(e.openBlock(),e.createElementBlock("div",ew,e.toDisplayString(l.noGoodWxDay),1)),s.goodWx.distance?(e.openBlock(),e.createElementBlock("div",tw,[((ze=(Oe=s==null?void 0:s.fuelConclusion)==null?void 0:Oe.dgo)==null?void 0:ze.conclusionStatus)==="Saving"?(e.openBlock(),e.createElementBlock("div",ow,[lw,e.createElementVNode("span",aw,e.toDisplayString((Ye=(Ue=s==null?void 0:s.fuelConclusion)==null?void 0:Ue.dgo)==null?void 0:Ye.saving),1),nw])):((Qe=(Ze=s==null?void 0:s.fuelConclusion)==null?void 0:Ze.dgo)==null?void 0:Qe.conclusionStatus)==="Over"?(e.openBlock(),e.createElementBlock("div",sw,[iw,e.createElementVNode("span",dw,e.toDisplayString((y=(Je=s==null?void 0:s.fuelConclusion)==null?void 0:Je.dgo)==null?void 0:y.overCons),1),cw])):(e.openBlock(),e.createElementBlock("div",rw,"N/A"))])):e.createCommentVNode("",!0)])])])])}),128)),mw]),e.createElementVNode("div",{class:e.normalizeClass(a.computeBlankHtml((M=o.report)==null?void 0:M.remarks)&&!l.exclusion.length?"section remark-section print-hidden":"section remark-section")},[hw,l.exclusion.length?(e.openBlock(),e.createElementBlock("div",pw,[Ew,yw,e.createElementVNode("div",_w,[e.createElementVNode("table",Nw,[Vw,e.createElementVNode("tbody",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(l.exclusion,(s,$)=>(e.openBlock(),e.createElementBlock("tr",{key:$},[e.createElementVNode("td",null,e.toDisplayString($+1),1),e.createElementVNode("td",null,e.toDisplayString(s.time),1),e.createElementVNode("td",null,e.toDisplayString(s.duration),1),e.createElementVNode("td",null,e.toDisplayString(s.distance),1),e.createElementVNode("td",null,e.toDisplayString(s.fo),1),e.createElementVNode("td",null,e.toDisplayString(s.dgo),1)]))),128))])])])])):e.createCommentVNode("",!0),e.createElementVNode("div",{class:e.normalizeClass(a.computeBlankHtml((J=o.report)==null?void 0:J.remarks)?"remark-block print-hidden":"remark-block page-avoid")},[l.editable?(e.openBlock(),e.createBlock(E,{key:0,modelValue:l.remarks,"onUpdate:modelValue":n[0]||(n[0]=s=>l.remarks=s),class:"editor",height:"120px",onBlur:n[1]||(n[1]=s=>a.handleCommit(s))},null,8,["modelValue"])):(e.openBlock(),e.createElementBlock("div",{key:1,class:"txt",onDblclick:n[2]||(n[2]=(...s)=>a.handleEdit&&a.handleEdit(...s)),innerHTML:l.remarks},null,40,fw))],2)],2),e.createElementVNode("div",gw,[Dw,(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(o.report.segments,(s,$)=>{var c,ee,oe,te,se,ie,ce,re,he,pe,Ee,de,ye,xe,be,Ce,Se,ke,Ae,Be,Fe,Pe,fe,L,_e,ue,Le,We,we,He,Ke,qe,U,Oe,ze,Ue,Ye,Ze,Qe,Je,y,Q,ge,Te,Me,me,Xe,$e,ve,ot,lt,at,nt,mt,ht,pt,Et,yt,_t,Nt,Vt,ft,gt,Dt,xt,bt,Ct,St,kt,At,Bt,wt,Tt,Ht,ho,yo,_o,No,Vo,I,tt,Ot,Ft,Mt,Gt,It,Rt,zt,Ut,Yt,Zt,Qt,Jt,Kt,qt,Xt,jt,$t,vt,eo,to,oo,lo,ao,no,so,io,co,fo,go,Do,xo,bo,Co,So,ko,Ao,Bo,wo,To,Oo,Fo,Po,uo,Lo,Wo,Ho,Mo,Go,Io,Uo,Yo,Zo,Qo,Jo,Ko,qo,Xo,jo,$o,vo,el,tl,ol,ll,al,nl,sl,il,dl,cl,rl,ml,hl,pl,El,Pt,Nl,gl,Dl,xl,bl,Cl,Sl,kl,Al,Bl,wl,Tl,Ol,Fl,Pl,ul,Ll,Wl,Hl,Ml,Gl,Il,Rl,zl,Ul,Yl,Zl,Ql,Jl,Kl,ql,Xl,jl,$l,vl,ea,ta,oa,la,aa,na,sa,ia,da,ca,ra,ma,ha,pa,Ea,ya,_a,Na,Va,fa,ga,Da,xa,ba,Ca,Sa,ka,Aa,Ba,wa,Ta,Oa,Fa,Pa,ua,La,Wa,Ha,Ma,Ga,Ia,Ra,za,Ua,Ya,ae,ro,Za,Qa,Ja,ne,mo,Ka,qa,Xa,rt,an,nn,sn,dn,ut,Wn,Hn,Mn,Gn,In,Rn,zn,Un,Yn,Zn,Qn,Jn,Kn,qn,Xn,jn,$n,vn,es,ts,os,ls,as,ns,ss,is,ds,cs,rs,ms,hs,ps,Es,ys,_s,Ns,Vs,fs,gs,Ds,xs,bs,Cs,Ss,ks,As,Bs,ws,Ts,Os,Fs,Ps,us,Ls,Ws,Hs,Ms;return e.openBlock(),e.createElementBlock("div",{key:$,class:"segment-block"},[e.createElementVNode("div",xw,"Voyage Analysis Seg. "+e.toDisplayString($+1),1),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList((c=s==null?void 0:s.extend)==null?void 0:c.segTimes,(je,ree)=>{var Gs,Is,Rs,zs,Us,Ys,Zs,Qs,Js,Ks;return e.openBlock(),e.createElementBlock("div",{class:"segment-row flex-space",key:ree},[e.createElementVNode("div",bw,[(Gs=je==null?void 0:je.departure)!=null&&Gs.portName?(e.openBlock(),e.createElementBlock("span",Cw,e.toDisplayString((Is=je==null?void 0:je.departure)==null?void 0:Is.portName),1)):(e.openBlock(),e.createElementBlock("span",Sw,e.toDisplayString(a.computeLat((Rs=je==null?void 0:je.departure)==null?void 0:Rs.lat).pretty)+", "+e.toDisplayString(a.computeLng((zs=je==null?void 0:je.departure)==null?void 0:zs.lng).pretty),1)),e.createElementVNode("label",null,"("+e.toDisplayString(a.computeUTCTime((Us=je==null?void 0:je.departure)==null?void 0:Us.utcTime))+")",1)]),kw,e.createElementVNode("div",Aw,[(Ys=je==null?void 0:je.arrival)!=null&&Ys.portName?(e.openBlock(),e.createElementBlock("span",Bw,e.toDisplayString((Zs=je==null?void 0:je.arrival)==null?void 0:Zs.portName),1)):(e.openBlock(),e.createElementBlock("span",ww,e.toDisplayString(a.computeLat((Qs=je==null?void 0:je.arrival)==null?void 0:Qs.lat).pretty)+", "+e.toDisplayString(a.computeLng((Js=je==null?void 0:je.arrival)==null?void 0:Js.lng).pretty),1)),e.createElementVNode("label",null,"("+e.toDisplayString(a.computeUTCTime((Ks=je==null?void 0:je.arrival)==null?void 0:Ks.utcTime))+")",1)])])}),128)),Tw,e.createElementVNode("div",Ow,[e.createElementVNode("table",null,[Fw,Pw,e.createElementVNode("tr",null,[uw,e.createElementVNode("td",Lw,e.toDisplayString((oe=(ee=s==null?void 0:s.goodWx)==null?void 0:ee.outEca)==null?void 0:oe.distance),1),e.createElementVNode("td",Ww,e.toDisplayString((se=(te=s==null?void 0:s.goodWx)==null?void 0:te.inEca)==null?void 0:se.distance),1),e.createElementVNode("td",null,e.toDisplayString((ce=(ie=s==null?void 0:s.allWx)==null?void 0:ie.outEca)==null?void 0:ce.distance),1),e.createElementVNode("td",null,e.toDisplayString((he=(re=s==null?void 0:s.allWx)==null?void 0:re.inEca)==null?void 0:he.distance),1)]),e.createElementVNode("tr",null,[Hw,e.createElementVNode("td",Mw,e.toDisplayString((Ee=(pe=s==null?void 0:s.goodWx)==null?void 0:pe.outEca)==null?void 0:Ee.time),1),e.createElementVNode("td",Gw,e.toDisplayString((ye=(de=s==null?void 0:s.goodWx)==null?void 0:de.inEca)==null?void 0:ye.time),1),e.createElementVNode("td",null,e.toDisplayString((be=(xe=s==null?void 0:s.allWx)==null?void 0:xe.outEca)==null?void 0:be.time),1),e.createElementVNode("td",null,e.toDisplayString((Se=(Ce=s==null?void 0:s.allWx)==null?void 0:Ce.inEca)==null?void 0:Se.time),1)]),e.createElementVNode("tr",null,[Iw,e.createElementVNode("td",Rw,e.toDisplayString(((Ae=(ke=s==null?void 0:s.goodWx)==null?void 0:ke.outEca)==null?void 0:Ae.avgSpd)||"--"),1),e.createElementVNode("td",zw,e.toDisplayString(((Fe=(Be=s==null?void 0:s.goodWx)==null?void 0:Be.inEca)==null?void 0:Fe.avgSpd)||"--"),1),e.createElementVNode("td",null,e.toDisplayString(((fe=(Pe=s==null?void 0:s.allWx)==null?void 0:Pe.outEca)==null?void 0:fe.avgSpd)||"--"),1),e.createElementVNode("td",null,e.toDisplayString(((_e=(L=s==null?void 0:s.allWx)==null?void 0:L.inEca)==null?void 0:_e.avgSpd)||"--"),1)]),e.createElementVNode("tr",null,[Uw,e.createElementVNode("td",Yw,e.toDisplayString(((Le=(ue=s==null?void 0:s.goodWx)==null?void 0:ue.outEca)==null?void 0:Le.sumFoCons)||"--"),1),e.createElementVNode("td",Zw,e.toDisplayString(((we=(We=s==null?void 0:s.goodWx)==null?void 0:We.inEca)==null?void 0:we.sumFoCons)||"--"),1),e.createElementVNode("td",null,e.toDisplayString(((Ke=(He=s==null?void 0:s.allWx)==null?void 0:He.outEca)==null?void 0:Ke.sumFoCons)||"--"),1),e.createElementVNode("td",null,e.toDisplayString(((U=(qe=s==null?void 0:s.allWx)==null?void 0:qe.inEca)==null?void 0:U.sumFoCons)||"--"),1)]),e.createElementVNode("tr",null,[Qw,e.createElementVNode("td",Jw,e.toDisplayString(((ze=(Oe=s==null?void 0:s.goodWx)==null?void 0:Oe.outEca)==null?void 0:ze.avgFoCons)||"--"),1),e.createElementVNode("td",Kw,e.toDisplayString(((Ye=(Ue=s==null?void 0:s.goodWx)==null?void 0:Ue.inEca)==null?void 0:Ye.avgFoCons)||"--"),1),e.createElementVNode("td",null,e.toDisplayString(((Qe=(Ze=s==null?void 0:s.allWx)==null?void 0:Ze.outEca)==null?void 0:Qe.avgFoCons)||"--"),1),e.createElementVNode("td",null,e.toDisplayString(((y=(Je=s==null?void 0:s.allWx)==null?void 0:Je.inEca)==null?void 0:y.avgFoCons)||"--"),1)]),e.createElementVNode("tr",null,[qw,e.createElementVNode("td",Xw,e.toDisplayString(((ge=(Q=s==null?void 0:s.goodWx)==null?void 0:Q.outEca)==null?void 0:ge.sumDgoCons)||"--"),1),e.createElementVNode("td",jw,e.toDisplayString(((Me=(Te=s==null?void 0:s.goodWx)==null?void 0:Te.inEca)==null?void 0:Me.sumDgoCons)||"--"),1),e.createElementVNode("td",null,e.toDisplayString(((Xe=(me=s==null?void 0:s.allWx)==null?void 0:me.outEca)==null?void 0:Xe.sumDgoCons)||"--"),1),e.createElementVNode("td",null,e.toDisplayString(((ve=($e=s==null?void 0:s.allWx)==null?void 0:$e.inEca)==null?void 0:ve.sumDgoCons)||"--"),1)]),e.createElementVNode("tr",null,[$w,e.createElementVNode("td",vw,e.toDisplayString(((lt=(ot=s==null?void 0:s.goodWx)==null?void 0:ot.outEca)==null?void 0:lt.avgDgoCons)||"--"),1),e.createElementVNode("td",e5,e.toDisplayString(((nt=(at=s==null?void 0:s.goodWx)==null?void 0:at.inEca)==null?void 0:nt.avgDgoCons)||"--"),1),e.createElementVNode("td",null,e.toDisplayString(((ht=(mt=s==null?void 0:s.allWx)==null?void 0:mt.outEca)==null?void 0:ht.avgDgoCons)||"--"),1),e.createElementVNode("td",null,e.toDisplayString(((Et=(pt=s==null?void 0:s.allWx)==null?void 0:pt.inEca)==null?void 0:Et.avgDgoCons)||"--"),1)])])]),(yt=l.exclusion[$])!=null&&yt.time?(e.openBlock(),e.createElementBlock("div",t5," *The Performance Speed Evaluation excludes exclusion time, distance, and consumed fuel. ")):e.createCommentVNode("",!0),(_t=s==null?void 0:s.goodWx)!=null&&_t.distance?(e.openBlock(),e.createElementBlock("div",o5,[e.createElementVNode("div",l5,[a5,e.createElementVNode("div",n5,[(Vt=(Nt=o.report)==null?void 0:Nt.weather)!=null&&Vt.favorableCur&&((ft=s==null?void 0:s.goodWx)==null?void 0:ft.avgCf)>0?(e.openBlock(),e.createElementBlock("span",c5,e.toDisplayString((St=s==null?void 0:s.goodWx)==null?void 0:St.pfmSpd)+" (kts)",1)):(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[e.createElementVNode("span",null,e.toDisplayString((gt=s==null?void 0:s.goodWx)==null?void 0:gt.avgSpd),1),s5,e.createElementVNode("span",null,e.toDisplayString(((Dt=s==null?void 0:s.goodWx)==null?void 0:Dt.avgCf)>0?(xt=s==null?void 0:s.goodWx)==null?void 0:xt.avgCf:`(${(bt=s==null?void 0:s.goodWx)==null?void 0:bt.avgCf})`),1),i5,e.createElementVNode("span",d5,e.toDisplayString((Ct=s==null?void 0:s.goodWx)==null?void 0:Ct.pfmSpd)+" (kts)",1)],64)),((kt=s==null?void 0:s.goodWx)==null?void 0:kt.pfmStatus)==="Under"?(e.openBlock(),e.createElementBlock("span",r5,"(Under-performance)")):e.createCommentVNode("",!0),((At=s==null?void 0:s.goodWx)==null?void 0:At.pfmStatus)==="Over"?(e.openBlock(),e.createElementBlock("span",m5,"(Over-performance)")):e.createCommentVNode("",!0)])]),e.createElementVNode("div",h5,[p5,e.createElementVNode("div",E5,[(wt=(Bt=o.report)==null?void 0:Bt.weather)!=null&&wt.favorableCur&&((Tt=s==null?void 0:s.goodWx)==null?void 0:Tt.avgCf)>0?(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[V5,f5],64)):(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[y5,_5,N5],64))])])])):(e.openBlock(),e.createElementBlock("div",g5,[e.createElementVNode("div",D5,[x5,e.createElementVNode("div",b5,[(ho=(Ht=o.report)==null?void 0:Ht.weather)!=null&&ho.favorableCur&&((yo=s==null?void 0:s.allWx)==null?void 0:yo.avgCf)>0?(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[e.createElementVNode("span",null,e.toDisplayString((Gt=s==null?void 0:s.allWx)==null?void 0:Gt.avgSpd),1),B5,e.createElementVNode("span",null,e.toDisplayString(((It=s==null?void 0:s.allWx)==null?void 0:It.avgWf)>0?(Rt=s==null?void 0:s.allWx)==null?void 0:Rt.avgWf:`(${(zt=s==null?void 0:s.allWx)==null?void 0:zt.avgWf})`),1),w5,e.createElementVNode("span",T5,e.toDisplayString((Ut=s==null?void 0:s.allWx)==null?void 0:Ut.pfmSpd)+" (kts)",1)],64)):(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[e.createElementVNode("span",null,e.toDisplayString((_o=s==null?void 0:s.allWx)==null?void 0:_o.avgSpd),1),C5,e.createElementVNode("span",null,e.toDisplayString(((No=s==null?void 0:s.allWx)==null?void 0:No.avgCf)>0?(Vo=s==null?void 0:s.allWx)==null?void 0:Vo.avgCf:`(${(I=s==null?void 0:s.allWx)==null?void 0:I.avgCf})`),1),S5,e.createElementVNode("span",null,e.toDisplayString(((tt=s==null?void 0:s.allWx)==null?void 0:tt.avgWf)>0?(Ot=s==null?void 0:s.allWx)==null?void 0:Ot.avgWf:`(${(Ft=s==null?void 0:s.allWx)==null?void 0:Ft.avgWf})`),1),k5,e.createElementVNode("span",A5,e.toDisplayString((Mt=s==null?void 0:s.allWx)==null?void 0:Mt.pfmSpd)+" (kts)",1)],64)),((Yt=s==null?void 0:s.allWx)==null?void 0:Yt.pfmStatus)==="Under"?(e.openBlock(),e.createElementBlock("span",O5,"(Under-performance)")):e.createCommentVNode("",!0),((Zt=s==null?void 0:s.allWx)==null?void 0:Zt.pfmStatus)==="Over"?(e.openBlock(),e.createElementBlock("span",F5,"(Over-performance)")):e.createCommentVNode("",!0)])]),e.createElementVNode("div",P5,[u5,e.createElementVNode("div",L5,[(Jt=(Qt=o.report)==null?void 0:Qt.weather)!=null&&Jt.favorableCur&&((Kt=s==null?void 0:s.allWx)==null?void 0:Kt.avgCf)>0?(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[R5,z5,U5,Y5],64)):(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[W5,H5,M5,G5,I5],64))])])])),Z5,e.createElementVNode("div",Q5,[e.createElementVNode("div",J5,[K5,e.createElementVNode("div",q5,[e.createElementVNode("span",null,"Seg. "+e.toDisplayString($+1)+" Time Analysis",1),(Xt=(qt=o.report)==null?void 0:qt.weather)!=null&&Xt.noExtrapolation?(e.openBlock(),e.createElementBlock("span",X5,"( no extrapolation beyond the good weather period )")):e.createCommentVNode("",!0)])]),e.createElementVNode("div",j5,[e.createElementVNode("div",$5,[v5,e.createElementVNode("div",e7,[e.createElementVNode("div",t7,[e.createElementVNode("div",null,e.toDisplayString(($t=(jt=o.report)==null?void 0:jt.weather)!=null&&$t.noExtrapolation?"Total Distance At Good Weather":"Total Distance"),1),o7,l7]),a7])]),e.createElementVNode("div",n7,[e.createElementVNode("div",s7,[e.createElementVNode("label",null,"Total Time at (CP Speed - "+e.toDisplayString(a.computeAbtSpeed(s==null?void 0:s.timeConclusion,(eo=(vt=s==null?void 0:s.extend)==null?void 0:vt.cp)==null?void 0:eo.speed,"Under"))+"kts)",1),i7]),e.createElementVNode("div",d7,[e.createElementVNode("div",c7,[e.createElementVNode("div",null,e.toDisplayString((oo=(to=o.report)==null?void 0:to.weather)!=null&&oo.noExtrapolation?"Total Distance At Good Weather":"Total Distance"),1),r7,e.createElementVNode("div",null,"CP Speed - "+e.toDisplayString(a.computeAbtSpeed(s==null?void 0:s.timeConclusion,(ao=(lo=s==null?void 0:s.extend)==null?void 0:lo.cp)==null?void 0:ao.speed,"Under"))+"kts",1)]),m7])]),e.createElementVNode("div",h7,[e.createElementVNode("div",p7,[e.createElementVNode("label",null,"Total Time at (CP Speed + "+e.toDisplayString(a.computeAbtSpeed(s==null?void 0:s.timeConclusion,(so=(no=s==null?void 0:s.extend)==null?void 0:no.cp)==null?void 0:so.speed,"Over"))+"kts)",1),E7]),e.createElementVNode("div",y7,[e.createElementVNode("div",_7,[e.createElementVNode("div",null,e.toDisplayString((co=(io=o.report)==null?void 0:io.weather)!=null&&co.noExtrapolation?"Total Distance At Good Weather":"Total Distance"),1),N7,e.createElementVNode("div",null,"CP Speed + "+e.toDisplayString(a.computeAbtSpeed(s==null?void 0:s.timeConclusion,(go=(fo=s==null?void 0:s.extend)==null?void 0:fo.cp)==null?void 0:go.speed,"Over"))+"kts",1)]),V7])]),f7]),e.createElementVNode("div",g7,[e.createElementVNode("div",D7,[x7,e.createElementVNode("div",null," Total Time at Good Weather Performance Speed > Total Time at (CP Speed - "+e.toDisplayString(a.computeAbtSpeed(s==null?void 0:s.timeConclusion,(xo=(Do=s==null?void 0:s.extend)==null?void 0:Do.cp)==null?void 0:xo.speed,"Under"))+" kts) ",1)]),e.createElementVNode("div",b7,[C7,e.createElementVNode("div",null," Total Time at Good Weather Performance Speed < Total Time at (CP Speed + "+e.toDisplayString(a.computeAbtSpeed(s==null?void 0:s.timeConclusion,(Co=(bo=s==null?void 0:s.extend)==null?void 0:bo.cp)==null?void 0:Co.speed,"Over"))+" kts) ",1)]),e.createElementVNode("div",S7,[k7,e.createElementVNode("div",null,"Total Time at (CP Speed + "+e.toDisplayString(a.computeAbtSpeed(s==null?void 0:s.timeConclusion,(ko=(So=s==null?void 0:s.extend)==null?void 0:So.cp)==null?void 0:ko.speed,"Over"))+" kts) ≤ Total Time at Good Weather Performance Speed ≤ Total Time at (CP Speed -"+e.toDisplayString(a.computeAbtSpeed(s==null?void 0:s.timeConclusion,(Bo=(Ao=s==null?void 0:s.extend)==null?void 0:Ao.cp)==null?void 0:Bo.speed,"Under"))+" kts)",1)])]),(wo=s==null?void 0:s.goodWx)!=null&&wo.distance?(e.openBlock(),e.createElementBlock("div",A7,[e.createElementVNode("div",B7,[w7,e.createElementVNode("div",T7,[e.createElementVNode("div",O7,[e.createElementVNode("div",null,e.toDisplayString((Oo=(To=o.report)==null?void 0:To.weather)!=null&&Oo.noExtrapolation?(Fo=s==null?void 0:s.goodWx)==null?void 0:Fo.distance:(Po=s==null?void 0:s.allWx)==null?void 0:Po.distance),1),F7,e.createElementVNode("div",null,e.toDisplayString((uo=s==null?void 0:s.goodWx)==null?void 0:uo.pfmSpd),1)]),P7,e.createElementVNode("div",null,e.toDisplayString((Lo=s==null?void 0:s.timeConclusion)==null?void 0:Lo.timeAtPfmSpd)+" (hrs)",1),u7])]),e.createElementVNode("div",L7,[e.createElementVNode("div",W7,[e.createElementVNode("label",null,"Total Time at (CP Speed - "+e.toDisplayString(a.computeAbtSpeed(s==null?void 0:s.timeConclusion,(Ho=(Wo=s==null?void 0:s.extend)==null?void 0:Wo.cp)==null?void 0:Ho.speed,"Under"))+"kts)",1),H7]),e.createElementVNode("div",M7,[e.createElementVNode("div",G7,[e.createElementVNode("div",null,e.toDisplayString((Go=(Mo=o.report)==null?void 0:Mo.weather)!=null&&Go.noExtrapolation?(Io=s==null?void 0:s.goodWx)==null?void 0:Io.distance:(Uo=s==null?void 0:s.allWx)==null?void 0:Uo.distance),1),I7,e.createElementVNode("div",null,e.toDisplayString((Yo=s==null?void 0:s.timeConclusion)==null?void 0:Yo.minusAbtSpd),1)]),R7,e.createElementVNode("div",null,e.toDisplayString((Zo=s==null?void 0:s.timeConclusion)==null?void 0:Zo.timeAtMinusAbtSpd)+" (hrs)",1),z7])]),e.createElementVNode("div",U7,[e.createElementVNode("div",Y7,[e.createElementVNode("label",null,"Total Time at (CP Speed + "+e.toDisplayString(a.computeAbtSpeed(s==null?void 0:s.timeConclusion,(Jo=(Qo=s==null?void 0:s.extend)==null?void 0:Qo.cp)==null?void 0:Jo.speed,"Over"))+"kts)",1),Z7]),e.createElementVNode("div",Q7,[e.createElementVNode("div",J7,[e.createElementVNode("div",null,e.toDisplayString((qo=(Ko=o.report)==null?void 0:Ko.weather)!=null&&qo.noExtrapolation?(Xo=s==null?void 0:s.goodWx)==null?void 0:Xo.distance:(jo=s==null?void 0:s.allWx)==null?void 0:jo.distance),1),K7,e.createElementVNode("div",null,e.toDisplayString(($o=s==null?void 0:s.timeConclusion)==null?void 0:$o.plusAbtSpd),1)]),q7,e.createElementVNode("div",null,e.toDisplayString((vo=s==null?void 0:s.timeConclusion)==null?void 0:vo.timeAtPlusAbtSpd)+" (hrs)",1),X7])]),e.createElementVNode("div",j7,[((el=s==null?void 0:s.timeConclusion)==null?void 0:el.conclusionStatus)==="Lost"?(e.openBlock(),e.createElementBlock("div",$7,[v7,e9,t9,o9,e.createElementVNode("div",null,e.toDisplayString((tl=s==null?void 0:s.timeConclusion)==null?void 0:tl.timeAtPfmSpd),1),l9,e.createElementVNode("div",null,e.toDisplayString((ol=s==null?void 0:s.timeConclusion)==null?void 0:ol.timeAtMinusAbtSpd),1),a9,e.createElementVNode("div",null,e.toDisplayString((ll=s==null?void 0:s.timeConclusion)==null?void 0:ll.timeLost)+" (hrs)",1)])):((al=s==null?void 0:s.timeConclusion)==null?void 0:al.conclusionStatus)==="Gain"?(e.openBlock(),e.createElementBlock("div",n9,[s9,i9,d9,c9,e.createElementVNode("div",null,e.toDisplayString((nl=s==null?void 0:s.timeConclusion)==null?void 0:nl.timeAtPlusAbtSpd),1),r9,e.createElementVNode("div",null,e.toDisplayString((sl=s==null?void 0:s.timeConclusion)==null?void 0:sl.timeAtPfmSpd),1),m9,e.createElementVNode("div",null,e.toDisplayString((il=s==null?void 0:s.timeConclusion)==null?void 0:il.timeGain)+" (hrs)",1)])):e.createCommentVNode("",!0),e.createElementVNode("div",{class:e.normalizeClass(((dl=s==null?void 0:s.timeConclusion)==null?void 0:dl.conclusionStatus)==="Lost"?"flex-center lost":((cl=s==null?void 0:s.timeConclusion)==null?void 0:cl.conclusionStatus)==="Gain"?"flex-center gain":"flex-center")},[h9,e.createElementVNode("div",null,e.toDisplayString(((rl=s==null?void 0:s.timeConclusion)==null?void 0:rl.conclusion)||""),1)],2)])])):(e.openBlock(),e.createElementBlock("div",p9,e.toDisplayString(l.noGoodWxDay),1))]),E9,e.createElementVNode("div",y9,[e.createElementVNode("div",_9,[N9,e.createElementVNode("div",V9,[e.createElementVNode("span",null,"Seg. "+e.toDisplayString($+1)+" Consumption Analysis",1),(hl=(ml=o.report)==null?void 0:ml.weather)!=null&&hl.noExtrapolation?(e.openBlock(),e.createElementBlock("span",f9,"( no extrapolation beyond the good weather period )")):e.createCommentVNode("",!0)])]),e.createElementVNode("div",g9,[e.createElementVNode("div",D9,[x9,e.createElementVNode("div",b9,[e.createElementVNode("div",C9,[e.createElementVNode("div",null,e.toDisplayString((El=(pl=o.report)==null?void 0:pl.weather)!=null&&El.noExtrapolation?"Total Distance At Good Weather":"Total Distance"),1),S9,k9]),A9,B9,w9])]),e.createElementVNode("div",T9,[O9,((Nl=(Pt=s.extend)==null?void 0:Pt.cp)==null?void 0:Nl.dgo)>0?(e.openBlock(),e.createElementBlock("div",F9,"* For DO/GO: Good Weather DO/GO Cons. - Good Weather M/E DO/GO Cons. in ECA")):e.createCommentVNode("",!0)]),e.createElementVNode("div",P9,[u9,e.createElementVNode("div",L9,[e.createElementVNode("div",W9,[e.createElementVNode("div",null,e.toDisplayString((Dl=(gl=o.report)==null?void 0:gl.weather)!=null&&Dl.noExtrapolation?"Total Distance At Good Weather":"Total Distance"),1),H9,e.createElementVNode("div",null,"CP Speed - "+e.toDisplayString(a.computeAbtSpeed(s==null?void 0:s.timeConclusion,(bl=(xl=s==null?void 0:s.extend)==null?void 0:xl.cp)==null?void 0:bl.speed,"Under"))+"kts",1)]),M9,G9,I9])]),e.createElementVNode("div",R9,[z9,e.createElementVNode("div",U9,[e.createElementVNode("div",Y9,[e.createElementVNode("div",null,e.toDisplayString((Sl=(Cl=o.report)==null?void 0:Cl.weather)!=null&&Sl.noExtrapolation?"Total Distance At Good Weather":"Total Distance"),1),Z9,e.createElementVNode("div",null,"CP Speed - "+e.toDisplayString(a.computeAbtSpeed(s==null?void 0:s.timeConclusion,(Al=(kl=s==null?void 0:s.extend)==null?void 0:kl.cp)==null?void 0:Al.speed,"Under"))+"kts",1)]),Q9,J9,K9])]),q9,((wl=(Bl=s.extend)==null?void 0:Bl.cp)==null?void 0:wl.dgo)>0?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[e.createElementVNode("div",X9,[j9,e.createElementVNode("div",$9,[e.createElementVNode("div",v9,[e6,t6,e.createElementVNode("div",null,e.toDisplayString((Ol=(Tl=o.report)==null?void 0:Tl.weather)!=null&&Ol.noExtrapolation?"Total Distance At Good Weather":"Total Distance"),1)])])]),e.createElementVNode("div",o6,[l6,e.createElementVNode("div",a6,[e.createElementVNode("div",n6,[s6,i6,e.createElementVNode("div",null,e.toDisplayString((Pl=(Fl=o.report)==null?void 0:Fl.weather)!=null&&Pl.noExtrapolation?"Total Distance At Good Weather":"Total Distance"),1)])])])],64)):e.createCommentVNode("",!0)]),d6,e.createElementVNode("div",c6,[r6,e.createElementVNode("div",m6,"Seg. "+e.toDisplayString($+1)+" Fuel Oil",1)]),(ul=s==null?void 0:s.goodWx)!=null&&ul.distance?(e.openBlock(),e.createElementBlock("div",h6,[e.createElementVNode("div",p6,[E6,e.createElementVNode("div",y6,[e.createElementVNode("div",_6,[e.createElementVNode("div",null,e.toDisplayString((Wl=(Ll=o.report)==null?void 0:Ll.weather)!=null&&Wl.noExtrapolation?(Hl=s==null?void 0:s.goodWx)==null?void 0:Hl.distance:(Ml=s==null?void 0:s.allWx)==null?void 0:Ml.distance),1),N6,e.createElementVNode("div",null,e.toDisplayString((Gl=s==null?void 0:s.goodWx)==null?void 0:Gl.pfmSpd),1)]),V6,e.createElementVNode("div",f6,[e.createElementVNode("div",null,[e.createElementVNode("span",null,e.toDisplayString((Il=s==null?void 0:s.goodWx)==null?void 0:Il.sumFoCons),1),((zl=(Rl=s==null?void 0:s.goodWx)==null?void 0:Rl.inEca)==null?void 0:zl.distance)>0?(e.openBlock(),e.createElementBlock("span",g6,[D6,e.createElementVNode("span",null,e.toDisplayString((Yl=(Ul=s==null?void 0:s.fuelConclusion)==null?void 0:Ul.fo)==null?void 0:Yl.dgoAsFoCons),1)])):e.createCommentVNode("",!0)]),x6,e.createElementVNode("div",null,e.toDisplayString((Zl=s==null?void 0:s.goodWx)==null?void 0:Zl.time),1)]),b6,e.createElementVNode("div",null,e.toDisplayString((Jl=(Ql=s.fuelConclusion)==null?void 0:Ql.fo)==null?void 0:Jl.entireCons)+" (mt)",1),C6])]),e.createElementVNode("div",S6,[k6,e.createElementVNode("div",A6,[e.createElementVNode("div",B6,[e.createElementVNode("div",null,e.toDisplayString((ql=(Kl=o.report)==null?void 0:Kl.weather)!=null&&ql.noExtrapolation?(Xl=s==null?void 0:s.goodWx)==null?void 0:Xl.distance:(jl=s==null?void 0:s.allWx)==null?void 0:jl.distance),1),w6,e.createElementVNode("div",null,e.toDisplayString(($l=s==null?void 0:s.timeConclusion)==null?void 0:$l.minusAbtSpd),1)]),T6,e.createElementVNode("div",O6,[e.createElementVNode("div",null,e.toDisplayString((ea=(vl=s==null?void 0:s.fuelConclusion)==null?void 0:vl.fo)==null?void 0:ea.overTolerance),1),F6,P6]),u6,e.createElementVNode("div",null,e.toDisplayString((oa=(ta=s.fuelConclusion)==null?void 0:ta.fo)==null?void 0:oa.maxCons)+" (mt)",1),L6])]),e.createElementVNode("div",W6,[H6,e.createElementVNode("div",M6,[e.createElementVNode("div",G6,[e.createElementVNode("div",null,e.toDisplayString((aa=(la=o.report)==null?void 0:la.weather)!=null&&aa.noExtrapolation?(na=s==null?void 0:s.goodWx)==null?void 0:na.distance:(sa=s==null?void 0:s.allWx)==null?void 0:sa.distance),1),I6,e.createElementVNode("div",null,e.toDisplayString((ia=s==null?void 0:s.timeConclusion)==null?void 0:ia.minusAbtSpd),1)]),R6,e.createElementVNode("div",z6,[e.createElementVNode("div",null,e.toDisplayString((ca=(da=s==null?void 0:s.fuelConclusion)==null?void 0:da.fo)==null?void 0:ca.underTolerance),1),U6,Y6]),Z6,e.createElementVNode("div",null,e.toDisplayString((ma=(ra=s.fuelConclusion)==null?void 0:ra.fo)==null?void 0:ma.minCons)+" (mt)",1),Q6])]),e.createElementVNode("div",J6,[((pa=(ha=s==null?void 0:s.fuelConclusion)==null?void 0:ha.fo)==null?void 0:pa.conclusionStatus)==="Over"?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[e.createElementVNode("div",K6,[q6,X6,j6,$6,e.createElementVNode("div",null,e.toDisplayString((ya=(Ea=s==null?void 0:s.fuelConclusion)==null?void 0:Ea.fo)==null?void 0:ya.entireCons),1),v6,e.createElementVNode("div",null,e.toDisplayString((Na=(_a=s==null?void 0:s.fuelConclusion)==null?void 0:_a.fo)==null?void 0:Na.maxCons),1),eT,e.createElementVNode("div",null,e.toDisplayString((fa=(Va=s==null?void 0:s.fuelConclusion)==null?void 0:Va.fo)==null?void 0:fa.overCons),1)]),(Da=(ga=s==null?void 0:s.goodWx)==null?void 0:ga.inEca)!=null&&Da.distance?(e.openBlock(),e.createElementBlock("div",tT,[oT,lT,e.createElementVNode("div",aT,[e.createElementVNode("div",null,e.toDisplayString((ba=(xa=s==null?void 0:s.goodWx)==null?void 0:xa.inEca)==null?void 0:ba.distance)+" * "+e.toDisplayString((Sa=(Ca=s==null?void 0:s.fuelConclusion)==null?void 0:Ca.fo)==null?void 0:Sa.overCons),1),nT,e.createElementVNode("div",null,e.toDisplayString((Aa=(ka=o.report)==null?void 0:ka.weather)!=null&&Aa.noExtrapolation?(Ba=s==null?void 0:s.goodWx)==null?void 0:Ba.distance:(wa=s==null?void 0:s.allWx)==null?void 0:wa.distance),1)]),sT,e.createElementVNode("div",null,e.toDisplayString((Oa=(Ta=s==null?void 0:s.fuelConclusion)==null?void 0:Ta.fo)==null?void 0:Oa.foOverConsInEca)+" (mt)",1)])):e.createCommentVNode("",!0)],64)):((Pa=(Fa=s==null?void 0:s.fuelConclusion)==null?void 0:Fa.fo)==null?void 0:Pa.conclusionStatus)==="Saving"?(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[e.createElementVNode("div",iT,[dT,cT,rT,mT,e.createElementVNode("div",null,e.toDisplayString((La=(ua=s==null?void 0:s.fuelConclusion)==null?void 0:ua.fo)==null?void 0:La.minCons),1),hT,e.createElementVNode("div",null,e.toDisplayString((Ha=(Wa=s==null?void 0:s.fuelConclusion)==null?void 0:Wa.fo)==null?void 0:Ha.entireCons),1),pT,e.createElementVNode("div",null,e.toDisplayString((Ga=(Ma=s==null?void 0:s.fuelConclusion)==null?void 0:Ma.fo)==null?void 0:Ga.saving)+" (mt)",1)]),(Ra=(Ia=s==null?void 0:s.goodWx)==null?void 0:Ia.inEca)!=null&&Ra.distance?(e.openBlock(),e.createElementBlock("div",ET,[yT,_T,e.createElementVNode("div",NT,[e.createElementVNode("div",null,e.toDisplayString((Ua=(za=o.report)==null?void 0:za.weather)!=null&&Ua.noExtrapolation?(ae=(Ya=s==null?void 0:s.goodWx)==null?void 0:Ya.inEca)==null?void 0:ae.distance:(Za=(ro=s==null?void 0:s.allWx)==null?void 0:ro.inEca)==null?void 0:Za.distance)+" * "+e.toDisplayString((Ja=(Qa=s==null?void 0:s.fuelConclusion)==null?void 0:Qa.fo)==null?void 0:Ja.saving),1),VT,e.createElementVNode("div",null,e.toDisplayString((mo=(ne=o.report)==null?void 0:ne.weather)!=null&&mo.noExtrapolation?(Ka=s==null?void 0:s.goodWx)==null?void 0:Ka.distance:(qa=s==null?void 0:s.allWx)==null?void 0:qa.distance),1)]),fT,e.createElementVNode("div",null,e.toDisplayString((rt=(Xa=s==null?void 0:s.fuelConclusion)==null?void 0:Xa.fo)==null?void 0:rt.foSavingInEca)+" (mt)",1)])):e.createCommentVNode("",!0)],64)):e.createCommentVNode("",!0),e.createElementVNode("div",{class:e.normalizeClass(((nn=(an=s==null?void 0:s.fuelConclusion)==null?void 0:an.fo)==null?void 0:nn.conclusionStatus)==="Over"?"flex-center lost":((dn=(sn=s==null?void 0:s.fuelConclusion)==null?void 0:sn.fo)==null?void 0:dn.conclusionStatus)==="Saving"?"flex-center gain":"flex-center")},[gT,e.createElementVNode("div",null,e.toDisplayString(((Wn=(ut=s==null?void 0:s.fuelConclusion)==null?void 0:ut.fo)==null?void 0:Wn.conclusion)||""),1)],2)])])):(e.openBlock(),e.createElementBlock("div",DT,e.toDisplayString(l.noGoodWxDay),1)),((Mn=(Hn=s==null?void 0:s.extend)==null?void 0:Hn.cp)==null?void 0:Mn.dgo)>0?(e.openBlock(),e.createElementBlock(e.Fragment,{key:2},[e.createElementVNode("div",xT,[bT,e.createElementVNode("div",CT,"Seg. "+e.toDisplayString($+1)+" Diesel/Gas Oil ",1)]),(Gn=s==null?void 0:s.goodWx)!=null&&Gn.distance?(e.openBlock(),e.createElementBlock("div",ST,[e.createElementVNode("div",kT,[AT,e.createElementVNode("div",BT,[e.createElementVNode("div",wT,[e.createElementVNode("div",null,e.toDisplayString((Rn=(In=o.report)==null?void 0:In.weather)!=null&&Rn.noExtrapolation?(zn=s==null?void 0:s.goodWx)==null?void 0:zn.distance:(Un=s==null?void 0:s.allWx)==null?void 0:Un.distance),1),TT,e.createElementVNode("div",null,e.toDisplayString((Yn=s==null?void 0:s.goodWx)==null?void 0:Yn.pfmSpd),1)]),OT,e.createElementVNode("div",FT,[e.createElementVNode("div",null,[e.createElementVNode("span",null,e.toDisplayString((Zn=s==null?void 0:s.goodWx)==null?void 0:Zn.sumDgoCons),1),((Jn=(Qn=s==null?void 0:s.goodWx)==null?void 0:Qn.inEca)==null?void 0:Jn.distance)>0?(e.openBlock(),e.createElementBlock("span",PT,[uT,e.createElementVNode("span",null,e.toDisplayString((qn=(Kn=s==null?void 0:s.fuelConclusion)==null?void 0:Kn.fo)==null?void 0:qn.dgoAsFoCons),1)])):e.createCommentVNode("",!0)]),LT,e.createElementVNode("div",null,e.toDisplayString((Xn=s==null?void 0:s.goodWx)==null?void 0:Xn.time),1)]),WT,e.createElementVNode("div",null,e.toDisplayString(($n=(jn=s.fuelConclusion)==null?void 0:jn.dgo)==null?void 0:$n.entireCons)+" (mt)",1),HT])]),e.createElementVNode("div",MT,[GT,e.createElementVNode("div",IT,[e.createElementVNode("div",RT,[e.createElementVNode("div",null,e.toDisplayString((es=(vn=o.report)==null?void 0:vn.weather)!=null&&es.noExtrapolation?(ts=s==null?void 0:s.goodWx)==null?void 0:ts.distance:(os=s==null?void 0:s.allWx)==null?void 0:os.distance),1),zT,e.createElementVNode("div",null,e.toDisplayString((ls=s==null?void 0:s.timeConclusion)==null?void 0:ls.minusAbtSpd),1)]),UT,e.createElementVNode("div",YT,[e.createElementVNode("div",null,e.toDisplayString((ns=(as=s==null?void 0:s.fuelConclusion)==null?void 0:as.dgo)==null?void 0:ns.overTolerance),1),ZT,QT]),JT,e.createElementVNode("div",null,e.toDisplayString((is=(ss=s.fuelConclusion)==null?void 0:ss.dgo)==null?void 0:is.maxCons)+" (mt)",1),KT])]),e.createElementVNode("div",qT,[XT,e.createElementVNode("div",jT,[e.createElementVNode("div",$T,[e.createElementVNode("div",null,e.toDisplayString((cs=(ds=o.report)==null?void 0:ds.weather)!=null&&cs.noExtrapolation?(rs=s==null?void 0:s.goodWx)==null?void 0:rs.distance:(ms=s==null?void 0:s.allWx)==null?void 0:ms.distance),1),vT,e.createElementVNode("div",null,e.toDisplayString((hs=s==null?void 0:s.timeConclusion)==null?void 0:hs.minusAbtSpd),1)]),eO,e.createElementVNode("div",tO,[e.createElementVNode("div",null,e.toDisplayString((Es=(ps=s==null?void 0:s.fuelConclusion)==null?void 0:ps.dgo)==null?void 0:Es.underTolerance),1),oO,lO]),aO,e.createElementVNode("div",null,e.toDisplayString((_s=(ys=s.fuelConclusion)==null?void 0:ys.dgo)==null?void 0:_s.minCons)+" (mt)",1),nO])]),e.createElementVNode("div",sO,[((Vs=(Ns=s==null?void 0:s.fuelConclusion)==null?void 0:Ns.dgo)==null?void 0:Vs.conclusionStatus)==="Over"?(e.openBlock(),e.createElementBlock("div",iO,[dO,cO,rO,mO,e.createElementVNode("div",null,e.toDisplayString((gs=(fs=s==null?void 0:s.fuelConclusion)==null?void 0:fs.dgo)==null?void 0:gs.entireCons),1),hO,e.createElementVNode("div",null,e.toDisplayString((xs=(Ds=s==null?void 0:s.fuelConclusion)==null?void 0:Ds.dgo)==null?void 0:xs.maxCons),1),pO,e.createElementVNode("div",null,e.toDisplayString((Cs=(bs=s==null?void 0:s.fuelConclusion)==null?void 0:bs.dgo)==null?void 0:Cs.overCons),1)])):((ks=(Ss=s==null?void 0:s.fuelConclusion)==null?void 0:Ss.fo)==null?void 0:ks.conclusionStatus)==="Saving"?(e.openBlock(),e.createElementBlock("div",EO,[yO,_O,NO,VO,e.createElementVNode("div",null,e.toDisplayString((Bs=(As=s==null?void 0:s.fuelConclusion)==null?void 0:As.dgo)==null?void 0:Bs.minCons),1),fO,e.createElementVNode("div",null,e.toDisplayString((Ts=(ws=s==null?void 0:s.fuelConclusion)==null?void 0:ws.dgo)==null?void 0:Ts.entireCons),1),gO,e.createElementVNode("div",null,e.toDisplayString((Fs=(Os=s==null?void 0:s.fuelConclusion)==null?void 0:Os.dgo)==null?void 0:Fs.saving)+" (mt)",1)])):e.createCommentVNode("",!0),e.createElementVNode("div",{class:e.normalizeClass(((us=(Ps=s==null?void 0:s.fuelConclusion)==null?void 0:Ps.dgo)==null?void 0:us.conclusionStatus)==="Over"?"flex-center lost":((Ws=(Ls=s==null?void 0:s.fuelConclusion)==null?void 0:Ls.dgo)==null?void 0:Ws.conclusionStatus)==="Saving"?"flex-center gain":"flex-center")},[DO,e.createElementVNode("div",null,e.toDisplayString(((Ms=(Hs=s==null?void 0:s.fuelConclusion)==null?void 0:Hs.dgo)==null?void 0:Ms.conclusion)||""),1)],2)])])):(e.openBlock(),e.createElementBlock("div",xO,e.toDisplayString(l.noGoodWxDay),1))],64)):e.createCommentVNode("",!0)])])}),128))])])}const CO=De(a8,[["render",bO],["__scopeId","data-v-b4b228d1"]]),Kee="",SO={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}},computed:{computeTDClass(){return function(t){const n=[];return n.push(t.noonLength?"no-border-bottom":"no-border"),n.push(t.excluded?"excluded":t.goodWx?"good-wx":""),n.join(" ")}},computeWxColspan(){let t=11;return this.showCF||(t-=2),this.showAisDistance||(t-=2),this.showWave||(t-=1),this.showSwell||(t-=1),this.showSig||(t-=1),t},computeUTCTime(){return function(t,n="MMM-DD/HHmm[Z]"){return`${T(t).utc().format(n)}`}},computeLng(){return function(t){return v.LngLatHelper.lng2pretty(t)}},computeLat(){return function(t){return v.LngLatHelper.lat2pretty(t)}},computePrecision(){return function(t,n=2,o="0.0"){return t?v.roundPrecision(t,n):o}}},watch:{report:{handler(t,n){t!=null&&t.id&&this.$nextTick(()=>{this.prepare()})},immediate:!0}},methods:{prepare(){var t,n,o,d,l,a,p,i,E,b;this.showCF=((n=(t=this.report)==null?void 0:t.weather)==null?void 0:n.showCF)??!1,this.showAisDistance=((d=(o=this.report)==null?void 0:o.weather)==null?void 0:d.showAisDistance)??!0,this.showSig=((a=(l=this.report)==null?void 0:l.weather)==null?void 0:a.showSig)??!0,this.showSwell=((i=(p=this.report)==null?void 0:p.weather)==null?void 0:i.showSwell)??!0,this.showWave=((b=(E=this.report)==null?void 0:E.weather)==null?void 0:b.showWave)??!0}}},Ve=t=>(e.pushScopeId("data-v-ff8e42f6"),t=t(),e.popScopeId(),t),kO={class:"report-inventory"},AO={class:"section summary-section"},BO=Ve(()=>e.createElementVNode("div",{class:"header-block flex-center"},[e.createElementVNode("i",{class:"iconfont"},""),e.createElementVNode("div",{class:"title"},"Speed and Weather Analysis")],-1)),wO={class:"summary-block"},TO=Ve(()=>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)),OO={class:"label",rowspan:"4"},FO=Ve(()=>e.createElementVNode("td",{class:"label"},"Entire Period",-1)),PO=Ve(()=>e.createElementVNode("td",{class:"label"},"Good Weather Period",-1)),uO=Ve(()=>e.createElementVNode("td",{class:"label"},"Adverse Weather Period",-1)),LO=Ve(()=>e.createElementVNode("td",{class:"label"},"Excluded Period",-1)),WO={class:"section inventory-section"},HO=e.createStaticVNode('<div class="legends flex-space" data-v-ff8e42f6><div class="flex-start" style="flex:1.2;" data-v-ff8e42f6><div class="legend good-wx" data-v-ff8e42f6></div><div class="label flex-end" data-v-ff8e42f6>Charter Party Defined Good Weather Days</div></div><div class="flex-start" style="flex:1.2;" data-v-ff8e42f6><div class="legend adverse-wx" data-v-ff8e42f6></div><div class="label" data-v-ff8e42f6>Charter Party Defined Adverse Weather Days</div></div><div class="flex-start" style="flex:1;" data-v-ff8e42f6><div class="legend excluded" data-v-ff8e42f6></div><div class="label" data-v-ff8e42f6>Excluded Periods From Analysis</div></div><div class="report flex-space" style="flex:1.6;" data-v-ff8e42f6><div data-v-ff8e42f6><label data-v-ff8e42f6>B</label><span data-v-ff8e42f6>BOSP</span></div><div data-v-ff8e42f6><label data-v-ff8e42f6>N</label><span data-v-ff8e42f6>NOON</span></div><div data-v-ff8e42f6><label data-v-ff8e42f6>E</label><span data-v-ff8e42f6>EOSP</span></div><div data-v-ff8e42f6><label data-v-ff8e42f6>*</label><span data-v-ff8e42f6>Ship Reported Position</span></div></div></div>',1),MO={class:"inventory-block flex-center"},GO={style:{"font-size":"12px"}},IO=Ve(()=>e.createElementVNode("th",{class:"label",rowspan:"3"},"Seg",-1)),RO=Ve(()=>e.createElementVNode("th",{class:"label",rowspan:"3"},"Date",-1)),zO=Ve(()=>e.createElementVNode("th",{class:"label",colspan:"2"},"Position",-1)),UO=Ve(()=>e.createElementVNode("th",{class:"label",colspan:"3"},"CP",-1)),YO=["colspan"],ZO={key:0,class:"label",colspan:"2"},QO=Ve(()=>e.createElementVNode("th",{class:"label",colspan:"12"},"Vessel Reported",-1)),JO=Ve(()=>e.createElementVNode("th",{class:"label",rowspan:"3"},"In ECA",-1)),KO=Ve(()=>e.createElementVNode("th",{class:"label",rowspan:"2"},"Lat",-1)),qO=Ve(()=>e.createElementVNode("th",{class:"label",rowspan:"2"},"Lon",-1)),XO=Ve(()=>e.createElementVNode("th",{class:"label",rowspan:"2"},[e.createTextVNode("Spd "),e.createElementVNode("br"),e.createTextVNode("(kts)")],-1)),jO=Ve(()=>e.createElementVNode("th",{class:"label",colspan:"2"},"Daily Cons.(mt)",-1)),$O={key:0,class:"label",rowspan:"2"},vO=Ve(()=>e.createElementVNode("br",null,null,-1)),eF={key:1,class:"label",rowspan:"2"},tF=Ve(()=>e.createElementVNode("br",null,null,-1)),oF=Ve(()=>e.createElementVNode("th",{class:"label",colspan:"2"},"Wind",-1)),lF={key:2,class:"label",rowspan:"2"},aF=Ve(()=>e.createElementVNode("br",null,null,-1)),nF={key:3,class:"label",colspan:"2"},sF={key:4,class:"label",rowspan:"2"},iF=Ve(()=>e.createElementVNode("br",null,null,-1)),dF={key:5,class:"label",colspan:"2"},cF=Ve(()=>e.createElementVNode("th",{class:"label",rowspan:"2"},[e.createTextVNode("Avg. CF"),e.createElementVNode("br"),e.createTextVNode("(kts)")],-1)),rF={key:6,class:"label",rowspan:"2"},mF={key:7,class:"label",rowspan:"2"},hF=Ve(()=>e.createElementVNode("th",{class:"label",rowspan:"2"},[e.createTextVNode("Spd"),e.createElementVNode("br"),e.createTextVNode("(kts)")],-1)),pF=Ve(()=>e.createElementVNode("th",{class:"label",rowspan:"2"},[e.createTextVNode("Time"),e.createElementVNode("br"),e.createTextVNode("(h)")],-1)),EF=Ve(()=>e.createElementVNode("th",{class:"label",rowspan:"2"},[e.createTextVNode("Dis"),e.createElementVNode("br"),e.createTextVNode("(nm)")],-1)),yF=Ve(()=>e.createElementVNode("th",{class:"label",colspan:"2"},"Engine",-1)),_F=Ve(()=>e.createElementVNode("th",{class:"label",colspan:"2"},"BROB(mt)",-1)),NF=Ve(()=>e.createElementVNode("th",{class:"label",colspan:"2"},"DailyCons(mt)",-1)),VF=Ve(()=>e.createElementVNode("th",{class:"label",colspan:"2"},"Wind",-1)),fF=Ve(()=>e.createElementVNode("th",{class:"label",rowspan:"2"},[e.createTextVNode("Sea HT"),e.createElementVNode("br"),e.createTextVNode("(m)")],-1)),gF=Ve(()=>e.createElementVNode("th",{class:"label"},"FO",-1)),DF=Ve(()=>e.createElementVNode("th",{class:"label"},"DO/GO",-1)),xF=Ve(()=>e.createElementVNode("th",{class:"label"},"Dir",-1)),bF=Ve(()=>e.createElementVNode("th",{class:"label"},"BF",-1)),CF={key:0,class:"label"},SF={key:1,class:"label"},kF={key:2,class:"label"},AF={key:3,class:"label"},BF=Ve(()=>e.createElementVNode("th",{class:"label"},"RPM",-1)),wF=Ve(()=>e.createElementVNode("th",{class:"label"},"Slip%",-1)),TF=Ve(()=>e.createElementVNode("th",{class:"label"},"FO",-1)),OF=Ve(()=>e.createElementVNode("th",{class:"label"},"DO/GO",-1)),FF=Ve(()=>e.createElementVNode("th",{class:"label"},"FO",-1)),PF=Ve(()=>e.createElementVNode("th",{class:"label"},"DO/GO",-1)),uF=Ve(()=>e.createElementVNode("th",{class:"label"},"Dir",-1)),LF=Ve(()=>e.createElementVNode("th",{class:"label"},"BF",-1)),WF={class:"summary-tbody"};function HF(t,n,o,d,l,a){var p;return e.openBlock(),e.createElementBlock("div",kO,[e.createElementVNode("div",AO,[BO,e.createElementVNode("div",wO,[e.createElementVNode("table",null,[TO,e.createElementVNode("tbody",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList((p=o.report)==null?void 0:p.segments,(i,E)=>{var b,S,_,N,D,r,C,k,O,P,F,w,x,u,R,Z,z,W,f,Y;return e.openBlock(),e.createElementBlock(e.Fragment,{key:E},[e.createElementVNode("tr",null,[e.createElementVNode("td",OO,e.toDisplayString(E+1),1),FO,e.createElementVNode("td",null,e.toDisplayString(a.computePrecision((b=i==null?void 0:i.allWx)==null?void 0:b.distance,1,"0.0")),1),e.createElementVNode("td",null,e.toDisplayString(a.computePrecision((S=i==null?void 0:i.allWx)==null?void 0:S.time,1,"0.0")),1),e.createElementVNode("td",null,e.toDisplayString(a.computePrecision((_=i==null?void 0:i.allWx)==null?void 0:_.avgSpd,2,"0.0")),1),e.createElementVNode("td",null,e.toDisplayString(a.computePrecision((N=i==null?void 0:i.allWx)==null?void 0:N.sumFoCons,3,"0.000")),1),e.createElementVNode("td",null,e.toDisplayString(a.computePrecision((D=i==null?void 0:i.allWx)==null?void 0:D.sumDgoCons,3,"0.000")),1)]),e.createElementVNode("tr",null,[PO,e.createElementVNode("td",null,e.toDisplayString(a.computePrecision((r=i==null?void 0:i.goodWx)==null?void 0:r.distance,1,"0.0")),1),e.createElementVNode("td",null,e.toDisplayString(a.computePrecision((C=i==null?void 0:i.goodWx)==null?void 0:C.time,1,"0.0")),1),e.createElementVNode("td",null,e.toDisplayString(a.computePrecision((k=i==null?void 0:i.goodWx)==null?void 0:k.avgSpd,2,"0.0")),1),e.createElementVNode("td",null,e.toDisplayString(a.computePrecision((O=i==null?void 0:i.goodWx)==null?void 0:O.sumFoCons,3,"0.000")),1),e.createElementVNode("td",null,e.toDisplayString(a.computePrecision((P=i==null?void 0:i.goodWx)==null?void 0:P.sumDgoCons,3,"0.000")),1)]),e.createElementVNode("tr",null,[uO,e.createElementVNode("td",null,e.toDisplayString(a.computePrecision((F=i==null?void 0:i.badWx)==null?void 0:F.distance,1,"0.0")),1),e.createElementVNode("td",null,e.toDisplayString(a.computePrecision((w=i==null?void 0:i.badWx)==null?void 0:w.time,1,"0.0")),1),e.createElementVNode("td",null,e.toDisplayString(a.computePrecision((x=i==null?void 0:i.badWx)==null?void 0:x.avgSpd,2,"0.0")),1),e.createElementVNode("td",null,e.toDisplayString(a.computePrecision((u=i==null?void 0:i.badWx)==null?void 0:u.sumFoCons,3,"0.000")),1),e.createElementVNode("td",null,e.toDisplayString(a.computePrecision((R=i==null?void 0:i.badWx)==null?void 0:R.sumDgoCons,3,"0.000")),1)]),e.createElementVNode("tr",null,[LO,e.createElementVNode("td",null,e.toDisplayString(a.computePrecision((Z=i==null?void 0:i.excluded)==null?void 0:Z.sumDistance,1,"0.0")),1),e.createElementVNode("td",null,e.toDisplayString(a.computePrecision((z=i==null?void 0:i.excluded)==null?void 0:z.sumDuration,1,"0.0")),1),e.createElementVNode("td",null,e.toDisplayString(a.computePrecision((W=i==null?void 0:i.excluded)==null?void 0:W.avgSpd,2,"0.0")),1),e.createElementVNode("td",null,e.toDisplayString(a.computePrecision((f=i==null?void 0:i.excluded)==null?void 0:f.sumFoCons,3,"0.000")),1),e.createElementVNode("td",null,e.toDisplayString(a.computePrecision((Y=i==null?void 0:i.excluded)==null?void 0:Y.sumDgoCons,3,"0.000")),1)])],64)}),128))])])])]),e.createElementVNode("div",WO,[HO,e.createElementVNode("div",MO,[e.createElementVNode("table",GO,[e.createElementVNode("thead",null,[e.createElementVNode("tr",null,[IO,RO,zO,UO,e.createElementVNode("th",{class:"label",colspan:a.computeWxColspan},"ORM Weather Analysis",8,YO),o.showFactor?(e.openBlock(),e.createElementBlock("th",ZO,"Factor")):e.createCommentVNode("",!0),QO,JO]),e.createElementVNode("tr",null,[KO,qO,XO,jO,l.showAisDistance?(e.openBlock(),e.createElementBlock("th",$O,[e.createTextVNode("Spd"),vO,e.createTextVNode("(kts)")])):e.createCommentVNode("",!0),l.showAisDistance?(e.openBlock(),e.createElementBlock("th",eF,[e.createTextVNode("Dis"),tF,e.createTextVNode("(nm)")])):e.createCommentVNode("",!0),oF,l.showWave?(e.openBlock(),e.createElementBlock("th",lF,[e.createTextVNode("Sea HT"),aF,e.createTextVNode("(m)")])):e.createCommentVNode("",!0),l.showSwell?(e.openBlock(),e.createElementBlock("th",nF,"Swell")):e.createCommentVNode("",!0),l.showSig?(e.openBlock(),e.createElementBlock("th",sF,[e.createTextVNode("Sig Wave"),iF,e.createTextVNode("(m)")])):e.createCommentVNode("",!0),l.showCF?(e.openBlock(),e.createElementBlock("th",dF,"Current")):e.createCommentVNode("",!0),cF,o.showFactor?(e.openBlock(),e.createElementBlock("th",rF,"cFactor")):e.createCommentVNode("",!0),o.showFactor?(e.openBlock(),e.createElementBlock("th",mF,"wxFactor")):e.createCommentVNode("",!0),hF,pF,EF,yF,_F,NF,VF,fF]),e.createElementVNode("tr",null,[gF,DF,xF,bF,l.showSwell?(e.openBlock(),e.createElementBlock("th",CF,"Dir")):e.createCommentVNode("",!0),l.showSwell?(e.openBlock(),e.createElementBlock("th",SF,"HT(m)")):e.createCommentVNode("",!0),l.showCF?(e.openBlock(),e.createElementBlock("th",kF,"Dir")):e.createCommentVNode("",!0),l.showCF?(e.openBlock(),e.createElementBlock("th",AF,"CF(kts)")):e.createCommentVNode("",!0),BF,wF,TF,OF,FF,PF,uF,LF])]),e.createElementVNode("tbody",WF,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(o.inventory,(i,E)=>{var b,S,_,N,D,r,C,k,O,P,F,w,x,u,R,Z,z,W,f,Y,G,H,K;return e.openBlock(),e.createElementBlock("tr",{key:E},[e.createElementVNode("td",{class:e.normalizeClass(i.segLength?"no-border-bottom":"no-border")},e.toDisplayString(i.segLength?i.seg:""),3),e.createElementVNode("td",{class:e.normalizeClass(i.excluded?"excluded":i.goodWx?"good-wx":"")},e.toDisplayString(i.time),3),["B","E"].includes(i.abbrev)&&((b=i.noon)!=null&&b.port)?(e.openBlock(),e.createElementBlock("td",{key:0,class:e.normalizeClass(i.excluded?"excluded":i.goodWx?"good-wx":""),colspan:"2"},e.toDisplayString((S=i.noon)==null?void 0:S.port),3)):(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[e.createElementVNode("td",{class:e.normalizeClass(i.excluded?"excluded":i.goodWx?"good-wx":"")},e.toDisplayString(i._lat.pretty),3),e.createElementVNode("td",{class:e.normalizeClass(i.excluded?"excluded":i.goodWx?"good-wx":"")},e.toDisplayString(i._lng.pretty),3)],64)),e.createElementVNode("td",{class:e.normalizeClass(a.computeTDClass(i))},e.toDisplayString(i.type!=="A"&&E?i.cp.speed:""),3),e.createElementVNode("td",{class:e.normalizeClass(a.computeTDClass(i))},e.toDisplayString(i.type!=="A"&&E?i.cp.fo:""),3),e.createElementVNode("td",{class:e.normalizeClass(a.computeTDClass(i))},e.toDisplayString(i.type!=="A"&&E?i.cp.dgo:""),3),e.createElementVNode("td",{class:e.normalizeClass(a.computeTDClass(i))},e.toDisplayString(i.type!=="A"&&E?i.avgSpdCalc:""),3),e.createElementVNode("td",{class:e.normalizeClass(a.computeTDClass(i))},e.toDisplayString(i.type!=="A"&&E?i.distanceCalc:""),3),e.createElementVNode("td",{class:e.normalizeClass(i.excluded?"excluded":i.goodWx?"good-wx":"")},e.toDisplayString(((N=(_=i.meteo)==null?void 0:_.wind)==null?void 0:N.direction)??"--"),3),e.createElementVNode("td",{class:e.normalizeClass(i.excluded?"excluded":i.goodWx?"good-wx":"")},e.toDisplayString(((r=(D=i.meteo)==null?void 0:D.wind)==null?void 0:r.scale)??"--"),3),l.showWave?(e.openBlock(),e.createElementBlock("td",{key:2,class:e.normalizeClass(i.excluded?"excluded":i.goodWx?"good-wx":"")},e.toDisplayString(((O=(k=(C=i.meteo)==null?void 0:C.wave)==null?void 0:k.wd)==null?void 0:O.height)??"--"),3)):e.createCommentVNode("",!0),l.showSwell?(e.openBlock(),e.createElementBlock("td",{key:3,class:e.normalizeClass(i.excluded?"excluded":i.goodWx?"good-wx":"")},e.toDisplayString(((w=(F=(P=i.meteo)==null?void 0:P.wave)==null?void 0:F.swell)==null?void 0:w.direction)??"--"),3)):e.createCommentVNode("",!0),l.showSwell?(e.openBlock(),e.createElementBlock("td",{key:4,class:e.normalizeClass(i.excluded?"excluded":i.goodWx?"good-wx":"")},e.toDisplayString(((R=(u=(x=i.meteo)==null?void 0:x.wave)==null?void 0:u.swell)==null?void 0:R.height)??"--"),3)):e.createCommentVNode("",!0),l.showSig?(e.openBlock(),e.createElementBlock("td",{key:5,class:e.normalizeClass(i.excluded?"excluded":i.goodWx?"good-wx":"")},e.toDisplayString(((W=(z=(Z=i.meteo)==null?void 0:Z.wave)==null?void 0:z.sig)==null?void 0:W.height)??"--"),3)):e.createCommentVNode("",!0),l.showCF?(e.openBlock(),e.createElementBlock("td",{key:6,class:e.normalizeClass(i.excluded?"excluded":i.goodWx?"good-wx":"")},e.toDisplayString(((Y=(f=i.meteo)==null?void 0:f.current)==null?void 0:Y.direction)??"--"),3)):e.createCommentVNode("",!0),l.showCF?(e.openBlock(),e.createElementBlock("td",{key:7,class:e.normalizeClass(i.excluded?"excluded":i.goodWx?"good-wx":"")},e.toDisplayString(((G=i.meteo)==null?void 0:G.cFactor)??"--"),3)):e.createCommentVNode("",!0),e.createElementVNode("td",{class:e.normalizeClass(a.computeTDClass(i))},e.toDisplayString(i.type!=="A"&&E?i.dailyAvgCf:""),3),o.showFactor?(e.openBlock(),e.createElementBlock("td",{key:8,class:e.normalizeClass(i.excluded?"excluded":i.goodWx?"good-wx":"")},e.toDisplayString(((H=i.meteo)==null?void 0:H.cFactor)??"--"),3)):e.createCommentVNode("",!0),o.showFactor?(e.openBlock(),e.createElementBlock("td",{key:9,class:e.normalizeClass(i.excluded?"excluded":i.goodWx?"good-wx":"")},e.toDisplayString(((K=i.meteo)==null?void 0:K.wxFactor)??"--"),3)):e.createCommentVNode("",!0),e.createElementVNode("td",{class:e.normalizeClass(a.computeTDClass(i))},e.toDisplayString(i.type!=="A"&&E?i.noon.avgSpd||"0.00":""),3),e.createElementVNode("td",{class:e.normalizeClass(a.computeTDClass(i))},e.toDisplayString(i.type!=="A"&&E?i.noon.timeSlr||"0.0":""),3),e.createElementVNode("td",{class:e.normalizeClass(a.computeTDClass(i))},e.toDisplayString(i.type!=="A"&&E?i.noon.distanceSlr||"0.0":""),3),e.createElementVNode("td",{class:e.normalizeClass(a.computeTDClass(i))},e.toDisplayString(i.type!=="A"&&E?i.noon.rpm||"0":""),3),e.createElementVNode("td",{class:e.normalizeClass(a.computeTDClass(i))},e.toDisplayString(i.type!=="A"&&E?i.noon.slip||"0":""),3),e.createElementVNode("td",{class:e.normalizeClass(a.computeTDClass(i))},e.toDisplayString(i.type!=="A"&&E?i.noon.foBrob||"0.00":""),3),e.createElementVNode("td",{class:e.normalizeClass(a.computeTDClass(i))},e.toDisplayString(i.type!=="A"&&E?i.noon.dgoBrob||"0.00":""),3),e.createElementVNode("td",{class:e.normalizeClass(a.computeTDClass(i))},e.toDisplayString(i.type!=="A"&&E?i.noon.foCons||"0.00":""),3),e.createElementVNode("td",{class:e.normalizeClass(a.computeTDClass(i))},e.toDisplayString(i.type!=="A"&&E?i.noon.dgoCons||"0.00":""),3),e.createElementVNode("td",{class:e.normalizeClass(a.computeTDClass(i))},e.toDisplayString(i.type!=="A"&&E?i.noon.windDir||"--":""),3),e.createElementVNode("td",{class:e.normalizeClass(a.computeTDClass(i))},e.toDisplayString(i.type!=="A"&&E?i.noon.windBF||"--":""),3),e.createElementVNode("td",{class:e.normalizeClass(a.computeTDClass(i))},e.toDisplayString(i.type!=="A"&&E?i.noon.seasHt||"--":""),3),e.createElementVNode("td",{class:e.normalizeClass(a.computeTDClass(i))},e.toDisplayString(i.type!=="A"&&E?i.inEca===!1?"":"Inside ECA":""),3)])}),128))])])])])])}const MF=De(SO,[["render",HF],["__scopeId","data-v-ff8e42f6"]]),qee="",GF={components:{Lng:$a,Lat:va},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(t,n="MMM-DD/HHmm[Z]"){return`${T(t).utc().format(n)}`}}},watch:{inventory:{handler(t,n){t!=null&&t.length&&this.$nextTick(()=>{this.initChart()})},immediate:!0}},methods:{initChart(){this.spdFoConsChart||(this.spdFoConsChart=e.markRaw(zo.init(this.$refs.spdFoConsChart))),this.spdDgoConsChart||(this.spdDgoConsChart=e.markRaw(zo.init(this.$refs.spdDgoConsChart))),this.currChart||(this.currChart=e.markRaw(zo.init(this.$refs.currChart))),this.renderSpdConsChart(),this.renderWxCurrChart()},renderSpdConsChart(){var i,E,b,S,_,N;const t=[],n=[],o={dateTime:0,noonAvgSpd:1,noonFoCons:2,noonDgoCons:3,anlyAvgSpd:4,cpSpeed:5,goodWx:6,dgo:7,fo:8,excluded:9};let d=0,l=0;this.inventory.forEach(D=>{var r,C,k,O,P,F,w,x,u,R,Z;if(D.noonLength){const z=this.computeUTCTime(D.noonUtc,"MM-DD/HHmm[Z]");t.push(z),d=Math.ceil(((r=D.noon)==null?void 0:r.foCons)>d?(C=D.noon)==null?void 0:C.foCons:d),d=Math.ceil(((k=D.cp)==null?void 0:k.fo)>d?(O=D.cp)==null?void 0:O.fo:d),l=Math.ceil(((P=D.noon)==null?void 0:P.dgoCons)>l?(F=D.noon)==null?void 0:F.dgoCons:l),l=Math.ceil(((w=D.cp)==null?void 0:w.dgo)>l?(x=D.cp)==null?void 0:x.dgo:l),n.push([z,(u=D.noon)==null?void 0:u.avgSpd,(R=D.noon)==null?void 0:R.foCons,(Z=D.noon)==null?void 0:Z.dgoCons,D.avgSpdCalc,D.cp.speed,D.goodWx&&!D.excluded?100:0,D.cp.dgo,D.cp.fo,D.excluded?100:0])}});const a={animation:!1,title:{text:"Ship Speed and FO Consumption",textStyle:{color:"#000000B3",fontWeight:"500"},left:"left"},tooltip:{trigger:"axis"},legend:{show:!0,right:0},grid:{bottom:40,containLabel:!1},xAxis:[{type:"category",data:t,boundaryGap:!0,axisTick:{alignWithLabel:!0},axisLabel:{interval:"auto"}}],yAxis:[{name:"SOG (kts)",nameLocation:"middle",position:"left",nameGap:35,offset:10,max:20,min:0,alignTicks:!0,axisLine:{lineStyle:{color:"#f85c5c"}}},{name:"FO Cons (mt)",nameLocation:"middle",position:"right",nameGap:35,offset:10,max:d+1,min:0,alignTicks:!0,axisLine:{lineStyle:{color:"#6c8ad9"}},splitLine:{show:!1}}],series:[{name:"SOG",type:"line",yAxisIndex:0,showSymbol:!1,encode:{x:o.dateTime,y:(E=(i=this.report)==null?void 0:i.weather)!=null&&E.believeRptDistance?o.noonAvgSpd:o.anlyAvgSpd},lineStyle:{color:"#f85c5c",type:"solid"},itemStyle:{color:"#f85c5c"},data:n,z:5},{name:"CP SPD",type:"line",yAxisIndex:0,showSymbol:!1,encode:{x:o.dateTime,y:o.cpSpeed},lineStyle:{color:"#f78888",type:"dashed"},itemStyle:{color:"#f78888"},data:n,z:4},{name:"FO Cons",type:"bar",yAxisIndex:1,itemStyle:{color:"#6c8ad9"},barGap:"-100%",encode:{x:o.dateTime,y:o.noonFoCons},data:n,z:2},{name:"CP FO Cons",type:"line",yAxisIndex:1,showSymbol:!1,itemStyle:{color:"#6c8ad9"},lineStyle:{color:"#6c8ad9",type:"dashed"},encode:{x:o.dateTime,y:o.fo},data:n,z:3},{name:"Good Weather Days",type:"bar",encode:{x:o.dateTime,y:o.goodWx},itemStyle:{color:"#b3f593"},data:n,z:1},{name:"Excluded Days",type:"bar",encode:{x:o.dateTime,y:o.excluded},itemStyle:{color:"#0000004d"},data:n,z:1}]};(b=this.spdFoConsChart)==null||b.setOption(a);const p={animation:!1,title:{text:"Ship Speed and DGO Consumption",textStyle:{color:"#000000B3",fontWeight:"500"},left:"left"},tooltip:{trigger:"axis"},legend:{show:!0,right:0},grid:{bottom:40,containLabel:!1},xAxis:[{type:"category",data:t,boundaryGap:!0,axisTick:{alignWithLabel:!0},axisLabel:{interval:"auto"}}],yAxis:[{name:"SOG (kts)",nameLocation:"middle",position:"left",nameGap:35,offset:10,max:20,min:0,alignTicks:!0,axisLine:{lineStyle:{color:"#f85c5c"}}},{name:"DGO Cons (mt)",nameLocation:"middle",position:"right",nameGap:35,max:l+.2,min:0,alignTicks:!0,splitLine:{show:!1},axisLine:{lineStyle:{color:"#a7c4ff"}}}],series:[{name:"SOG",type:"line",yAxisIndex:0,showSymbol:!1,encode:{x:o.dateTime,y:(_=(S=this.report)==null?void 0:S.weather)!=null&&_.believeRptDistance?o.noonAvgSpd:o.anlyAvgSpd},lineStyle:{color:"#f85c5c",type:"solid"},itemStyle:{color:"#f85c5c"},data:n,z:5},{name:"CP SPD",type:"line",yAxisIndex:0,showSymbol:!1,encode:{x:o.dateTime,y:o.cpSpeed},lineStyle:{color:"#f78888",type:"dashed"},itemStyle:{color:"#f78888"},data:n,z:4},{name:"DGO Cons",type:"bar",yAxisIndex:1,itemStyle:{color:"#a7c4ff"},barGap:"-100%",encode:{x:o.dateTime,y:o.noonDgoCons},data:n,z:3},{name:"CP DGO Cons",type:"line",yAxisIndex:1,showSymbol:!1,itemStyle:{color:"#a7c4ff"},lineStyle:{color:"#a7c4ff",type:"dashed"},encode:{x:o.dateTime,y:o.dgo},data:n,z:3},{name:"Good Weather Days",type:"bar",encode:{x:o.dateTime,y:o.goodWx},itemStyle:{color:"#b3f593"},data:n,z:1},{name:"Excluded Days",type:"bar",encode:{x:o.dateTime,y:o.excluded},itemStyle:{color:"#0000004d"},data:n,z:1}]};(N=this.spdDgoConsChart)==null||N.setOption(p)},renderWxCurrChart(){var p;const t=[],n=[],o={dateTime:0,noonWdBF:1,anlyWdBF:2,anlyWdDir:3,noonSeasHt:4,anlySigWvHt:5,anlyCurFct:6,goodWx:7,excluded:8};let d=4,l=0;this.inventory.forEach(i=>{var E,b,S,_,N,D,r,C,k,O,P,F,w,x,u;if(i.noonLength){l=i.noonLength?i.dailyAvgCf:l;const R=this.computeUTCTime(i.noonUtc,"MM-DD/HHmm[Z]");t.push(R),d=Math.ceil(((S=(b=(E=i.meteo)==null?void 0:E.wave)==null?void 0:b.sig)==null?void 0:S.height)>d?(D=(N=(_=i.meteo)==null?void 0:_.wave)==null?void 0:N.sig)==null?void 0:D.height:d),n.push([R,(r=i.noon)==null?void 0:r.windBF,(k=(C=i.meteo)==null?void 0:C.wind)==null?void 0:k.scale,(P=(O=i.meteo)==null?void 0:O.wind)==null?void 0:P.direction,(F=i.noon)==null?void 0:F.seasHt,(u=(x=(w=i.meteo)==null?void 0:w.wave)==null?void 0:x.sig)==null?void 0:u.height,l,i.goodWx&&!i.excluded?20:0,i.excluded?20:0])}});const a={animation:!1,title:{text:"Current Factor",textStyle:{color:"#000000B3",fontWeight:"500"},left:"left"},tooltip:{trigger:"axis"},legend:{show:!0,right:0},grid:{bottom:40,containLabel:!1},xAxis:[{type:"category",data:t,boundaryGap:!0,position:"bottom",axisTick:{alignWithLabel:!0},axisLabel:{interval:"auto"}}],yAxis:[{name:"Current Factor (kts)",nameLocation:"middle",position:"left",offset:50,nameGap:35,minInterval:.5,axisLine:{lineStyle:{color:"#da2e2ecc"}},splitLine:{show:!0}},{name:"Good Weather Days",show:!1}],series:[{name:"Current Factor",type:"line",yAxisIndex:0,showSymbol:!1,encode:{x:o.dateTime,y:o.anlyCurFct},lineStyle:{color:"#da2e2ecc",type:"dashed"},itemStyle:{color:"#da2e2ecc"},smooth:!0,data:n,z:3},{name:"Good Weather Days",type:"bar",yAxisIndex:1,encode:{x:o.dateTime,y:o.goodWx},itemStyle:{color:"#b3f593"},data:n,z:1}]};(p=this.currChart)==null||p.setOption(a)}}},_l=t=>(e.pushScopeId("data-v-dace21b5"),t=t(),e.popScopeId(),t),IF={class:"report-summary"},RF={class:"section chart-section"},zF=_l(()=>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)),UF={class:"chart-block"},YF={ref:"spdFoConsChart",class:"chart"},ZF={ref:"spdDgoConsChart",class:"chart"},QF={ref:"currChart",class:"chart"},JF={class:"section map-section"},KF=_l(()=>e.createElementVNode("div",{class:"header-block flex-center"},[e.createElementVNode("i",{class:"iconfont"},""),e.createElementVNode("div",{class:"title"},"Voyage Map")],-1)),qF={class:"map-block"},XF={class:"flex-space"},jF={class:"voyage-block",style:{height:"197px"}},$F={class:"flex-space label-block",style:{width:"100%"}},vF=_l(()=>e.createElementVNode("label",{class:"flex-end",style:{width:"140px"}},"Prepare for",-1)),eP={style:{"text-transform":"uppercase"}},tP={class:"flex-space label-block",style:{width:"100%"}},oP=_l(()=>e.createElementVNode("label",{class:"flex-end",style:{width:"140px"}},"Vessel",-1)),lP={class:"flex-end",style:{flex:"1","text-transform":"uppercase"}},aP={class:"flex-end",style:{width:"180px","text-transform":"uppercase"}},nP={class:"flex-space label-block",style:{width:"100%"}},sP=_l(()=>e.createElementVNode("label",{class:"flex-end",style:{width:"140px"}},"Voyage No",-1)),iP={class:"flex-end",style:{flex:"1","text-transform":"uppercase"}},dP={class:"flex-space label-block",style:{width:"100%"}},cP=_l(()=>e.createElementVNode("label",{class:"flex-end",style:{width:"140px"}},"Departure Port",-1)),rP={key:0,class:"flex-end",style:{flex:"1"}},mP={key:1,class:"flex-end",style:{flex:"1"}},hP=_l(()=>e.createElementVNode("span",{style:{"margin-right":"3px"}},",",-1)),pP={class:"flex-end",style:{width:"140px"}},EP={class:"flex-space label-block",style:{width:"100%"}},yP=_l(()=>e.createElementVNode("label",{class:"flex-end",style:{width:"140px"}},"Arrival Port",-1)),_P={key:0,class:"flex-end",style:{flex:"1"}},NP={key:1,class:"flex-end",style:{flex:"1"}},VP=_l(()=>e.createElementVNode("span",{style:{"margin-right":"3px"}},",",-1)),fP={class:"flex-end",style:{width:"140px"}},gP={class:"flex-space label-block",style:{width:"100%"}},DP=_l(()=>e.createElementVNode("label",{class:"flex-end",style:{width:"140px"}},"Load Condition",-1)),xP={class:"flex-end",style:{flex:"1","text-transform":"uppercase"}},bP=e.createStaticVNode('<div class="legend-block" data-v-dace21b5><div style="position:absolute;margin-top:-8px;" data-v-dace21b5>LEGEND</div><div class="flex-space" data-v-dace21b5><div data-v-dace21b5>0812</div><div data-v-dace21b5><div data-v-dace21b5>08 - Day of the month</div><div data-v-dace21b5>12 - Hours of the day</div></div></div><div class="flex-space" data-v-dace21b5><div data-v-dace21b5><i class="iconfont" style="font-size:30px;font-weight:600;color:var(--idm-black-6);" data-v-dace21b5></i></div><div data-v-dace21b5><div data-v-dace21b5>Wind from N (000)</div><div data-v-dace21b5>Each bard = 10 kts</div><div data-v-dace21b5>1/2 bard = 5 kts</div></div></div><div class="flex-space" data-v-dace21b5><div data-v-dace21b5>W 4</div><div data-v-dace21b5> Sig. Wave from West, 4 meters </div></div><div class="flex-space" data-v-dace21b5><div class="good-wx" data-v-dace21b5>Date</div><div data-v-dace21b5>Good weather days</div></div></div>',1),CP=["src"],SP=e.createStaticVNode('<div class="section method-section" data-v-dace21b5><div class="header-block flex-center" data-v-dace21b5><i class="iconfont" data-v-dace21b5></i><div class="title" data-v-dace21b5>Charter Party Compliance Analysis Methodology</div></div><div class="method-block" data-v-dace21b5><div class="method-title" data-v-dace21b5>1. Good Weather Method</div><div class="method-body" data-v-dace21b5> Ship Performance is assessed based on the Good Weather Method as set out by The Didymi[1987] 2 Lloyd&#39;s Rep 166 and The Gas Enterprise [1993] 2 Lloyd&#39;s Rep. 352. <br data-v-dace21b5> The vessel&#39;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-dace21b5> A “day” is taken to be the period of time between consecutive daily noon positions: each day is categorized as a &quot;good weather day&quot; or &quot;adverse weather day&quot; according to the good weather definition stipulated in the Charter Party. </div></div><div class="method-block" data-v-dace21b5><div class="method-title" data-v-dace21b5>2. Damage assessment due to ship under-performance</div><div class="method-body" data-v-dace21b5> 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-dace21b5><div class="method-title" data-v-dace21b5>3. Logbooks description vs. Analysis</div><div class="method-body" data-v-dace21b5> 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-dace21b5><div class="method-title" data-v-dace21b5>4. “About”</div><div class="method-body" data-v-dace21b5> Complying with arbitration standards, the speed calculation applies an allowance when an “about” is included with the speed warranty. <br data-v-dace21b5> 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-dace21b5><div class="method-title" data-v-dace21b5>5. Bunker Analysis Methodology for Bunker Type Switch-Over</div><div class="method-body" data-v-dace21b5> 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-dace21b5> 5-1 DO/GO consumption in the switch over period will be compared to the charter party warranted IFO figure. <br data-v-dace21b5> 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-dace21b5><div class="method-title" data-v-dace21b5>6. Further reference materials</div><div class="method-body" data-v-dace21b5>Please send mail to <a href="mailto:op@ormwx.com" data-v-dace21b5>op@ormwx.com</a>.</div></div></div></div>',1);function kP(t,n,o,d,l,a){var E,b,S,_,N,D,r,C,k,O,P,F,w,x,u,R,Z,z,W,f,Y,G,H,K,q,j,X;const p=e.resolveComponent("Lat"),i=e.resolveComponent("Lng");return e.openBlock(),e.createElementBlock("div",IF,[e.createElementVNode("div",RF,[zF,e.createElementVNode("div",UF,[e.createElementVNode("div",YF,null,512),e.createElementVNode("div",ZF,null,512),e.createElementVNode("div",QF,null,512)])]),e.createElementVNode("div",JF,[KF,e.createElementVNode("div",qF,[e.createElementVNode("div",XF,[e.createElementVNode("div",jF,[e.createElementVNode("div",$F,[vF,e.createElementVNode("span",eP,e.toDisplayString(o.report.preparedFor),1)]),e.createElementVNode("div",tP,[oP,e.createElementVNode("span",lP,e.toDisplayString((b=(E=o.report)==null?void 0:E.vessel)==null?void 0:b.name),1),e.createElementVNode("span",aP,"("+e.toDisplayString((_=(S=o.report)==null?void 0:S.vessel)==null?void 0:_.type)+")",1)]),e.createElementVNode("div",nP,[sP,e.createElementVNode("span",iP,e.toDisplayString((D=(N=o.report)==null?void 0:N.voyage)==null?void 0:D.number),1)]),e.createElementVNode("div",dP,[cP,(C=(r=o.report)==null?void 0:r.departure)!=null&&C.portName?(e.openBlock(),e.createElementBlock("span",rP,e.toDisplayString((O=(k=o.report)==null?void 0:k.departure)==null?void 0:O.portName),1)):(e.openBlock(),e.createElementBlock("div",mP,[e.createVNode(p,{lat:(F=(P=o.report)==null?void 0:P.departure)==null?void 0:F.lat,label:"",style:{"font-size":"14px","font-weight":"400"}},null,8,["lat"]),hP,e.createVNode(i,{lng:(w=o.report.departure)==null?void 0:w.lng,label:"",style:{"font-size":"14px","font-weight":"400"}},null,8,["lng"])])),e.createElementVNode("span",pP,e.toDisplayString(a.computeUTCTime((x=o.report.departure)==null?void 0:x.utcTime,"MMM-DD/HHmm[Z], YYYY")),1)]),e.createElementVNode("div",EP,[yP,(R=(u=o.report)==null?void 0:u.arrival)!=null&&R.portName?(e.openBlock(),e.createElementBlock("span",_P,e.toDisplayString((z=(Z=o.report)==null?void 0:Z.arrival)==null?void 0:z.portName),1)):(e.openBlock(),e.createElementBlock("div",NP,[e.createVNode(p,{lat:(f=(W=o.report)==null?void 0:W.arrival)==null?void 0:f.lat,label:"",style:{"font-size":"14px","font-weight":"400"}},null,8,["lat"]),VP,e.createVNode(i,{lng:(G=(Y=o.report)==null?void 0:Y.arrival)==null?void 0:G.lng,label:"",style:{"font-size":"14px","font-weight":"400"}},null,8,["lng"])])),e.createElementVNode("span",fP,e.toDisplayString(a.computeUTCTime((K=(H=o.report)==null?void 0:H.arrival)==null?void 0:K.utcTime,"MMM-DD/HHmm[Z], YYYY")),1)]),e.createElementVNode("div",gP,[DP,e.createElementVNode("span",xP,e.toDisplayString((j=(q=o.report)==null?void 0:q.voyage)==null?void 0:j.loadCondition),1)])]),bP]),e.createElementVNode("img",{src:(X=o.report)==null?void 0:X.chartUrl,alt:""},null,8,CP)])]),SP])}const AP=De(GF,[["render",kP],["__scopeId","data-v-dace21b5"]]),Xee="",BP={components:{Brand:yl,Summary:CO,Inventory:MF,Chart:AP,Loading:on},props:{report:{type:Object,default:()=>({})}},computed:{computeUTCTime(){return function(t,n="MMM-DD/HHmm[Z]"){return`${T(t).utc().format(n)}`}}},watch:{report:{handler(t,n){t!=null&&t.id&&(this.loading=!1,this.$nextTick(()=>{this.prepare()}))},immediate:!0}},data(){return{inventory:[],loading:!0}},methods:{commit(t){this.$emit("commit",t)},prepare(){var n,o;const t=[];(o=(n=this.report)==null?void 0:n.segments)==null||o.forEach(d=>{const l=d.extend.cp;let a,p,i=!1;d.inventory.sample.hours.forEach((E,b)=>{a||(a=E),(!p||i)&&(p=E,i=!1),a.segIndex===E.segIndex?a.segLength=(a.segLength||0)+1:(a=E,a.segLength=1),p.noonLength=(p.noonLength||0)+1;let S=E.type.charAt(0);["N","E"].includes(S)&&(i=!0,p.dailyAvgCf=E.dailyAvgCf,p.avgSpdCalc=E.avgSpdCalc,p.distanceCalc=E.distanceCalc,p.noonUtc=E.utc,p.noon=E.noon),E.abbrev=S,S=S==="M"?"*":S==="A"?"":S,E.time=`${S} ${this.computeUTCTime(E.utc,"MMM-DD/HHmm[Z]")}`,E._lng=v.LngLatHelper.lng2pretty(E.lng),E._lat=v.LngLatHelper.lat2pretty(E.lat),E.cp=l,t.push(E)})}),t.sort((d,l)=>d.date-l.date),this.inventory=t}}},wP={class:"report-section"};function TP(t,n,o,d,l,a){const p=e.resolveComponent("Brand"),i=e.resolveComponent("Loading"),E=e.resolveComponent("Summary"),b=e.resolveComponent("Inventory"),S=e.resolveComponent("Chart");return e.openBlock(),e.createElementBlock("div",wP,[e.createVNode(p,{name:"Voyage Analysis Report",issued:o.report.createdAt},null,8,["issued"]),e.createVNode(i,{loading:l.loading},null,8,["loading"]),e.createVNode(E,{report:o.report,class:"main",onCommit:a.commit},null,8,["report","onCommit"]),e.createVNode(b,{report:o.report,inventory:l.inventory,class:"main"},null,8,["report","inventory"]),e.createVNode(S,{report:o.report,inventory:l.inventory,class:"main"},null,8,["report","inventory"])])}const bn=De(BP,[["render",TP],["__scopeId","data-v-bc53f33c"]]),OP={install(t){t.component("OpiVoyageReport",Dn),t.component("FliVoyageReport",xn),t.component("OrmVoyageReport",bn)}},jee="",$ee="",Vl={map:null,bounds:null,style:null,initStyle(t){this.style=t},addSourceData(t,n){this.map.getSource("gridLine")||this.map.getSource("gridPoint")?((this.map.getLayer("Linegrid")||this.map.getLayer("Pointgrid"))&&(this.map.removeLayer("Linegrid"),this.map.removeLayer("Pointgrid")),this.map.removeSource("gridLine"),this.map.removeSource("gridPoint"),this.map.addSource("gridLine",{type:"geojson",data:{type:"FeatureCollection",features:t}}),this.map.addSource("gridPoint",{type:"geojson",data:{type:"FeatureCollection",features:n}}),this.addLayerData()):(this.map.addSource("gridLine",{type:"geojson",data:{type:"FeatureCollection",features:[]}}),this.map.addSource("gridPoint",{type:"geojson",data:{type:"FeatureCollection",features:[]}}))},addLayerData(t){this.map.addLayer({id:"Linegrid",type:"line",source:"gridLine",layout:{"line-cap":"round","line-join":"round"},paint:this.style.line}),this.map.addLayer({id:"Pointgrid",type:"symbol",source:"gridPoint",layout:{"text-field":["get","name"],"text-offset":[0,1.25],"text-anchor":"bottom","text-size":["interpolate",["linear"],["zoom"],4,12,6,12]},paint:this.style.point})},initProperty(t){this.map=t,this.bounds={x1:-220,x2:450,y1:-80,y2:85}},computerZoom(){const t=this.map.getZoom();let n;return t<=1||t>1&&t<=2?n=40:t>2&&t<=3?n=30:t>3&&t<=4?n=20:t>4&&t<=5?n=15:n=10,n},computerLon(t){let n="";return t===0&&(n="0"),t>0&&t<=180&&(n=""+t+"° E"),t>180&&t<=360&&(n=""+(t-180)+"° W"),t>360&&(n=""+(t-360)+"° E"),t<0&&t>=-180&&(n=""+(0-t)+"° W"),t<-180&&t>-360&&(n=""+(t+360)+"° E"),n},computerLat(t){let n="";return t===0&&(n="0"),t>0&&t<=90&&(n=""+t+"° N"),t>-90&&t<0&&(n=""+(0-t)+"° S"),n},initGrid(){let t=[];const n=[],o=[];this.XY=this.bounds;const d=this.computerZoom(),l=this.map.getCenter();for(let a=this.XY.x1;a<this.XY.x2;a=a+d)t=[],t.push([a,this.XY.y1],[a,this.XY.y2]),n.push({type:"Feature",geometry:{type:"LineString",coordinates:t}}),o.push({type:"Feature",geometry:{type:"Point",coordinates:[a,Math.round(l.lat)]},properties:{name:this.computerLon(a)}});for(let a=this.XY.y1;a<this.XY.y2;a=a+d)t=[],t.push([this.XY.x1,a],[this.XY.x2,a]),n.push({type:"Feature",geometry:{type:"LineString",coordinates:t}}),o.push({type:"Feature",geometry:{type:"Point",coordinates:[Math.round(l.lng),a]},properties:{name:this.computerLat(a)}});this.addSourceData(n,o)}},vee="",ete="",FP={props:{data:{type:Object,default:()=>[]},name:{type:String,default:()=>""},model:{type:String,default:()=>""},ts:{type:String,default:()=>""},token:{type:String,default:""},changeZoom:{type:Boolean,default:!1}},components:{HurricaneGL:Xs.HurricaneGL},data(){return{map:void 0}},watch:{data:{handler(t){},immediate:!0}},computed:{},mounted(){this.initMap()},methods:{async initMap(){en.accessToken="pk.eyJ1IjoibmVhdGNoZW5oZW5nIiwiYSI6ImNsYnQ5cjh6NzAweGQzd29ucHBhN3I4ZmEifQ.4nssThLnkrR4VjWBR21Ahg",this.map=new en.Map({container:"report-map",style:"mapbox://styles/neatchenheng/clhvqa78k021f01r062401ahm",projection:"mercator",preserveDrawingBuffer:!0,zoom:4,dragRotate:!1,pitchWithRotate:!1,minZoom:1}),this.drawGrid()},drawGrid(){const o={line:{"line-color":"rgba(105,105,105, 0.3)","line-width":.5},point:{"text-color":"rgba(105,105,105, 1)","text-halo-width":1}};let d=this;this.map.on("load",function(){Vl.initStyle(o),Vl.initProperty(d.map),Vl.addSourceData([]),Vl.addLayerData(),Vl.initGrid()}),this.map.on("moveend",l=>{Vl.initProperty(d.map),Vl.initGrid()}),this.map.on("zoomend",l=>{Vl.initProperty(d.map),Vl.initGrid()})}}},PP=t=>(e.pushScopeId("data-v-0230b635"),t=t(),e.popScopeId(),t),uP={class:"map"},LP=PP(()=>e.createElementVNode("div",{id:"report-map",class:"map-box"},null,-1));function WP(t,n,o,d,l,a){const p=e.resolveComponent("HurricaneGL");return e.openBlock(),e.createElementBlock("div",uP,[LP,e.createVNode(p,{class:"hurricane",map:l.map,name:o.name,model:o.model,ts:o.ts,token:o.token,changeZoom:o.changeZoom},null,8,["map","name","model","ts","token","changeZoom"])])}const HP=De(FP,[["render",WP],["__scopeId","data-v-0230b635"]]),MP={props:{id:{type:String,default:function(){return""}},title:{type:String,default:function(){return""}},series:{type:Object,default:function(){return[]}},xAxis:{type:Object,default:function(){return[]}},color:{type:Object,default:function(){return[]}}},data(){return{chart:void 0}},watch:{series:{handler(t,n){JSON.stringify(t)!=="[]"&&JSON.stringify(t)!==JSON.stringify(n)&&this.$nextTick(()=>{this.initProbabilityData()})},immediate:!0}},methods:{initProbabilityData(){if(!this.chart){let d=document.getElementById(this.id);this.chart=e.markRaw(zo.init(d))}const t=Number(T(this.xAxis[0]).utc().format("x"))-8*60*60*1e3,n=Number(T(this.xAxis[this.xAxis.length-1]).utc().format("x"))-8*60*60*1e3;let o={title:{text:this.title,left:"4%"},grid:{right:"5%",bottom:"15%"},tooltip:{trigger:"axis"},legend:{show:!0,top:"12%",right:"5%"},color:this.color,xAxis:{type:"time",min:t,max:n,axisLabel:{show:!0,formatter:function(d,l){var a=T(d).format("MMMDD"),p=T(d).format("HH");return p==="00"||l===0?a:p}}},yAxis:{name:"",nameTextStyle:{color:"#fff",fontSize:12,padding:[0,60,0,0]},type:"value",splitLine:{show:!0},axisLine:{show:!0},axislabel:{show:!0},axisTick:{show:!1},splitLine:!1},series:this.series};this.id==="pressureChart"&&(o.yAxis.min="900"),console.log(o,"option"),this.$nextTick(()=>{this.chart.setOption(o)})}}},GP=["id"];function IP(t,n,o,d,l,a){return e.openBlock(),e.createElementBlock("div",null,[e.createElementVNode("div",{id:o.id,style:{height:"100%"}},null,8,GP)])}const RP=De(MP,[["render",IP]]),tte="",zP={props:{data:{type:Object,default:()=>({})},name:{type:String,default:()=>""},model:{type:String,default:()=>""},ts:{type:String,default:()=>""},token:{type:String,default:""},changeZoom:{type:Boolean,default:!1}},components:{Map:HP,Echart:RP},data(){return{dateTime:void 0,typhoonData:[],timeSubscript:["0","6","12","18","24","36","48","72"],hourSubscript:[6,12,18,24],records:void 0,xAxis:[],probabilityColor:["#010101","#941c12","#ed0000","#ee7b00","#efd700","#5dfc02"],probabilitySeries:[],spdSeries:[],pressureSeries:[]}},watch:{data:{handler(t){t&&t.hours&&this.fetchData()},immediate:!0},ts:{handler(t){t&&!isNaN(t)&&(this.dateTime=this.computeUTCTime(Number(t),"dddd, MMMM D,YYYY"))},immediate:!0}},computed:{computeRoundPrecision(){return function(t){return t==="-"?"-":v.roundPrecision(t,0)}},computeWind(){let t=this;return function(n){return n>=0?t.computeRoundPrecision(n):"-"}},computeUTCTime(){return function(t,n="MMM-DD/HHmm"){return t!=="-"?`${T(t).utc().format(n)}`:"-"}},computeHours(){return function(t,n){return T(n).add(t,"h").utc().format("MMMDD/HH[Z]")}},computedLngLat(){return function(t,n){const o=this.getLonLat(v.LngLatHelper.lat2pretty(t)),d=this.getLonLat(v.LngLatHelper.lng2pretty(n));return`${o} / ${d}`}},computeCandidateIndex(){return function(t,n){let o=0;for(const d in t){if(Number(d)>n)return{prev:o,next:Number(d)};o=Number(d)}return{prev:o,next:-1}}},computeInterpolateValue(){return function(t,n,o){return t?n?Math.round((t+(n-t)*o)*100)/100:t:n}},computeHourSubscript(){return function(t){let n="";return this.hourSubscript.forEach((o,d)=>{t<o&&n===""&&(n=d)}),n}},computeKLineData(){return function(t){const n=t.length;let o={time:t[0][0],min:void 0,max:void 0,first:t[0][1],last:t[n-1][1],middle:""},d=t[0][1],l=t[0][1];return t.forEach(a=>{d=!d||d<a[1]?a[1]:d,l=!l||l>a[1]?a[1]:l}),l||d?o.middle=(Number(l)+Number(d))/2:o.middle="-",o.min=l,o.max=d,o}}},methods:{getLonLat(t){return`${t.degree}°${v.roundPrecision(t.minute,2)}′${t.direction}`},async fetchData(){var S;this.typhoonData=[];let t=[];if(this.data.hours.length<8)for(let _ in this.data.hours){let N=this.data.hours[_];N.hour=_,t.push(N)}else{let _=0;for(let N in this.data.hours)if(_<8){let D=this.data.hours[N];D.hour=N,t.push(D),_++}}this.typhoonData=t,this.records=await this.interpolatedRecord(this.data.date,this.data.hours,1),this.records[0]=this.data.hours[0];const n=this.ts?T(Number(this.ts)).utc().format("YYYY-MM-DD HH"):T().utc().format("YYYY-MM-DD HH");for(let _ in this.records)T(this.data.date).add(_,"h").utc().format("YYYY-MM-DD HH")===n&&this.$emit("center",this.records[_]);let o=this.computeHourSubscript(T(this.data.date).utc().format("H"));const d=[],l=[],a=[],p=[];let i=[],E=[],b=[];for(let _ in this.records){const N=this.records[_],D=T(this.data.date).add(_,"h").utc(),r=this.computeHourSubscript(T(D).format("H")),C=`${T(D).format("YYYY-MM-DD")} ${this.hourSubscript[r]}:00:00`;o===r?(E.push([C,N.wind.kts]),b.push([C,N.pressure]),i.push([C,N.wind.spd])):(d.push(i),l.push(E),a.push(b),o=r,i=[],E=[],b=[],i.push([C,N.wind.spd]),E.push([C,N.wind.kts]),b.push([C,N.pressure]),this.xAxis.push(D))}for(let _ in this.data.hours){const N=this.data.hours[_],D=T(this.data.date).add(_,"h").utc(),r=this.computeHourSubscript(T(D).format("H")),C=`${T(D).format("YYYY-MM-DD")} ${this.hourSubscript[r]}:00:00`;p.push([C,((S=N.gusts)==null?void 0:S.kts)??"-"])}this.fetchProbabilityData(d),this.fetchSpdData(l,p),this.fetchPressureData(a)},fetchProbabilityData(t){let n={td:[],ts:[],sts:[],ty:[],sty:[],supty:[]};t.forEach(o=>{let d=0,l=0,a=0,p=0,i=0,E=0;o.forEach(S=>{const _=S[1];_<=17.1?d++:_<=24.4?l++:_<=32.6?a++:_<=41.4?p++:_<=50.9?i++:_>50.9&&E++});const b=o.length;n.td.push([o[0][0],v.roundPrecision(d/b,2)*100]),n.ts.push([o[0][0],v.roundPrecision(l/b,2)*100]),n.sts.push([o[0][0],v.roundPrecision(a/b,2)*100]),n.ty.push([o[0][0],v.roundPrecision(p/b,2)*100]),n.sty.push([o[0][0],v.roundPrecision(i/b,2)*100]),n.supty.push([o[0][0],v.roundPrecision(E/b,2)*100])}),this.probabilitySeries=[{name:"SuperTY[>94kts]",type:"bar",stack:"machine",label:{show:!1},data:n.supty},{name:"STY[80-94]",type:"bar",stack:"machine",label:{show:!1},data:n.sty},{name:"TY[64-79]",type:"bar",stack:"machine",label:{show:!1},data:n.ty},{name:"STS[48-63]",type:"bar",stack:"machine",label:{show:!1},data:n.sts},{name:"TS[33-47]",type:"bar",stack:"machine",label:{show:!1},data:n.ts},{name:"TD[<32]",type:"bar",stack:"machine",label:{show:!1},data:n.td}]},fetchSpdData(t,n){let o=[],d=[];t.forEach(l=>{const a=this.computeKLineData(l);let p=[a.time,a.first,a.last,a.min,a.max];d.push([a.time,a.middle]),o.push(p)}),this.spdSeries=[{type:"candlestick",itemStyle:{color:"#4ca053",color0:"#4ca053",borderColor:"#4ca053",borderColor0:"#4ca053"},data:o},{data:d,type:"line",smooth:!0,itemStyle:{color:"#a0c5e8"},lineStyle:{type:"dashed"}},{data:n,type:"line",symbol:"none",smooth:!1,itemStyle:{color:"#ccc"},lineStyle:{}}]},fetchPressureData(t){let n=[],o=[];t.forEach(d=>{const l=this.computeKLineData(d);let a=[l.time,l.first,l.last,l.min,l.max];o.push([l.time,l.middle]),n.push(a)}),this.pressureSeries=[{type:"candlestick",itemStyle:{color:"#4ca053",color0:"#4ca053",borderColor:"#4ca053",borderColor0:"#4ca053"},data:n},{data:o,type:"line",smooth:!0,itemStyle:{color:"#a0c5e8"},lineStyle:{type:"dashed"}}]},async interpolatedRecord(t,n,o=3){var i,E,b,S,_,N,D,r,C,k,O,P,F,w,x,u,R,Z,z,W,f,Y,G,H,K,q,j,X,V,M,J,s,$,c,ee,oe;const d=T(t).set({second:0}).utc();let l=o-(d.get("hour")*60+d.get("minute"))%(o*60)/60,a;const p={};for(;a=this.computeCandidateIndex(n,l),a.next!==-1||l===a.prev;){const te=(l-a.prev)/(a.next-a.prev);p[l]={gusts:this.computeInterpolateValue((i=n[a.prev])==null?void 0:i.gusts,(E=n[a.next])==null?void 0:E.gusts,te),lat:this.computeInterpolateValue((b=n[a.prev])==null?void 0:b.lat,(S=n[a.next])==null?void 0:S.lat,te),lng:this.computeInterpolateValue((_=n[a.prev])==null?void 0:_.lng,(N=n[a.next])==null?void 0:N.lng,te),movement:{deg:this.computeInterpolateValue((r=(D=n[a.prev])==null?void 0:D.movement)==null?void 0:r.deg,(k=(C=n[a.next])==null?void 0:C.movement)==null?void 0:k.deg,te),kts:this.computeInterpolateValue((P=(O=n[a.prev])==null?void 0:O.movement)==null?void 0:P.kts,(w=(F=n[a.next])==null?void 0:F.movement)==null?void 0:w.kts,te),spd:this.computeInterpolateValue((u=(x=n[a.prev])==null?void 0:x.movement)==null?void 0:u.spd,(Z=(R=n[a.next])==null?void 0:R.movement)==null?void 0:Z.spd,te)},pressure:this.computeInterpolateValue((z=n[a.prev])==null?void 0:z.pressure,(W=n[a.next])==null?void 0:W.pressure,te),wind:{kts:this.computeInterpolateValue((Y=(f=n[a.prev])==null?void 0:f.wind)==null?void 0:Y.kts,(H=(G=n[a.next])==null?void 0:G.wind)==null?void 0:H.kts,te),lat:this.computeInterpolateValue((q=(K=n[a.prev])==null?void 0:K.wind)==null?void 0:q.lat,(X=(j=n[a.next])==null?void 0:j.wind)==null?void 0:X.lat,te),lng:this.computeInterpolateValue((M=(V=n[a.prev])==null?void 0:V.wind)==null?void 0:M.lng,(s=(J=n[a.next])==null?void 0:J.wind)==null?void 0:s.lng,te),spd:this.computeInterpolateValue((c=($=n[a.prev])==null?void 0:$.wind)==null?void 0:c.spd,(oe=(ee=n[a.next])==null?void 0:ee.wind)==null?void 0:oe.spd,te)}},l+=o}return p}}},ln=t=>(e.pushScopeId("data-v-d22314b1"),t=t(),e.popScopeId(),t),UP={class:"typhoon-report"},YP=ln(()=>e.createElementVNode("div",{class:"report-bg"},[e.createElementVNode("img",{src:"https://img.idmwx.com/asset/report-head-bg.png"})],-1)),ZP={class:"report-title"},QP=ln(()=>e.createElementVNode("div",{class:"title"},"Tropical Cyclone Strike Probability Report",-1)),JP={class:"subtitle"},KP=ln(()=>e.createElementVNode("div",null,[e.createElementVNode("img",{class:"logo",src:"https://img.idmwx.com/asset/logo-150x150.png"})],-1)),qP={class:"tips-label"},XP=ln(()=>e.createElementVNode("div",null,"Prepared by Ocean PI Technology Co., Ltd.",-1)),jP={class:"label-issued"},$P=ln(()=>e.createElementVNode("div",null,"The report is for reference only. All the material is an advisory provided so as to assist the Master in making the final route decision.",-1)),vP={class:"issued"},eu={class:"report-content"},tu={class:"map"},ou={class:"table"},lu=ln(()=>e.createElementVNode("thead",null,[e.createElementVNode("tr",null,[e.createElementVNode("td",null,"Time"),e.createElementVNode("td",null,"Position"),e.createElementVNode("td",null,"Pres(hPa)"),e.createElementVNode("td",null,"Max(kts)"),e.createElementVNode("td",null,"Gusts(kts)"),e.createElementVNode("td",null,"35/50(kts)"),e.createElementVNode("td",null,"Dir(deg)"),e.createElementVNode("td",null,"Spd(kts)")])],-1));function au(t,n,o,d,l,a){const p=e.resolveComponent("Map"),i=e.resolveComponent("Echart");return e.openBlock(),e.createElementBlock("div",UP,[YP,e.createElementVNode("div",ZP,[QP,e.createElementVNode("div",JP,[KP,e.createElementVNode("div",qP,[XP,e.createElementVNode("div",null,e.toDisplayString(l.dateTime?l.dateTime:a.computeUTCTime(Date.now(),"dddd, MMMM D,YYYY")),1),e.createElementVNode("div",jP,[$P,e.createElementVNode("div",vP,"Issued: "+e.toDisplayString(a.computeUTCTime(Date.now(),"MMM-DD/HHmm[Z]")),1)])])])]),e.createElementVNode("div",eu,[e.createElementVNode("div",null,[e.createElementVNode("div",tu,[e.createVNode(p,{data:o.data,name:o.name,model:o.model,ts:o.ts,token:o.token,changeZoom:o.changeZoom},null,8,["data","name","model","ts","token","changeZoom"])]),e.createElementVNode("div",ou,[e.createElementVNode("table",null,[lu,e.createElementVNode("tbody",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(l.typhoonData,(E,b)=>{var S,_,N,D,r,C;return e.openBlock(),e.createElementBlock("tr",{key:b},[e.createElementVNode("td",null,e.toDisplayString(a.computeHours(E.hour||"-",o.data.date)),1),e.createElementVNode("td",null,e.toDisplayString(a.computedLngLat(E.lat,E.lng)),1),e.createElementVNode("td",null,e.toDisplayString(a.computeRoundPrecision(E.pressure??"-")),1),e.createElementVNode("td",null,e.toDisplayString(a.computeRoundPrecision(((S=E==null?void 0:E.wind)==null?void 0:S.kts)??"-")),1),e.createElementVNode("td",null,e.toDisplayString(a.computeRoundPrecision(((_=E.gusts)==null?void 0:_.kts)??"-")),1),e.createElementVNode("td",null,e.toDisplayString(`${a.computeWind(((N=E==null?void 0:E.wind)==null?void 0:N.r7)||"-")} / ${a.computeWind(((D=E==null?void 0:E.wind)==null?void 0:D.r10)||"-")} nm`),1),e.createElementVNode("td",null,e.toDisplayString(a.computeRoundPrecision(((r=E==null?void 0:E.movement)==null?void 0:r.deg)??"-")),1),e.createElementVNode("td",null,e.toDisplayString(a.computeRoundPrecision(((C=E==null?void 0:E.movement)==null?void 0:C.spd)??"-")),1)])}),128))])])])]),e.createElementVNode("div",null,[e.createVNode(i,{class:"echart",id:"probabilityChart",title:"Probability(%) of Tropical Cyclone Intensity falling in each category",xAxis:l.xAxis,color:l.probabilityColor,series:l.probabilitySeries},null,8,["xAxis","color","series"]),e.createVNode(i,{class:"echart",id:"spdChart",title:"10m Wind Speed(kts) [ Solid=Gusts ; Dot=Avg.Speed ]",xAxis:l.xAxis,series:l.spdSeries},null,8,["xAxis","series"]),e.createVNode(i,{class:"echart",id:"pressureChart",title:"Mean Sea Level Pressure in Tropical Cyclone Center (hPa)",xAxis:l.xAxis,series:l.pressureSeries},null,8,["xAxis","series"])])])])}const Cn=De(zP,[["render",au],["__scopeId","data-v-d22314b1"]]),nu={install(t){t.component("HurricaneReport",Cn)}},ote="",su={components:{IdmBrand:ja},data(){return{isUSD:!1,type:"CNY",company:{name:{USD:"OCEAN PI TECHNOLOGY Co., Ltd.",CNY:"科湃科技(青岛)有限公司"},address:{USD:"ROOM 1006, BUILDING 5, No. 199, SHANDONG ROAD, QINGDAO, CHINA",CNY:"山东省青岛市市北区山东路 199 号 5 号楼 1006 户"},tel:"053283618328",dutyNumber:"91370203MACDEEJP0Q",bankName:{USD:"Shanghai Pudong Development Bank Qingdao Branch",CNY:"上海浦东发展银行股份有限公司青岛福州路支行"},bankAccount:{USD:"6908 0078 8144 0000 1837",CNY:"6908 0078 8016 0000 1829"},bankAddress:"No. 188, HAIER ROAD, QINGDAO, CHINA",bankSwift:"SPDBCNSH170",interBank:"CITIBANK N.A., NEW YORK",interSwift:"CITIUS33"},breaked:!1}},props:{data:{type:Object,default:()=>({})}},watch:{data:{handler(t){t&&(t.paymentType==="USD"?(this.isUSD=!0,this.type="USD"):(this.isUSD=!1,this.type="CNY"))},immediate:!0}},computed:{computeHtml(){return function(t){return t==null?void 0:t.replaceAll(`
42
- `,"</br>")}},computeUTCTime(){return function(t,n="MMM-DD/HHmm"){return t!=="-"?`${T(t).utc().format(n)}`:"-"}},computeItem(){return function(t){if(t){const n=t.indexOf(",");if(n!==-1)return[t.substring(0,n),t.substring(n+1)]}else return["-","-"]}}},mounted(){this.$nextTick(()=>{var p;const t=this.$refs.name.offsetHeight,n=this.$refs.table.offsetHeight,o=this.$refs.detail.offsetHeight,d=(p=this.data)!=null&&p.memo?this.$refs.memo.offsetHeight:0;let l=1;for(;t+n+280>l*1123;)l++;const a=l*1123-(t+n+280);this.breaked=a<o+d})}},po=t=>(e.pushScopeId("data-v-db643e45"),t=t(),e.popScopeId(),t),iu={class:"invoice-report"},du=po(()=>e.createElementVNode("div",{class:"report-bg"},[e.createElementVNode("img",{src:"https://img.idmwx.com/asset/report-head-bg.png"})],-1)),cu={class:"report-title"},ru=po(()=>e.createElementVNode("div",{class:"title"},"INVOICE",-1)),mu={class:"title-info"},hu=po(()=>e.createElementVNode("div",null,[e.createElementVNode("img",{class:"logo",src:"https://img.idmwx.com/asset/logo-150x150.png"})],-1)),pu=po(()=>e.createElementVNode("div",null,"Room 1006,Building 5,No. 199,",-1)),Eu=po(()=>e.createElementVNode("div",null,"Shandnog Road,Qing Dao China",-1)),yu=po(()=>e.createElementVNode("div",null,"Post Code: 266000",-1)),_u=po(()=>e.createElementVNode("div",null,"Email: op@oceanpitech.com",-1)),Nu={class:"report-content"},Vu={style:{display:"flex"},ref:"name",class:"name"},fu=["innerHTML"],gu={style:{"margin-bottom":"10px"}},Du={class:"table",ref:"table"},xu=po(()=>e.createElementVNode("thead",null,[e.createElementVNode("tr",null,[e.createElementVNode("td",null,"NO"),e.createElementVNode("td",null,"ITEMS"),e.createElementVNode("td",null,"AMOUNTS")])],-1)),bu=po(()=>e.createElementVNode("td",null,null,-1)),Cu={class:"total"},Su={class:"total"},ku={key:0,class:"page-break"},Au={ref:"detail",class:"detail"},Bu={class:"title"},wu={class:"info"},Tu={class:"info"},Ou={class:"info"},Fu={class:"info"},Pu={class:"info"},uu={key:0},Lu={class:"info"},Wu=po(()=>e.createElementVNode("span",{class:"info-title"},"SWIFT: ",-1)),Hu={class:"info"},Mu=po(()=>e.createElementVNode("span",{class:"info-title"},"Bank Add: ",-1)),Gu={class:"info"},Iu=po(()=>e.createElementVNode("span",{class:"info-title"},"INTERMEDIARY BANK: ",-1)),Ru={class:"info"},zu=po(()=>e.createElementVNode("span",{class:"info-title"},"SWIFT BIC: ",-1)),Uu={key:1},Yu={class:"info"},Zu=po(()=>e.createElementVNode("span",{class:"info-title cny"},"税号: ",-1)),Qu={key:1,ref:"memo",class:"detail"},Ju=po(()=>e.createElementVNode("div",{class:"title"},"MEMO",-1)),Ku=["innerHTML"];function qu(t,n,o,d,l,a){var i,E,b,S,_,N,D,r,C,k,O,P,F,w,x,u,R,Z,z;const p=e.resolveComponent("IdmBrand");return e.openBlock(),e.createElementBlock("div",iu,[e.createVNode(p),du,e.createElementVNode("div",cu,[ru,e.createElementVNode("div",mu,[hu,e.createElementVNode("div",null,[e.createElementVNode("div",{class:e.normalizeClass(l.isUSD?"info-title":"info-title cny")},"Ocean PI Technology Co., Ltd",2),pu,Eu,yu,_u])])]),e.createElementVNode("div",Nu,[e.createElementVNode("div",Vu,[e.createTextVNode(" To:  "),e.createElementVNode("div",{class:"name",innerHTML:a.computeHtml((E=(i=o.data)==null?void 0:i.invoiceTitle)==null?void 0:E.name)},null,8,fu)],512),e.createElementVNode("div",null,"Date: "+e.toDisplayString(a.computeUTCTime((b=o.data)==null?void 0:b.paymentDate,"YYYY MMM DD")),1),e.createElementVNode("div",gu,"No: "+e.toDisplayString((S=o.data)==null?void 0:S.number),1),e.createElementVNode("div",Du,[e.createElementVNode("table",null,[xu,e.createElementVNode("tbody",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList((_=o.data)==null?void 0:_.reservations,(W,f)=>(e.openBlock(),e.createElementBlock("tr",{key:f},[e.createElementVNode("td",null,e.toDisplayString(f+1),1),e.createElementVNode("td",null,[e.createElementVNode("div",null,e.toDisplayString(a.computeItem(W==null?void 0:W.items)[0]),1),e.createElementVNode("div",null,e.toDisplayString(a.computeItem(W==null?void 0:W.items)[1]),1)]),e.createElementVNode("td",null,e.toDisplayString(`$ ${W==null?void 0:W.amount}`),1)]))),128)),e.createElementVNode("tr",null,[bu,e.createElementVNode("td",null,[e.createElementVNode("span",null,e.toDisplayString(`${l.isUSD?"":"Exchange rate: "+((N=o.data)==null?void 0:N.rate)}`)+"  ",1),e.createElementVNode("span",Cu,e.toDisplayString(`${l.isUSD?"TOTAL":"TOTAL Amounts in CNY"}`),1)]),e.createElementVNode("td",null,[e.createElementVNode("span",Su,e.toDisplayString(`${l.isUSD?"$":"¥"} ${(D=o.data)==null?void 0:D.paymentAmount}`),1)])])])])],512),l.breaked?(e.openBlock(),e.createElementBlock("div",ku)):e.createCommentVNode("",!0),e.createElementVNode("div",Au,[e.createElementVNode("div",Bu,e.toDisplayString(`${l.isUSD?"USD ACCOUNT":"CNY ACCOUNT"}:`),1),e.createElementVNode("div",wu,[e.createElementVNode("span",{class:e.normalizeClass(l.isUSD?"info-title":"info-title cny")},e.toDisplayString(`${l.isUSD?"Beneficiary's Name":"公司名称"}: `),3),e.createElementVNode("span",null,e.toDisplayString(((r=l.company)==null?void 0:r.name[l.type])??"-"),1)]),e.createElementVNode("div",Tu,[e.createElementVNode("span",{class:e.normalizeClass(l.isUSD?"info-title":"info-title cny")},e.toDisplayString(`${l.isUSD?"Add":"地址"}: `),3),e.createElementVNode("span",null,e.toDisplayString(((C=l.company)==null?void 0:C.address[l.type])??"-"),1)]),e.createElementVNode("div",Ou,[e.createElementVNode("span",{class:e.normalizeClass(l.isUSD?"info-title":"info-title cny")},e.toDisplayString(`${l.isUSD?"Tel":"电话号码"}: `),3),e.createElementVNode("span",null,e.toDisplayString(((k=l.company)==null?void 0:k.tel)??"-"),1)]),e.createElementVNode("div",Fu,[e.createElementVNode("span",{class:e.normalizeClass(l.isUSD?"info-title":"info-title cny")},e.toDisplayString(`${l.isUSD?"Bank Name":"开户银行"}: `),3),e.createElementVNode("span",null,e.toDisplayString(((O=l.company)==null?void 0:O.bankName[l.type])??"-"),1)]),e.createElementVNode("div",Pu,[e.createElementVNode("span",{class:e.normalizeClass(l.isUSD?"info-title":"info-title cny")},e.toDisplayString(`${l.isUSD?"A/C No":"银行账号"}: `),3),e.createElementVNode("span",null,e.toDisplayString(((P=l.company)==null?void 0:P.bankAccount[l.type])??"-"),1)]),l.isUSD?(e.openBlock(),e.createElementBlock("div",uu,[e.createElementVNode("div",Lu,[Wu,e.createElementVNode("span",null,e.toDisplayString(((F=l.company)==null?void 0:F.bankSwift)??"-"),1)]),e.createElementVNode("div",Hu,[Mu,e.createElementVNode("span",null,e.toDisplayString(((w=l.company)==null?void 0:w.bankAddress)??"-"),1)]),e.createElementVNode("div",Gu,[Iu,e.createElementVNode("span",null,e.toDisplayString(((x=l.company)==null?void 0:x.interBank)??"-"),1)]),e.createElementVNode("div",Ru,[zu,e.createElementVNode("span",null,e.toDisplayString(((u=l.company)==null?void 0:u.interSwift)??"-"),1)])])):(e.openBlock(),e.createElementBlock("div",Uu,[e.createElementVNode("div",Yu,[Zu,e.createElementVNode("span",null,e.toDisplayString(((R=l.company)==null?void 0:R.dutyNumber)??"-"),1)])]))],512),(Z=o.data)!=null&&Z.memo?(e.openBlock(),e.createElementBlock("div",Qu,[Ju,e.createElementVNode("div",{class:"info",innerHTML:a.computeHtml((z=o.data)==null?void 0:z.memo)},null,8,Ku)],512)):e.createCommentVNode("",!0)])])}const Sn=De(su,[["render",qu],["__scopeId","data-v-db643e45"]]),lte="",Xu={components:{IdmBrand:yl},data(){return{account:{CNY:{title:"正权海事服务(青岛)有限公司",taxId:"91370203MADE2L8TX4",address:"山东省青岛市市北区山东路171号乙万科中心1号楼1805户",tel:"15192665266",bank:"中国银行股份有限公司青岛城阳支行",number:"220850858281"},USD:{title:"Ocean Right Marine Service Co., Ltd.",taxId:"91370203MADE2L8TX4",address:"Rm1805, B Technology Innovation Bldg. No. 171 Shandong Rd, Qingdao, China",tel:"15192665266",bank:"Bank of China Qingdao Chengyang Sub-Branch",number:"220850858281",swift:"BKCHCNBJ50A",bankAddr:"198 Zhengyang road Chengyang District, Qingdao, China",intermediaryBank:"Bank of China New York Branch",intermediaryBankSwift:"BKCHUS33XXX",intermediaryBankAbaNo:"326"}}}},props:{report:{type:Object,default:()=>({})}},computed:{computeTime(){return function(t,n="YYYY, MMM-DD/HHmm[LT]"){return t!=="-"?`${T(t).utcOffset(8).format(n)}`:"-"}}},mounted(){}},Lt=t=>(e.pushScopeId("data-v-a19b6a09"),t=t(),e.popScopeId(),t),ju={class:"invoice-report"},$u={class:"section company-section"},vu=Lt(()=>e.createElementVNode("div",{class:"company-item",style:{"font-weight":"600","font-size":"16px","margin-bottom":"10px"}},"ACCOUNT",-1)),eL={class:"company-item"},tL=Lt(()=>e.createElementVNode("label",null,"Bank",-1)),oL={class:"company-item"},lL=Lt(()=>e.createElementVNode("label",null,"Account",-1)),aL={class:"company-item"},nL=Lt(()=>e.createElementVNode("label",null,"Title",-1)),sL={class:"company-item"},iL=Lt(()=>e.createElementVNode("label",null,"Addr",-1)),dL={class:"company-item"},cL=Lt(()=>e.createElementVNode("label",null,"Tel",-1)),rL={class:"company-item"},mL=Lt(()=>e.createElementVNode("label",null,"Tax ID",-1)),hL={class:"company-item"},pL=Lt(()=>e.createElementVNode("label",null,"Beneficiary's Name",-1)),EL={class:"company-item"},yL=Lt(()=>e.createElementVNode("label",null,"Add",-1)),_L={class:"company-item"},NL=Lt(()=>e.createElementVNode("label",null,"Bank Name",-1)),VL={class:"company-item"},fL=Lt(()=>e.createElementVNode("label",null,"A/C No.",-1)),gL={class:"company-item"},DL=Lt(()=>e.createElementVNode("label",null,"SWIFT",-1)),xL={class:"company-item"},bL=Lt(()=>e.createElementVNode("label",null,"Bank Add",-1)),CL={class:"company-item"},SL=Lt(()=>e.createElementVNode("label",null,"Intermediary Bank",-1)),kL={class:"company-item"},AL=Lt(()=>e.createElementVNode("label",null,"SWIFT",-1)),BL={class:"company-item"},wL=Lt(()=>e.createElementVNode("label",null,"ABA NO.",-1)),TL={class:"section items-section"},OL={class:"flex-space"},FL=Lt(()=>e.createElementVNode("div",{class:"invoice-item"},"To:",-1)),PL=["innerHTML"],uL={class:"flex-space"},LL={class:"invoice-item"},WL={key:0,class:"invoice-item"},HL={key:1,class:"invoice-item"},ML=Lt(()=>e.createElementVNode("thead",null,[e.createElementVNode("tr",null,[e.createElementVNode("th",null,"NO"),e.createElementVNode("th",null,"ITEMS"),e.createElementVNode("th",null,"AMOUNTS")])],-1)),GL={colspan:2,class:"total"},IL=Lt(()=>e.createElementVNode("span",null,"Total Amounts in CNY",-1)),RL={key:1},zL={class:"total"},UL={key:0},YL={key:1},ZL={key:0,class:"memo-block"},QL=Lt(()=>e.createElementVNode("div",{class:"invoice-item"},"MEMO",-1)),JL=["innerHTML"],KL=e.createStaticVNode('<div class="section sign-section" data-v-a19b6a09><div class="flex-space" data-v-a19b6a09><div class="sign-block" data-v-a19b6a09><div data-v-a19b6a09>Finance Team</div><div data-v-a19b6a09>Ocean Right Marine Service Co., Ltd.</div><div data-v-a19b6a09>Email: <a href="mailto:op@ormwx.com" data-v-a19b6a09>op@ormwx.com</a></div><div data-v-a19b6a09>Add: Rm1805, B Technology Innovation Bldg, No. 171 Shandong Road, Qingdao, China.</div></div><div class="thank-block" data-v-a19b6a09> Thank You </div></div></div>',1);function qL(t,n,o,d,l,a){var i,E,b,S,_,N,D,r,C,k,O,P,F,w,x,u,R,Z,z,W,f,Y,G,H,K,q,j,X,V,M,J,s,$,c,ee,oe,te,se,ie,ce,re,he,pe,Ee;const p=e.resolveComponent("IdmBrand");return e.openBlock(),e.createElementBlock("div",ju,[e.createVNode(p,{name:"INVOICE"}),e.createElementVNode("div",$u,[vu,((i=o.report)==null?void 0:i.paymentType)==="CNY"?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[e.createElementVNode("div",eL,[tL,e.createElementVNode("span",null,e.toDisplayString((b=l.account[(E=o.report)==null?void 0:E.paymentType])==null?void 0:b.bank),1)]),e.createElementVNode("div",oL,[lL,e.createElementVNode("span",null,e.toDisplayString((_=l.account[(S=o.report)==null?void 0:S.paymentType])==null?void 0:_.number),1)]),e.createElementVNode("div",aL,[nL,e.createElementVNode("span",null,e.toDisplayString((D=l.account[(N=o.report)==null?void 0:N.paymentType])==null?void 0:D.title),1)]),e.createElementVNode("div",sL,[iL,e.createElementVNode("span",null,e.toDisplayString((C=l.account[(r=o.report)==null?void 0:r.paymentType])==null?void 0:C.address),1)]),e.createElementVNode("div",dL,[cL,e.createElementVNode("span",null,e.toDisplayString((O=l.account[(k=o.report)==null?void 0:k.paymentType])==null?void 0:O.tel),1)]),e.createElementVNode("div",rL,[mL,e.createElementVNode("span",null,e.toDisplayString((F=l.account[(P=o.report)==null?void 0:P.paymentType])==null?void 0:F.taxId),1)])],64)):(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[e.createElementVNode("div",hL,[pL,e.createElementVNode("span",null,e.toDisplayString((x=l.account[(w=o.report)==null?void 0:w.paymentType])==null?void 0:x.title),1)]),e.createElementVNode("div",EL,[yL,e.createElementVNode("span",null,e.toDisplayString((R=l.account[(u=o.report)==null?void 0:u.paymentType])==null?void 0:R.address),1)]),e.createElementVNode("div",_L,[NL,e.createElementVNode("span",null,e.toDisplayString((z=l.account[(Z=o.report)==null?void 0:Z.paymentType])==null?void 0:z.bank),1)]),e.createElementVNode("div",VL,[fL,e.createElementVNode("span",null,e.toDisplayString((f=l.account[(W=o.report)==null?void 0:W.paymentType])==null?void 0:f.number),1)]),e.createElementVNode("div",gL,[DL,e.createElementVNode("span",null,e.toDisplayString((G=l.account[(Y=o.report)==null?void 0:Y.paymentType])==null?void 0:G.swift),1)]),e.createElementVNode("div",xL,[bL,e.createElementVNode("span",null,e.toDisplayString((K=l.account[(H=o.report)==null?void 0:H.paymentType])==null?void 0:K.bankAddr),1)]),e.createElementVNode("div",CL,[SL,e.createElementVNode("span",null,e.toDisplayString((j=l.account[(q=o.report)==null?void 0:q.paymentType])==null?void 0:j.intermediaryBank),1)]),e.createElementVNode("div",kL,[AL,e.createElementVNode("span",null,e.toDisplayString((V=l.account[(X=o.report)==null?void 0:X.paymentType])==null?void 0:V.intermediaryBankSwift),1)]),e.createElementVNode("div",BL,[wL,e.createElementVNode("span",null,e.toDisplayString((J=l.account[(M=o.report)==null?void 0:M.paymentType])==null?void 0:J.intermediaryBankAbaNo),1)])],64))]),e.createElementVNode("div",TL,[e.createElementVNode("div",OL,[FL,e.createElementVNode("div",{class:"invoice-item",style:{"font-weight":"500"},innerHTML:(c=($=(s=o.report)==null?void 0:s.invoiceTitle)==null?void 0:$.name)==null?void 0:c.replace(`
41
+ -3744 58 -1917 -1 -3507 -3 -3535 -5z`},null,-1)];function FE(t,n,o,d,l,a){return e.openBlock(),e.createElementBlock("i",BE,[(e.openBlock(),e.createElementBlock("svg",wE,[e.createElementVNode("g",{transform:"translate(0.000000,1280.000000) scale(0.100000,-0.100000)",fill:o.fill,"fill-opacity":.6,stroke:"none"},OE,8,TE)]))])}const gn=De(AE,[["render",FE]]),PE={install(t){t.component("PiLogo",gn)}},uee="",Lee="",uE={components:{Editor:Ro,IdmBrand:ja},props:{reportData:{type:Object,default:()=>({})},editorDisabled:{type:Boolean,default:()=>!1}},emits:["commit"],data(){return{logSrc2:new URL("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAJYAAACWCAYAAAA8AXHiAAAABHNCSVQICAgIfAhkiAAAIABJREFUeF7tXQeAFEXWruruSZsTaQNJBARFTsQcCAaQZOLM+URPz3h6nIo6J+nUO8+Eip6CZ8aMCRUF9cQz8JsJAkqOy+Y0O9Pd//c6zPSkndndmdkFpqSc2enu6qpXX71Ur6o4S6c0BZJAAZ6EMtNFpinA0sBKgyApFEgDKylkTReaBlYaA0mhQBpYSSFrutA0sNIYSAoF9g5gTV4gsiaXgzmdNsYqRT+l7Fk+1pznZWxzM3v593JSKJguNCIF9jxgjVgiMdeWjFybsz9z2A9RBfVoLgiDYd/mq4xnc4HbGedMFZAZa2QCr2NMqGSCulVlwo+ywL7jqrK+QVV/YxlKPdte50uDLvGjY88A1rC5tuySvMNELpzDBOFIgKgnAJPDuGDDd/yHZuCfSp8AlAYs+sH47r9Gv3MB+GLNnAuNuLFS5WyLwtkPTBLfb2hu/Jo9PmZb4sm875XYiYGl8pyTn91PEiQC02RwoEHAhaiBhmptBZEGrEDWrhOoCFEG9wpcNwBo3E+cTbtPB2GVwvkKztXPZIUtbpKzAbRDq/c9WLS/xZ0SWK5RT5dkiOK1TOTXos+d4ExaSzUQBAGIAEFXdGBoHCv0ugWEwdeDORyVEShfBy5AtkHh4jzVqzzvsddvZA+d4mk/yfeNE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EApE9Z48np/ZciUwdEim2KpwMTHZpM3JU86pRI7JEuSVyDxBlFdrTmbGVSwGnwkY5E8U40MM2I29YAi+pC/i3qYIo7N1MqgEVtp8OuaBdpMl6sKWHAokIJXBR+SyKOLJZYceoUDEYLFEjhI291JC80TerSJC4pu6YuFtKGqH8SsanRlIgjaOdFtyORgXKn8TzpSQR8SmR0kLHR2jQND5gxbCQ6THG4AN8pRo3oQSHOH8UomAbhRci/RzYZApVNEqQ1aQButk5ub8ffpMeFLYiwFEp9TA7ik5BJ+pDEIg5OXJiiOsJSazlWaxqQvncfpkAaWPtw5yez6WlgJZO6+3DZaWDtw52fzKangZVM6u7DZaeBtQ93fjKbngZWMqm7D5f9/zc746V8ZtviAAAAAElFTkSuQmCC",self.location).href,bgSrc:new URL("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAABBoAAAAvCAYAAABNJKlSAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAABBVSURBVHhe7d2Hd1TnnYdx/wm7m91szWart2+yfTdtW5KtySbZTeLuxA3HLU6CCzY4Y9xiwMaFEkMoBkw1TXQVhEACdaEu1NuojEZdM2oz89t773vv3HvnviI4dnBsP99znsPhcECcOULM++Gd4ZqybhGnUrMup5RVibdOt+LMOlJyoSOp7Xx7sKJ0CSlqcyvMrDUh57TNy1mzlmAFTs1uZ5rngl2ak3xNp82azGZ95Tk1uuVm1jBjlbNA2Wb1wU7VT6vq3E5mVqs6kS6e7niNvmNO1WYxq6OZXYzJkcuUVTUV6LBTpb9D6SZVFZNycIEOlGc2Ifudyvy96a3UbV/puLa9JcH2OBWP+drt7YJqV6BR2Xle3xtORW47rEb8Faq2a9p2zttwutfNzvrbmllB1GqLps1n9G06MySb8v39KLPTbhvTRdJtyNP3mlmut0H5obcc1Xpd2YOyLnsg0FqnU/7W+OqXNSdVr+o60S+vBOqTl82OB3vJ2zHVaquwv6NheVHTC2ZHnHp9rXLKclsZqEdWHu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aAAa7EJAA9AANAANQWQAGoAGoEGDC96ABqABaAAagAYV0OAGNAANQINdCGgAGoAGoCGIDEAD0AA0aHDBG9AANAANQAPQoAIa3IAGoAFosAsBDUAD0AA0BJEBaAAagAYNLngDGoAGoAFoABpUQIMb0AA0AA12IaABaAAagIYgMgANQAPQoMEFb0AD0AA0AA1AgwpocAMagAagwS4ENAANQAPQEEQGoAFoABo0uOANaAAagAagAWhQAQ1uQAPQADTYhYAGoAFoABqCyAA0AA1AgwYXvAENQAPQADQADSqgwQ1oABqABrsQ0AA0AA1AQxAZgAagAWjQ4II3oAFoABqABqBBBTS4AQ1AA9BgFwIagAagAWgIIgPQADQADRpc8AY0AA1AA9AANKiABjegAWgAGuxCQAPQADQADUFkABqABqBBgwvegAagAWgAGoAGFdDgBjQADUCDXQhoABqABqAhiAxAA9AANGhwwRvQADQADUAD0KACGtyABqABaLALAQ1AA9AANASRAWgAGoAGDS54AxqABqABaAAaVECDG9AANAANdiGgAWgAGoCGIDIADUAD0KDBBW9AA9AANAANQIMKaHADGoAGoMEuBDQADUAD0BBEBqABaAAaNLjgDWgAGoAGoAFoUAENbkAD0AA02IWABqABaAAagsgANAANQIMGF7wBDUAD0AA0AA0qoMENaAAagAa7ENAANAANQEMQGYAGoAFo0OCCN6ABaAAagAagQQU0uAENQAPQYBcCGoAGoAFoCCID0AA0AA0aXPAGNAANQAPQADSogAY3oAFoABrsQkAD0AA0AA1BZAAagAagQYML3oAGoAFoABqABhXQ4AY0AA1Ag10IaAAagAagIYgMQAPQADRocMEb0AA0AA1AA9CgAhrcgAagAWiwCwENQAPQADQEkQFoABqABg0ueAMagAagAWgAGlRAgxvQADQADXYhoAFoABqAhiAyAA1AA9CgwQVvQAPQADQADUCDCmhwAxqABqDBLgQ0AA1AA9AQRAagAWgAGjS44A1oABqABqABaFABDW5AA9AANNiFgAagAWgAGoLIADQADUCDBhe8AQ1AA9AANAANKqDBDWgAGoAGuxDQADQADUBDEBmABqABaNDggjegAWgAGoAGoEE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nuUE5VDJklVUWlfy6UbsRCwKq2iel0si8FdAxOG3dDBidmrfiv/RjjDHGGPvZG9DAfqozXy4Sm01ajcWTMjSRSGciRld0zqo9MicN4Zl0lZ3TUt6hKmufloKmWLrcuik5Xu1kAgXQADQADW8HGlYf7ZG1J8PGYxeWDTl9suPsoJUJAEfKo5Jld6Z+TArsTAC42Dlp1RRW7w1g1js8k0YAM8YYY4wx9sEb0MDed5uaSaabmE5KZHzeatCoZ3hOOiKzvhr7ZqS2Z9pXeUdcilu9xSS/YUpy6yZ9ZdeatzbGVeVu+0rHgAagwUYGFxrWneqTjXn9xuNkl9sv289GZE/RkOz2dKRiWE5UjciJyhE5blfQMCaFTeNujeNS1TEltV2qGrs261/8Z3yZLwcwXwrgLZmy/8AwxhhjjDH2Dg9oYOwqbj6RksmZZLBp1dDEvAyMzaXr19Q5NCstAzNXVHVXXCo7YldUhVF5e0wKGidVDbom0p1ZoHyzem/j2k7rqtOX51TrL9fuTMO4lLROSknL5SvOqLY7Jg29cW31Rq0D09IzPCs9UW8z6fpGZ2U8ntA2N89JnjHGGGOMfRAn8v+kbzBftZKigAAAAABJRU5ErkJggg==",self.location).href,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:[],noGoodWxDay:"Not available due to no good weather days."}},computed:{computedAvgCf:function(){return function(t){var n,o;return(o=(n=this.reportData)==null?void 0:n.weather)!=null&&o.favorableCur?t.avgCf>0:!1}},computedPositive(){return function(t){return t>0?t:`(${t})`}},computedTime(){return function(t,n){return n==="subtitle"?w(t).utc().format("MMMM-DD, YYYY/HHmm[Z]"):n==="table"?w(t).utc().format("MMMM-DD/HHmm[Z]"):w(t).utc().format("dddd, MMMM D, YYYY")}},computedLngLat(){return function(t,n){const o=this.getLonLat(v.LngLatHelper.lat2pretty(t)),d=this.getLonLat(v.LngLatHelper.lng2pretty(n));return`${o} ${d}`}},computedSeg(){return function(t){const n=t.departure.portName||this.computedLngLat(t.departure.lat,t.departure.lng),o=this.computedTime(t.departure.utcTime,"subtitle"),d=t.arrival.portName||this.computedLngLat(t.arrival.lat,t.arrival.lng),l=this.computedTime(t.arrival.utcTime,"subtitle");return`${n} (${o}) to ${d} (${l})`}},computedTimeConclusion(){return function(t){let n=t.conclusionStatus,o={conclusion:"",className:"",timeCon:""};return n==="No"?(o.conclusion="No Time Lost/Gained",o.className="",o.timeCon=""):n==="Lost"?(o.conclusion="Time Lost",o.className="error",o.timeCon=`${t.timeLost} hrs`):(o.conclusion="Time Gained",o.className="success",o.timeCon=`${t.timeGain} hrs`),o}},computedFuelConclusion(){return function(t,n){let o=t.conclusionStatus,d={conclusion:"",className:"",cons:""};return o==="No"?(n==="FO"?d.conclusion="No FO over/under consumption":d.conclusion="No DO/GO over/under consumption ",d.className="",d.cons=""):o==="Over"?(n==="FO"?d.conclusion="FO over consumption":d.conclusion="DO/GO over consumption",d.className="error",d.cons=`${t.overCons} mt`):(n==="FO"?d.conclusion="FO under consumption":d.conclusion="DO/GO under consumption",d.className="success",d.cons=`${t.saving} mt`),d}},computedUnit(){return function(t,n){return n?"%":t==="speed"?"kts":t==="cons"?"mt":""}},computedWeatherDef(){return function(t){let n="";t!=null&&t.timePercentage?`${t==null?void 0:t.time}`:`${t==null?void 0:t.time}`;let o=t==null?void 0:t.windScale,d="",l=0;return t!=null&&t.waveSwitch?(d+=`, Wind wave height is ${t==null?void 0:t.waveHeight} meters or less`,l++):t!=null&&t.swellSwitch?(d+=`, Swell wave height is ${t==null?void 0:t.swellHeight} meters or less`,l++):t!=null&&t.sigSwitch&&(d+=`, Significant wave height is ${t==null?void 0:t.sigHeight} meters or less`,l++),l>0&&(d+=`(Douglas Sea State ${t==null?void 0:t.seaScale})`),n=`Winds are BF/${o} or less${d}`,t!=null&&t.noAdverseCur&&(n+=", No Adverse Current"),t!=null&&t.noExtrapolation&&(n+=", No Extrapolation"),t!=null&&t.overallAsGoodWx&&(n="No specific thresholds for wind/wave/currents are defined in the Charter Party. Therefore the Good Weather Definition in this reports does not apply any thresholds."),n}},computedColor(){return function(t,n,o){let d="";if(t==="No")return d=o?"bg-color-normal":"color-normal",d;switch(n){case"time":t==="Lost"?d="color-fail":d="color-success";break;case"fuel":t==="Over"?d="color-fail":d="color-success";break;case"pfm":t==="Under"?d="color-fail":d="color-success";break}return o&&(d="bg-"+d),d}}},watch:{reportData:{handler(t,n){var o;t!=null&&t.id&&(this.$nextTick(()=>{this.checkData()}),this.advisory=(o=this.reportData)==null?void 0:o.remarks,this.date=this.computedTime(this.reportData.createdAt))},immediate:!0}},methods:{getLonLat(t){return`${t.degree}°${v.roundPrecision(t.minute,2)}′${t.direction}`},handleCommit(t){this.editable=!1,this.$emit("commit",t)},decideDisable(){this.editable=!this.editorDisabled},checkData(){var t,n;this.goodDays=[],this.segDetail=[],this.excludedTableData=[],(n=(t=this.reportData)==null?void 0:t.segments)==null||n.forEach((o,d)=>{let l=o.excluded;l.sumDistance>0&&l.detail.forEach(p=>{let i={time:w(p.begin).utc().format("DD/MM/YYYY HHmm[Z]")+" - "+w(p.end).utc().format("DD/MM/YYYY HHmm[Z]"),duration:p.duration,distance:p.distance,fo:p.foCons,dgo:p.dgoCons};this.excludedTableData.push(i)});let a=[];o.extend.segTimes.forEach(p=>{a.push(this.computedSeg(p))}),this.segDetail.push(a),this.goodDays.push(o.inventory.sample.hours.filter(p=>p.type!=="A"&&p.goodWx))})}}},g=t=>(e.pushScopeId("data-v-6f2b44b1"),t=t(),e.popScopeId(),t),LE=["src"],WE={class:"voyage-main"},HE={class:"main",style:{"page-break-after":"always"}},ME={class:"main-title",style:{position:"relative !important"}},GE=["src"],IE={class:"main-title-content"},RE=g(()=>e.createElementVNode("div",{class:"title"},"Voyage Analysis Report",-1)),zE={class:"title-date"},UE={class:"main-subtitle"},YE={class:"white"},ZE=g(()=>e.createElementVNode("td",{style:{width:"42%","text-align":"right"}},"Prepared For",-1)),QE={class:"subtitle-main"},JE=g(()=>e.createElementVNode("td",{style:{width:"42%","text-align":"right"}},"Vessel Name",-1)),KE={class:"subtitle-main"},qE={class:"main-box"},XE={class:"main-table"},jE=g(()=>e.createElementVNode("td",{style:{width:"35%"},class:"title"},"Ship Type",-1)),$E={class:"bold"},vE=g(()=>e.createElementVNode("td",{class:"title"},"Load Condition",-1)),ey={class:"bold"},ty=g(()=>e.createElementVNode("td",{class:"title"},"Reference Number",-1)),oy={class:"bold"},ly=g(()=>e.createElementVNode("td",{class:"title"},"Departure Port and Date",-1)),ay={class:"bold"},ny={style:{display:"inline-block",width:"50%"}},sy=g(()=>e.createElementVNode("td",{class:"title"},"Arrival Port and Date",-1)),iy={class:"bold"},dy={style:{display:"inline-block",width:"50%"}},cy=g(()=>e.createElementVNode("div",{class:"subtitle",style:{color:"var(--main-color)"}},"Report Summary",-1)),ry={class:"tips",style:{display:"flex"}},my={style:{color:"var(--table-note-color)"}},hy={class:"summary-table",style:{"margin-top":"5px"}},py=g(()=>e.createElementVNode("td",{style:{"line-height":"30pt",width:"35%"}},"Total Voyage Time",-1)),Ey={style:{width:"15%"}},yy={key:1},_y=g(()=>e.createElementVNode("td",{style:{"line-height":"30pt"}},"Total FO Consumption",-1)),Ny={key:1},Vy=g(()=>e.createElementVNode("td",{style:{"line-height":"30pt"}},"Total DO/GO Consumption",-1)),fy={key:1},gy=g(()=>e.createElementVNode("div",{style:{color:"var(--table-note-color-2)","font-size":"10.5pt",margin:"10px 0","text-align":"right"}}," *Please see voyage analysis pages for the details. ",-1)),Dy=g(()=>e.createElementVNode("div",{class:"subtitle"},"Good Weather Definition",-1)),xy={class:"weather-definition"},by={key:0,class:e.normalizeClass("main-info main-box page-avoid main-txt}")},Cy=g(()=>e.createElementVNode("div",null,"Exclusion",-1)),Sy=g(()=>e.createElementVNode("div",null,"The following time,distance and amount of consumed fuel have been excluded from the voyage analysis",-1)),ky={class:"remark-table"},Ay=g(()=>e.createElementVNode("thead",null,[e.createElementVNode("tr",null,[e.createElementVNode("td"),e.createElementVNode("td",{style:{width:"40%"}},"Date/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)),By=["innerHTML"],wy={class:"analysis page-title"},Ty={class:"analysis-title"},Oy={class:"analysis-title-detail"},Fy=g(()=>e.createElementVNode("div",{class:"subtitle"},"CP Terms",-1)),Py={class:"page-avoid"},uy={class:"subtitle-table",cellspacing:"0",cellpadding:"0"},Ly=g(()=>e.createElementVNode("td",{class:"daily title"},"CP Type",-1)),Wy=g(()=>e.createElementVNode("td",{class:"title"},"Daily FO Consumption (mt)",-1)),Hy=g(()=>e.createElementVNode("td",{class:"title"},"CP Speed (kts)",-1)),My=g(()=>e.createElementVNode("td",{class:"daily title"},"Daily DO/GO Consumption (mt)",-1)),Gy=g(()=>e.createElementVNode("tr",null,null,-1)),Iy={class:"title"},Ry={class:"title"},zy={class:"title"},Uy={class:"title"},Yy=g(()=>e.createElementVNode("div",{class:"subtitle"},"Good Weather Analysis",-1)),Zy={class:"page-avoid",style:{"margin-bottom":"15px"}},Qy={class:"analysis-table",cellspacing:"0",cellpadding:"0"},Jy=g(()=>e.createElementVNode("tr",null,[e.createElementVNode("td",{class:"title",style:{width:"35%"}}),e.createElementVNode("td",{colspan:"2",class:"title"},"Good Weather"),e.createElementVNode("td",{colspan:"2",class:"title"},"All Weather")],-1)),Ky=g(()=>e.createElementVNode("tr",null,[e.createElementVNode("td",{class:"title"}),e.createElementVNode("td",{class:"title"},"out of ECA"),e.createElementVNode("td",{class:"title"},"in ECA"),e.createElementVNode("td",{class:"title"},"out of ECA"),e.createElementVNode("td",{class:"title"},"in ECA")],-1)),qy=g(()=>e.createElementVNode("td",{class:"title"},"Total Distance (nm)",-1)),Xy={class:"inGoodWx"},jy={class:"inGoodWx"},$y=g(()=>e.createElementVNode("td",{class:"title"},"Total Time (hrs)",-1)),vy={class:"inGoodWx"},e_={class:"inGoodWx"},t_=g(()=>e.createElementVNode("td",{class:"title"},"Average Speed (kts)",-1)),o_={class:"inGoodWx"},l_={class:"inGoodWx"},a_=g(()=>e.createElementVNode("td",{class:"title"},"FO Consumption (mt)",-1)),n_={class:"inGoodWx"},s_={class:"inGoodWx"},i_=g(()=>e.createElementVNode("td",{class:"title"},"Averaged Daily FO Consumption (mt)",-1)),d_={class:"inGoodWx"},c_={class:"inGoodWx"},r_=g(()=>e.createElementVNode("td",{class:"title"},"DO/GO Consumption (mt)",-1)),m_={class:"inGoodWx"},h_={class:"inGoodWx"},p_=g(()=>e.createElementVNode("td",{class:"title"},"Averaged Daily DO/GO Consumption (mt)",-1)),E_={class:"inGoodWx"},y_={class:"inGoodWx"},__={key:0,class:"analysis-tips"},N_={key:1,class:"analysis-definition"},V_={key:2,class:"analysis-definition"},f_=g(()=>e.createElementVNode("br",null,null,-1)),g_={key:3,class:"tr-tips equation-tips",style:{"font-size":"12pt"}},D_=g(()=>e.createElementVNode("span",null,"Good Weather Performance Speed",-1)),x_=g(()=>e.createElementVNode("span",null,"= ",-1)),b_={key:0},C_={key:1},S_={key:2},k_={key:3},A_={key:4,class:"tr-tips equation-tips",style:{"font-size":"12pt"}},B_=g(()=>e.createElementVNode("span",null," All Weather Performance Speed",-1)),w_=g(()=>e.createElementVNode("span",null,"=",-1)),T_={key:0},O_={key:1},F_=g(()=>e.createElementVNode("span",null,"-",-1)),P_=g(()=>e.createElementVNode("span",null,"=",-1)),u_={key:0},L_={key:1},W_={key:6,class:"tr-tips tips-color"},H_={class:"formula page-title"},M_={class:"page-avoid"},G_={class:"subtitle",style:{"margin-top":"0"}},I_={key:0},R_={class:"definition"},z_=g(()=>e.createElementVNode("br",null,null,-1)),U_=g(()=>e.createElementVNode("br",null,null,-1)),Y_=g(()=>e.createElementVNode("br",null,null,-1)),Z_={class:"equation"},Q_=g(()=>e.createElementVNode("div",{style:{width:"35%"}},"Total Time at Good Weather Performance Speed",-1)),J_=g(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"=",-1)),K_={style:{width:"50%"},class:"fraction"},q_=g(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),X_=g(()=>e.createElementVNode("div",null,"Good Weather Performance Speed",-1)),j_=g(()=>e.createElementVNode("div",{style:{width:"10%","text-align":"center"}},"(a)",-1)),$_={class:"equation"},v_={style:{width:"35%"}},eN=g(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"=",-1)),tN={style:{width:"50%"},class:"fraction"},oN=g(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),lN=g(()=>e.createElementVNode("div",{style:{width:"10%","text-align":"center"}},"(b)",-1)),aN={class:"equation"},nN={style:{width:"35%"}},sN=g(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"=",-1)),iN={style:{width:"50%"},class:"fraction"},dN=g(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),cN=g(()=>e.createElementVNode("div",{style:{width:"10%","text-align":"center"}},"(c)",-1)),rN=g(()=>e.createElementVNode("div",null,[e.createElementVNode("span",null,"Time Lost = (a) - (b)"),e.createElementVNode("span",{style:{"margin-left":"20px"}},"Time Gained = (c) - (a)")],-1)),mN={class:"page-avoid"},hN={key:0,class:"definition",style:{margin:"15px 0"}},pN={class:"equation"},EN=g(()=>e.createElementVNode("div",{style:{width:"35%"}},"Total Time at Good Weather Performance Speed",-1)),yN=g(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"=",-1)),_N={style:{width:"35%"},class:"fraction"},NN=g(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),VN=g(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"=",-1)),fN={style:{width:"10%","text-align":"center"}},gN=g(()=>e.createElementVNode("div",{style:{width:"10%","text-align":"center"}},"(a')",-1)),DN={class:"equation"},xN={style:{width:"35%"}},bN=g(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"=",-1)),CN={style:{width:"35%"},class:"fraction"},SN=g(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),kN=g(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"=",-1)),AN={style:{width:"10%","text-align":"center"}},BN=g(()=>e.createElementVNode("div",{style:{width:"10%","text-align":"center"}},"(b')",-1)),wN={class:"equation"},TN={style:{width:"35%"}},ON=g(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"=",-1)),FN={style:{width:"35%"},class:"fraction"},PN=g(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),uN=g(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"=",-1)),LN={style:{width:"10%","text-align":"center"}},WN=g(()=>e.createElementVNode("div",{style:{width:"10%","text-align":"center"}},"(c')",-1)),HN=g(()=>e.createElementVNode("span",null,"=",-1)),MN=g(()=>e.createElementVNode("span",null,"=",-1)),GN=g(()=>e.createElementVNode("span",null,"=",-1)),IN=["innerHTML"],RN={class:"page-avoid"},zN={class:"subtitle page-title"},UN={key:0},YN={class:"definition",style:{"margin-bottom":"15px"}},ZN=g(()=>e.createElementVNode("br",null,null,-1)),QN=g(()=>e.createElementVNode("br",null,null,-1)),JN=g(()=>e.createElementVNode("br",null,null,-1)),KN={class:"equation"},qN=g(()=>e.createElementVNode("div",{style:{width:"25%"}},"Entire Voyage Consumption using Good Weather Consumption",-1)),XN=g(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"=",-1)),jN={style:{width:"25%"},class:"fraction"},$N=g(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),vN=g(()=>e.createElementVNode("div",null,"Good Weather Performance Speed",-1)),eV=g(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"×",-1)),tV=g(()=>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)),oV=g(()=>e.createElementVNode("div",{style:{width:"10%","text-align":"center"}},"(d)",-1)),lV={style:{display:"flex","flex-direction":"column","align-content":"flex-end",width:"100%","flex-wrap":"wrap",transform:"scale(0.9)"}},aV=g(()=>e.createElementVNode("div",null,"* For FO: Good Weather FO Cons. + Good Weather M/E DO/GO Cons. in ECA",-1)),nV={key:0},sV={class:"equation"},iV=g(()=>e.createElementVNode("div",{style:{width:"25%"}},"Max CP Consumption",-1)),dV=g(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"=",-1)),cV={style:{width:"25%"},class:"fraction"},rV=g(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),mV=g(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"×",-1)),hV=g(()=>e.createElementVNode("div",{style:{width:"30%"},class:"fraction"},[e.createElementVNode("div",null,"Daily CP Consumption + Consumer Over"),e.createElementVNode("div",{class:"fractional-line"}),e.createElementVNode("div",null,"24 hours")],-1)),pV=g(()=>e.createElementVNode("div",{style:{width:"10%","text-align":"center"}},"(e)",-1)),EV={class:"equation"},yV=g(()=>e.createElementVNode("div",{style:{width:"25%"}},"Min CP Consumption",-1)),_V=g(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"=",-1)),NV={style:{width:"25%"},class:"fraction"},VV=g(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),fV=g(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"×",-1)),gV=g(()=>e.createElementVNode("div",{style:{width:"30%"},class:"fraction"},[e.createElementVNode("div",null,"Daily CP Consumption - Consumer Under"),e.createElementVNode("div",{class:"fractional-line"}),e.createElementVNode("div",null,"24 hours")],-1)),DV=g(()=>e.createElementVNode("div",{style:{width:"10%","text-align":"center"}},"(f)",-1)),xV=g(()=>e.createElementVNode("div",{style:{"font-weight":"600"}},[e.createElementVNode("span",null,"Fuel Over-consumption = (d) - (e) "),e.createElementVNode("span",{style:{"margin-left":"20px"}},"Fuel Saving = (f) - (d)")],-1)),bV={key:0,class:"equation"},CV=g(()=>e.createElementVNode("div",{style:{width:"25%"}},"Fuel Over-consumption in ECA",-1)),SV=g(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"=",-1)),kV={style:{width:"45%"},class:"fraction"},AV=g(()=>e.createElementVNode("div",null,"ECA Distance × Fuel Over-consumption",-1)),BV=g(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),wV={key:1,class:"equation"},TV=g(()=>e.createElementVNode("div",{style:{width:"25%"}},"Fuel Saving in ECA",-1)),OV=g(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"=",-1)),FV={style:{width:"45%"},class:"fraction"},PV=g(()=>e.createElementVNode("div",null,"ECA Distance × Fuel Saving",-1)),uV=g(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),LV={class:"page-avoid"},WV=g(()=>e.createElementVNode("div",{class:"page-title"},"Fuel Oil Calculation",-1)),HV={key:0,class:"definition",style:{margin:"15px 0"}},MV={class:"equation"},GV=g(()=>e.createElementVNode("div",{style:{width:"25%"}},"Entire Voyage Consumption using Good Weather Consumption",-1)),IV=g(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"=",-1)),RV={style:{width:"20%"},class:"fraction"},zV=g(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),UV=g(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"×",-1)),YV={style:{width:"20%"},class:"fraction"},ZV=g(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),QV=g(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"=",-1)),JV={style:{width:"10%","text-align":"center"}},KV=g(()=>e.createElementVNode("div",{style:{width:"10%","text-align":"center"}},"(d')",-1)),qV={class:"equation"},XV=g(()=>e.createElementVNode("div",{style:{width:"25%"}},"Max CP Consumption",-1)),jV=g(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"=",-1)),$V={style:{width:"20%"},class:"fraction"},vV=g(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),ef=g(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"×",-1)),tf={style:{width:"20%"},class:"fraction"},of=g(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),lf=g(()=>e.createElementVNode("div",null,"24",-1)),af=g(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"=",-1)),nf={style:{width:"10%","text-align":"center"}},sf=g(()=>e.createElementVNode("div",{style:{width:"10%","text-align":"center"}},"(e')",-1)),df={class:"equation"},cf=g(()=>e.createElementVNode("div",{style:{width:"25%"}},"Min CP Consumption",-1)),rf=g(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"=",-1)),mf={style:{width:"20%"},class:"fraction"},hf=g(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),pf=g(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"×",-1)),Ef={style:{width:"20%"},class:"fraction"},yf=g(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),_f=g(()=>e.createElementVNode("div",null,"24",-1)),Nf=g(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"=",-1)),Vf={style:{width:"10%","text-align":"center"}},ff=g(()=>e.createElementVNode("div",{style:{width:"10%","text-align":"center"}},"(f')",-1)),gf=g(()=>e.createElementVNode("span",null,"=",-1)),Df=g(()=>e.createElementVNode("span",null,"=",-1)),xf=g(()=>e.createElementVNode("span",null,"=",-1)),bf={key:0},Cf={key:0,class:"equation"},Sf=g(()=>e.createElementVNode("div",{style:{width:"25%"}},"Fuel Oil Over-consumption in ECA",-1)),kf=g(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"=",-1)),Af={style:{width:"45%"},class:"fraction"},Bf=g(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),wf=g(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"=",-1)),Tf={style:{width:"10%","text-align":"center"}},Of={key:1,class:"equation"},Ff=g(()=>e.createElementVNode("div",{style:{width:"25%"}},"Fuel Oil Saving in ECA",-1)),Pf=g(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"=",-1)),uf={style:{width:"45%"},class:"fraction"},Lf=g(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),Wf=g(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"=",-1)),Hf={style:{width:"10%","text-align":"center"}},Mf=["innerHTML"],Gf={class:"page-avoid"},If={key:0},Rf=g(()=>e.createElementVNode("div",null,"Diesel/Gas Oil Calculation",-1)),zf={key:0,class:"definition",style:{margin:"15px 0"}},Uf={class:"equation"},Yf=g(()=>e.createElementVNode("div",{style:{width:"25%"}},"Entire Voyage Consumption using Good Weather Consumption",-1)),Zf=g(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"=",-1)),Qf={style:{width:"20%"},class:"fraction"},Jf=g(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),Kf=g(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"×",-1)),qf={style:{width:"20%"},class:"fraction"},Xf=g(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),jf=g(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"=",-1)),$f={style:{width:"10%","text-align":"center"}},vf=g(()=>e.createElementVNode("div",{style:{width:"10%","text-align":"center"}},"(d'')",-1)),eg={class:"equation"},tg=g(()=>e.createElementVNode("div",{style:{width:"25%"}},"Max CP Consumption",-1)),og=g(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"=",-1)),lg={style:{width:"20%"},class:"fraction"},ag=g(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),ng=g(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"×",-1)),sg={style:{width:"20%"},class:"fraction"},ig=g(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),dg=g(()=>e.createElementVNode("div",null,"24",-1)),cg=g(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"=",-1)),rg={style:{width:"10%","text-align":"center"}},mg=g(()=>e.createElementVNode("div",{style:{width:"10%","text-align":"center"}},"(e'')",-1)),hg={class:"equation"},pg=g(()=>e.createElementVNode("div",{style:{width:"25%"}},"Min CP Consumption",-1)),Eg=g(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"=",-1)),yg={style:{width:"20%"},class:"fraction"},_g=g(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),Ng=g(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"×",-1)),Vg={style:{width:"20%"},class:"fraction"},fg=g(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),gg=g(()=>e.createElementVNode("div",null,"24",-1)),Dg=g(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"=",-1)),xg={style:{width:"10%","text-align":"center"}},bg=g(()=>e.createElementVNode("div",{style:{width:"10%","text-align":"center"}},"(f'')",-1)),Cg=g(()=>e.createElementVNode("span",null,"=",-1)),Sg=g(()=>e.createElementVNode("span",null,"=",-1)),kg=g(()=>e.createElementVNode("span",null,"=",-1)),Ag=["innerHTML"];function Bg(t,n,o,d,l,a){var y,b,S,E,V,D,r,C,k,T,u,L,O,x,P,R,Z,z,W,f,Y,G,H,K,q,j,X,N,M,J,s,$;const p=e.resolveComponent("IdmBrand"),i=e.resolveComponent("Editor");return e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass((b=(y=o.reportData)==null?void 0:y.weather)!=null&&b.referenceOnly||(E=(S=o.reportData)==null?void 0:S.weather)!=null&&E.overallAsGoodWx?"watermark":"")},[e.createVNode(p,{name:"Voyage Analysis Report"}),e.createElementVNode("img",{src:l.bgSrc,class:"bgImg",alt:""},null,8,LE),e.createElementVNode("div",WE,[e.createElementVNode("div",HE,[e.createElementVNode("div",ME,[e.createElementVNode("img",{src:l.logSrc2,style:{width:"120px",position:"absolute","margin-top":"30px"},alt:""},null,8,GE),e.createElementVNode("div",IE,[RE,e.createElementVNode("div",zE,e.toDisplayString(l.date),1)])]),e.createElementVNode("div",UE,[e.createElementVNode("table",YE,[e.createElementVNode("tr",null,[ZE,e.createElementVNode("td",QE,"    "+e.toDisplayString((V=o.reportData)==null?void 0:V.preparedFor),1)]),e.createElementVNode("tr",null,[JE,e.createElementVNode("td",KE,"    "+e.toDisplayString((r=(D=o.reportData)==null?void 0:D.vessel)==null?void 0:r.name),1)])])]),e.createElementVNode("div",qE,[e.createElementVNode("table",XE,[e.createElementVNode("tr",null,[jE,e.createElementVNode("td",$E,e.toDisplayString((k=(C=o.reportData)==null?void 0:C.vessel)==null?void 0:k.type),1)]),e.createElementVNode("tr",null,[vE,e.createElementVNode("td",ey,e.toDisplayString((u=(T=o.reportData)==null?void 0:T.voyage)==null?void 0:u.loadCondition),1)]),e.createElementVNode("tr",null,[ty,e.createElementVNode("td",oy,e.toDisplayString((O=(L=o.reportData)==null?void 0:L.voyage)==null?void 0:O.number),1)]),e.createElementVNode("tr",null,[ly,e.createElementVNode("td",ay,[e.createElementVNode("span",ny,e.toDisplayString(((P=(x=o.reportData)==null?void 0:x.departure)==null?void 0:P.portName)||a.computedLngLat((Z=(R=o.reportData)==null?void 0:R.departure)==null?void 0:Z.lat,(W=(z=o.reportData)==null?void 0:z.departure)==null?void 0:W.lng)),1),e.createElementVNode("span",null,e.toDisplayString(a.computedTime((Y=(f=o.reportData)==null?void 0:f.departure)==null?void 0:Y.utcTime,"table")),1)])]),e.createElementVNode("tr",null,[sy,e.createElementVNode("td",iy,[e.createElementVNode("span",dy,e.toDisplayString(((H=(G=o.reportData)==null?void 0:G.arrival)==null?void 0:H.portName)||a.computedLngLat((q=(K=o.reportData)==null?void 0:K.arrival)==null?void 0:q.lat,(X=(j=o.reportData)==null?void 0:j.arrival)==null?void 0:X.lng)),1),e.createElementVNode("span",null,e.toDisplayString(a.computedTime((M=(N=o.reportData)==null?void 0:N.arrival)==null?void 0:M.utcTime,"table")),1)])])])]),cy,(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList((J=o.reportData)==null?void 0:J.segments,(c,ee)=>(e.openBlock(),e.createElementBlock("div",{key:"summary"+ee},[e.createElementVNode("div",ry,[e.createElementVNode("div",my,"Seg."+e.toDisplayString(ee+1)+"  ",1),e.createElementVNode("div",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(l.segDetail[ee],(oe,te)=>(e.openBlock(),e.createElementBlock("div",{key:"seg"+te,class:"tips-seg"},e.toDisplayString(oe),1))),128))])]),e.createElementVNode("table",hy,[e.createElementVNode("tr",null,[py,e.createElementVNode("td",Ey,e.toDisplayString(c.allWx.time)+" hrs",1),c.goodWx.distance?(e.openBlock(),e.createElementBlock("td",{key:0,class:e.normalizeClass(a.computedTimeConclusion(c.timeConclusion).className)},e.toDisplayString(a.computedTimeConclusion(c.timeConclusion).conclusion),3)):(e.openBlock(),e.createElementBlock("td",yy,e.toDisplayString(l.noGoodWxDay),1)),c.goodWx.distance?(e.openBlock(),e.createElementBlock("td",{key:2,style:{width:"15%"},class:e.normalizeClass(a.computedTimeConclusion(c.timeConclusion).className)},e.toDisplayString(a.computedTimeConclusion(c.timeConclusion).timeCon),3)):e.createCommentVNode("",!0)]),e.createElementVNode("tr",null,[_y,e.createElementVNode("td",null,e.toDisplayString(c.allWx.sumFoCons)+" mt",1),c.goodWx.distance?(e.openBlock(),e.createElementBlock("td",{key:0,class:e.normalizeClass(a.computedFuelConclusion(c.fuelConclusion.fo,"FO").className)},e.toDisplayString(a.computedFuelConclusion(c.fuelConclusion.fo,"FO").conclusion),3)):(e.openBlock(),e.createElementBlock("td",Ny,e.toDisplayString(l.noGoodWxDay),1)),c.goodWx.distance?(e.openBlock(),e.createElementBlock("td",{key:2,class:e.normalizeClass(a.computedFuelConclusion(c.fuelConclusion.fo,"FO").className)},e.toDisplayString(a.computedFuelConclusion(c.fuelConclusion.fo,"FO").cons),3)):e.createCommentVNode("",!0)]),e.createElementVNode("tr",null,[Vy,e.createElementVNode("td",null,e.toDisplayString(c.allWx.sumDgoCons)+" mt",1),c.goodWx.distance?(e.openBlock(),e.createElementBlock("td",{key:0,class:e.normalizeClass(a.computedFuelConclusion(c.fuelConclusion.dgo,"DGO").className)},e.toDisplayString(a.computedFuelConclusion(c.fuelConclusion.dgo,"DGO").conclusion),3)):(e.openBlock(),e.createElementBlock("td",fy,e.toDisplayString(l.noGoodWxDay),1)),c.goodWx.distance?(e.openBlock(),e.createElementBlock("td",{key:2,class:e.normalizeClass(a.computedFuelConclusion(c.fuelConclusion.dgo,"DGO").className)},e.toDisplayString(a.computedFuelConclusion(c.fuelConclusion.dgo,"DGO").cons),3)):e.createCommentVNode("",!0)])]),gy]))),128)),Dy,e.createElementVNode("div",xy,[e.createElementVNode("div",null,e.toDisplayString(a.computedWeatherDef((s=o.reportData)==null?void 0:s.weather)),1)]),e.createElementVNode("div",{class:e.normalizeClass(`subtitle ${l.advisory&&l.advisory!=="<p><br></p>"||l.excludedTableData.length?"":"print-hidden"}`)},"Remarks",2),l.excludedTableData.length?(e.openBlock(),e.createElementBlock("div",by,[Cy,e.createElementVNode("div",null,[Sy,e.createElementVNode("table",ky,[Ay,e.createElementVNode("tbody",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(l.excludedTableData,(c,ee)=>(e.openBlock(),e.createElementBlock("tr",{key:ee},[e.createElementVNode("td",null,e.toDisplayString(ee+1),1),e.createElementVNode("td",null,e.toDisplayString(c.time),1),e.createElementVNode("td",null,e.toDisplayString(c.duration),1),e.createElementVNode("td",null,e.toDisplayString(c.distance),1),e.createElementVNode("td",null,e.toDisplayString(c.fo),1),e.createElementVNode("td",null,e.toDisplayString(c.dgo),1)]))),128))])])])])):e.createCommentVNode("",!0),e.createElementVNode("div",{class:e.normalizeClass(`main-info main-box page-avoid ${l.advisory&&l.advisory!=="<p><br></p>"?"":"print-hidden"}`),style:{"min-height":"50px"}},[l.editable?(e.openBlock(),e.createBlock(i,{key:0,modelValue:l.advisory,"onUpdate:modelValue":n[0]||(n[0]=c=>l.advisory=c),height:"320px",onBlur:n[1]||(n[1]=c=>a.handleCommit(c))},null,8,["modelValue"])):(e.openBlock(),e.createElementBlock("div",{key:1,class:"remark-txt editor",style:{"min-height":"50px"},onDblclick:n[2]||(n[2]=(...c)=>a.decideDisable&&a.decideDisable(...c)),innerHTML:l.advisory&&l.advisory!=="<p><br></p>"?l.advisory:"Please double click to modify remark"},null,40,By))],2)]),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(($=o.reportData)==null?void 0:$.segments,(c,ee)=>{var oe,te,se,ie,ce,re,he,pe,Ee,de,ye,xe,be,Ce,Se,ke,Ae,Be,Fe,Pe,fe,F,_e,ue,Le,We,we,He,Ke,qe,U,Oe,ze,Ue,Ye,Ze,Qe,Je,_,Q,ge,Te,Me,me,Xe,$e,ve,ot,lt,at,nt,mt,ht,pt,Et,yt,_t,Nt,Vt,ft,gt,Dt,xt,bt,Ct,St,kt,At,Bt,wt,Tt;return e.openBlock(),e.createElementBlock("div",{key:"seg"+ee,class:"page-title"},[e.createElementVNode("div",wy,[e.createElementVNode("div",Ty,"Voyage Analysis - Seg. "+e.toDisplayString(ee+1),1),e.createElementVNode("div",Oy,[e.createElementVNode("div",null,e.toDisplayString((te=(oe=o.reportData)==null?void 0:oe.vessel)==null?void 0:te.name),1),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(l.segDetail[ee],(Ht,ho)=>(e.openBlock(),e.createElementBlock("div",{key:"seg"+ho,class:"tips-seg"},e.toDisplayString(Ht),1))),128))]),Fy,e.createElementVNode("div",Py,[e.createElementVNode("table",uy,[e.createElementVNode("tr",null,[Ly,e.createElementVNode("td",null,e.toDisplayString(c.extend.cp.type),1),Wy,e.createElementVNode("td",null,e.toDisplayString(c.extend.cp.fo),1)]),e.createElementVNode("tr",null,[Hy,e.createElementVNode("td",null,e.toDisplayString(c.extend.cp.speed),1),My,e.createElementVNode("td",null,e.toDisplayString(c.extend.cp.dgo),1)]),Gy,e.createElementVNode("tr",null,[e.createElementVNode("td",Iy,"Speed Over ("+e.toDisplayString(a.computedUnit("speed",c.timeConclusion.spdPercentage))+")",1),e.createElementVNode("td",null,e.toDisplayString(c.timeConclusion.spdOfOver),1),e.createElementVNode("td",Ry,"Consumer Over ("+e.toDisplayString(a.computedUnit("cons",c.fuelConclusion.consPercentage))+")",1),e.createElementVNode("td",null,e.toDisplayString(c.fuelConclusion.consOfOver),1)]),e.createElementVNode("tr",null,[e.createElementVNode("td",zy,"Speed Under ("+e.toDisplayString(a.computedUnit("speed",c.timeConclusion.spdPercentage))+")",1),e.createElementVNode("td",null,e.toDisplayString(c.timeConclusion.spdOfUnder),1),e.createElementVNode("td",Uy,"Consumer Under ("+e.toDisplayString(a.computedUnit("cons",c.fuelConclusion.consPercentage))+")",1),e.createElementVNode("td",null,e.toDisplayString(c.fuelConclusion.consOfUnder),1)])])]),Yy,e.createElementVNode("div",Zy,[e.createElementVNode("table",Qy,[Jy,Ky,e.createElementVNode("tr",null,[qy,e.createElementVNode("td",Xy,e.toDisplayString(c.goodWx.outEca.distance),1),e.createElementVNode("td",jy,e.toDisplayString(c.goodWx.inEca.distance),1),e.createElementVNode("td",null,e.toDisplayString(c.allWx.outEca.distance),1),e.createElementVNode("td",null,e.toDisplayString(c.allWx.inEca.distance),1)]),e.createElementVNode("tr",null,[$y,e.createElementVNode("td",vy,e.toDisplayString(c.goodWx.outEca.time),1),e.createElementVNode("td",e_,e.toDisplayString(c.goodWx.inEca.time),1),e.createElementVNode("td",null,e.toDisplayString(c.allWx.outEca.time),1),e.createElementVNode("td",null,e.toDisplayString(c.allWx.inEca.time),1)]),e.createElementVNode("tr",null,[t_,e.createElementVNode("td",o_,e.toDisplayString(c.goodWx.outEca.avgSpd||"--"),1),e.createElementVNode("td",l_,e.toDisplayString(c.goodWx.inEca.avgSpd||"--"),1),e.createElementVNode("td",null,e.toDisplayString(c.allWx.outEca.avgSpd||"--"),1),e.createElementVNode("td",null,e.toDisplayString(c.allWx.inEca.avgSpd||"--"),1)]),e.createElementVNode("tr",null,[a_,e.createElementVNode("td",n_,e.toDisplayString(c.goodWx.outEca.sumFoCons||"--"),1),e.createElementVNode("td",s_,e.toDisplayString(c.goodWx.inEca.sumFoCons||"--"),1),e.createElementVNode("td",null,e.toDisplayString(c.allWx.outEca.sumFoCons||"--"),1),e.createElementVNode("td",null,e.toDisplayString(c.allWx.inEca.sumFoCons||"--"),1)]),e.createElementVNode("tr",null,[i_,e.createElementVNode("td",d_,e.toDisplayString(c.goodWx.outEca.avgFoCons||"--"),1),e.createElementVNode("td",c_,e.toDisplayString(c.goodWx.inEca.avgFoCons||"--"),1),e.createElementVNode("td",null,e.toDisplayString(c.allWx.outEca.avgFoCons||"--"),1),e.createElementVNode("td",null,e.toDisplayString(c.allWx.inEca.avgFoCons||"--"),1)]),e.createElementVNode("tr",null,[r_,e.createElementVNode("td",m_,e.toDisplayString(c.goodWx.outEca.sumDgoCons||"--"),1),e.createElementVNode("td",h_,e.toDisplayString(c.goodWx.inEca.sumDgoCons||"--"),1),e.createElementVNode("td",null,e.toDisplayString(c.allWx.outEca.sumDgoCons||"--"),1),e.createElementVNode("td",null,e.toDisplayString(c.allWx.inEca.sumDgoCons||"--"),1)]),e.createElementVNode("tr",null,[p_,e.createElementVNode("td",E_,e.toDisplayString(c.goodWx.outEca.avgDgoCons||"--"),1),e.createElementVNode("td",y_,e.toDisplayString(c.goodWx.inEca.avgDgoCons||"--"),1),e.createElementVNode("td",null,e.toDisplayString(c.allWx.outEca.avgDgoCons||"--"),1),e.createElementVNode("td",null,e.toDisplayString(c.allWx.inEca.avgDgoCons||"--"),1)])])]),l.excludedTableData.length?(e.openBlock(),e.createElementBlock("div",__," The exclusion time, distance and amount of consumed fuel have been excluded from the Performance Speed Evaluation. ")):e.createCommentVNode("",!0),c.goodWx.distance?(e.openBlock(),e.createElementBlock("div",N_," Good Weather Performance Speed = Good Weather Average Speed "+e.toDisplayString((ie=(se=o.reportData)==null?void 0:se.weather)!=null&&ie.favorableCur&&c.goodWx.avgCf>0?"":"- Good Weather Current Factor"),1)):(e.openBlock(),e.createElementBlock("div",V_,[e.createTextVNode(" No Charter Party defined good weather was found. "),f_,e.createTextVNode(" All Weather Performance Speed = Average Speed "+e.toDisplayString((re=(ce=o.reportData)==null?void 0:ce.weather)!=null&&re.favorableCur&&c.allWx.avgCf>0?"":"- Current Factor")+" - Weather Factor ",1)])),c.goodWx.distance?(e.openBlock(),e.createElementBlock("div",g_,[D_,x_,(pe=(he=o.reportData)==null?void 0:he.weather)!=null&&pe.favorableCur&&c.goodWx.avgCf>0?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("span",b_,e.toDisplayString(c.goodWx.avgSpd),1)),(de=(Ee=o.reportData)==null?void 0:Ee.weather)!=null&&de.favorableCur&&c.goodWx.avgCf>0?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("span",C_,"-")),(xe=(ye=o.reportData)==null?void 0:ye.weather)!=null&&xe.favorableCur&&c.goodWx.avgCf>0?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("span",S_,e.toDisplayString(`${a.computedPositive(c.goodWx.avgCf)}`),1)),(Ce=(be=o.reportData)==null?void 0:be.weather)!=null&&Ce.favorableCur&&c.goodWx.avgCf>0?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("span",k_,"=")),e.createElementVNode("span",null,e.toDisplayString(c.goodWx.pfmSpd)+" (kts)",1)])):(e.openBlock(),e.createElementBlock("div",A_,[B_,w_,e.createElementVNode("span",null,e.toDisplayString(c.allWx.avgSpd),1),(ke=(Se=o.reportData)==null?void 0:Se.weather)!=null&&ke.favorableCur&&c.allWx.avgCf>0?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("span",T_,"-")),(Be=(Ae=o.reportData)==null?void 0:Ae.weather)!=null&&Be.favorableCur&&c.allWx.avgCf>0?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("span",O_,e.toDisplayString(`${a.computedPositive(c.allWx.avgCf)}`),1)),F_,e.createElementVNode("span",null,e.toDisplayString(`${a.computedPositive(c.allWx.avgWf)}`),1),P_,e.createElementVNode("span",null,e.toDisplayString(c.allWx.pfmSpd)+" (kts)",1)])),c.goodWx.distance?(e.openBlock(),e.createElementBlock("div",{key:5,class:e.normalizeClass(`tr-tips ${a.computedColor(c.goodWx.pfmStatus,"pfm",!1)}`)},[e.createTextVNode(" Good Weather Performance Speed: "+e.toDisplayString(c.goodWx.pfmSpd)+" (kts) ",1),c.goodWx.pfmStatus==="Under"?(e.openBlock(),e.createElementBlock("span",u_,"(Under-performance)")):e.createCommentVNode("",!0),c.goodWx.pfmStatus==="Over"?(e.openBlock(),e.createElementBlock("span",L_,"(Over-performance)")):e.createCommentVNode("",!0)],2)):(e.openBlock(),e.createElementBlock("div",W_,e.toDisplayString(l.noGoodWxDay),1))]),e.createElementVNode("div",H_,[e.createElementVNode("div",M_,[e.createElementVNode("div",G_,[e.createTextVNode(" Time Analysis "),(Pe=(Fe=o.reportData)==null?void 0:Fe.weather)!=null&&Pe.noExtrapolation?(e.openBlock(),e.createElementBlock("span",I_,"( no extrapolation beyond the good weather period ) ")):e.createCommentVNode("",!0)]),e.createElementVNode("div",R_,[e.createTextVNode(" Time Lost: Total Time at Good Weather Performance Speed > Total Time at (CP Speed - "+e.toDisplayString(c.timeConclusion.abt4SpdUnder)+" "+e.toDisplayString(a.computedUnit("speed",c.timeConclusion.spdPercentage))+") ",1),z_,e.createTextVNode(" Time Gained: Total Time at Good Weather Performance Speed < Total Time at (CP Speed + "+e.toDisplayString(c.timeConclusion.abt4SpdOver)+" "+e.toDisplayString(a.computedUnit("speed",c.timeConclusion.spdPercentage))+") ",1),U_,e.createTextVNode(" No Time Lost and Gained: Total Time at (CP Speed + "+e.toDisplayString(c.timeConclusion.abt4SpdOver)+" "+e.toDisplayString(a.computedUnit("speed",c.timeConclusion.spdPercentage))+") ≤ Total Time at Good Weather Performance Speed ≤ Total Time at (CP Speed - "+e.toDisplayString(c.timeConclusion.abt4SpdUnder)+" "+e.toDisplayString(a.computedUnit("speed",c.timeConclusion.spdPercentage))+") ",1),Y_,e.createElementVNode("div",Z_,[Q_,J_,e.createElementVNode("div",K_,[e.createElementVNode("div",null,e.toDisplayString((F=(fe=o.reportData)==null?void 0:fe.weather)!=null&&F.noExtrapolation?"Total Distance At Good Weather":"Total Distance"),1),q_,X_]),j_]),e.createElementVNode("div",$_,[e.createElementVNode("div",v_," Total Time at (CP Speed - "+e.toDisplayString(c.timeConclusion.abt4SpdUnder)+" "+e.toDisplayString(a.computedUnit("speed",c.timeConclusion.spdPercentage))+") ",1),eN,e.createElementVNode("div",tN,[e.createElementVNode("div",null,e.toDisplayString((ue=(_e=o.reportData)==null?void 0:_e.weather)!=null&&ue.noExtrapolation?"Total Distance At Good Weather":"Total Distance"),1),oN,e.createElementVNode("div",null,"CP Speed - "+e.toDisplayString(c.timeConclusion.abt4SpdUnder)+" kts",1)]),lN]),e.createElementVNode("div",aN,[e.createElementVNode("div",nN," Total Time at (CP Speed + "+e.toDisplayString(c.timeConclusion.abt4SpdOver)+" "+e.toDisplayString(a.computedUnit("speed",c.timeConclusion.spdPercentage))+") ",1),sN,e.createElementVNode("div",iN,[e.createElementVNode("div",null,e.toDisplayString((We=(Le=o.reportData)==null?void 0:Le.weather)!=null&&We.noExtrapolation?"Total Distance At Good Weather":"Total Distance"),1),dN,e.createElementVNode("div",null,"CP Speed + "+e.toDisplayString(c.timeConclusion.abt4SpdOver)+" kts",1)]),cN]),rN])]),e.createElementVNode("div",mN,[c.goodWx.distance?(e.openBlock(),e.createElementBlock("div",hN,[e.createElementVNode("div",pN,[EN,yN,e.createElementVNode("div",_N,[e.createElementVNode("div",null,e.toDisplayString((He=(we=o.reportData)==null?void 0:we.weather)!=null&&He.noExtrapolation?c.goodWx.distance:c.allWx.distance),1),NN,e.createElementVNode("div",null,e.toDisplayString(c.goodWx.pfmSpd),1)]),VN,e.createElementVNode("div",fN,e.toDisplayString(c.timeConclusion.timeAtPfmSpd)+" (hrs)",1),gN]),e.createElementVNode("div",DN,[e.createElementVNode("div",xN," Total Time at (CP Speed - "+e.toDisplayString(c.timeConclusion.abt4SpdUnder)+" "+e.toDisplayString(a.computedUnit("speed",c.timeConclusion.spdPercentage))+") ",1),bN,e.createElementVNode("div",CN,[e.createElementVNode("div",null,e.toDisplayString((qe=(Ke=o.reportData)==null?void 0:Ke.weather)!=null&&qe.noExtrapolation?c.goodWx.distance:c.allWx.distance),1),SN,e.createElementVNode("div",null,e.toDisplayString(c.timeConclusion.minusAbtSpd),1)]),kN,e.createElementVNode("div",AN,e.toDisplayString(c.timeConclusion.timeAtMinusAbtSpd)+" (hrs)",1),BN]),e.createElementVNode("div",wN,[e.createElementVNode("div",TN," Total Time at (CP Speed + "+e.toDisplayString(c.timeConclusion.abt4SpdOver)+" "+e.toDisplayString(a.computedUnit("speed",c.timeConclusion.spdPercentage))+") ",1),ON,e.createElementVNode("div",FN,[e.createElementVNode("div",null,e.toDisplayString((Oe=(U=o.reportData)==null?void 0:U.weather)!=null&&Oe.noExtrapolation?c.goodWx.distance:c.allWx.distance),1),PN,e.createElementVNode("div",null,e.toDisplayString(c.timeConclusion.plusAbtSpd),1)]),uN,e.createElementVNode("div",LN,e.toDisplayString(c.timeConclusion.timeAtPlusAbtSpd)+" (hrs)",1),WN]),e.createElementVNode("div",null,[c.timeConclusion.conclusionStatus!=="No"?(e.openBlock(),e.createElementBlock("span",{key:0,class:e.normalizeClass(`equation-tips ${a.computedColor(c.timeConclusion.conclusionStatus,"time",!0)}`)},[e.createElementVNode("span",null,e.toDisplayString(c.timeConclusion.conclusionStatus==="Lost"?"Time Lost":"Time Gained"),1),HN,e.createElementVNode("span",null,e.toDisplayString(c.timeConclusion.conclusionStatus==="Lost"?"(a') - (b')":"(c') - (a')"),1),MN,e.createElementVNode("span",null,e.toDisplayString(c.timeConclusion.conclusionStatus==="Lost"?c.timeConclusion.timeAtPfmSpd:c.timeConclusion.timeAtPlusAbtSpd)+" - "+e.toDisplayString(c.timeConclusion.conclusionStatus==="Lost"?c.timeConclusion.timeAtMinusAbtSpd:c.timeConclusion.timeAtPfmSpd),1),GN,e.createElementVNode("span",null,e.toDisplayString(c.timeConclusion.conclusionStatus==="Lost"?c.timeConclusion.timeLost:c.timeConclusion.timeGain)+" (hrs)",1)],2)):e.createCommentVNode("",!0)])])):e.createCommentVNode("",!0),c.goodWx.distance?(e.openBlock(),e.createElementBlock("div",{key:1,class:e.normalizeClass(`tr-tips ${a.computedColor(c.timeConclusion.conclusionStatus,"time",!1)} `)}," Conclusion :  "+e.toDisplayString(((ze=c.timeConclusion)==null?void 0:ze.conclusion)||""),3)):(e.openBlock(),e.createElementBlock("div",{key:2,class:"tr-tips tips-color",style:{margin:"15px 0"},innerHTML:l.noGoodWxDay},null,8,IN))]),e.createElementVNode("div",RN,[e.createElementVNode("div",zN,[e.createTextVNode(" Consumption Analysis "),(Ye=(Ue=o.reportData)==null?void 0:Ue.weather)!=null&&Ye.noExtrapolation?(e.openBlock(),e.createElementBlock("span",UN,"( no extrapolation beyond the good weather period ) ")):e.createCommentVNode("",!0)]),e.createElementVNode("div",null,[e.createElementVNode("div",YN,[e.createTextVNode(" Fuel Over-consumption: Entire Voyage Consumption using Good Weather Consumption > Max CP Consumption "),ZN,e.createTextVNode(" Fuel Saving: Entire Voyage Consumption using Good Weather Consumption < Min CP Consumption "),QN,e.createTextVNode(" No Fuel Over-consumption or Saving: Min CP Consumption ≤ Entire Voyage Consumption using Good Weather Consumption ≤ Max CP Consumption "),JN,e.createElementVNode("div",KN,[qN,XN,e.createElementVNode("div",jN,[e.createElementVNode("div",null,e.toDisplayString((Qe=(Ze=o.reportData)==null?void 0:Ze.weather)!=null&&Qe.noExtrapolation?"Total Distance At Good Weather":"Total Distance"),1),$N,vN]),eV,tV,oV]),e.createElementVNode("div",lV,[aV,((_=(Je=c.extend)==null?void 0:Je.cp)==null?void 0:_.dgo)>0?(e.openBlock(),e.createElementBlock("div",nV,"* For DO/GO: Good Weather DO/GO Cons. - Good Weather M/E DO/GO Cons. in ECA")):e.createCommentVNode("",!0)]),e.createElementVNode("div",sV,[iV,dV,e.createElementVNode("div",cV,[e.createElementVNode("div",null,e.toDisplayString((ge=(Q=o.reportData)==null?void 0:Q.weather)!=null&&ge.noExtrapolation?"Total Distance At Good Weather":"Total Distance"),1),rV,e.createElementVNode("div",null,"CP Speed - "+e.toDisplayString(c.timeConclusion.abt4SpdUnder)+" "+e.toDisplayString(a.computedUnit("speed",c.timeConclusion.spdPercentage)),1)]),mV,hV,pV]),e.createElementVNode("div",EV,[yV,_V,e.createElementVNode("div",NV,[e.createElementVNode("div",null,e.toDisplayString((Me=(Te=o.reportData)==null?void 0:Te.weather)!=null&&Me.noExtrapolation?"Total Distance At Good Weather":"Total Distance"),1),VV,e.createElementVNode("div",null,"CP Speed - "+e.toDisplayString(c.timeConclusion.abt4SpdUnder)+" "+e.toDisplayString(a.computedUnit("speed",c.timeConclusion.spdPercentage)),1)]),fV,gV,DV]),xV,((Xe=(me=c.extend)==null?void 0:me.cp)==null?void 0:Xe.dgo)>0?(e.openBlock(),e.createElementBlock("div",bV,[CV,SV,e.createElementVNode("div",kV,[AV,BV,e.createElementVNode("div",null,e.toDisplayString((ve=($e=o.reportData)==null?void 0:$e.weather)!=null&&ve.noExtrapolation?"Total Distance At Good Weather":"Total Distance"),1)])])):e.createCommentVNode("",!0),((lt=(ot=c.extend)==null?void 0:ot.cp)==null?void 0:lt.dgo)>0?(e.openBlock(),e.createElementBlock("div",wV,[TV,OV,e.createElementVNode("div",FV,[PV,uV,e.createElementVNode("div",null,e.toDisplayString((nt=(at=o.reportData)==null?void 0:at.weather)!=null&&nt.noExtrapolation?"Total Distance At Good Weather":"Total Distance"),1)])])):e.createCommentVNode("",!0)])])]),e.createElementVNode("div",LV,[WV,c.goodWx.distance?(e.openBlock(),e.createElementBlock("div",HV,[e.createElementVNode("div",MV,[GV,IV,e.createElementVNode("div",RV,[e.createElementVNode("div",null,e.toDisplayString((ht=(mt=o.reportData)==null?void 0:mt.weather)!=null&&ht.noExtrapolation?c.goodWx.distance:c.allWx.distance),1),zV,e.createElementVNode("div",null,e.toDisplayString(c.goodWx.pfmSpd),1)]),UV,e.createElementVNode("div",YV,[e.createElementVNode("div",null,e.toDisplayString(c.goodWx.sumFoCons)+" "+e.toDisplayString(c.allWx.inEca.distance>0?` + ${c.fuelConclusion.fo.dgoAsFoCons}`:""),1),ZV,e.createElementVNode("div",null,e.toDisplayString(c.goodWx.time),1)]),QV,e.createElementVNode("div",JV,e.toDisplayString(c.fuelConclusion.fo.entireCons)+" (mt)",1),KV]),e.createElementVNode("div",qV,[XV,jV,e.createElementVNode("div",$V,[e.createElementVNode("div",null,e.toDisplayString((Et=(pt=o.reportData)==null?void 0:pt.weather)!=null&&Et.noExtrapolation?c.goodWx.distance:c.allWx.distance),1),vV,e.createElementVNode("div",null,e.toDisplayString(c.timeConclusion.minusAbtSpd),1)]),ef,e.createElementVNode("div",tf,[e.createElementVNode("div",null,e.toDisplayString(c.fuelConclusion.fo.overTolerance),1),of,lf]),af,e.createElementVNode("div",nf,e.toDisplayString(c.fuelConclusion.fo.maxCons)+" (mt)",1),sf]),e.createElementVNode("div",df,[cf,rf,e.createElementVNode("div",mf,[e.createElementVNode("div",null,e.toDisplayString((_t=(yt=o.reportData)==null?void 0:yt.weather)!=null&&_t.noExtrapolation?c.goodWx.distance:c.allWx.distance),1),hf,e.createElementVNode("div",null,e.toDisplayString(c.timeConclusion.minusAbtSpd),1)]),pf,e.createElementVNode("div",Ef,[e.createElementVNode("div",null,e.toDisplayString(c.fuelConclusion.fo.underTolerance),1),yf,_f]),Nf,e.createElementVNode("div",Vf,e.toDisplayString(c.fuelConclusion.fo.minCons)+" (mt)",1),ff]),e.createElementVNode("div",null,[c.fuelConclusion.fo.conclusionStatus!=="No"?(e.openBlock(),e.createElementBlock("span",{key:0,class:e.normalizeClass(`equation-tips ${a.computedColor(c.fuelConclusion.fo.conclusionStatus,"fuel",!0)}`)},[e.createElementVNode("span",null,e.toDisplayString(c.fuelConclusion.fo.conclusionStatus==="Over"?"Fuel Oil Over-consumption":"Fuel Oil Under-consumption"),1),gf,e.createElementVNode("span",null,e.toDisplayString(c.fuelConclusion.fo.conclusionStatus==="Over"?"(d') - (e')":"(f') - (d')"),1),Df,e.createElementVNode("span",null,e.toDisplayString(c.fuelConclusion.fo.conclusionStatus==="Over"?c.fuelConclusion.fo.entireCons:c.fuelConclusion.fo.minCons)+" - "+e.toDisplayString(c.fuelConclusion.fo.conclusionStatus==="Over"?c.fuelConclusion.fo.maxCons:c.fuelConclusion.fo.entireCons),1),xf,e.createElementVNode("span",null,e.toDisplayString(c.fuelConclusion.fo.conclusionStatus==="Over"?c.fuelConclusion.fo.overCons:c.fuelConclusion.fo.saving)+" (mt)",1)],2)):e.createCommentVNode("",!0)]),c.allWx.inEca.distance&&c.fuelConclusion.fo.conclusionStatus!=="No"?(e.openBlock(),e.createElementBlock("div",bf,[c.fuelConclusion.fo.conclusionStatus==="Over"?(e.openBlock(),e.createElementBlock("div",Cf,[Sf,kf,e.createElementVNode("div",Af,[e.createElementVNode("div",null,e.toDisplayString(c.goodWx.inEca.distance)+" × "+e.toDisplayString(c.fuelConclusion.fo.overCons),1),Bf,e.createElementVNode("div",null,e.toDisplayString((Vt=(Nt=o.reportData)==null?void 0:Nt.weather)!=null&&Vt.noExtrapolation?c.goodWx.distance:c.allWx.distance),1)]),wf,e.createElementVNode("div",Tf,e.toDisplayString(c.fuelConclusion.fo.foOverConsInEca)+" (mt)",1)])):(e.openBlock(),e.createElementBlock("div",Of,[Ff,Pf,e.createElementVNode("div",uf,[e.createElementVNode("div",null,e.toDisplayString((gt=(ft=o.reportData)==null?void 0:ft.weather)!=null&&gt.noExtrapolation?c.goodWx.inEca.distance:c.allWx.inEca.distance)+" × "+e.toDisplayString(c.fuelConclusion.fo.saving),1),Lf,e.createElementVNode("div",null,e.toDisplayString((xt=(Dt=o.reportData)==null?void 0:Dt.weather)!=null&&xt.noExtrapolation?c.goodWx.distance:c.allWx.distance),1)]),Wf,e.createElementVNode("div",Hf,e.toDisplayString(c.fuelConclusion.fo.foSavingInEca)+" (mt)",1)]))])):e.createCommentVNode("",!0)])):e.createCommentVNode("",!0),c.goodWx.distance?(e.openBlock(),e.createElementBlock("div",{key:1,class:e.normalizeClass(`tr-tips ${a.computedColor(c.fuelConclusion.fo.conclusionStatus,"fuel",!1)} `)}," Conclusion: "+e.toDisplayString(c.fuelConclusion.fo.conclusion),3)):(e.openBlock(),e.createElementBlock("div",{key:2,class:"tr-tips tips-color",innerHTML:l.noGoodWxDay},null,8,Mf))]),e.createElementVNode("div",Gf,[((Ct=(bt=c.extend)==null?void 0:bt.cp)==null?void 0:Ct.dgo)>0?(e.openBlock(),e.createElementBlock("div",If,[Rf,c.goodWx.distance?(e.openBlock(),e.createElementBlock("div",zf,[e.createElementVNode("div",Uf,[Yf,Zf,e.createElementVNode("div",Qf,[e.createElementVNode("div",null,e.toDisplayString((kt=(St=o.reportData)==null?void 0:St.weather)!=null&&kt.noExtrapolation?c.goodWx.distance:c.allWx.distance),1),Jf,e.createElementVNode("div",null,e.toDisplayString(c.goodWx.pfmSpd),1)]),Kf,e.createElementVNode("div",qf,[e.createElementVNode("div",null,e.toDisplayString(c.goodWx.sumDgoCons)+" "+e.toDisplayString(c.allWx.inEca.distance>0?` - ${c.fuelConclusion.fo.dgoAsFoCons}`:""),1),Xf,e.createElementVNode("div",null,e.toDisplayString(c.goodWx.time),1)]),jf,e.createElementVNode("div",$f,e.toDisplayString(c.fuelConclusion.dgo.entireCons)+" (mt)",1),vf]),e.createElementVNode("div",eg,[tg,og,e.createElementVNode("div",lg,[e.createElementVNode("div",null,e.toDisplayString((Bt=(At=o.reportData)==null?void 0:At.weather)!=null&&Bt.noExtrapolation?c.goodWx.distance:c.allWx.distance),1),ag,e.createElementVNode("div",null,e.toDisplayString(c.timeConclusion.minusAbtSpd),1)]),ng,e.createElementVNode("div",sg,[e.createElementVNode("div",null,e.toDisplayString(c.fuelConclusion.dgo.overTolerance),1),ig,dg]),cg,e.createElementVNode("div",rg,e.toDisplayString(c.fuelConclusion.dgo.maxCons)+" (mt)",1),mg]),e.createElementVNode("div",hg,[pg,Eg,e.createElementVNode("div",yg,[e.createElementVNode("div",null,e.toDisplayString((Tt=(wt=o.reportData)==null?void 0:wt.weather)!=null&&Tt.noExtrapolation?c.goodWx.distance:c.allWx.distance),1),_g,e.createElementVNode("div",null,e.toDisplayString(c.timeConclusion.minusAbtSpd),1)]),Ng,e.createElementVNode("div",Vg,[e.createElementVNode("div",null,e.toDisplayString(c.fuelConclusion.dgo.underTolerance),1),fg,gg]),Dg,e.createElementVNode("div",xg,e.toDisplayString(c.fuelConclusion.dgo.minCons)+" (mt)",1),bg]),e.createElementVNode("div",null,[c.fuelConclusion.dgo.conclusionStatus!=="No"?(e.openBlock(),e.createElementBlock("span",{key:0,class:e.normalizeClass(`equation-tips ${a.computedColor(c.fuelConclusion.dgo.conclusionStatus,"fuel",!0)}`)},[e.createElementVNode("span",null,e.toDisplayString(c.fuelConclusion.dgo.conclusionStatus==="Over"?"Diesel/Gas Oil Over-consumption":"Diesel/Gas Oil Under-consumption"),1),Cg,e.createElementVNode("span",null,e.toDisplayString(c.fuelConclusion.dgo.conclusionStatus==="Over"?"(d'') - (e'')":"(f'') - (d'')"),1),Sg,e.createElementVNode("span",null,e.toDisplayString(c.fuelConclusion.dgo.conclusionStatus==="Over"?c.fuelConclusion.dgo.entireCons:c.fuelConclusion.dgo.minCons)+" - "+e.toDisplayString(c.fuelConclusion.dgo.conclusionStatus==="Over"?c.fuelConclusion.dgo.maxCons:c.fuelConclusion.dgo.entireCons),1),kg,e.createElementVNode("span",null,e.toDisplayString(c.fuelConclusion.dgo.conclusionStatus==="Over"?c.fuelConclusion.dgo.overCons:c.fuelConclusion.dgo.saving)+" (mt)",1)],2)):e.createCommentVNode("",!0)])])):e.createCommentVNode("",!0),c.goodWx.distance?(e.openBlock(),e.createElementBlock("div",{key:1,class:e.normalizeClass(`tr-tips ${a.computedColor(c.fuelConclusion.dgo.conclusionStatus,"fuel",!1)}`)}," Conclusion: "+e.toDisplayString(c.fuelConclusion.dgo.conclusion),3)):(e.openBlock(),e.createElementBlock("div",{key:2,class:"tr-tips color-normal",innerHTML:l.noGoodWxDay},null,8,Ag))])):e.createCommentVNode("",!0)])])])}),128))])],2)}const wg=De(uE,[["render",Bg],["__scopeId","data-v-6f2b44b1"]]),Wee="",Tg={props:{reportData:{type:Object,default:()=>({})},isAdmin:{type:Boolean,default:()=>!1}},data(){return{date:"",showCF:!1,showAisDistance:!0,showSig:!0,showSwell:!0,showWave:!0,summaryTable:[],typeList:[]}},computed:{computeRoundPrecision(){return function(t,n=2){return t==="--"?"--":v.roundPrecision(t,n)}},computeColspan(){let t=11;return this.showCF||(t=t-2),this.showAisDistance||(t=t-2),this.showWave||(t=t-1),this.showSwell||(t=t-2),this.showSig||(t=t-1),t},computedClass(){return function(t,n,o){let d="";return n&&(d=t.abbreviation==="A"||t.abbreviation==="B"?"td-no-bottom":""),t.goodWx===!0&&!o&&(d=d+" good-weather"),t.excluded===!0&&!o&&(d=d+" excluded"),d}},computedPort(){return function(t){return!((t.abbreviation==="E"||t.abbreviation==="B")&&t.noon&&t.noon.port)}},computedTime(){return function(t,n){return n==="subtitle"?w(t).utc().format("MMMM-DD, YYYY/HHmm [Z]"):n==="table"?w(t).utc().format("MMMM-DD/HHmm[Z]"):w(t).utc().format("dddd, MMMM D, YYYY")}}},mounted(){},watch:{reportData:{handler(t){t!=null&&t.id&&this.$nextTick(()=>{this.checkData()})},immediate:!0}},methods:{getLonLat(t){return`${t.degree}°${v.roundPrecision(t.minute,1)}′${t.direction}`},checkData(){var o,d,l,a,p,i,y,b,S,E,V,D;this.showCF=((d=(o=this.reportData)==null?void 0:o.weather)==null?void 0:d.showCF)??!1,this.showAisDistance=((a=(l=this.reportData)==null?void 0:l.weather)==null?void 0:a.showAisDistance)??!0,this.showSig=((i=(p=this.reportData)==null?void 0:p.weather)==null?void 0:i.showSig)??!0,this.showSwell=((b=(y=this.reportData)==null?void 0:y.weather)==null?void 0:b.showSwell)??!0,this.showWave=((E=(S=this.reportData)==null?void 0:S.weather)==null?void 0:E.showWave)??!0;let t=[];(D=(V=this.reportData)==null?void 0:V.segments)==null||D.forEach(r=>{let C=r.extend.cp;r.inventory.sample.hours.forEach(k=>{let T=JSON.parse(JSON.stringify(k));T.cp=C,t.push(T)})}),t.sort(function(r,C){let k=r.date,T=C.date;return k-T});let n="";t.forEach(r=>{r.seg!==n&&(r.isFirstSeg=!0,n=r.seg);let C=r.type.charAt(0);r.abbreviation=C,C==="M"?C="*":C==="A"&&(C=""),r.dateTime=C+" "+w(r.utc).utc().format("MM/DD HHmm[Z]"),r.lngPretty=this.getLonLat(v.LngLatHelper.lng2pretty(r.lng)),r.latPretty=this.getLonLat(v.LngLatHelper.lat2pretty(r.lat))}),this.summaryTable=t}}},Ne=t=>(e.pushScopeId("data-v-9fe5beca"),t=t(),e.popScopeId(),t),Og={class:"table",id:"second-table"},Fg=Ne(()=>e.createElementVNode("div",{class:"table-title"},"Speed and Consumption with Weather Analysis",-1)),Pg={class:"subtitle"},ug={class:"introduce"},Lg={class:"introduce-ship"},Wg={style:{"margin-bottom":"15px"}},Hg=Ne(()=>e.createElementVNode("thead",null,[e.createElementVNode("tr",null,[e.createElementVNode("th",{rowspan:"2"},"Seg."),e.createElementVNode("th",{rowspan:"2"},"Periods"),e.createElementVNode("th",{rowspan:"2"},[e.createTextVNode(" Distance "),e.createElementVNode("br"),e.createTextVNode(" (nm) ")]),e.createElementVNode("th",{rowspan:"2"},[e.createTextVNode(" Time "),e.createElementVNode("br"),e.createTextVNode(" (hrs) ")]),e.createElementVNode("th",{rowspan:"2"},[e.createTextVNode("Average Speed "),e.createElementVNode("br"),e.createTextVNode("(kts)")]),e.createElementVNode("th",{colspan:"2"},"Total Consumption (mt)")]),e.createElementVNode("tr",null,[e.createElementVNode("th",null,"FO"),e.createElementVNode("th",null,"DO/GO")])],-1)),Mg={rowspan:"4"},Gg=Ne(()=>e.createElementVNode("td",null,"Entire Period",-1)),Ig=Ne(()=>e.createElementVNode("td",null,"Good weather period",-1)),Rg=Ne(()=>e.createElementVNode("td",null,"Adverse weather period",-1)),zg=Ne(()=>e.createElementVNode("td",null,"Excluded period",-1)),Ug=e.createStaticVNode('<div class="table-legend" data-v-9fe5beca><div style="background-color:var(--goodWx-bg-color);" class="legend" data-v-9fe5beca></div><div style="transform:scale(0.85);" data-v-9fe5beca>Charter Party defined Good Weather Days</div><div style="background-color:var(--table-bg-color);" class="legend" data-v-9fe5beca></div><div style="transform:scale(0.85);" data-v-9fe5beca>Charter Party defined Adverse Weather Days</div><div style="background-color:var(--exclude-bg-color);" class="legend" data-v-9fe5beca></div><div style="transform:scale(0.85);" data-v-9fe5beca>Excluded periods from analysis</div><div style="transform:scale(0.85);" data-v-9fe5beca>B : BOSP report   N : NOON report   E : EOSP report   * : Ship reported position</div></div>',1),Yg={class:"summary-table"},Zg=Ne(()=>e.createElementVNode("th",{rowspan:"3"},"Seg",-1)),Qg=Ne(()=>e.createElementVNode("th",{rowspan:"3"},"    Date    ",-1)),Jg=Ne(()=>e.createElementVNode("th",{colspan:"2"},"Position",-1)),Kg=Ne(()=>e.createElementVNode("th",{colspan:"3"},"CP",-1)),qg=["colspan"],Xg={key:0,colspan:"2"},jg=Ne(()=>e.createElementVNode("th",{colspan:"12"},"Vessel Noon Reported",-1)),$g=Ne(()=>e.createElementVNode("th",{rowspan:"3"},"In ECA",-1)),vg=Ne(()=>e.createElementVNode("th",{rowspan:"2"},"Lat",-1)),e2=Ne(()=>e.createElementVNode("th",{rowspan:"2"},"Lon",-1)),t2=Ne(()=>e.createElementVNode("th",{rowspan:"2"},[e.createTextVNode("Spd "),e.createElementVNode("br"),e.createTextVNode("(kts)")],-1)),o2=Ne(()=>e.createElementVNode("th",{colspan:"2"},"Daily Cons.(mt)",-1)),l2={key:0,rowspan:"2"},a2=Ne(()=>e.createElementVNode("br",null,null,-1)),n2={key:1,rowspan:"2"},s2=Ne(()=>e.createElementVNode("br",null,null,-1)),i2=Ne(()=>e.createElementVNode("th",{colspan:"2"},"Wind",-1)),d2={key:2,rowspan:"2"},c2=Ne(()=>e.createElementVNode("br",null,null,-1)),r2={key:3,colspan:"2"},m2={key:4,rowspan:"2"},h2=Ne(()=>e.createElementVNode("br",null,null,-1)),p2={key:5,colspan:"2"},E2=Ne(()=>e.createElementVNode("th",{rowspan:"2"},[e.createTextVNode("Avg. CF"),e.createElementVNode("br"),e.createTextVNode("(kts)")],-1)),y2={key:6,rowspan:"2"},_2={key:7,rowspan:"2"},N2=Ne(()=>e.createElementVNode("th",{rowspan:"2"},[e.createTextVNode("Spd"),e.createElementVNode("br"),e.createTextVNode("(kts)")],-1)),V2=Ne(()=>e.createElementVNode("th",{rowspan:"2"},[e.createTextVNode("Time"),e.createElementVNode("br"),e.createTextVNode("(h)")],-1)),f2=Ne(()=>e.createElementVNode("th",{rowspan:"2"},[e.createTextVNode("Dis"),e.createElementVNode("br"),e.createTextVNode("(nm)")],-1)),g2=Ne(()=>e.createElementVNode("th",{colspan:"2"},"Engine",-1)),D2=Ne(()=>e.createElementVNode("th",{colspan:"2"},"BROB(mt)",-1)),x2=Ne(()=>e.createElementVNode("th",{colspan:"2"},"DailyCons(mt)",-1)),b2=Ne(()=>e.createElementVNode("th",{colspan:"2"},"Wind",-1)),C2=Ne(()=>e.createElementVNode("th",{rowspan:"2"},[e.createTextVNode("Sea HT"),e.createElementVNode("br"),e.createTextVNode("(m)")],-1)),S2=Ne(()=>e.createElementVNode("th",null,"FO",-1)),k2=Ne(()=>e.createElementVNode("th",null,"DO/GO",-1)),A2=Ne(()=>e.createElementVNode("th",null,"Dir",-1)),B2=Ne(()=>e.createElementVNode("th",null,"BF",-1)),w2={key:0},T2={key:1},O2={key:2},F2={key:3},P2=Ne(()=>e.createElementVNode("th",null,"RPM",-1)),u2=Ne(()=>e.createElementVNode("th",null,"Slip%",-1)),L2=Ne(()=>e.createElementVNode("th",null,"FO",-1)),W2=Ne(()=>e.createElementVNode("th",null,"DO/GO",-1)),H2=Ne(()=>e.createElementVNode("th",null,"FO",-1)),M2=Ne(()=>e.createElementVNode("th",null,"DO/GO",-1)),G2=Ne(()=>e.createElementVNode("th",null,"Dir",-1)),I2=Ne(()=>e.createElementVNode("th",null,"BF",-1)),R2={class:"summary-tbody"};function z2(t,n,o,d,l,a){var p,i,y,b,S,E,V,D;return e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass((i=(p=o.reportData)==null?void 0:p.weather)!=null&&i.referenceOnly||(b=(y=o.reportData)==null?void 0:y.weather)!=null&&b.overallAsGoodWx?"watermark voyage-main":"voyage-main")},[e.createElementVNode("div",Og,[Fg,e.createElementVNode("div",Pg,e.toDisplayString(a.computedTime((S=o.reportData)==null?void 0:S.createdAt)),1),e.createElementVNode("div",ug,[e.createElementVNode("div",Lg,[e.createElementVNode("span",null,e.toDisplayString((V=(E=o.reportData)==null?void 0:E.vessel)==null?void 0:V.name),1)])]),e.createElementVNode("div",Wg,[e.createElementVNode("table",null,[Hg,e.createElementVNode("tbody",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList((D=o.reportData)==null?void 0:D.segments,(r,C)=>(e.openBlock(),e.createElementBlock(e.Fragment,{key:C},[e.createElementVNode("tr",null,[e.createElementVNode("td",Mg,e.toDisplayString(C+1),1),Gg,e.createElementVNode("td",null,e.toDisplayString(r.allWx.distance?a.computeRoundPrecision(r.allWx.distance,1):"0.0"),1),e.createElementVNode("td",null,e.toDisplayString(r.allWx.time?a.computeRoundPrecision(r.allWx.time,1):"0.0"),1),e.createElementVNode("td",null,e.toDisplayString(r.allWx.avgSpd?a.computeRoundPrecision(r.allWx.avgSpd,2):"0.00"),1),e.createElementVNode("td",null,e.toDisplayString(r.allWx.sumFoCons?a.computeRoundPrecision(r.allWx.sumFoCons,3):"0.000"),1),e.createElementVNode("td",null,e.toDisplayString(r.allWx.sumDgoCons?a.computeRoundPrecision(r.allWx.sumDgoCons,3):"0.000"),1)]),e.createElementVNode("tr",null,[Ig,e.createElementVNode("td",null,e.toDisplayString(r.goodWx.distance?a.computeRoundPrecision(r.goodWx.distance,1):"0.0"),1),e.createElementVNode("td",null,e.toDisplayString(r.goodWx.time?a.computeRoundPrecision(r.goodWx.time,1):"0.0"),1),e.createElementVNode("td",null,e.toDisplayString(r.goodWx.avgSpd?a.computeRoundPrecision(r.goodWx.avgSpd,2):"0.00"),1),e.createElementVNode("td",null,e.toDisplayString(r.goodWx.sumFoCons?a.computeRoundPrecision(r.goodWx.sumFoCons,3):"0.000"),1),e.createElementVNode("td",null,e.toDisplayString(r.goodWx.sumDgoCons?a.computeRoundPrecision(r.goodWx.sumDgoCons,3):"0.000"),1)]),e.createElementVNode("tr",null,[Rg,e.createElementVNode("td",null,e.toDisplayString(r.badWx.distance?a.computeRoundPrecision(r.badWx.distance,1):"0.0"),1),e.createElementVNode("td",null,e.toDisplayString(r.badWx.time?a.computeRoundPrecision(r.badWx.time,1):"0.0"),1),e.createElementVNode("td",null,e.toDisplayString(r.badWx.avgSpd?a.computeRoundPrecision(r.badWx.avgSpd,2):"0.00"),1),e.createElementVNode("td",null,e.toDisplayString(r.badWx.sumFoCons?a.computeRoundPrecision(r.badWx.sumFoCons,3):"0.000"),1),e.createElementVNode("td",null,e.toDisplayString(r.badWx.sumDgoCons?a.computeRoundPrecision(r.badWx.sumDgoCons,3):"0.000"),1)]),e.createElementVNode("tr",null,[zg,e.createElementVNode("td",null,e.toDisplayString(r.excluded.sumDistance?a.computeRoundPrecision(r.excluded.sumDistance,1):"0.0"),1),e.createElementVNode("td",null,e.toDisplayString(r.excluded.sumDuration?a.computeRoundPrecision(r.excluded.sumDuration,1):"0.0"),1),e.createElementVNode("td",null,e.toDisplayString(r.excluded.avgSpd?a.computeRoundPrecision(r.excluded.avgSpd,2):"0.00"),1),e.createElementVNode("td",null,e.toDisplayString(r.excluded.sumFoCons?a.computeRoundPrecision(r.excluded.sumFoCons,3):"0.000"),1),e.createElementVNode("td",null,e.toDisplayString(r.excluded.sumDgoCons?a.computeRoundPrecision(r.excluded.sumDgoCons,3):"0.000"),1)])],64))),128))])])]),Ug,e.createElementVNode("div",null,[e.createElementVNode("table",Yg,[e.createElementVNode("thead",null,[e.createElementVNode("tr",null,[Zg,Qg,Jg,Kg,e.createElementVNode("th",{colspan:a.computeColspan},"Weather Analysis",8,qg),o.isAdmin?(e.openBlock(),e.createElementBlock("th",Xg,"meteo")):e.createCommentVNode("",!0),jg,$g]),e.createElementVNode("tr",null,[vg,e2,t2,o2,l.showAisDistance?(e.openBlock(),e.createElementBlock("th",l2,[e.createTextVNode("Spd"),a2,e.createTextVNode("(kts)")])):e.createCommentVNode("",!0),l.showAisDistance?(e.openBlock(),e.createElementBlock("th",n2,[e.createTextVNode("Dis"),s2,e.createTextVNode("(nm)")])):e.createCommentVNode("",!0),i2,l.showWave?(e.openBlock(),e.createElementBlock("th",d2,[e.createTextVNode("Sea HT"),c2,e.createTextVNode("(m)")])):e.createCommentVNode("",!0),l.showSwell?(e.openBlock(),e.createElementBlock("th",r2,"Swell")):e.createCommentVNode("",!0),l.showSig?(e.openBlock(),e.createElementBlock("th",m2,[e.createTextVNode("Sig Wave"),h2,e.createTextVNode("(m)")])):e.createCommentVNode("",!0),l.showCF?(e.openBlock(),e.createElementBlock("th",p2,"Current")):e.createCommentVNode("",!0),E2,o.isAdmin?(e.openBlock(),e.createElementBlock("th",y2,"cFactor")):e.createCommentVNode("",!0),o.isAdmin?(e.openBlock(),e.createElementBlock("th",_2,"wxFactor")):e.createCommentVNode("",!0),N2,V2,f2,g2,D2,x2,b2,C2]),e.createElementVNode("tr",null,[S2,k2,A2,B2,l.showSwell?(e.openBlock(),e.createElementBlock("th",w2,"Dir")):e.createCommentVNode("",!0),l.showSwell?(e.openBlock(),e.createElementBlock("th",T2,"HT(m)")):e.createCommentVNode("",!0),l.showCF?(e.openBlock(),e.createElementBlock("th",O2,"Dir")):e.createCommentVNode("",!0),l.showCF?(e.openBlock(),e.createElementBlock("th",F2,"CF(kts)")):e.createCommentVNode("",!0),P2,u2,L2,W2,H2,M2,G2,I2])]),e.createElementVNode("tbody",R2,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(l.summaryTable,(r,C)=>{var k,T,u,L,O,x,P,R,Z,z,W,f,Y,G,H,K,q,j,X,N,M,J;return e.openBlock(),e.createElementBlock("tr",{key:C},[e.createElementVNode("td",{class:e.normalizeClass(r.isFirstSeg?"td-no-bottom td-top":(k=l.summaryTable[C+1])!=null&&k.isFirstSeg?"td-bottom":"td-no-bottom")},e.toDisplayString(r.isFirstSeg?r.seg:""),3),e.createElementVNode("td",{class:e.normalizeClass(a.computedClass(r))},e.toDisplayString(r.dateTime),3),a.computedPort(r)?(e.openBlock(),e.createElementBlock("td",{key:0,class:e.normalizeClass(a.computedClass(r))},e.toDisplayString(r.latPretty),3)):e.createCommentVNode("",!0),a.computedPort(r)?(e.openBlock(),e.createElementBlock("td",{key:1,class:e.normalizeClass(a.computedClass(r))},e.toDisplayString(r.lngPretty),3)):(e.openBlock(),e.createElementBlock("td",{key:2,colspan:"2",class:e.normalizeClass(a.computedClass(r))},e.toDisplayString(r.noon.port),3)),e.createElementVNode("td",{class:e.normalizeClass(a.computedClass(r,!0,!0))},e.toDisplayString(r.abbreviation==="A"||r.abbreviation==="B"?"":a.computeRoundPrecision(r.cp.speed)),3),e.createElementVNode("td",{class:e.normalizeClass(a.computedClass(r,!0,!0))},e.toDisplayString(r.abbreviation==="A"||r.abbreviation==="B"?"":a.computeRoundPrecision(r.cp.fo)),3),e.createElementVNode("td",{class:e.normalizeClass(a.computedClass(r,!0,!0))},e.toDisplayString(r.abbreviation==="A"||r.abbreviation==="B"?"":a.computeRoundPrecision(r.cp.dgo)),3),l.showAisDistance?(e.openBlock(),e.createElementBlock("td",{key:3,class:e.normalizeClass(a.computedClass(r,!0))},e.toDisplayString(a.computeRoundPrecision(r.avgSpdCalc)),3)):e.createCommentVNode("",!0),l.showAisDistance?(e.openBlock(),e.createElementBlock("td",{key:4,class:e.normalizeClass(a.computedClass(r,!0))},e.toDisplayString(a.computeRoundPrecision(r.distanceCalc)),3)):e.createCommentVNode("",!0),e.createElementVNode("td",{class:e.normalizeClass(a.computedClass(r))},e.toDisplayString(((u=(T=r.meteo)==null?void 0:T.wind)==null?void 0:u.direction)??"--"),3),e.createElementVNode("td",{class:e.normalizeClass(a.computedClass(r))},e.toDisplayString(((O=(L=r.meteo)==null?void 0:L.wind)==null?void 0:O.scale)??"--"),3),l.showWave?(e.openBlock(),e.createElementBlock("td",{key:5,class:e.normalizeClass(a.computedClass(r))},e.toDisplayString(a.computeRoundPrecision(((R=(P=(x=r.meteo)==null?void 0:x.wave)==null?void 0:P.wd)==null?void 0:R.height)??"--")),3)):e.createCommentVNode("",!0),l.showSwell?(e.openBlock(),e.createElementBlock("td",{key:6,class:e.normalizeClass(a.computedClass(r))},e.toDisplayString(((W=(z=(Z=r.meteo)==null?void 0:Z.wave)==null?void 0:z.swell)==null?void 0:W.direction)??"--"),3)):e.createCommentVNode("",!0),l.showSwell?(e.openBlock(),e.createElementBlock("td",{key:7,class:e.normalizeClass(a.computedClass(r))},e.toDisplayString(a.computeRoundPrecision(((G=(Y=(f=r.meteo)==null?void 0:f.wave)==null?void 0:Y.swell)==null?void 0:G.height)??"--")),3)):e.createCommentVNode("",!0),l.showSig?(e.openBlock(),e.createElementBlock("td",{key:8,class:e.normalizeClass(a.computedClass(r))},e.toDisplayString(a.computeRoundPrecision(((q=(K=(H=r.meteo)==null?void 0:H.wave)==null?void 0:K.sig)==null?void 0:q.height)??"--")),3)):e.createCommentVNode("",!0),l.showCF?(e.openBlock(),e.createElementBlock("td",{key:9,class:e.normalizeClass(a.computedClass(r))},e.toDisplayString(((X=(j=r.meteo)==null?void 0:j.current)==null?void 0:X.direction)??"--"),3)):e.createCommentVNode("",!0),l.showCF?(e.openBlock(),e.createElementBlock("td",{key:10,class:e.normalizeClass(a.computedClass(r))},e.toDisplayString(((N=r.meteo)==null?void 0:N.cFactor)??"--"),3)):e.createCommentVNode("",!0),e.createElementVNode("td",{class:e.normalizeClass(a.computedClass(r,!0))},e.toDisplayString(r.dailyAvgCf),3),o.isAdmin?(e.openBlock(),e.createElementBlock("td",{key:11,class:e.normalizeClass(a.computedClass(r))},e.toDisplayString(((M=r.meteo)==null?void 0:M.cFactor)??"--"),3)):e.createCommentVNode("",!0),o.isAdmin?(e.openBlock(),e.createElementBlock("td",{key:12,class:e.normalizeClass(a.computedClass(r))},e.toDisplayString(((J=r.meteo)==null?void 0:J.wxFactor)??"--"),3)):e.createCommentVNode("",!0),e.createElementVNode("td",{class:e.normalizeClass(a.computedClass(r))},e.toDisplayString(r.abbreviation==="A"?"":a.computeRoundPrecision(r.noon.avgSpd)||"0.00"),3),e.createElementVNode("td",{class:e.normalizeClass(a.computedClass(r))},e.toDisplayString(r.abbreviation==="A"?"":a.computeRoundPrecision(r.noon.timeSlr,1)||"0.0"),3),e.createElementVNode("td",{class:e.normalizeClass(a.computedClass(r))},e.toDisplayString(r.abbreviation==="A"?"":a.computeRoundPrecision(r.noon.distanceSlr,1)||"0.0"),3),e.createElementVNode("td",{class:e.normalizeClass(a.computedClass(r))},e.toDisplayString(r.abbreviation==="A"?"":a.computeRoundPrecision(r.noon.rpm,0)||"0"),3),e.createElementVNode("td",{class:e.normalizeClass(a.computedClass(r))},e.toDisplayString(r.abbreviation==="A"?"":a.computeRoundPrecision(r.noon.slip,0)||"0"),3),e.createElementVNode("td",{class:e.normalizeClass(a.computedClass(r))},e.toDisplayString(r.abbreviation==="A"?"":a.computeRoundPrecision(r.noon.foBrob)),3),e.createElementVNode("td",{class:e.normalizeClass(a.computedClass(r))},e.toDisplayString(r.abbreviation==="A"?"":a.computeRoundPrecision(r.noon.dgoBrob)),3),e.createElementVNode("td",{class:e.normalizeClass(a.computedClass(r))},e.toDisplayString(r.abbreviation==="A"?"":a.computeRoundPrecision(r.noon.foCons)||"0.00"),3),e.createElementVNode("td",{class:e.normalizeClass(a.computedClass(r))},e.toDisplayString(r.abbreviation==="A"?"":a.computeRoundPrecision(r.noon.dgoCons)||"0.00"),3),e.createElementVNode("td",{class:e.normalizeClass(a.computedClass(r))},e.toDisplayString(r.abbreviation==="A"?"":r.noon.windDir??"--"),3),e.createElementVNode("td",{class:e.normalizeClass(a.computedClass(r))},e.toDisplayString(r.abbreviation==="A"?"":r.noon.windBF??"--"),3),e.createElementVNode("td",{class:e.normalizeClass(a.computedClass(r))},e.toDisplayString(r.abbreviation==="A"?"":a.computeRoundPrecision(r.noon.seasHt??"--")),3),e.createElementVNode("td",{class:e.normalizeClass(a.computedClass(r))},e.toDisplayString(r.abbreviation==="A"||r.abbreviation==="B"||r.inEca===!1?"":"Inside ECA"),3)])}),128))])])])])],2)}const U2=De(Tg,[["render",z2],["__scopeId","data-v-9fe5beca"]]),Y2={props:{id:{type:String,default:"chart"},echartData:{type:Object,default:function(){return[]}},params:{type:Object,default:function(){return[]}},detail:{type:Object,default:function(){return[]}}},data(){return{chart:void 0,isOilBar:!1}},watch:{echartData:{handler(t,n){JSON.stringify(t)!=="[]"&&JSON.stringify(t)!==JSON.stringify(n)&&this.$nextTick(()=>{this.initData()})},immediate:!0,deep:!0}},methods:{getData(t,n){let o=[];return this.isOilBar=!1,t.forEach(d=>{let l;d.type=="line"?l={name:d.name,data:d.data,type:d.type,itemStyle:{color:d.color},showSymbol:d.showSymbol,smooth:d.smooth?d.smooth:!1,lineStyle:{type:d.lineType?d.lineType:"solid",dashOffset:5,type:d.lineType=="dotted"?[5,10]:"solid"}}:d.type=="markline"?l={name:d.name,markLine:{data:d.data},type:"line",barCategoryGap:-1,itemStyle:{color:d.color}}:d.type=="bar"?(this.isOilBar=!0,l={name:d.name,data:d.data,showSymbol:d.showSymbol,step:"start",type:"line",itemStyle:{color:d.color},areaStyle:{}}):l={name:d.name,data:d.data,type:d.type,barCategoryGap:-.2,itemStyle:{color:d.color}},o.push(l)}),n.forEach(d=>{o.push(d)}),o},getMax(t){if(this.isOilBar)return t.max<1?parseFloat(t.max*1.5).toFixed(1):parseFloat(Math.round(t.max)*1.2).toFixed(1)},initData(){if(!this.chart){let d=document.getElementById(this.id);this.chart=e.markRaw(zo.init(d))}let t=this,n=this.getData(this.echartData,JSON.parse(JSON.stringify(this.params.markArea))),o={title:{text:this.detail.title},grid:{right:"5%"},tooltip:{trigger:"axis"},legend:{show:!0,right:"5%"},xAxis:{axisTick:{alignWithLabel:!0},type:"category",data:this.params.xAxis},yAxis:{type:"value",splitNumber:5,boundaryGap:!1,name:this.detail.ytitle,nameGap:60,nameRotate:90,nameLocation:"middle",nameTextStyle:{fontSize:10,fontWeight:600,textAlign:"center"},splitLine:{show:!1},max:function(d){return t.getMax(d)}},series:n};this.$nextTick(()=>{this.chart.setOption(o)})}}},Z2=["id"];function Q2(t,n,o,d,l,a){return e.openBlock(),e.createElementBlock("div",null,[e.createElementVNode("div",{id:o.id,style:{width:"80%",height:"100%"}},null,8,Z2)])}const J2=De(Y2,[["render",Q2]]),K2={name:"brabImg",props:{fill:{type:String,default:"#000000"}}},q2={class:"logo"},X2=[e.createElementVNode("svg",{t:"1681038956775",class:"icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"3177",width:"30",height:"30"},[e.createElementVNode("path",{d:"M255.95 98.15h31.26v861.41h-31.26z","p-id":"3178"}),e.createElementVNode("path",{d:"M768.055 64.225v34h-512.1v-34zM576.115 230.225v31.89h-320.16v-31.89z","p-id":"3179"})],-1)];function j2(t,n,o,d,l,a){return e.openBlock(),e.createElementBlock("i",q2,X2)}const $2=De(K2,[["render",j2]]),Mee="",v2={components:{ScCharts:J2,BrabImg:$2},props:{reportData:{type:Object,default:()=>({})},mailData:{type:Object,default:()=>({})}},data(){return{date:"",shipSpeedChart:void 0,FOChart:void 0,DOChart:void 0,windSpeedChart:void 0,waveHeightChart:void 0,CurrentFactorChart:void 0,shipSpdChartData:[],FoChartData:[],DGOChartData:[],windSpdChartData:[],waveChartData:[],currentChartData:[],mailList:[],params:{},shipSpdDetail:{ytitle:"Daily Average Speed (kts)",title:"Ship Speed"},FODetail:{ytitle:"Daily FO (mt)",title:"FO Daily Consumption"},DGODetail:{ytitle:"Daily DO/GO (mt)",title:"DO/GO Daily Consumption"},windDetail:{ytitle:"Wind Speed",title:"Wind BF"},waveDetail:{ytitle:"Wave Height(m)",title:"Wave Heigt"},currentDetail:{ytitle:"Current Factor",title:"Current Factor"}}},computed:{computedArray(){return function(t){let n=[],o="";t.forEach((l,a)=>{l!=o&&l!=""&&(n.push({num:l,id:a}),o=l)});let d=[];return n.forEach((l,a)=>{let p=0;a==n.length-1?p=t.length-l.id:p=n[a+1].id-l.id+1;let i=[];for(let y=0;y<t.length;y++)(y>l.id||y==l.id)&&p>0?(i.push(l.num),p=p-1):i.push("");d.push(i)}),d}},computedCurrent(){return function(t,n){let o=[],d=null,l=0;t.forEach((p,i)=>{p!=d&&this.computedIsNull(p)!==""?(o.push({num:p,id:i}),d=p,l++):this.computedIsNull(p)!==""&&p==d&&(o[l-1].id=i)});let a=[];return o.forEach((p,i)=>{let y=i?o[i-1].id:-1;for(let b=y;b<p.id;b++)a.push(p.num)}),a}},computedTime(){return function(t,n){return n=="subtitle"?w(t).utc().format("MMMM-DD, YYYY/HHmm [Z]"):n=="table"?w(t).utc().format("MMMM-DD/HHmm[Z]"):w(t).utc().format("dddd, MMMM D, YYYY")}},computedIsNull(){return function(t){return t||t==0?t:""}},computedLngLat(){return function(t,n){const o=this.getLonLat(v.LngLatHelper.lat2pretty(t)),d=this.getLonLat(v.LngLatHelper.lng2pretty(n));return`${o} ${d}`}},computeFrom(){return function(t){if(t.indexOf("<")!==-1){const n=/.*(?=<)/,o=t.match(n);if(o)return o[0]}else return t;return"-"}},computeBody(){return function(t){if(t&&t!=="-"){let n=v.EmailHelper.convert2Html(t);return n=n.replace(/<\/br><\/br>+/g,"</br>"),n=n.replace(/(<\/br> <\/br>)+/g,"</br>"),n}else return"-"}},computeUTCTime(){return function(t,n="MMM-DD/HHmm[Z]"){return t?`${w(t).utc().format(n)}`:"-"}}},watch:{reportData:{handler(t,n){t!=null&&t.id&&this.$nextTick(()=>{this.getTableData()})},immediate:!0},mailData:{handler(t,n){t!=null&&t.rows&&this.getMailsList()},immediate:!0}},mounted(){},methods:{getLonLat(t){return`${t.degree}°${v.roundPrecision(t.minute,2)}′${t.direction}`},getMailsList(){let t=this.mailData.rows.filter(n=>n.status===1);this.mailList=t},getTableData(){var j,X;let t=[];(X=(j=this.reportData)==null?void 0:j.segments)==null||X.forEach((N,M)=>{let J=N.extend.cp;N.inventory.sample.hours.forEach((s,$)=>{let c=JSON.parse(JSON.stringify(s));c.cp=J,c.fuelConclusion=N.fuelConclusion,c.timeConclusion=N.timeConclusion,t.push(c)})}),t.sort(function(N,M){let J=N.date,s=M.date;return J-s});let n=[],o=[],d=[],l=[],a=[],p=[],i=[],y=[],b=[],S=[],E=[],V=[],D=[],r=[],C=[],k=[],T=[],u=[],L=[],O=[],x=[],P=[],R=[],Z=[],z=[],W=[!1,!1],f=[],Y=[],G=[!1,!1],H=[],K=[];t.forEach((N,M)=>{var s,$,c,ee,oe,te,se,ie,ce,re,he,pe,Ee,de,ye,xe,be,Ce,Se,ke,Ae,Be,Fe,Pe,fe,F,_e,ue,Le,We,we,He,Ke,qe,U,Oe,ze,Ue,Ye,Ze,Qe,Je,_,Q,ge,Te,Me;if(n.push(w(N.utc).utc().format("MM/DD HHmm[Z]")),N.goodWx===!0&&N.excluded!==!0?(W.indexOf(!0)==-1&&(N.type==="BOSP"?f.push({xAxis:w(N.utc).utc().format("MM/DD HHmm[Z]")}):f.push({xAxis:w(t[M-1].utc).utc().format("MM/DD HHmm[Z]")}),W[0]=!0),W.indexOf(!0)!=-1&&M==t.length-1&&(f.push({xAxis:w(N.utc).utc().format("MM/DD HHmm[Z]")}),W[0]=!1,Y.push(f),f=[])):W.indexOf(!0)!==-1&&(f.push({xAxis:w(t[M-1].utc).utc().format("MM/DD HHmm[Z]")}),W[0]=!1,Y.push(f),f=[]),N.excluded===!0?(G.indexOf(!0)===-1&&(M===0?H.push({xAxis:w(N.utc).utc().format("MM/DD HHmm[Z]")}):H.push({xAxis:w(t[M-1].utc).utc().format("MM/DD HHmm[Z]")}),G[0]=!0),G.indexOf(!0)!=-1&&M===t.length-1&&(H.push({xAxis:w(N.utc).utc().format("MM/DD HHmm[Z]")}),G[0]=!1,K.push(H),H=[])):G.indexOf(!0)!==-1&&(H.push({xAxis:w(t[M-1].utc).utc().format("MM/DD HHmm[Z]")}),G[0]=!1,K.push(H),H=[]),(N==null?void 0:N.type)==="EOSP"&&((s=t[M+1])==null?void 0:s.type)==="BOSP"){let me=[];me.push({xAxis:w(N.utc).utc().format("MM/DD HHmm[Z]")}),me.push({xAxis:w(t[M+1].utc).utc().format("MM/DD HHmm[Z]")}),K.push(me)}N.type!="A"&&(N.type==="BOSP"&&M===0?l.push([w(N==null?void 0:N.utc).utc().format("MM/DD HHmm[Z]"),($=N==null?void 0:N.noon)==null?void 0:$.avgSpd,N==null?void 0:N.type]):l.push([w(N==null?void 0:N.utc).utc().format("MM/DD HHmm[Z]"),((c=N==null?void 0:N.noon)==null?void 0:c.avgSpd)||"-",N==null?void 0:N.type]),L.push([w(N==null?void 0:N.utc).utc().format("MM/DD HHmm[Z]"),((ee=N==null?void 0:N.noon)==null?void 0:ee.windBF)||"-"]),R.push([w(N==null?void 0:N.utc).utc().format("MM/DD HHmm[Z]"),((oe=N==null?void 0:N.noon)==null?void 0:oe.seasHt)||"-"])),y.push((N==null?void 0:N.type)!="A"?this.computedIsNull((te=N==null?void 0:N.noon)==null?void 0:te.foCons):""),D.push((N==null?void 0:N.type)!="A"?this.computedIsNull((se=N==null?void 0:N.noon)==null?void 0:se.dgoCons):""),z.push((N==null?void 0:N.type)!="A"?this.computedIsNull(N==null?void 0:N.dailyAvgCf):""),d.push((N==null?void 0:N.cpSpd)??""),a.push(((ie=N==null?void 0:N.timeConclusion)==null?void 0:ie.minusAbtSpd)??""),i.push(((ce=N==null?void 0:N.cp)==null?void 0:ce.fo)??""),b.push(((he=(re=N==null?void 0:N.fuelConclusion)==null?void 0:re.fo)==null?void 0:he.underTolerance)??""),S.push(((Ee=(pe=N==null?void 0:N.fuelConclusion)==null?void 0:pe.fo)==null?void 0:Ee.overTolerance)??""),V.push(((de=N==null?void 0:N.cp)==null?void 0:de.dgo)??""),r.push(((xe=(ye=N==null?void 0:N.fuelConclusion)==null?void 0:ye.dgo)==null?void 0:xe.underTolerance)??""),C.push(((Ce=(be=N==null?void 0:N.fuelConclusion)==null?void 0:be.dgo)==null?void 0:Ce.overTolerance)??""),T.push(((ke=(Se=N==null?void 0:N.meteo)==null?void 0:Se.wind)==null?void 0:ke.scale)??""),u.push(((Be=(Ae=this.reportData)==null?void 0:Ae.weather)==null?void 0:Be.windScale)??"");let J="";(Pe=(Fe=this.reportData)==null?void 0:Fe.weather)!=null&&Pe.sigSwitch?(J=(_e=(F=(fe=N.meteo)==null?void 0:fe.wave)==null?void 0:F.sig)!=null&&_e.height?(We=(Le=(ue=N.meteo)==null?void 0:ue.wave)==null?void 0:Le.sig)==null?void 0:We.height:"",this.waveDetail.ytitle="Sig-wave Heigt(m)",P.push(this.reportData.weather.sigHeight)):(He=(we=this.reportData)==null?void 0:we.weather)!=null&&He.waveSwitch?(J=(U=(qe=(Ke=N.meteo)==null?void 0:Ke.wave)==null?void 0:qe.wd)!=null&&U.height?(Ue=(ze=(Oe=N.meteo)==null?void 0:Oe.wave)==null?void 0:ze.wd)==null?void 0:Ue.height:"",this.waveDetail.ytitle="Wind Wave Height(m)",P.push(this.reportData.weather.waveHeight)):(Ze=(Ye=this.reportData)==null?void 0:Ye.weather)!=null&&Ze.swellSwitch&&(J=(_=(Je=(Qe=N.meteo)==null?void 0:Qe.wave)==null?void 0:Je.swell)!=null&&_.height?(Te=(ge=(Q=N.meteo)==null?void 0:Q.wave)==null?void 0:ge.swell)==null?void 0:Te.height:"",this.waveDetail.ytitle="Swell Wave Height(m)",P.push(this.reportData.weather.swellHeight)),this.waveDetail.title=(Me=this.waveDetail)==null?void 0:Me.ytitle.replaceAll("(m)",""),x.push(J)}),this.params={xAxis:n,markArea:[{type:"line",markArea:{data:Y},itemStyle:{color:"#aedb8f"}},{type:"line",markArea:{data:K},itemStyle:{color:"#d3d3d3"}}]},l.forEach((N,M)=>{N.indexOf("-")!==-1&&M!==l.length-1&&(N[1]=l[M+1][1])}),d=this.computedArray(d),a=this.computedArray(a),i=this.computedArray(i),b=this.computedArray(b),S=this.computedArray(S),V=this.computedArray(V),r=this.computedArray(r),C=this.computedArray(C),y=this.computedCurrent(y),D=this.computedCurrent(D,"dgotype"),z=this.computedCurrent(z),d.forEach((N,M)=>{let J={name:M==0?"CP speed":"",type:"line",showSymbol:!1,data:N,color:"#ff8935"};o.push(J)}),a.forEach((N,M)=>{let J={name:M==0?"CP Speed Min":"",type:"line",showSymbol:!1,data:N,color:"#06890b",lineType:"dotted"};o.push(J)}),o.push({name:"Daily Average Speed",type:"line",data:l,color:"rgba(123,145,211,0.62)",showSymbol:!1,smooth:!0}),i.forEach((N,M)=>{let J={name:M==0?"CP FO":"",type:"line",showSymbol:!1,data:N,color:"#ff8935"};p.push(J)}),b.forEach((N,M)=>{let J={name:M==0?"CP FO Min":"",type:"line",showSymbol:!1,data:N,color:"#06890b",lineType:"dotted"};p.push(J)}),S.forEach((N,M)=>{let J={name:M==0?"CP FO Max":"",type:"line",showSymbol:!1,data:N,color:"#ff3a3a",lineType:"dotted"};p.push(J)}),p.push({name:"Daily FO",type:"bar",showSymbol:!1,data:y,color:"rgba(123,145,211,0.62)",barCategoryGap:"0"}),V.forEach((N,M)=>{let J={name:M==0?"CP DO/GO":"",type:"line",showSymbol:!1,data:N,color:"#ff8935"};E.push(J)}),r.forEach((N,M)=>{let J={name:M==0?"CP DO/GO Min":"",type:"line",showSymbol:!1,data:N,color:"#06890b",lineType:"dotted"};E.push(J)}),C.forEach((N,M)=>{let J={name:M==0?"CP DO/GO Max":"",type:"line",showSymbol:!1,data:N,color:"#ff3a3a",lineType:"dotted"};E.push(J)}),E.push({name:"Daily DO/GO",type:"bar",showSymbol:!1,data:D,color:"rgba(123,145,211,0.62)",barCategoryGap:"0"}),k.push({name:"CP Good Weather",type:"line",data:u,color:"#ff8935",showSymbol:!1,smooth:!0}),k.push({name:"Wind BF",type:"line",data:T,color:"#5eb3e0",showSymbol:!1,smooth:!0}),k.push({name:"Ship Report",type:"scatter",data:L,symbolSize:15,itemStyle:{normal:{color:"#C1B1E1"}}}),O.push({name:"CP Good Weather",type:"line",data:P,color:"#ff8935",showSymbol:!1,smooth:!0});let q=this.waveDetail.ytitle.replaceAll("(m)","");O.push({name:q,type:"line",data:x,color:"#5eb3e0",showSymbol:!1,smooth:!0}),O.push({name:"Ship Report",type:"scatter",data:R,symbolSize:15,itemStyle:{normal:{color:"#C1B1E1"}}}),Z.push({name:"Current Factor",type:"line",data:z,color:"#5eb3e0",showSymbol:!1,smooth:!1}),this.shipSpdChartData=o,this.FoChartData=p,this.DGOChartData=E,this.windSpdChartData=k,this.waveChartData=O,this.currentChartData=Z}}},Ge=t=>(e.pushScopeId("data-v-4fb04207"),t=t(),e.popScopeId(),t),eD={class:"charts"},tD=Ge(()=>e.createElementVNode("div",{class:"charts-title"},"Speed and Consumptifon with Weather / Current Analysis Graph",-1)),oD={class:"subtitle"},lD=e.createStaticVNode('<div class="chart-legend" data-v-4fb04207><div style="display:flex;align-items:center;" data-v-4fb04207><div style="background-color:var(--goodWx-bg-color);" class="legend" data-v-4fb04207></div><div style="transform:scale(0.85);" data-v-4fb04207>Charter Party defined Good Weather Days</div></div><div style="display:flex;align-items:center;" data-v-4fb04207><div style="border:1px solid var(--table-edging-color);" class="legend" data-v-4fb04207></div><div style="transform:scale(0.85);" data-v-4fb04207>Charter Party defined Adverse Weather Days</div></div><div style="display:flex;align-items:center;" data-v-4fb04207><div style="background-color:var(--exclude-bg-color);" class="legend" data-v-4fb04207></div><div style="transform:scale(0.85);" data-v-4fb04207>Excluded periods from analysis</div></div></div>',1),aD={class:"weather-eChart"},nD={class:"charts page-title"},sD=Ge(()=>e.createElementVNode("div",{class:"charts-title"},"Speed and Consumption with Weather / Current Analysis Graph",-1)),iD={class:"subtitle"},dD=e.createStaticVNode('<div class="chart-legend" data-v-4fb04207><div style="display:flex;align-items:center;" data-v-4fb04207><div style="background-color:var(--goodWx-bg-color);" class="legend" data-v-4fb04207></div><div style="transform:scale(0.85);" data-v-4fb04207>Charter Party defined Good Weather Days</div></div><div style="display:flex;align-items:center;" data-v-4fb04207><div style="border:1px solid var(--table-edging-color);" class="legend" data-v-4fb04207></div><div style="transform:scale(0.85);" data-v-4fb04207>Charter Party defined Adverse Weather Days</div></div><div style="display:flex;align-items:center;" data-v-4fb04207><div style="background-color:var(--exclude-bg-color);" class="legend" data-v-4fb04207></div><div style="transform:scale(0.85);" data-v-4fb04207>Excluded periods from analysis</div></div></div>',1),cD={class:"weather-eChart"},rD={class:"charts page-title"},mD=Ge(()=>e.createElementVNode("div",{class:"charts-title"},"Voyage Map",-1)),hD={class:"subtitle"},pD={class:"message-table"},ED=Ge(()=>e.createElementVNode("td",{class:"title"},"Vessel Name",-1)),yD=Ge(()=>e.createElementVNode("td",{class:"title"},"Prepared For",-1)),_D=Ge(()=>e.createElementVNode("td",{class:"title"},"Departure Port and Date",-1)),ND={style:{display:"inline-block",width:"50%"}},VD=Ge(()=>e.createElementVNode("td",{class:"title"},"Arrival Port and Date",-1)),fD={style:{display:"inline-block",width:"50%"}},gD={style:{margin:"15px auto","padding-left":"20px"}},DD=["src"],xD={class:"charts-imgLegend"},bD={style:{position:"relative",left:"-20px"}},CD=Ge(()=>e.createElementVNode("div",{style:{position:"relative",display:"inline-block",top:"-12px",left:"15px",transform:"scale(0.95)"}},[e.createElementVNode("div",null,"7"),e.createElementVNode("br"),e.createElementVNode("div",null,"W 4")],-1)),SD=Ge(()=>e.createElementVNode("div",{style:{display:"inline-block",transform:"scale(0.95)","text-align":"left","margin-left":"5px"}},[e.createTextVNode(" LEGEND: "),e.createElementVNode("br"),e.createTextVNode(" Wind from NE(045) "),e.createElementVNode("br"),e.createTextVNode(" Each barb = 10 kts "),e.createElementVNode("br"),e.createTextVNode(" 1/2 barb = 5 kts "),e.createElementVNode("br")],-1)),kD=Ge(()=>e.createElementVNode("div",{style:{transform:"scale(0.95)"}},[e.createTextVNode(" 7 - DAY OF THE MONTH "),e.createElementVNode("br"),e.createTextVNode(" W 4 - PRIMARY WAVE FROM WEST, 4 METERS"),e.createElementVNode("br"),e.createElementVNode("div",{class:"GoodWxBox"},"Date"),e.createTextVNode(" Good weather days"),e.createElementVNode("br")],-1)),AD={key:0,class:"charts page-title"},BD=Ge(()=>e.createElementVNode("div",{class:"charts-title"},"MESSAGE TRAFFIC",-1)),wD={class:"subtitle"},TD={class:"message-table"},OD=Ge(()=>e.createElementVNode("td",null,"Vessel Name",-1)),FD=Ge(()=>e.createElementVNode("td",null,"Prepared For",-1)),PD=Ge(()=>e.createElementVNode("td",null,"Departure Port and Date",-1)),uD={style:{display:"inline-block",width:"50%"}},LD=Ge(()=>e.createElementVNode("td",null,"Arrival Port and Date",-1)),WD={style:{display:"inline-block",width:"50%"}},HD={class:"columns"},MD={class:"title"},GD=["innerHTML"],ID={class:"charts",style:{"page-break-before":"always"}},RD=Ge(()=>e.createElementVNode("div",{class:"charts-title page-title"},"Charter Party Compliance Auditing Methodology",-1)),zD={class:"methodology"},UD=e.createStaticVNode('<div class="noun" data-v-4fb04207>1. Good Weather Method</div><div class="explain" data-v-4fb04207> Ship Performance is assessed based on the Good Weather Method as set out by The Didymi[1987] 2 Lloyd&#39;s Rep 166 and The Gas Enterprise [1993] 2 Lloyd&#39;s Rep. 352. <br data-v-4fb04207> The vessel&#39;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-4fb04207> A “day” is taken to be the period of time between consecutive daily noon positions: each day is categorized as a &quot;good weather day&quot; or &quot;adverse weather day&quot; according to the good weather definition stipulated in the Charter Party. </div><div class="noun" data-v-4fb04207>2. Damage assessment due to ship under-performance</div><div class="explain" data-v-4fb04207> 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 class="noun" data-v-4fb04207>3. Logbooks description vs. Analysis</div><div class="explain" data-v-4fb04207> 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 class="noun" data-v-4fb04207>4. “About”</div><div class="explain" data-v-4fb04207> Complying with arbitration standards, the speed calculation applies an allowance when an “about” is included with the speed warranty. <br data-v-4fb04207> 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 class="noun" data-v-4fb04207>5. Time Calculation</div><div class="explain" data-v-4fb04207> Time loss or gained is calculated by comparing (a) Total Time at Good weather Performance Speed to (b) and (c) listed below. Time loss calculation (b) applies allowance for &quot;about&quot;, while no allowance in (c) time gained calculation unless otherwise stipulated . <br data-v-4fb04207> The report conclusion only reflects the Time Lost calculation result only. </div>',10),YD={class:"definition"},ZD={class:"equation"},QD=Ge(()=>e.createElementVNode("div",{style:{width:"30%"}},"Total Time at Good Weather Performance Speed",-1)),JD=Ge(()=>e.createElementVNode("div",{style:{width:"10%","text-align":"center"}},"=",-1)),KD={style:{width:"50%"},class:"fraction"},qD=Ge(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),XD=Ge(()=>e.createElementVNode("div",null,"Good Weather Performance Speed",-1)),jD=Ge(()=>e.createElementVNode("div",{style:{width:"10%","text-align":"center"}},"(a)",-1)),$D={class:"equation"},vD=Ge(()=>e.createElementVNode("div",{style:{width:"30%"}},"Total Time at ( CP Speed - About Speed )",-1)),e0=Ge(()=>e.createElementVNode("div",{style:{width:"10%","text-align":"center"}},"=",-1)),t0={style:{width:"50%"},class:"fraction"},o0=Ge(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),l0=Ge(()=>e.createElementVNode("div",null,"CP Speed - About Speed",-1)),a0=Ge(()=>e.createElementVNode("div",{style:{width:"10%","text-align":"center"}},"(b)",-1)),n0={class:"equation"},s0=Ge(()=>e.createElementVNode("div",{style:{width:"30%"}},"Total Time at CP Speed",-1)),i0=Ge(()=>e.createElementVNode("div",{style:{width:"10%","text-align":"center"}},"=",-1)),d0={style:{width:"50%"},class:"fraction"},c0=Ge(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),r0=Ge(()=>e.createElementVNode("div",null,"CP Speed",-1)),m0=Ge(()=>e.createElementVNode("div",{style:{width:"10%","text-align":"center"}},"(c)",-1)),h0=Ge(()=>e.createElementVNode("div",null,[e.createElementVNode("span",null,"Time Lost = (a) - (b)"),e.createElementVNode("span",{style:{"margin-left":"20px"}},"Time Gained = (c) - (a)")],-1)),p0=Ge(()=>e.createElementVNode("div",{class:"noun"},"6. Bunker Analysis Methodology for Bunker Type Switch-Over",-1)),E0=Ge(()=>e.createElementVNode("div",{class:"explain"},[e.createTextVNode(" The following methodology will be applied to analyze bunker consumption when the bunker type is switched over,such as in ECA/SECA zone . "),e.createElementVNode("br"),e.createTextVNode(" 6-1 DO/GO consumption in the switch over period will be compared to the charter party warranted IFO figure. "),e.createElementVNode("br"),e.createTextVNode(" 6-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. ")],-1)),y0=Ge(()=>e.createElementVNode("div",{class:"noun"},"7. Further reference materials",-1)),_0=Ge(()=>e.createElementVNode("div",{class:"explain"},"Please send mail to op@oceanpitech.com",-1));function N0(t,n,o,d,l,a){var y,b,S,E,V,D,r,C,k,T,u,L,O,x,P,R,Z,z,W,f,Y,G,H,K,q,j,X,N,M,J,s,$,c,ee,oe,te,se,ie,ce,re,he,pe,Ee,de,ye,xe,be,Ce,Se,ke,Ae,Be,Fe,Pe;const p=e.resolveComponent("ScCharts"),i=e.resolveComponent("BrabImg");return e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass((b=(y=o.reportData)==null?void 0:y.weather)!=null&&b.referenceOnly||(E=(S=o.reportData)==null?void 0:S.weather)!=null&&E.overallAsGoodWx?"watermark voyage-main":"voyage-main")},[e.createElementVNode("div",eD,[tD,e.createElementVNode("div",oD,e.toDisplayString(a.computedTime((V=o.reportData)==null?void 0:V.createdAt)),1),lD,e.createElementVNode("div",aD,[e.createVNode(p,{id:"shipSpeedChart","echart-data":l.shipSpdChartData,params:l.params,detail:l.shipSpdDetail,class:"eChart"},null,8,["echart-data","params","detail"]),e.createVNode(p,{id:"FOChart","echart-data":l.FoChartData,params:l.params,detail:l.FODetail,class:"eChart"},null,8,["echart-data","params","detail"]),e.createVNode(p,{id:"DGOChart","echart-data":l.DGOChartData,params:l.params,detail:l.DGODetail,class:"eChart"},null,8,["echart-data","params","detail"])])]),e.createElementVNode("div",nD,[sD,e.createElementVNode("div",iD,e.toDisplayString(a.computedTime((D=o.reportData)==null?void 0:D.createdAt)),1),dD,e.createElementVNode("div",cD,[e.createVNode(p,{id:"windChart","echart-data":l.windSpdChartData,params:l.params,detail:l.windDetail,class:"eChart"},null,8,["echart-data","params","detail"]),e.createVNode(p,{id:"waveChart","echart-data":l.waveChartData,params:l.params,detail:l.waveDetail,class:"eChart"},null,8,["echart-data","params","detail"]),e.createVNode(p,{id:"currentChart","echart-data":l.currentChartData,params:l.params,detail:l.currentDetail,class:"eChart"},null,8,["echart-data","params","detail"])])]),e.createElementVNode("div",rD,[mD,e.createElementVNode("div",hD,e.toDisplayString(a.computedTime((r=o.reportData)==null?void 0:r.createdAt)),1),e.createElementVNode("div",null,[e.createElementVNode("table",pD,[e.createElementVNode("tr",null,[ED,e.createElementVNode("td",null,e.toDisplayString((k=(C=o.reportData)==null?void 0:C.vessel)==null?void 0:k.name),1)]),e.createElementVNode("tr",null,[yD,e.createElementVNode("td",null,e.toDisplayString((T=o.reportData)==null?void 0:T.preparedFor),1)]),e.createElementVNode("tr",null,[_D,e.createElementVNode("td",null,[e.createElementVNode("span",ND,e.toDisplayString(((L=(u=o.reportData)==null?void 0:u.departure)==null?void 0:L.portName)||a.computedLngLat((x=(O=o.reportData)==null?void 0:O.departure)==null?void 0:x.lat,(R=(P=o.reportData)==null?void 0:P.departure)==null?void 0:R.lng)),1),e.createElementVNode("span",null,e.toDisplayString(a.computedTime((z=(Z=o.reportData)==null?void 0:Z.departure)==null?void 0:z.utcTime,"table")),1)])]),e.createElementVNode("tr",null,[VD,e.createElementVNode("td",null,[e.createElementVNode("span",fD,e.toDisplayString(((f=(W=o.reportData)==null?void 0:W.arrival)==null?void 0:f.portName)||a.computedLngLat((G=(Y=o.reportData)==null?void 0:Y.arrival)==null?void 0:G.lat,(K=(H=o.reportData)==null?void 0:H.arrival)==null?void 0:K.lng)),1),e.createElementVNode("span",null,e.toDisplayString(a.computedTime((j=(q=o.reportData)==null?void 0:q.arrival)==null?void 0:j.utcTime,"table")),1)])])])]),e.createElementVNode("div",gD,[e.createElementVNode("img",{style:{width:"100%"},src:(X=o.reportData)==null?void 0:X.chartUrl,alt:""},null,8,DD),e.createElementVNode("div",xD,[e.createElementVNode("div",bD,[CD,e.createVNode(i,{style:{display:"inline-block",transform:"rotate(45deg)",margin:"8px 0 0 4px",position:"relative",top:"-20px"},fill:"var(--black-6)"}),SD]),kD])])]),(M=(N=o.reportData)==null?void 0:N.weather)!=null&&M.showMails?(e.openBlock(),e.createElementBlock("div",AD,[BD,e.createElementVNode("div",wD,e.toDisplayString(a.computedTime(o.reportData.createdAt)),1),e.createElementVNode("div",null,[e.createElementVNode("table",TD,[e.createElementVNode("tr",null,[OD,e.createElementVNode("td",null,e.toDisplayString((s=(J=o.reportData)==null?void 0:J.vessel)==null?void 0:s.name),1)]),e.createElementVNode("tr",null,[FD,e.createElementVNode("td",null,e.toDisplayString(($=o.reportData)==null?void 0:$.preparedFor),1)]),e.createElementVNode("tr",null,[PD,e.createElementVNode("td",null,[e.createElementVNode("span",uD,e.toDisplayString(((ee=(c=o.reportData)==null?void 0:c.departure)==null?void 0:ee.portName)||a.computedLngLat((te=(oe=o.reportData)==null?void 0:oe.departure)==null?void 0:te.lat,(ie=(se=o.reportData)==null?void 0:se.departure)==null?void 0:ie.lng)),1),e.createElementVNode("span",null,e.toDisplayString(a.computedTime((re=(ce=o.reportData)==null?void 0:ce.departure)==null?void 0:re.utcTime,"table")),1)])]),e.createElementVNode("tr",null,[LD,e.createElementVNode("td",null,[e.createElementVNode("span",WD,e.toDisplayString(((pe=(he=o.reportData)==null?void 0:he.arrival)==null?void 0:pe.portName)||a.computedLngLat((de=(Ee=o.reportData)==null?void 0:Ee.arrival)==null?void 0:de.lat,(xe=(ye=o.reportData)==null?void 0:ye.arrival)==null?void 0:xe.lng)),1),e.createElementVNode("span",null,e.toDisplayString(a.computedTime((Ce=(be=o.reportData)==null?void 0:be.arrival)==null?void 0:Ce.utcTime,"table")),1)])])])]),e.createElementVNode("div",HD,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(l.mailList,(fe,F)=>(e.openBlock(),e.createElementBlock("div",{key:fe.id,class:e.normalizeClass(F%2===0?"item":"item bg")},[e.createElementVNode("div",MD,"FROM "+e.toDisplayString(a.computeFrom(fe.from))+" "+e.toDisplayString(a.computeUTCTime(fe.createdAt,"DD/MM/YYYY hhmm")),1),e.createElementVNode("div",{class:"body",innerHTML:a.computeBody((fe==null?void 0:fe.body)??"-")},null,8,GD)],2))),128))])])):e.createCommentVNode("",!0),e.createElementVNode("div",ID,[RD,e.createElementVNode("div",zD,[UD,e.createElementVNode("div",YD,[e.createElementVNode("div",ZD,[QD,JD,e.createElementVNode("div",KD,[e.createElementVNode("div",null,e.toDisplayString((ke=(Se=o.reportData)==null?void 0:Se.weather)!=null&&ke.noExtrapolation?"Total Distance At Good Weather":"Total Distance"),1),qD,XD]),jD]),e.createElementVNode("div",$D,[vD,e0,e.createElementVNode("div",t0,[e.createElementVNode("div",null,e.toDisplayString((Be=(Ae=o.reportData)==null?void 0:Ae.weather)!=null&&Be.noExtrapolation?"Total Distance At Good Weather":"Total Distance"),1),o0,l0]),a0]),e.createElementVNode("div",n0,[s0,i0,e.createElementVNode("div",d0,[e.createElementVNode("div",null,e.toDisplayString((Pe=(Fe=o.reportData)==null?void 0:Fe.weather)!=null&&Pe.noExtrapolation?"Total Distance At Good Weather":"Total Distance"),1),c0,r0]),m0]),h0]),p0,E0,y0,_0])])],2)}const V0=De(v2,[["render",N0],["__scopeId","data-v-4fb04207"]]),Gee="",f0={components:{firstPart:wg,secondPart:U2,thirdPart:V0},props:{initialData:{type:Object,default:()=>({})},isAdmin:{type:Boolean,default:()=>!1},editorDisabled:{type:Boolean,default:()=>!1}},data(){return{reportData:{}}},watch:{initialData:{handler(t,n){t!=null&&t.id&&this.$nextTick(()=>{this.reportData=t})},immediate:!0}},methods:{commit(t){this.$emit("commit",t)}}},g0={class:"voyage-report"};function D0(t,n,o,d,l,a){const p=e.resolveComponent("first-part"),i=e.resolveComponent("second-part"),y=e.resolveComponent("third-part");return e.openBlock(),e.createElementBlock("div",g0,[e.createVNode(p,{reportData:l.reportData,class:"main","editor-disabled":o.editorDisabled,onCommit:a.commit},null,8,["reportData","editor-disabled","onCommit"]),e.createVNode(i,{isAdmin:o.isAdmin,reportData:l.reportData,class:"main"},null,8,["isAdmin","reportData"]),e.createVNode(y,e.mergeProps({reportData:l.reportData,class:"main"},t.$attrs),null,16,["reportData"])])}const Dn=De(f0,[["render",D0],["__scopeId","data-v-61638416"]]),Iee="",x0={components:{Editor:Ro},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(t){var n,o;return(o=(n=this.reportData)==null?void 0:n.weather)!=null&&o.favorableCur?t.avgCf>0:!1}},computedPositive(){return function(t){return t>0?t:`(${t})`}},computedTime(){return function(t,n){return n=="subtitle"?w(t).utc().format("MMMM-DD, YYYY/HHmm[Z]"):n=="table"?w(t).utc().format("MMMM-DD/HHmm[Z]"):n=="summary"?w(t).utc().format("MMMM D, HHmm[Z]"):n?w(t).utc().format(n):w(t).utc().format("MMMM D, YYYY")}},computedLngLat(){return function(t,n){const o=this.getLonLat(v.LngLatHelper.lat2pretty(t)),d=this.getLonLat(v.LngLatHelper.lng2pretty(n));return`${o} ${d}`}},computedSeg(){return function(t){const n=t.departure.portName||this.computedLngLat(t.departure.lat,t.departure.lng),o=this.computedTime(t.departure.utcTime,"summary"),d=this.computedTime(t.departure.utcTime,"MMMM-DD,YYYY/HHmm[Z]"),l=t.arrival.portName||this.computedLngLat(t.arrival.lat,t.arrival.lng),a=this.computedTime(t.arrival.utcTime,"summary"),p=this.computedTime(t.arrival.utcTime,"MMMM-DD,YYYY/HHmm[Z]");return{port1:n,time1:o,fullTime1:d,port2:l,time2:a,fullTime2:p}}},computedTimeConclusion(){return function(t){let n=t.conclusionStatus,o={conclusion:"",className:"",timeCon:""};return n=="No"?(o.conclusion="Not Available",o.className="",o.timeCon=""):n=="Lost"?(o.conclusion="Time Lost",o.className="error",o.timeCon=`${t.timeLost} hrs`):(o.conclusion="Time Gained",o.className="success",o.timeCon=`${t.timeGain} hrs`),o}},computedFuleConclusion(){return function(t,n){let o=t.conclusionStatus,d={conclusion:"",className:"",cons:""};return o==="No"?(d.conclusion="Not Available",d.className="",d.cons=""):o==="Over"?(n==="FO"?d.conclusion="FO Over":d.conclusion="DO/GO Over",d.className="error",d.cons=`${t.overCons} mt`):(n==="FO"?d.conclusion="FO Under":d.conclusion="DO/GO Under",d.className="success",d.cons=`${t.saving} mt`),d}},computedUnit(){return function(t,n){return n?"%":t=="speed"?"":"(mt)"}},computedWeatherDef(){return function(t){let n="";t!=null&&t.timePercentage?`${t==null?void 0:t.time}`:`${t==null?void 0:t.time}`;let o=t==null?void 0:t.windScale,d="",l=0;return t!=null&&t.waveSwitch?(d+=`, Wind wave height is ${t==null?void 0:t.waveHeight} meters or less`,l++):t!=null&&t.swellSwitch?(d+=`, Swell wave height is ${t==null?void 0:t.swellHeight} meters or less`,l++):t!=null&&t.sigSwitch&&(d+=`, Significant wave height is ${t==null?void 0:t.sigHeight} meters or less`,l++),l>0&&(d+=`(Douglas Sea State ${t==null?void 0:t.seaScale})`),n=`Winds are BF/${o} or less${d}`,t!=null&&t.noAdverseCur&&(n+=", No Adverse Current"),t!=null&&t.noExtrapolation&&(n+=", No Extrapolation"),n}},computedColor(){return function(t,n,o){let d="";if(t==="No")return d=o?"bg-color-normal":"color-normal",d;switch(n){case"time":t==="Lost"?d="color-fail":d="color-success";break;case"fuel":t==="Over"?d="color-fail":d="color-success";break;case"pfm":t==="Under"?d="color-fail":d="color-success";break}return o&&(d="bg-"+d),d}},computedAbt4Spd(){return function(t){var n,o,d;return(n=t.timeConclusion)!=null&&n.spdPercentage?v.roundPrecision(t.extend.cp.speed*(((o=t==null?void 0:t.timeConclusion)==null?void 0:o.spdOfAbout)/100),2):(d=t==null?void 0:t.timeConclusion)==null?void 0:d.spdOfAbout}}},watch:{reportData:{handler(t,n){var o;t!=null&&t.id&&(this.$nextTick(()=>{this.cheakData()}),this.advisory=(o=this.reportData)==null?void 0:o.remarks,this.date=this.computedTime(this.reportData.createdAt))},immediate:!0}},methods:{getLonLat(t){return`${t.degree}°${v.roundPrecision(t.minute,2)}′${t.direction}`},handleCommit(t){this.editable=!1,this.$emit("commit",t)},decideDisable(){this.editorDisabled?this.editable=!1:this.editable=!0},cheakData(){var n,o;this.goodDays=[],this.segDetail=[],this.excludedTableData=[],this.cpDetail=[];let t=[];(o=(n=this.reportData)==null?void 0:n.segments)==null||o.forEach((d,l)=>{let a=d.excluded;if(a.sumDistance>0&&a.detail.forEach(i=>{let y={begin:w(i.begin).utc().format("DD/MM/YYYY HHmm[Z]"),end:w(i.end).utc().format("DD/MM/YYYY HHmm[Z]"),time:w(i.begin).utc().format("DD/MM/YYYY HHmm[Z]")+" - "+w(i.end).utc().format("DD/MM/YYYY HHmm[Z]"),duration:i.duration,distance:i.distance,fo:i.foCons,dgo:i.dgoCons};this.excludedTableData.push(y)}),!t.includes(d.seg)){t.push(d.seg);let i=Object.assign({},d.extend.cp);i.spdOfOver=`+${d.timeConclusion.spdOfOver}${this.computedUnit("speed",d.timeConclusion.spdPercentage)}`,i.spdOfUnder=`-${d.timeConclusion.spdOfUnder}${this.computedUnit("speed",d.timeConclusion.spdPercentage)}`,i.over=`+${d.fuelConclusion.consOfOver}${this.computedUnit("cons",d.fuelConclusion.consPercentage)}`,i.under=`-${d.fuelConclusion.consOfUnder}${this.computedUnit("cons",d.fuelConclusion.consPercentage)}`,this.cpDetail.push(i)}let p=[];d.extend.segTimes.forEach(i=>{p.push(this.computedSeg(i))}),this.segDetail.push(p),this.goodDays.push(d.inventory.sample.hours.filter(i=>i.type!=="A"&&i.goodWx))})}}},h=t=>(e.pushScopeId("data-v-9be6b8be"),t=t(),e.popScopeId(),t),b0=h(()=>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)),C0={class:"fli-main"},S0=h(()=>e.createElementVNode("div",{class:"subtitle"},[e.createElementVNode("i",{class:"iconfont"},""),e.createElementVNode("div",{class:"content"},"Voyage Basics")],-1)),k0={class:"card basics"},A0={class:"list flex"},B0={class:"item"},w0=h(()=>e.createElementVNode("label",{class:"flex"},"Company Name: ",-1)),T0={class:"content flex"},O0={class:"item"},F0=h(()=>e.createElementVNode("label",{class:"flex"},"Vessel Name: ",-1)),P0={class:"content flex"},u0={class:"item"},L0=h(()=>e.createElementVNode("label",{class:"flex"},"Report Created: ",-1)),W0={class:"content flex"},H0={class:"list"},M0={class:"item"},G0=h(()=>e.createElementVNode("label",{class:"flex"},"Departure Port: ",-1)),I0={class:"content flex"},R0={class:"content flex"},z0={class:"item"},U0=h(()=>e.createElementVNode("label",{class:"flex"},"Arrival Port: ",-1)),Y0={class:"content flex"},Z0={class:"content flex"},Q0={class:"item"},J0=h(()=>e.createElementVNode("label",null,"Voyage Condition: ",-1)),K0={class:"content flexL"},q0=h(()=>e.createElementVNode("div",{class:"subtitle"},[e.createElementVNode("i",{class:"iconfont"},""),e.createElementVNode("div",{class:"content"},"Charter Party Clause")],-1)),X0={class:"clause"},j0={key:0,class:"definition flex"},$0={key:1,class:"definition flex"},v0={class:"item"},ex=h(()=>e.createElementVNode("label",null,"Beaufort Wind Scale",-1)),tx={class:"content"},ox={key:0,class:"item"},lx=h(()=>e.createElementVNode("label",null,"Wind Wave Height",-1)),ax={class:"content"},nx={key:1,class:"item"},sx=h(()=>e.createElementVNode("label",null,"Swell Wave Height",-1)),ix={class:"content"},dx={key:2,class:"item"},cx=h(()=>e.createElementVNode("label",null,"Significant Wave Height",-1)),rx={class:"content"},mx={key:3,class:"item"},hx=h(()=>e.createElementVNode("label",null,"Douglas Sea State",-1)),px={class:"content"},Ex={key:4,class:"item"},yx=[h(()=>e.createElementVNode("label",null,"No Adverse Current",-1)),h(()=>e.createElementVNode("div",{class:"content"},"Applied",-1))],_x={key:5,class:"item"},Nx=[h(()=>e.createElementVNode("label",null,"No Extrapolation",-1)),h(()=>e.createElementVNode("div",{class:"content"},"Applied",-1))],Vx={class:"definition flexM"},fx={class:"table"},gx=h(()=>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)),Dx=h(()=>e.createElementVNode("div",{class:"title"},[e.createElementVNode("i",{class:"iconfont"},""),e.createElementVNode("div",{class:"content"},"Analysis Summary")],-1)),xx={class:"summary"},bx={key:0,class:"summary-overall"},Cx=h(()=>e.createElementVNode("div",{class:"summary-overall-row"},[e.createElementVNode("h3",null,"Overall")],-1)),Sx={class:"summary-overall-row"},kx={class:"card"},Ax=h(()=>e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("label",null,"GW Avg Daily Speed")],-1)),Bx={class:"main-content"},wx={key:0},Tx={key:1},Ox={class:"card"},Fx=h(()=>e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("label",null,"GW Avg Daily Cons. FO*")],-1)),Px={class:"main-content"},ux={key:0},Lx={key:1},Wx={class:"card"},Hx=h(()=>e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("label",null,"GW Avg Daily Cons. DO/GO*")],-1)),Mx={class:"main-content"},Gx={key:0},Ix={key:1},Rx={class:"summary-overall-row"},zx={class:"card"},Ux=h(()=>e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("label",null,"Overall Avg Daily Speed")],-1)),Yx={class:"main-content"},Zx={class:"card"},Qx=h(()=>e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("label",null,"Overall Avg Daily Cons. FO*")],-1)),Jx={class:"main-content"},Kx={class:"card"},qx=h(()=>e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("label",null,"Overall Avg Daily Cons. DO/GO*")],-1)),Xx={class:"main-content"},jx=h(()=>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)),$x={class:"card",style:{flex:"1.5"}},vx={class:"card-title"},eb=h(()=>e.createElementVNode("i",{class:"iconfont"},"",-1)),tb={class:"card-segment"},ob={class:"card-segment"},lb={class:"card-segment"},ab=h(()=>e.createElementVNode("div",null,"Applied",-1)),nb={class:"uppercase"},sb={class:"card summary-card",style:{flex:"1"}},ib=h(()=>e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("span",null,"Time Lost/Gained: ")],-1)),db={key:0,class:"main-content"},cb={key:0,class:"iconfont success"},rb={key:1,class:"iconfont error"},mb={key:1,class:"main-content"},hb={class:"card-content",style:{"justify-content":"flex-start"}},pb={class:"card summary-card",style:{flex:"1"}},Eb=h(()=>e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("span",null,"FO Over/Under: ")],-1)),yb={key:0,class:"main-content"},_b={key:0,class:"iconfont success"},Nb={key:1,class:"iconfont error"},Vb={key:1,class:"main-content"},fb={class:"card-content",style:{"justify-content":"flex-start"}},gb={class:"card summary-card",style:{flex:"1"}},Db=h(()=>e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("span",null,"DO/GO Over/Under: ")],-1)),xb={key:0,class:"main-content"},bb={key:0,class:"iconfont success"},Cb={key:1,class:"iconfont error"},Sb={key:1,class:"main-content"},kb={class:"card-content",style:{"justify-content":"flex-start"}},Ab={style:{"page-break-inside":"avoid"}},Bb=h(()=>e.createElementVNode("div",{class:"subtitle"},[e.createElementVNode("i",{class:"iconfont"},""),e.createElementVNode("div",{class:"content"},"Voyage Remarks")],-1)),wb={class:"remarks"},Tb={class:"item"},Ob=h(()=>e.createElementVNode("div",{class:"remark-title"},[e.createElementVNode("i",{class:"iconfont"},""),e.createElementVNode("span",null,"Speed Adjustment")],-1)),Fb={class:"speed"},Pb={class:"uppercase"},ub={class:"item"},Lb=h(()=>e.createElementVNode("div",{class:"remark-title"},[e.createElementVNode("i",{class:"iconfont"},""),e.createElementVNode("span",null,"Excluded Period")],-1)),Wb={key:0,class:"remark-detail"},Hb={key:1,class:"remark-detail"},Mb={class:"page-avoid"},Gb={class:"dashed"},Ib={class:"card phase-title-card",style:{flex:"0.5"}},Rb={class:"card-title"},zb=h(()=>e.createElementVNode("i",{class:"iconfont"},"",-1)),Ub={class:"card-segment"},Yb={class:"card-segment"},Zb={class:"card-segment"},Qb=h(()=>e.createElementVNode("div",null,"Applied",-1)),Jb={class:"uppercase"},Kb=h(()=>e.createElementVNode("div",{class:"title"},[e.createElementVNode("i",{class:"iconfont"},""),e.createElementVNode("div",{class:"content"},"Calculation Summary")],-1)),qb={class:"phase-analysis"},Xb={class:"card phase-card",style:{flex:"1"}},jb=h(()=>e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("span",null,"GW Avg Daily Cons. FO*")],-1)),$b={class:"main-content"},vb=h(()=>e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("span",null,"Overall Avg Daily Cons. FO*")],-1)),eC={class:"main-content"},tC={class:"card-content"},oC=h(()=>e.createElementVNode("label",null,"GW Avg Daily Cons. FO (out of ECA)",-1)),lC=h(()=>e.createElementVNode("span",null,"mt",-1)),aC={class:"card-content"},nC=h(()=>e.createElementVNode("label",null,"GW Avg Daily Cons. FO* (in ECA)",-1)),sC=h(()=>e.createElementVNode("span",null,"mt",-1)),iC={class:"card-content"},dC=h(()=>e.createElementVNode("label",null,"Overall Avg Daily Cons. FO (out of ECA)",-1)),cC=h(()=>e.createElementVNode("span",null,"mt",-1)),rC={class:"card-content"},mC=h(()=>e.createElementVNode("label",null,"Overall Avg Daily Cons. FO* (in ECA)",-1)),hC=h(()=>e.createElementVNode("span",null,"mt",-1)),pC=h(()=>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)),EC={class:"card phase-card",style:{flex:"1"}},yC=h(()=>e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("span",null,"GW Avg Daily Cons. DO/GO*")],-1)),_C={class:"main-content"},NC=h(()=>e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("span",null,"Overall Avg Daily Cons. DO/GO*")],-1)),VC={class:"main-content"},fC={class:"card-content"},gC=h(()=>e.createElementVNode("label",null,"GW Avg Daily Cons. DO/GO (out of ECA)",-1)),DC=h(()=>e.createElementVNode("span",null,"mt",-1)),xC={class:"card-content"},bC=h(()=>e.createElementVNode("label",null,"GW Avg Daily Cons. DO/GO* (in ECA)",-1)),CC=h(()=>e.createElementVNode("span",null,"mt",-1)),SC={class:"card-content"},kC=h(()=>e.createElementVNode("label",null,"Overall Avg Daily Cons. DO/GO (out of ECA)",-1)),AC=h(()=>e.createElementVNode("span",null,"mt",-1)),BC={class:"card-content"},wC=h(()=>e.createElementVNode("label",null,"Overall Avg Daily Cons. DO/GO* (in ECA)",-1)),TC=h(()=>e.createElementVNode("span",null,"mt",-1)),OC=h(()=>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)),FC={class:"phase-analysis"},PC={class:"card phase-card",style:{flex:"1"}},uC=h(()=>e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("span",null,"GW Distance")],-1)),LC={class:"main-content"},WC=h(()=>e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("span",null,"Overall Distance")],-1)),HC={class:"main-content"},MC={class:"card-content"},GC=h(()=>e.createElementVNode("label",null,"GW Distance (out of ECA)",-1)),IC=h(()=>e.createElementVNode("span",null,"nm",-1)),RC={class:"card-content"},zC=h(()=>e.createElementVNode("label",null,"GW Distance (in ECA)",-1)),UC=h(()=>e.createElementVNode("span",null,"nm",-1)),YC={class:"card-content"},ZC=h(()=>e.createElementVNode("label",null,"Overall Distance (out of ECA)",-1)),QC=h(()=>e.createElementVNode("span",null,"nm",-1)),JC={class:"card-content"},KC=h(()=>e.createElementVNode("label",null,"Overall Distance (in ECA)",-1)),qC=h(()=>e.createElementVNode("span",null,"nm",-1)),XC={class:"card phase-card",style:{flex:"1"}},jC=h(()=>e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("span",null,"GW Time")],-1)),$C={class:"main-content"},vC=h(()=>e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("span",null,"Overall Time")],-1)),eS={class:"main-content"},tS={class:"card-content"},oS=h(()=>e.createElementVNode("label",null,"GW Time (out of ECA)",-1)),lS=h(()=>e.createElementVNode("span",null,"hrs",-1)),aS={class:"card-content"},nS=h(()=>e.createElementVNode("label",null,"GW Time (in ECA)",-1)),sS=h(()=>e.createElementVNode("span",null,"hrs",-1)),iS={class:"card-content"},dS=h(()=>e.createElementVNode("label",null,"Overall Time (out of ECA)",-1)),cS=h(()=>e.createElementVNode("span",null,"hrs",-1)),rS={class:"card-content"},mS=h(()=>e.createElementVNode("label",null,"Overall Time (in ECA)",-1)),hS=h(()=>e.createElementVNode("span",null,"hrs",-1)),pS={class:"card phase-card",style:{flex:"1"}},ES=h(()=>e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("span",null,"GW Avg Speed")],-1)),yS={class:"main-content"},_S=h(()=>e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("span",null,"Overall Avg Speed")],-1)),NS={class:"main-content"},VS={class:"card-content"},fS=h(()=>e.createElementVNode("label",null,"GW Avg Speed (out of ECA)",-1)),gS=h(()=>e.createElementVNode("span",null,"kts",-1)),DS={class:"card-content"},xS=h(()=>e.createElementVNode("label",null,"GW Avg Speed (in ECA)",-1)),bS=h(()=>e.createElementVNode("span",null,"kts",-1)),CS={class:"card-content"},SS=h(()=>e.createElementVNode("label",null,"Overall Avg Speed (out of ECA)",-1)),kS=h(()=>e.createElementVNode("span",null,"kts",-1)),AS={class:"card-content"},BS=h(()=>e.createElementVNode("label",null,"Overall Avg Speed (in ECA)",-1)),wS=h(()=>e.createElementVNode("span",null,"kts",-1)),TS={class:"phase-analysis"},OS={class:"card phase-card",style:{flex:"1"}},FS=h(()=>e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("span",null,"GW Cons. FO")],-1)),PS={class:"main-content"},uS=h(()=>e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("span",null,"Overall Cons. FO")],-1)),LS={class:"main-content"},WS={class:"card-content"},HS=h(()=>e.createElementVNode("label",null,"GW Cons. FO (out of ECA)",-1)),MS=h(()=>e.createElementVNode("span",null,"mt",-1)),GS={class:"card-content"},IS=h(()=>e.createElementVNode("label",null,"GW Cons. FO (in ECA)",-1)),RS=h(()=>e.createElementVNode("span",null,"mt",-1)),zS={class:"card-content"},US=h(()=>e.createElementVNode("label",null,"Overall Cons. FO (out of ECA)",-1)),YS=h(()=>e.createElementVNode("span",null,"mt",-1)),ZS={class:"card-content"},QS=h(()=>e.createElementVNode("label",null,"Overall Cons. FO (in ECA)",-1)),JS=h(()=>e.createElementVNode("span",null,"mt",-1)),KS={class:"card phase-card",style:{flex:"1"}},qS=h(()=>e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("span",null,"GW Cons. DO/GO")],-1)),XS={class:"main-content"},jS=h(()=>e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("span",null,"Overall Cons. DO/GO")],-1)),$S={class:"main-content"},vS={class:"card-content"},e3=h(()=>e.createElementVNode("label",null,"GW Cons. DO/GO (out of ECA)",-1)),t3=h(()=>e.createElementVNode("span",null,"mt",-1)),o3={class:"card-content"},l3=h(()=>e.createElementVNode("label",null,"GW Cons. DO/GO (in ECA)",-1)),a3=h(()=>e.createElementVNode("span",null,"mt",-1)),n3={class:"card-content"},s3=h(()=>e.createElementVNode("label",null,"Overall Cons. DO/GO (out of ECA)",-1)),i3=h(()=>e.createElementVNode("span",null,"mt",-1)),d3={class:"card-content"},c3=h(()=>e.createElementVNode("label",null,"Overall Cons. DO/GO (in ECA)",-1)),r3=h(()=>e.createElementVNode("span",null,"mt",-1)),m3={class:"card phase-card",style:{flex:"1","justify-content":"flex-start"}},h3=h(()=>e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("span",null,"GW Performance Speed")],-1)),p3={class:"main-content"},E3={class:"card-content"},y3=h(()=>e.createElementVNode("label",null,"GW Current Factor",-1)),_3={key:0},N3=h(()=>e.createElementVNode("span",null,"kts",-1)),V3={key:1},f3={class:"phase-card"},g3={class:"card",style:{flex:"1"}},D3=h(()=>e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("span",null,"Time Lost/Gained: ")],-1)),x3={key:0,class:"main-content"},b3={key:0,class:"iconfont success"},C3={key:1,class:"iconfont error"},S3={key:1,class:"main-content"},k3={class:"nogwd"},A3={class:"card-content",style:{"justify-content":"flex-start"}},B3={key:0},w3={class:"equation"},T3=h(()=>e.createElementVNode("div",{style:{width:"54%"}},"Total Time at Good Weather Performance Speed",-1)),O3=h(()=>e.createElementVNode("div",{style:{width:"5%"}},"=",-1)),F3={style:{width:"8%"}},P3=h(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),u3=h(()=>e.createElementVNode("div",{style:{width:"5%"}},"=",-1)),L3={style:{width:"10%"}},W3=h(()=>e.createElementVNode("div",{style:{width:"5%"}},"(a')",-1)),H3={class:"equation"},M3=h(()=>e.createElementVNode("div",{style:{width:"54%"}},"Total Time at ( Warranted Speed - Speed Under)",-1)),G3=h(()=>e.createElementVNode("div",{style:{width:"5%"}},"=",-1)),I3={style:{width:"8%"}},R3=h(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),z3=h(()=>e.createElementVNode("div",{style:{width:"5%"}},"=",-1)),U3={style:{width:"10%"}},Y3=h(()=>e.createElementVNode("div",{style:{width:"5%"}},"(b')",-1)),Z3={class:"equation"},Q3=h(()=>e.createElementVNode("div",{style:{width:"54%"}},"Total Time at ( Warranted Speed + Speed Over)",-1)),J3=h(()=>e.createElementVNode("div",{style:{width:"5%"}},"=",-1)),K3={style:{width:"8%"}},q3=h(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),X3=h(()=>e.createElementVNode("div",{style:{width:"5%"}},"=",-1)),j3={style:{width:"10%"}},$3=h(()=>e.createElementVNode("div",{style:{width:"5%"}},"(c')",-1)),v3={class:"phase-card"},ek={class:"card",style:{flex:"1"}},tk=h(()=>e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("span",null,"FO Over/Under: ")],-1)),ok={key:0,class:"main-content"},lk={key:0,class:"iconfont success"},ak={key:1,class:"iconfont error"},nk={key:1,class:"main-content"},sk={class:"nogwd"},ik={class:"card-content",style:{"justify-content":"flex-start"}},dk={key:0},ck={class:"equation"},rk=h(()=>e.createElementVNode("div",{style:{width:"54%"}},"Entire Voyage Consumption using Good Weather Consumption",-1)),mk=h(()=>e.createElementVNode("div",{style:{width:"5%"}},"=",-1)),hk={style:{width:"8%"}},pk=h(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),Ek=h(()=>e.createElementVNode("div",{style:{width:"5%"}},"×",-1)),yk={style:{width:"120px"}},_k=h(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),Nk=h(()=>e.createElementVNode("div",{style:{width:"5%"}},"=",-1)),Vk={style:{width:"10%"}},fk=h(()=>e.createElementVNode("div",{style:{width:"5%"}},"(d')",-1)),gk={class:"equation"},Dk=h(()=>e.createElementVNode("div",{style:{width:"54%"}},"Maximum Warranted Consumption for Over-Consumption",-1)),xk=h(()=>e.createElementVNode("div",{style:{width:"5%"}},"=",-1)),bk={style:{width:"8%"}},Ck=h(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),Sk=h(()=>e.createElementVNode("div",{style:{width:"5%"}},"×",-1)),kk={style:{width:"120px"}},Ak=h(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),Bk=h(()=>e.createElementVNode("div",null,"24",-1)),wk=h(()=>e.createElementVNode("div",{style:{width:"5%"}},"=",-1)),Tk={style:{width:"10%"}},Ok=h(()=>e.createElementVNode("div",{style:{width:"5%"}},"(e')",-1)),Fk={class:"equation"},Pk=h(()=>e.createElementVNode("div",{style:{width:"54%"}},"Minimum Warranted Consumption for Fuel-Consumption",-1)),uk=h(()=>e.createElementVNode("div",{style:{width:"5%"}},"=",-1)),Lk={style:{width:"8%"}},Wk=h(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),Hk=h(()=>e.createElementVNode("div",{style:{width:"5%"}},"×",-1)),Mk={style:{width:"120px"}},Gk=h(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),Ik=h(()=>e.createElementVNode("div",null,"24",-1)),Rk=h(()=>e.createElementVNode("div",{style:{width:"5%"}},"=",-1)),zk={style:{width:"10%"}},Uk=h(()=>e.createElementVNode("div",{style:{width:"5%"}},"(f')",-1)),Yk={class:"phase-card"},Zk={class:"card",style:{flex:"1"}},Qk=h(()=>e.createElementVNode("div",{class:"card-subtitle"},[e.createElementVNode("span",null,"DO/GO Over/Under: ")],-1)),Jk={key:0,class:"main-content"},Kk={key:0,class:"iconfont success"},qk={key:1,class:"iconfont error"},Xk={key:1,class:"main-content"},jk={class:"nogwd"},$k={class:"card-content",style:{"justify-content":"flex-start"}},vk={key:0},e4={class:"equation"},t4=h(()=>e.createElementVNode("div",{style:{width:"54%"}},"Entire Voyage Consumption using Good Weather Consumption",-1)),o4=h(()=>e.createElementVNode("div",{style:{width:"5%"}},"=",-1)),l4={style:{width:"8%"}},a4=h(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),n4=h(()=>e.createElementVNode("div",{style:{width:"5%"}},"×",-1)),s4={style:{width:"120px"}},i4=h(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),d4=h(()=>e.createElementVNode("div",{style:{width:"5%"}},"=",-1)),c4={style:{width:"10%"}},r4=h(()=>e.createElementVNode("div",{style:{width:"5%"}},"(d')",-1)),m4={class:"equation"},h4=h(()=>e.createElementVNode("div",{style:{width:"54%"}},"Maximum Warranted Consumption for Over-Consumption",-1)),p4=h(()=>e.createElementVNode("div",{style:{width:"5%"}},"=",-1)),E4={style:{width:"8%"}},y4=h(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),_4=h(()=>e.createElementVNode("div",{style:{width:"5%"}},"×",-1)),N4={style:{width:"120px"}},V4=h(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),f4=h(()=>e.createElementVNode("div",null,"24",-1)),g4=h(()=>e.createElementVNode("div",{style:{width:"5%"}},"=",-1)),D4={style:{width:"10%"}},x4=h(()=>e.createElementVNode("div",{style:{width:"5%"}},"(e')",-1)),b4={class:"equation"},C4=h(()=>e.createElementVNode("div",{style:{width:"54%"}},"Minimum Warranted Consumption for Fuel-Consumption",-1)),S4=h(()=>e.createElementVNode("div",{style:{width:"5%"}},"=",-1)),k4={style:{width:"8%"}},A4=h(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),B4=h(()=>e.createElementVNode("div",{style:{width:"5%"}},"×",-1)),w4={style:{width:"120px"}},T4=h(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),O4=h(()=>e.createElementVNode("div",null,"24",-1)),F4=h(()=>e.createElementVNode("div",{style:{width:"5%"}},"=",-1)),P4={style:{width:"10%"}},u4=h(()=>e.createElementVNode("div",{style:{width:"5%"}},"(f')",-1)),L4=h(()=>e.createElementVNode("div",{class:"dashed",style:{"margin-top":"20px"}},null,-1)),W4={class:"formular dashed",style:{"page-break-inside":"avoid"}},H4={class:"flex formular-item",style:{"border-right":"2px dashed var(--fli-border-color)"}},M4=h(()=>e.createElementVNode("div",{class:"subtitle"},[e.createElementVNode("div",{class:"content"},[e.createElementVNode("i",{class:"iconfont"},""),e.createTextVNode(" Time Lost/Saved Calculation Method ")])],-1)),G4={class:""},I4={class:"equation"},R4=h(()=>e.createElementVNode("div",{style:{width:"35%","text-align":"left"}},"Total Time at Good Weather Performance Speed",-1)),z4=h(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"=",-1)),U4={style:{width:"50%"},class:"fraction"},Y4=h(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),Z4=h(()=>e.createElementVNode("div",null,"Good Weather Performance Speed",-1)),Q4=h(()=>e.createElementVNode("div",{style:{width:"10%","text-align":"center"}},"(a)",-1)),J4={class:"equation"},K4=h(()=>e.createElementVNode("div",{style:{width:"35%","text-align":"left"}},"Total Time at ( Warranted Speed - Speed Under )",-1)),q4=h(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"=",-1)),X4={style:{width:"50%"},class:"fraction"},j4=h(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),$4=h(()=>e.createElementVNode("div",null,"Warranted Speed - Speed Under",-1)),v4=h(()=>e.createElementVNode("div",{style:{width:"10%","text-align":"center"}},"(b)",-1)),eA={class:"equation"},tA=h(()=>e.createElementVNode("div",{style:{width:"35%","text-align":"left"}},"Total Time at ( Warranted Speed + Speed Over )",-1)),oA=h(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"=",-1)),lA={style:{width:"50%"},class:"fraction"},aA=h(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),nA=h(()=>e.createElementVNode("div",null,"Warranted Speed + Speed Over",-1)),sA=h(()=>e.createElementVNode("div",{style:{width:"10%","text-align":"center"}},"(c)",-1)),iA=h(()=>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)),dA={class:"flexL formular-item",style:{"margin-left":"20px"}},cA=h(()=>e.createElementVNode("div",{class:"subtitle"},[e.createElementVNode("div",{class:"content"},[e.createElementVNode("i",{class:"iconfont"},""),e.createTextVNode(" Fuel Over/Under Consumption Calculation Method ")])],-1)),rA={class:""},mA={class:"equation"},hA=h(()=>e.createElementVNode("div",{style:{width:"28%","text-align":"left"}},"Entire Voyage Consumption using vessel Good Weather Consumption",-1)),pA=h(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"=",-1)),EA={style:{width:"25%"},class:"fraction"},yA=h(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),_A=h(()=>e.createElementVNode("div",null,"Good Weather Performance Speed",-1)),NA=h(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"×",-1)),VA=h(()=>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)),fA=h(()=>e.createElementVNode("div",{style:{width:"7%","text-align":"center"}},"(d)",-1)),gA={class:"equation"},DA=h(()=>e.createElementVNode("div",{style:{width:"28%","text-align":"left"}},"Maximum Warranted Consumption for over-consumption",-1)),xA=h(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"=",-1)),bA={style:{width:"25%"},class:"fraction"},CA=h(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),SA=h(()=>e.createElementVNode("div",null,"Warranted Speed - Speed Under",-1)),kA=h(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"×",-1)),AA=h(()=>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)),BA=h(()=>e.createElementVNode("div",{style:{width:"7%","text-align":"center"}},"(e)",-1)),wA={class:"equation"},TA=h(()=>e.createElementVNode("div",{style:{width:"28%","text-align":"left"}},"Minimum Warranted Consumption for fuel saving",-1)),OA=h(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"=",-1)),FA={style:{width:"25%"},class:"fraction"},PA=h(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),uA=h(()=>e.createElementVNode("div",null,"Warranted Speed - Speed Under",-1)),LA=h(()=>e.createElementVNode("div",{style:{width:"5%","text-align":"center"}},"×",-1)),WA=h(()=>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)),HA=h(()=>e.createElementVNode("div",{style:{width:"7%","text-align":"center"}},"(f)",-1)),MA=h(()=>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)),GA=h(()=>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));function IA(t,n,o,d,l,a){var p,i,y,b,S,E,V,D,r,C,k,T,u,L,O,x,P,R,Z,z,W,f,Y,G,H,K,q,j,X,N,M,J,s,$,c,ee,oe,te,se,ie,ce,re,he,pe,Ee,de,ye,xe,be,Ce,Se,ke,Ae,Be,Fe,Pe,fe,F,_e,ue,Le,We,we,He,Ke,qe,U,Oe,ze,Ue,Ye,Ze,Qe,Je;return e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass((i=(p=o.reportData)==null?void 0:p.weather)!=null&&i.referenceOnly?"watermark":"")},[b0,e.createElementVNode("div",C0,[S0,e.createElementVNode("div",k0,[e.createElementVNode("div",A0,[e.createElementVNode("div",B0,[w0,e.createElementVNode("div",T0,e.toDisplayString((y=o.reportData)==null?void 0:y.preparedFor),1)]),e.createElementVNode("div",O0,[F0,e.createElementVNode("div",P0,e.toDisplayString((S=(b=o.reportData)==null?void 0:b.vessel)==null?void 0:S.name),1)]),e.createElementVNode("div",u0,[L0,e.createElementVNode("div",W0,e.toDisplayString(l.date),1)])]),e.createElementVNode("div",H0,[e.createElementVNode("div",M0,[G0,e.createElementVNode("div",I0,e.toDisplayString(((V=(E=o.reportData)==null?void 0:E.departure)==null?void 0:V.portName)||a.computedLngLat((r=(D=o.reportData)==null?void 0:D.departure)==null?void 0:r.lat,(k=(C=o.reportData)==null?void 0:C.departure)==null?void 0:k.lng)),1),e.createElementVNode("div",R0,e.toDisplayString(a.computedTime((u=(T=o.reportData)==null?void 0:T.departure)==null?void 0:u.utcTime,"table")),1)]),e.createElementVNode("div",z0,[U0,e.createElementVNode("div",Y0,e.toDisplayString(((O=(L=o.reportData)==null?void 0:L.arrival)==null?void 0:O.portName)||a.computedLngLat((P=(x=o.reportData)==null?void 0:x.arrival)==null?void 0:P.lat,(Z=(R=o.reportData)==null?void 0:R.arrival)==null?void 0:Z.lng)),1),e.createElementVNode("div",Z0,e.toDisplayString(a.computedTime((W=(z=o.reportData)==null?void 0:z.arrival)==null?void 0:W.utcTime,"table")),1)]),e.createElementVNode("div",Q0,[J0,e.createElementVNode("div",K0,e.toDisplayString((Y=(f=o.reportData)==null?void 0:f.voyage)==null?void 0:Y.loadCondition),1)])])]),q0,e.createElementVNode("div",X0,[(H=(G=o.reportData)==null?void 0:G.weather)!=null&&H.overallAsGoodWx?(e.openBlock(),e.createElementBlock("div",j0," No specific thresholds in weather. ")):(e.openBlock(),e.createElementBlock("div",$0,[e.createElementVNode("div",v0,[ex,e.createElementVNode("div",tx,"BF "+e.toDisplayString(((q=(K=o.reportData)==null?void 0:K.weather)==null?void 0:q.windScale)||"-"),1)]),(X=(j=o.reportData)==null?void 0:j.weather)!=null&&X.waveSwitch?(e.openBlock(),e.createElementBlock("div",ox,[lx,e.createElementVNode("div",ax,e.toDisplayString(((M=(N=o.reportData)==null?void 0:N.weather)==null?void 0:M.waveHeight)||"-")+" Meter",1)])):(s=(J=o.reportData)==null?void 0:J.weather)!=null&&s.swellSwitch?(e.openBlock(),e.createElementBlock("div",nx,[sx,e.createElementVNode("div",ix,e.toDisplayString(((c=($=o.reportData)==null?void 0:$.weather)==null?void 0:c.swellHeight)||"-")+" Meter",1)])):(oe=(ee=o.reportData)==null?void 0:ee.weather)!=null&&oe.sigSwitch?(e.openBlock(),e.createElementBlock("div",dx,[cx,e.createElementVNode("div",rx,e.toDisplayString(((se=(te=o.reportData)==null?void 0:te.weather)==null?void 0:se.sigHeight)||"-")+" Meter",1)])):e.createCommentVNode("",!0),(ce=(ie=o.reportData)==null?void 0:ie.weather)!=null&&ce.waveSwitch||(he=(re=o.reportData)==null?void 0:re.weather)!=null&&he.swellHeight||(Ee=(pe=o.reportData)==null?void 0:pe.weather)!=null&&Ee.sigSwitch?(e.openBlock(),e.createElementBlock("div",mx,[hx,e.createElementVNode("div",px,e.toDisplayString((ye=(de=o.reportData)==null?void 0:de.weather)==null?void 0:ye.seaScale),1)])):e.createCommentVNode("",!0),(be=(xe=o.reportData)==null?void 0:xe.weather)!=null&&be.noAdverseCur?(e.openBlock(),e.createElementBlock("div",Ex,yx)):e.createCommentVNode("",!0),(Se=(Ce=o.reportData)==null?void 0:Ce.weather)!=null&&Se.noExtrapolation?(e.openBlock(),e.createElementBlock("div",_x,Nx)):e.createCommentVNode("",!0)])),e.createElementVNode("div",Vx,[e.createElementVNode("table",fx,[gx,e.createElementVNode("tbody",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(l.cpDetail,(_,Q)=>(e.openBlock(),e.createElementBlock("tr",{key:Q},[e.createElementVNode("td",null,e.toDisplayString(_==null?void 0:_.type),1),e.createElementVNode("td",null,e.toDisplayString(`${_==null?void 0:_.speed} | ${_==null?void 0:_.spdOfOver} , ${_.spdOfUnder}`),1),e.createElementVNode("td",null,e.toDisplayString(`${_==null?void 0:_.fo} | ${_==null?void 0:_.over} , ${_.under}`),1),e.createElementVNode("td",null,e.toDisplayString(`${_==null?void 0:_.dgo} | ${_==null?void 0:_.over} , ${_.under}`),1)]))),128))])])])]),Dx,e.createElementVNode("div",xx,[((Ae=(ke=o.reportData)==null?void 0:ke.segments)==null?void 0:Ae.length)>1?(e.openBlock(),e.createElementBlock("div",bx,[Cx,e.createElementVNode("div",Sx,[e.createElementVNode("div",kx,[Ax,e.createElementVNode("div",Bx,[(Fe=(Be=o.reportData)==null?void 0:Be.goodWx)!=null&&Fe.avgSpd?(e.openBlock(),e.createElementBlock("div",wx,e.toDisplayString((fe=(Pe=o.reportData)==null?void 0:Pe.goodWx)==null?void 0:fe.avgSpd)+" kts ",1)):(e.openBlock(),e.createElementBlock("div",Tx,e.toDisplayString(l.noGoodWxDay),1))])]),e.createElementVNode("div",Ox,[Fx,e.createElementVNode("div",Px,[(_e=(F=o.reportData)==null?void 0:F.goodWx)!=null&&_e.avgSpd?(e.openBlock(),e.createElementBlock("div",ux,e.toDisplayString((Le=(ue=o.reportData)==null?void 0:ue.goodWx)==null?void 0:Le.avgFoEcaCons)+" mt ",1)):(e.openBlock(),e.createElementBlock("div",Lx,e.toDisplayString(l.noGoodWxDay),1))])]),e.createElementVNode("div",Wx,[Hx,e.createElementVNode("div",Mx,[(we=(We=o.reportData)==null?void 0:We.goodWx)!=null&&we.avgSpd?(e.openBlock(),e.createElementBlock("div",Gx,e.toDisplayString((Ke=(He=o.reportData)==null?void 0:He.goodWx)==null?void 0:Ke.avgDgoEcaCons)+" mt ",1)):(e.openBlock(),e.createElementBlock("div",Ix,e.toDisplayString(l.noGoodWxDay),1))])])]),e.createElementVNode("div",Rx,[e.createElementVNode("div",zx,[Ux,e.createElementVNode("div",Yx,e.toDisplayString((U=(qe=o.reportData)==null?void 0:qe.allWx)==null?void 0:U.avgSpd)+" kts ",1)]),e.createElementVNode("div",Zx,[Qx,e.createElementVNode("div",Jx,e.toDisplayString((ze=(Oe=o.reportData)==null?void 0:Oe.allWx)==null?void 0:ze.avgFoEcaCons)+" mt ",1)]),e.createElementVNode("div",Kx,[qx,e.createElementVNode("div",Xx,e.toDisplayString((Ye=(Ue=o.reportData)==null?void 0:Ue.allWx)==null?void 0:Ye.avgDgoEcaCons)+" mt ",1)])]),jx])):e.createCommentVNode("",!0),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList((Ze=o.reportData)==null?void 0:Ze.segments,(_,Q)=>{var ge,Te,Me;return e.openBlock(),e.createElementBlock("div",{class:"summary-seg",key:Q},[e.createElementVNode("div",$x,[e.createElementVNode("div",vx,[eb,e.createElementVNode("span",null,"Phase "+e.toDisplayString(Q+1),1)]),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(l.segDetail[Q],(me,Xe)=>(e.openBlock(),e.createElementBlock("div",{key:"seg"+Xe,class:e.normalizeClass(l.segDetail[Q].length>1?"dashed":"")},[e.createElementVNode("div",tb,[e.createElementVNode("div",null,e.toDisplayString(me==null?void 0:me.port1),1),e.createElementVNode("div",null,e.toDisplayString(me==null?void 0:me.time1),1)]),e.createElementVNode("div",ob,[e.createElementVNode("div",null,e.toDisplayString(me==null?void 0:me.port2),1),e.createElementVNode("div",null,e.toDisplayString(me==null?void 0:me.time2),1)])],2))),128)),e.createElementVNode("div",lb,[ab,e.createElementVNode("div",null,[e.createElementVNode("span",nb,e.toDisplayString(_.extend.cp.type)+" : ",1),e.createElementVNode("span",null,e.toDisplayString(_.extend.cp.speed)+"kts / ",1),e.createElementVNode("span",null,e.toDisplayString(_.extend.cp.fo)+"mt / ",1),e.createElementVNode("span",null,e.toDisplayString(_.extend.cp.dgo)+"mt",1)])])]),e.createElementVNode("div",sb,[ib,(ge=_.goodWx)!=null&&ge.distance?(e.openBlock(),e.createElementBlock("div",db,[a.computedTimeConclusion(_.timeConclusion).className==="success"?(e.openBlock(),e.createElementBlock("i",cb,"")):e.createCommentVNode("",!0),a.computedTimeConclusion(_.timeConclusion).className==="error"?(e.openBlock(),e.createElementBlock("i",rb,"")):e.createCommentVNode("",!0),e.createElementVNode("span",null,e.toDisplayString(a.computedTimeConclusion(_.timeConclusion).timeCon),1)])):(e.openBlock(),e.createElementBlock("div",mb,[e.createElementVNode("span",null,e.toDisplayString(l.noGoodWxDay),1)])),e.createElementVNode("div",hb,[e.createElementVNode("i",{class:e.normalizeClass(`iconfont ${a.computedTimeConclusion(_.timeConclusion).className}`)},"",2),e.createElementVNode("span",null,e.toDisplayString(a.computedTimeConclusion(_.timeConclusion).conclusion),1)])]),e.createElementVNode("div",pb,[Eb,(Te=_.goodWx)!=null&&Te.distance?(e.openBlock(),e.createElementBlock("div",yb,[a.computedFuleConclusion(_.fuelConclusion.fo,"FO").className==="success"?(e.openBlock(),e.createElementBlock("i",_b,"")):e.createCommentVNode("",!0),a.computedFuleConclusion(_.fuelConclusion.fo,"FO").className==="error"?(e.openBlock(),e.createElementBlock("i",Nb,"")):e.createCommentVNode("",!0),e.createElementVNode("span",null,e.toDisplayString(a.computedFuleConclusion(_.fuelConclusion.fo,"FO").cons),1)])):(e.openBlock(),e.createElementBlock("div",Vb,[e.createElementVNode("span",null,e.toDisplayString(l.noGoodWxDay),1)])),e.createElementVNode("div",fb,[e.createElementVNode("i",{class:e.normalizeClass(`iconfont ${a.computedFuleConclusion(_.fuelConclusion.fo,"FO").className}`)},"",2),e.createElementVNode("span",null,e.toDisplayString(a.computedFuleConclusion(_.fuelConclusion.fo,"FO").conclusion),1)])]),e.createElementVNode("div",gb,[Db,(Me=_.goodWx)!=null&&Me.distance?(e.openBlock(),e.createElementBlock("div",xb,[a.computedFuleConclusion(_.fuelConclusion.dgo,"DGO").className==="success"?(e.openBlock(),e.createElementBlock("i",bb,"")):e.createCommentVNode("",!0),a.computedFuleConclusion(_.fuelConclusion.dgo,"DGO").className==="error"?(e.openBlock(),e.createElementBlock("i",Cb,"")):e.createCommentVNode("",!0),e.createElementVNode("span",null,e.toDisplayString(a.computedFuleConclusion(_.fuelConclusion.dgo,"DGO").cons),1)])):(e.openBlock(),e.createElementBlock("div",Sb,[e.createElementVNode("span",null,e.toDisplayString(l.noGoodWxDay),1)])),e.createElementVNode("div",kb,[e.createElementVNode("i",{class:e.normalizeClass(`iconfont ${a.computedFuleConclusion(_.fuelConclusion.dgo,"DGO").className}`)},"",2),e.createElementVNode("span",null,e.toDisplayString(a.computedFuleConclusion(_.fuelConclusion.dgo,"DGO").conclusion),1)])])])}),128))]),e.createElementVNode("div",Ab,[Bb,e.createElementVNode("div",wb,[e.createElementVNode("div",Tb,[Ob,(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList((Qe=o.reportData)==null?void 0:Qe.segments,(_,Q)=>(e.openBlock(),e.createElementBlock("div",{class:"remark-speed",key:Q},[e.createElementVNode("div",Fb,[e.createElementVNode("div",null,[e.createTextVNode(e.toDisplayString(`${Q+1}. Phase ${Q+1} Applied `)+" ",1),e.createElementVNode("span",Pb,e.toDisplayString(_.extend.cp.type)+" Speed ( ",1),e.createElementVNode("span",null,e.toDisplayString(_.extend.cp.speed)+"kts / ",1),e.createElementVNode("span",null,e.toDisplayString(_.extend.cp.fo)+"mt / ",1),e.createElementVNode("span",null,e.toDisplayString(_.extend.cp.dgo)+"mt )  ",1)]),e.createElementVNode("div",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(l.segDetail[Q],(ge,Te)=>(e.openBlock(),e.createElementBlock("div",{key:"seg"+Te},e.toDisplayString(`${ge.port1} (${ge.fullTime1}) to ${ge.port2} (${ge.fullTime2})`),1))),128))])])]))),128))]),e.createElementVNode("div",ub,[Lb,l.excludedTableData.length?(e.openBlock(),e.createElementBlock("div",Wb,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(l.excludedTableData,(_,Q)=>(e.openBlock(),e.createElementBlock("div",{key:Q},e.toDisplayString(`From ${_.begin} to ${_.end}`),1))),128))])):(e.openBlock(),e.createElementBlock("div",Hb,e.toDisplayString(l.noSpecialRemarks),1))])])]),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList((Je=o.reportData)==null?void 0:Je.segments,(_,Q)=>{var ge,Te,Me,me,Xe,$e,ve,ot,lt,at,nt,mt,ht,pt,Et,yt,_t,Nt,Vt,ft,gt,Dt,xt,bt,Ct,St,kt,At,Bt,wt,Tt,Ht,ho,yo,_o,No,Vo,I,tt,Ot,Ft,Mt,Gt,It,Rt,zt,Ut,Yt,Zt,Qt,Jt,Kt,qt,Xt,jt,$t,vt,eo,to,oo,lo,ao,no,so,io,co,fo,go,Do,xo,bo,Co,So,ko,Ao,Bo,wo,To,Oo,Fo,Po,uo,Lo,Wo,Ho,Mo,Go,Io,Uo,Yo,Zo,Qo,Jo,Ko,qo,Xo,jo,$o,vo,el,tl,ol,ll,al,nl,sl,il,dl,cl,rl,ml,hl,pl,El;return e.openBlock(),e.createElementBlock("div",{class:"phase",key:Q},[e.createElementVNode("div",Mb,[e.createElementVNode("div",Gb,[e.createElementVNode("div",Ib,[e.createElementVNode("div",Rb,[zb,e.createElementVNode("span",null,"Phase "+e.toDisplayString(Q+1),1)]),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(l.segDetail[Q],(Pt,Nl)=>(e.openBlock(),e.createElementBlock("div",{key:"seg"+Nl,class:e.normalizeClass(l.segDetail[Q].length>1?"dashed":"")},[e.createElementVNode("div",Ub,[e.createElementVNode("div",null,e.toDisplayString(Pt==null?void 0:Pt.port1),1),e.createElementVNode("div",null,e.toDisplayString(Pt==null?void 0:Pt.time1),1)]),e.createElementVNode("div",Yb,[e.createElementVNode("div",null,e.toDisplayString(Pt==null?void 0:Pt.port2),1),e.createElementVNode("div",null,e.toDisplayString(Pt==null?void 0:Pt.time2),1)])],2))),128)),e.createElementVNode("div",Zb,[Qb,e.createElementVNode("div",null,[e.createElementVNode("span",Jb,e.toDisplayString(_.extend.cp.type)+" : ",1),e.createElementVNode("span",null,e.toDisplayString(_.extend.cp.speed)+"kts / ",1),e.createElementVNode("span",null,e.toDisplayString(_.extend.cp.fo)+"mt / ",1),e.createElementVNode("span",null,e.toDisplayString(_.extend.cp.dgo)+"mt",1)])])])]),Kb,e.createElementVNode("div",qb,[e.createElementVNode("div",Xb,[jb,e.createElementVNode("div",$b,[e.createElementVNode("span",null,e.toDisplayString(((ge=_.goodWx)==null?void 0:ge.avgFoEcaCons)||"-")+" mt",1)]),vb,e.createElementVNode("div",eC,[e.createElementVNode("span",null,e.toDisplayString(((Te=_.allWx)==null?void 0:Te.avgFoEcaCons)||"-")+" mt",1)]),e.createElementVNode("div",tC,[oC,e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((Me=_.goodWx)==null?void 0:Me.outEca.avgFoCons)||"-"),1),lC])]),e.createElementVNode("div",aC,[nC,e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((me=_.goodWx)==null?void 0:me.inEca.avgFoEcaCons)||"-"),1),sC])]),e.createElementVNode("div",iC,[dC,e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((Xe=_.allWx)==null?void 0:Xe.outEca.avgFoCons)||"-"),1),cC])]),e.createElementVNode("div",rC,[mC,e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString((($e=_.allWx)==null?void 0:$e.inEca.avgFoEcaCons)||"-"),1),hC])]),pC]),e.createElementVNode("div",EC,[yC,e.createElementVNode("div",_C,[e.createElementVNode("span",null,e.toDisplayString(((ve=_.goodWx)==null?void 0:ve.avgDgoEcaCons)||"-")+" mt",1)]),NC,e.createElementVNode("div",VC,[e.createElementVNode("span",null,e.toDisplayString(((ot=_.allWx)==null?void 0:ot.avgDgoEcaCons)||"-")+" mt",1)]),e.createElementVNode("div",fC,[gC,e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((lt=_.goodWx)==null?void 0:lt.outEca.avgDgoCons)||"-"),1),DC])]),e.createElementVNode("div",xC,[bC,e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((at=_.goodWx)==null?void 0:at.inEca.avgDgoEcaCons)||"-"),1),CC])]),e.createElementVNode("div",SC,[kC,e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((nt=_.allWx)==null?void 0:nt.outEca.avgDgoCons)||"-"),1),AC])]),e.createElementVNode("div",BC,[wC,e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((mt=_.allWx)==null?void 0:mt.inEca.avgDgoEcaCons)||"-"),1),TC])]),OC])]),e.createElementVNode("div",FC,[e.createElementVNode("div",PC,[uC,e.createElementVNode("div",LC,[e.createElementVNode("span",null,e.toDisplayString(((ht=_.goodWx)==null?void 0:ht.distance)||"-")+" nm",1)]),WC,e.createElementVNode("div",HC,[e.createElementVNode("span",null,e.toDisplayString(((pt=_.allWx)==null?void 0:pt.distance)||"-")+" nm",1)]),e.createElementVNode("div",MC,[GC,e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((Et=_.goodWx)==null?void 0:Et.outEca.distance)||"-"),1),IC])]),e.createElementVNode("div",RC,[zC,e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((yt=_.goodWx)==null?void 0:yt.inEca.distance)||"-"),1),UC])]),e.createElementVNode("div",YC,[ZC,e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((_t=_.allWx)==null?void 0:_t.outEca.distance)||"-"),1),QC])]),e.createElementVNode("div",JC,[KC,e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((Nt=_.allWx)==null?void 0:Nt.inEca.distance)||"-"),1),qC])])]),e.createElementVNode("div",XC,[jC,e.createElementVNode("div",$C,[e.createElementVNode("span",null,e.toDisplayString(((Vt=_.goodWx)==null?void 0:Vt.time)||"-")+" hrs",1)]),vC,e.createElementVNode("div",eS,[e.createElementVNode("span",null,e.toDisplayString(((ft=_.allWx)==null?void 0:ft.time)||"-")+" hrs",1)]),e.createElementVNode("div",tS,[oS,e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((gt=_.goodWx)==null?void 0:gt.outEca.time)||"-"),1),lS])]),e.createElementVNode("div",aS,[nS,e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((Dt=_.goodWx)==null?void 0:Dt.inEca.time)||"-"),1),sS])]),e.createElementVNode("div",iS,[dS,e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((xt=_.allWx)==null?void 0:xt.outEca.time)||"-"),1),cS])]),e.createElementVNode("div",rS,[mS,e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((bt=_.allWx)==null?void 0:bt.inEca.time)||"-"),1),hS])])]),e.createElementVNode("div",pS,[ES,e.createElementVNode("div",yS,[e.createElementVNode("span",null,e.toDisplayString(((Ct=_.goodWx)==null?void 0:Ct.avgSpd)||"-")+" kts",1)]),_S,e.createElementVNode("div",NS,[e.createElementVNode("span",null,e.toDisplayString(((St=_.allWx)==null?void 0:St.avgSpd)||"-")+" kts",1)]),e.createElementVNode("div",VS,[fS,e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((kt=_.goodWx)==null?void 0:kt.outEca.avgSpd)||"-"),1),gS])]),e.createElementVNode("div",DS,[xS,e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((At=_.goodWx)==null?void 0:At.inEca.avgSpd)||"-"),1),bS])]),e.createElementVNode("div",CS,[SS,e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((Bt=_.allWx)==null?void 0:Bt.outEca.avgSpd)||"-"),1),kS])]),e.createElementVNode("div",AS,[BS,e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((wt=_.allWx)==null?void 0:wt.inEca.avgSpd)||"-"),1),wS])])])]),e.createElementVNode("div",TS,[e.createElementVNode("div",OS,[FS,e.createElementVNode("div",PS,[e.createElementVNode("span",null,e.toDisplayString(((Tt=_.goodWx)==null?void 0:Tt.sumFoCons)||"-")+" mt",1)]),uS,e.createElementVNode("div",LS,[e.createElementVNode("span",null,e.toDisplayString(((Ht=_.allWx)==null?void 0:Ht.sumFoCons)||"-")+" mt",1)]),e.createElementVNode("div",WS,[HS,e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((ho=_.goodWx)==null?void 0:ho.outEca.sumFoCons)||"-"),1),MS])]),e.createElementVNode("div",GS,[IS,e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((yo=_.goodWx)==null?void 0:yo.inEca.sumFoCons)||"-"),1),RS])]),e.createElementVNode("div",zS,[US,e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((_o=_.allWx)==null?void 0:_o.outEca.sumFoCons)||"-"),1),YS])]),e.createElementVNode("div",ZS,[QS,e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((No=_.allWx)==null?void 0:No.inEca.sumFoCons)||"-"),1),JS])])]),e.createElementVNode("div",KS,[qS,e.createElementVNode("div",XS,[e.createElementVNode("span",null,e.toDisplayString(((Vo=_.goodWx)==null?void 0:Vo.sumDgoCons)||"-")+" mt",1)]),jS,e.createElementVNode("div",$S,[e.createElementVNode("span",null,e.toDisplayString(((I=_.allWx)==null?void 0:I.sumDgoCons)||"-")+" mt",1)]),e.createElementVNode("div",vS,[e3,e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((tt=_.goodWx)==null?void 0:tt.outEca.sumDgoCons)||"-"),1),t3])]),e.createElementVNode("div",o3,[l3,e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((Ot=_.goodWx)==null?void 0:Ot.inEca.sumDgoCons)||"-"),1),a3])]),e.createElementVNode("div",n3,[s3,e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((Ft=_.allWx)==null?void 0:Ft.outEca.sumDgoCons)||"-"),1),i3])]),e.createElementVNode("div",d3,[c3,e.createElementVNode("b",null,[e.createTextVNode(e.toDisplayString(((Mt=_.allWx)==null?void 0:Mt.inEca.sumDgoCons)||"-"),1),r3])])]),e.createElementVNode("div",m3,[h3,e.createElementVNode("div",p3,[e.createElementVNode("span",null,e.toDisplayString(((Gt=_.goodWx)==null?void 0:Gt.pfmSpd)||"-")+" kts",1)]),e.createElementVNode("div",E3,[y3,(It=_.goodWx)!=null&&It.distance&&!((zt=(Rt=o.reportData)==null?void 0:Rt.weather)!=null&&zt.favorableCur&&((Ut=_.goodWx)==null?void 0:Ut.avgCf)>0)?(e.openBlock(),e.createElementBlock("b",_3,[e.createTextVNode(e.toDisplayString(a.computedPositive((Yt=_.goodWx)==null?void 0:Yt.avgCf)),1),N3])):(e.openBlock(),e.createElementBlock("b",V3,"Not Applied"))])])]),e.createElementVNode("div",null,[e.createElementVNode("div",f3,[e.createElementVNode("div",g3,[D3,(Zt=_.goodWx)!=null&&Zt.distance?(e.openBlock(),e.createElementBlock("div",x3,[a.computedTimeConclusion(_.timeConclusion).className==="success"?(e.openBlock(),e.createElementBlock("i",b3,"")):e.createCommentVNode("",!0),a.computedTimeConclusion(_.timeConclusion).className==="error"?(e.openBlock(),e.createElementBlock("i",C3,"")):e.createCommentVNode("",!0),e.createElementVNode("span",null,e.toDisplayString(a.computedTimeConclusion(_.timeConclusion).timeCon),1)])):(e.openBlock(),e.createElementBlock("div",S3,[e.createElementVNode("span",k3,e.toDisplayString(l.noGoodWxDay),1)])),e.createElementVNode("div",A3,[e.createElementVNode("i",{class:e.normalizeClass(`iconfont ${a.computedTimeConclusion(_.timeConclusion).className}`)},"",2),e.createElementVNode("span",null,e.toDisplayString(a.computedTimeConclusion(_.timeConclusion).conclusion),1)])]),e.createElementVNode("div",{class:e.normalizeClass(`${(Qt=_.goodWx)!=null&&Qt.distance?"":"analysis-none"} card analysis-card`)},[(Jt=_.goodWx)!=null&&Jt.distance?(e.openBlock(),e.createElementBlock("div",B3,[e.createElementVNode("div",w3,[T3,O3,e.createElementVNode("div",F3,[e.createElementVNode("div",null,e.toDisplayString((qt=(Kt=o.reportData)==null?void 0:Kt.weather)!=null&&qt.noExtrapolation?(Xt=_.goodWx)==null?void 0:Xt.distance:(jt=_.allWx)==null?void 0:jt.distance),1),P3,e.createElementVNode("div",null,e.toDisplayString(($t=_.goodWx)==null?void 0:$t.pfmSpd),1)]),u3,e.createElementVNode("div",L3,e.toDisplayString(_.timeConclusion.timeAtPfmSpd)+" Hrs",1),W3]),e.createElementVNode("div",H3,[M3,G3,e.createElementVNode("div",I3,[e.createElementVNode("div",null,e.toDisplayString((eo=(vt=o.reportData)==null?void 0:vt.weather)!=null&&eo.noExtrapolation?(to=_.goodWx)==null?void 0:to.distance:(oo=_.allWx)==null?void 0:oo.distance),1),R3,e.createElementVNode("div",null,e.toDisplayString(_.timeConclusion.minusAbtSpd),1)]),z3,e.createElementVNode("div",U3,e.toDisplayString(_.timeConclusion.timeAtMinusAbtSpd)+" Hrs",1),Y3]),e.createElementVNode("div",Z3,[Q3,J3,e.createElementVNode("div",K3,[e.createElementVNode("div",null,e.toDisplayString((ao=(lo=o.reportData)==null?void 0:lo.weather)!=null&&ao.noExtrapolation?(no=_.goodWx)==null?void 0:no.distance:(so=_.allWx)==null?void 0:so.distance),1),q3,e.createElementVNode("div",null,e.toDisplayString(_.timeConclusion.plusAbtSpd),1)]),X3,e.createElementVNode("div",j3,e.toDisplayString(_.timeConclusion.timeAtPlusAbtSpd)+" Hrs",1),$3])])):e.createCommentVNode("",!0)],2)]),e.createElementVNode("div",v3,[e.createElementVNode("div",ek,[tk,(io=_.goodWx)!=null&&io.distance?(e.openBlock(),e.createElementBlock("div",ok,[a.computedFuleConclusion(_.fuelConclusion.fo,"FO").className==="success"?(e.openBlock(),e.createElementBlock("i",lk,"")):e.createCommentVNode("",!0),a.computedFuleConclusion(_.fuelConclusion.fo,"FO").className==="error"?(e.openBlock(),e.createElementBlock("i",ak,"")):e.createCommentVNode("",!0),e.createElementVNode("span",null,e.toDisplayString(a.computedFuleConclusion(_.fuelConclusion.fo,"FO").cons),1)])):(e.openBlock(),e.createElementBlock("div",nk,[e.createElementVNode("span",sk,e.toDisplayString(l.noGoodWxDay),1)])),e.createElementVNode("div",ik,[e.createElementVNode("i",{class:e.normalizeClass(`iconfont ${a.computedFuleConclusion(_.fuelConclusion.fo,"FO").className}`)},"",2),e.createElementVNode("span",null,e.toDisplayString(a.computedFuleConclusion(_.fuelConclusion.fo,"FO").conclusion),1)])]),e.createElementVNode("div",{class:e.normalizeClass(`${(co=_.goodWx)!=null&&co.distance?"":"analysis-none"} card analysis-card`)},[(fo=_.goodWx)!=null&&fo.distance?(e.openBlock(),e.createElementBlock("div",dk,[e.createElementVNode("div",ck,[rk,mk,e.createElementVNode("div",hk,[e.createElementVNode("div",null,e.toDisplayString((Do=(go=o.reportData)==null?void 0:go.weather)!=null&&Do.noExtrapolation?(xo=_.goodWx)==null?void 0:xo.distance:(bo=_.allWx)==null?void 0:bo.distance),1),pk,e.createElementVNode("div",null,e.toDisplayString((Co=_.goodWx)==null?void 0:Co.pfmSpd),1)]),Ek,e.createElementVNode("div",yk,[e.createElementVNode("div",null,e.toDisplayString((So=_.goodWx)==null?void 0:So.sumFoCons)+" "+e.toDisplayString(((ko=_.allWx)==null?void 0:ko.inEca.distance)>0?` + ${_.fuelConclusion.fo.dgoAsFoCons}`:""),1),_k,e.createElementVNode("div",null,e.toDisplayString((Ao=_.goodWx)==null?void 0:Ao.time),1)]),Nk,e.createElementVNode("div",Vk,e.toDisplayString(_.fuelConclusion.fo.entireCons)+" MT",1),fk]),e.createElementVNode("div",gk,[Dk,xk,e.createElementVNode("div",bk,[e.createElementVNode("div",null,e.toDisplayString((wo=(Bo=o.reportData)==null?void 0:Bo.weather)!=null&&wo.noExtrapolation?(To=_.goodWx)==null?void 0:To.distance:(Oo=_.allWx)==null?void 0:Oo.distance),1),Ck,e.createElementVNode("div",null,e.toDisplayString(_.timeConclusion.minusAbtSpd),1)]),Sk,e.createElementVNode("div",kk,[e.createElementVNode("div",null,e.toDisplayString(_.fuelConclusion.fo.overTolerance),1),Ak,Bk]),wk,e.createElementVNode("div",Tk,e.toDisplayString(_.fuelConclusion.fo.maxCons)+" MT",1),Ok]),e.createElementVNode("div",Fk,[Pk,uk,e.createElementVNode("div",Lk,[e.createElementVNode("div",null,e.toDisplayString((Po=(Fo=o.reportData)==null?void 0:Fo.weather)!=null&&Po.noExtrapolation?(uo=_.goodWx)==null?void 0:uo.distance:(Lo=_.allWx)==null?void 0:Lo.distance),1),Wk,e.createElementVNode("div",null,e.toDisplayString(_.timeConclusion.minusAbtSpd),1)]),Hk,e.createElementVNode("div",Mk,[e.createElementVNode("div",null,e.toDisplayString(_.fuelConclusion.fo.underTolerance),1),Gk,Ik]),Rk,e.createElementVNode("div",zk,e.toDisplayString(_.fuelConclusion.fo.minCons)+" MT",1),Uk])])):e.createCommentVNode("",!0)],2)]),e.createElementVNode("div",Yk,[e.createElementVNode("div",Zk,[Qk,(Wo=_.goodWx)!=null&&Wo.distance?(e.openBlock(),e.createElementBlock("div",Jk,[a.computedFuleConclusion(_.fuelConclusion.dgo,"DGO").className==="success"?(e.openBlock(),e.createElementBlock("i",Kk,"")):e.createCommentVNode("",!0),a.computedFuleConclusion(_.fuelConclusion.dgo,"DGO").className==="error"?(e.openBlock(),e.createElementBlock("i",qk,"")):e.createCommentVNode("",!0),e.createElementVNode("span",null,e.toDisplayString(a.computedFuleConclusion(_.fuelConclusion.dgo,"DGO").cons),1)])):(e.openBlock(),e.createElementBlock("div",Xk,[e.createElementVNode("span",jk,e.toDisplayString(l.noGoodWxDay),1)])),e.createElementVNode("div",$k,[e.createElementVNode("i",{class:e.normalizeClass(`iconfont ${a.computedFuleConclusion(_.fuelConclusion.dgo,"DGO").className}`)},"",2),e.createElementVNode("span",null,e.toDisplayString(a.computedFuleConclusion(_.fuelConclusion.dgo,"DGO").conclusion),1)])]),e.createElementVNode("div",{class:e.normalizeClass(`${(Ho=_.goodWx)!=null&&Ho.distance?"":"analysis-none"} card analysis-card`)},[(Mo=_.goodWx)!=null&&Mo.distance?(e.openBlock(),e.createElementBlock("div",vk,[e.createElementVNode("div",e4,[t4,o4,e.createElementVNode("div",l4,[e.createElementVNode("div",null,e.toDisplayString((Io=(Go=o.reportData)==null?void 0:Go.weather)!=null&&Io.noExtrapolation?(Uo=_.goodWx)==null?void 0:Uo.distance:(Yo=_.allWx)==null?void 0:Yo.distance),1),a4,e.createElementVNode("div",null,e.toDisplayString((Zo=_.goodWx)==null?void 0:Zo.pfmSpd),1)]),n4,e.createElementVNode("div",s4,[e.createElementVNode("div",null,e.toDisplayString((Qo=_.goodWx)==null?void 0:Qo.sumDgoCons)+" "+e.toDisplayString(((Jo=_.allWx)==null?void 0:Jo.inEca.distance)>0?` - ${_.fuelConclusion.fo.dgoAsFoCons}`:""),1),i4,e.createElementVNode("div",null,e.toDisplayString((Ko=_.goodWx)==null?void 0:Ko.time),1)]),d4,e.createElementVNode("div",c4,e.toDisplayString(_.fuelConclusion.dgo.entireCons)+" MT",1),r4]),e.createElementVNode("div",m4,[h4,p4,e.createElementVNode("div",E4,[e.createElementVNode("div",null,e.toDisplayString((Xo=(qo=o.reportData)==null?void 0:qo.weather)!=null&&Xo.noExtrapolation?(jo=_.goodWx)==null?void 0:jo.distance:($o=_.allWx)==null?void 0:$o.distance),1),y4,e.createElementVNode("div",null,e.toDisplayString(_.timeConclusion.minusAbtSpd),1)]),_4,e.createElementVNode("div",N4,[e.createElementVNode("div",null,e.toDisplayString(_.fuelConclusion.dgo.overTolerance),1),V4,f4]),g4,e.createElementVNode("div",D4,e.toDisplayString(_.fuelConclusion.dgo.maxCons)+" MT",1),x4]),e.createElementVNode("div",b4,[C4,S4,e.createElementVNode("div",k4,[e.createElementVNode("div",null,e.toDisplayString((el=(vo=o.reportData)==null?void 0:vo.weather)!=null&&el.noExtrapolation?(tl=_.goodWx)==null?void 0:tl.distance:(ol=_.allWx)==null?void 0:ol.distance),1),A4,e.createElementVNode("div",null,e.toDisplayString(_.timeConclusion.minusAbtSpd),1)]),B4,e.createElementVNode("div",w4,[e.createElementVNode("div",null,e.toDisplayString(_.fuelConclusion.dgo.underTolerance),1),T4,O4]),F4,e.createElementVNode("div",P4,e.toDisplayString(_.fuelConclusion.dgo.minCons)+" MT",1),u4])])):e.createCommentVNode("",!0)],2)])]),L4,e.createElementVNode("div",W4,[e.createElementVNode("div",H4,[M4,e.createElementVNode("div",G4,[e.createElementVNode("div",I4,[R4,z4,e.createElementVNode("div",U4,[e.createElementVNode("div",null,e.toDisplayString((al=(ll=o.reportData)==null?void 0:ll.weather)!=null&&al.noExtrapolation?"Total Distance At Good Weather":"Total Distance"),1),Y4,Z4]),Q4]),e.createElementVNode("div",J4,[K4,q4,e.createElementVNode("div",X4,[e.createElementVNode("div",null,e.toDisplayString((sl=(nl=o.reportData)==null?void 0:nl.weather)!=null&&sl.noExtrapolation?"Good Weather Distance":"Total Distance"),1),j4,$4]),v4]),e.createElementVNode("div",eA,[tA,oA,e.createElementVNode("div",lA,[e.createElementVNode("div",null,e.toDisplayString((dl=(il=o.reportData)==null?void 0:il.weather)!=null&&dl.noExtrapolation?"Good Weather Distance":"Total Distance"),1),aA,nA]),sA]),iA])]),e.createElementVNode("div",dA,[cA,e.createElementVNode("div",rA,[e.createElementVNode("div",mA,[hA,pA,e.createElementVNode("div",EA,[e.createElementVNode("div",null,e.toDisplayString((rl=(cl=o.reportData)==null?void 0:cl.weather)!=null&&rl.noExtrapolation?"Good Weather Distance":"Total Distance"),1),yA,_A]),NA,VA,fA]),e.createElementVNode("div",gA,[DA,xA,e.createElementVNode("div",bA,[e.createElementVNode("div",null,e.toDisplayString((hl=(ml=o.reportData)==null?void 0:ml.weather)!=null&&hl.noExtrapolation?"Good Weather Distance":"Total Distance"),1),CA,SA]),kA,AA,BA]),e.createElementVNode("div",wA,[TA,OA,e.createElementVNode("div",FA,[e.createElementVNode("div",null,e.toDisplayString((El=(pl=o.reportData)==null?void 0:pl.weather)!=null&&El.noExtrapolation?"Good Weather Distance":"Total Distance"),1),PA,uA]),LA,WA,HA]),MA,GA])])])])])}),128))])],2)}const RA=De(x0,[["render",IA],["__scopeId","data-v-9be6b8be"]]),Zee="",zA={components:{},props:{reportData:{type:Object,default:()=>({})},isAdmin:{type:Boolean,default:()=>!1}},data(){return{date:"",showCF:!1,showAisDistance:!0,summaryTable:[],typeList:[]}},computed:{computeColspan(){let t=11;return this.showCF||(t=t-2),this.showAisDistance||(t=t-2),t},computedClass(){return function(t,n,o,d){var p;let l="";const a=((p=this.summaryTable)==null?void 0:p.length)-1;return o&&n!==a&&(l=t.abbreviation==="A"||t.abbreviation==="B"?"td-no-bottom":""),(t==null?void 0:t.goodWx)===!0&&!d&&(l=l+" good-weather"),(t==null?void 0:t.excluded)===!0&&!d&&(l=l+" excluded"),l}},computedSegClass(){return function(t,n){var d,l;const o=((d=this.summaryTable)==null?void 0:d.length)-1;if(o>-1){if(t.isFirstSeg&&n!==o)return"td-no-bottom td-top";if((l=this.summaryTable[n+1])!=null&&l.isFirstSeg)return"td-bottom";if(n!==o)return"td-no-bottom"}return"td-bottom"}},computedPort(){return function(t){var n;return!((t.abbreviation==="E"||t.abbreviation==="B")&&t.noon&&(n=t.noon)!=null&&n.port)}},computedTime(){return function(t,n){return n==="subtitle"?w(t).utc().format("MMMM-DD, YYYY/HHmm [Z]"):n==="table"?w(t).utc().format("MMMM-DD/HHmm[Z]"):w(t).utc().format("dddd, MMMM D, YYYY")}}},mounted(){},watch:{reportData:{handler(t,n){t!=null&&t.id&&this.$nextTick(()=>{this.checkData()})},immediate:!0}},methods:{getLonLat(t){return`${t.degree}°${v.roundPrecision(t.minute,1)}′${t.direction}`},checkData(){var d,l,a,p;this.showCF=(l=(d=this.reportData)==null?void 0:d.weather)==null?void 0:l.showCF,this.showAisDistance=!0;let t=[];(p=(a=this.reportData)==null?void 0:a.segments)==null||p.forEach((i,y)=>{let b=i.extend.cp;i.inventory.sample.hours.forEach((S,E)=>{let V=JSON.parse(JSON.stringify(S));V.cp=b,t.push(V)})}),t.sort(function(i,y){let b=i.date,S=y.date;return b-S});let n="",o="";t.forEach((i,y)=>{i.seg!==n&&(i.isFirstSeg=!0,n=i.seg);let b=i.type.charAt(0);i.abbreviation=b;const S=w(i.utc).utc().format("D-MMM");S!==o&&(i.lastdate=S,o=S),b==="A"?i.type="":b==="M"&&(i.type="*"),i.time=w(i.utc).utc().format("HH:mm[Z]"),i.lngPretty=this.getLonLat(v.LngLatHelper.lng2pretty(i.lng)),i.latPretty=this.getLonLat(v.LngLatHelper.lat2pretty(i.lat))}),this.summaryTable=t}}},rn=t=>(e.pushScopeId("data-v-a420dc44"),t=t(),e.popScopeId(),t),UA=rn(()=>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)),YA={class:"table",id:"second-table"},ZA={class:"summary-table"},QA=rn(()=>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)),JA={class:"summary-tbody"},KA=e.createStaticVNode('<div style="page-break-inside:avoid;" class="table-legend dashed" data-v-a420dc44><div class="item" data-v-a420dc44><div class="legend" data-v-a420dc44><div class="legend-bg gwd" data-v-a420dc44></div></div> Good Weather Days </div><div class="item" data-v-a420dc44><div class="legend" data-v-a420dc44><div class="legend-bg adverse" data-v-a420dc44></div></div> Adverse Weather Days </div><div class="item" data-v-a420dc44><div class="legend" data-v-a420dc44><div class="legend-bg excluded" data-v-a420dc44></div></div> Excluded Periods </div></div>',1),qA={class:"voyage-map",style:{"page-break-inside":"avoid"}},XA=rn(()=>e.createElementVNode("div",{class:"title"},[e.createElementVNode("i",{class:"iconfont"},""),e.createElementVNode("div",{class:"content"},"Voyage Map")],-1)),jA=["src"],$A=e.createStaticVNode('<div class="legend-block" data-v-a420dc44><div style="position:relative;left:-20px;" data-v-a420dc44><div style="position:relative;display:inline-block;top:-12px;left:15px;transform:scale(0.95);" data-v-a420dc44><div data-v-a420dc44>7</div><br data-v-a420dc44><div data-v-a420dc44>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-a420dc44></i><div style="display:inline-block;transform:scale(0.95);text-align:left;margin-left:5px;" data-v-a420dc44> LEGEND: <br data-v-a420dc44> Wind from NE(045) <br data-v-a420dc44> Each barb = 10 kts <br data-v-a420dc44> 1/2 barb = 5 kts <br data-v-a420dc44></div></div><div style="transform:scale(0.95);" data-v-a420dc44> 7 - DAY OF THE MONTH <br data-v-a420dc44> W 4 - PRIMARY WAVE FROM WEST, 4 METERS<br data-v-a420dc44><div class="goodWx" data-v-a420dc44>Date</div> Good weather days<br data-v-a420dc44></div></div>',1);function vA(t,n,o,d,l,a){var p,i,y,b,S;return e.openBlock(),e.createElementBlock("div",{style:{"page-break-before":"always"},class:e.normalizeClass((i=(p=o.reportData)==null?void 0:p.weather)!=null&&i.referenceOnly||(b=(y=o.reportData)==null?void 0:y.weather)!=null&&b.overallAsGoodWx?"watermark fli-main":"fli-main")},[UA,e.createElementVNode("div",YA,[e.createElementVNode("div",null,[e.createElementVNode("table",ZA,[QA,e.createElementVNode("tbody",JA,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(l.summaryTable,(E,V)=>{var D,r,C,k,T,u,L,O,x,P,R,Z,z,W,f,Y,G,H,K,q,j,X;return e.openBlock(),e.createElementBlock("tr",{key:V},[e.createElementVNode("td",{class:e.normalizeClass(a.computedSegClass(E,V))},e.toDisplayString(E.isFirstSeg?E.seg:""),3),e.createElementVNode("td",{class:e.normalizeClass(a.computedClass(E,V))},e.toDisplayString(E.type),3),e.createElementVNode("td",{class:e.normalizeClass(a.computedClass(E,V))},e.toDisplayString(E.lastdate),3),e.createElementVNode("td",{class:e.normalizeClass(a.computedClass(E,V))},e.toDisplayString(E.time),3),a.computedPort(E)?(e.openBlock(),e.createElementBlock("td",{key:0,class:e.normalizeClass(a.computedClass(E,V))},e.toDisplayString(E.latPretty),3)):e.createCommentVNode("",!0),a.computedPort(E)?(e.openBlock(),e.createElementBlock("td",{key:1,class:e.normalizeClass(a.computedClass(E,V))},e.toDisplayString(E.lngPretty),3)):(e.openBlock(),e.createElementBlock("td",{key:2,colspan:"2",class:e.normalizeClass(a.computedClass(E,V))},e.toDisplayString((D=E.noon)==null?void 0:D.port),3)),e.createElementVNode("td",{class:e.normalizeClass(a.computedClass(E,V,!0,!0))},e.toDisplayString(E.abbreviation==="A"||E.abbreviation==="B"?"":(r=E.cp)==null?void 0:r.speed),3),e.createElementVNode("td",{class:e.normalizeClass(a.computedClass(E,V,!0))},e.toDisplayString(E.avgSpdCalc),3),e.createElementVNode("td",{class:e.normalizeClass(a.computedClass(E,V,!0))},e.toDisplayString(E.distanceCalc),3),e.createElementVNode("td",{class:e.normalizeClass(a.computedClass(E,V))},e.toDisplayString(((k=(C=E.meteo)==null?void 0:C.wind)==null?void 0:k.scale)??"--"),3),e.createElementVNode("td",{class:e.normalizeClass(a.computedClass(E,V))},e.toDisplayString(((L=(u=(T=E.meteo)==null?void 0:T.wave)==null?void 0:u.swell)==null?void 0:L.direction)??"--"),3),e.createElementVNode("td",{class:e.normalizeClass(a.computedClass(E,V))},e.toDisplayString(((P=(x=(O=E.meteo)==null?void 0:O.wave)==null?void 0:x.swell)==null?void 0:P.height)??"--"),3),e.createElementVNode("td",{class:e.normalizeClass(a.computedClass(E,V))},e.toDisplayString(((z=(Z=(R=E.meteo)==null?void 0:R.wave)==null?void 0:Z.sig)==null?void 0:z.height)??"--"),3),l.showCF?(e.openBlock(),e.createElementBlock("td",{key:3,class:e.normalizeClass(a.computedClass(E,V))},e.toDisplayString(((W=E.meteo)==null?void 0:W.cFactor)??"0"),3)):(e.openBlock(),e.createElementBlock("td",{key:4,class:e.normalizeClass(a.computedClass(E,V))},e.toDisplayString(E.abbreviation==="A"?"":E.dailyAvgCf||"0"),3)),e.createElementVNode("td",{class:e.normalizeClass(a.computedClass(E,V))},e.toDisplayString(E.abbreviation==="A"?"":((f=E.noon)==null?void 0:f.avgSpd)||"0.00"),3),e.createElementVNode("td",{class:e.normalizeClass(a.computedClass(E,V))},e.toDisplayString(E.abbreviation==="A"?"":((Y=E.noon)==null?void 0:Y.distanceSlr)||"0.0"),3),e.createElementVNode("td",{class:e.normalizeClass(a.computedClass(E,V,!0,!0))},e.toDisplayString(E.abbreviation==="A"||E.abbreviation==="B"?"":(G=E.cp)==null?void 0:G.fo),3),e.createElementVNode("td",{class:e.normalizeClass(a.computedClass(E,V,!0,!0))},e.toDisplayString(E.abbreviation==="A"||E.abbreviation==="B"?"":(H=E.cp)==null?void 0:H.dgo),3),e.createElementVNode("td",{class:e.normalizeClass(a.computedClass(E,V))},e.toDisplayString(E.abbreviation==="A"?"":((K=E.noon)==null?void 0:K.foCons)||"0.00"),3),e.createElementVNode("td",{class:e.normalizeClass(a.computedClass(E,V))},e.toDisplayString(E.abbreviation==="A"?"":((q=E.noon)==null?void 0:q.dgoCons)||"0.00"),3),e.createElementVNode("td",{class:e.normalizeClass(a.computedClass(E,V))},e.toDisplayString(E.abbreviation==="A"?"":(j=E.noon)==null?void 0:j.foBrob),3),e.createElementVNode("td",{class:e.normalizeClass(a.computedClass(E,V))},e.toDisplayString(E.abbreviation==="A"?"":(X=E.noon)==null?void 0:X.dgoBrob),3)])}),128))])])])]),KA,e.createElementVNode("div",qA,[XA,e.createElementVNode("img",{style:{width:"100%"},src:(S=o.reportData)==null?void 0:S.chartUrl,alt:""},null,8,jA),$A])],2)}const e8=De(zA,[["render",vA],["__scopeId","data-v-a420dc44"]]),Qee="",t8={components:{Summary:RA,Inventory:e8},props:{initialData:{type:Object,default:()=>({})},isAdmin:{type:Boolean,default:()=>!1},editorDisabled:{type:Boolean,default:()=>!1}},data(){return{reportData:{}}},watch:{initialData:{handler(t,n){t!=null&&t.id&&this.$nextTick(()=>{this.reportData=t})},immediate:!0}},methods:{commit(t){this.$emit("commit",t)}}},o8={class:"voyage-report"};function l8(t,n,o,d,l,a){const p=e.resolveComponent("Summary"),i=e.resolveComponent("Inventory");return e.openBlock(),e.createElementBlock("div",o8,[e.createVNode(p,{reportData:l.reportData,class:"main","editor-disabled":o.editorDisabled,onCommit:a.commit},null,8,["reportData","editor-disabled","onCommit"]),e.createVNode(i,{isAdmin:o.isAdmin,reportData:l.reportData,class:"main"},null,8,["isAdmin","reportData"])])}const xn=De(t8,[["render",l8],["__scopeId","data-v-7345a543"]]),Jee="",a8={components:{Lng:$a,Lat:va,Editor:Ro},props:{report:{type:Object,default:()=>({})}},data(){return{exclusion:[],noGoodWxDay:"Not available due to no good weather days.",editable:!1,remarks:""}},computed:{computeUTCTime(){return function(t,n="MMM-DD/HHmm[Z]"){return`${w(t).utc().format(n)}`}},computeWeatherDef(){return function(t){let n="";t!=null&&t.waveSwitch?n+=`Wind wave height is ${t==null?void 0:t.waveHeight} meters or less (Douglas Sea State ${t==null?void 0:t.seaScale})`:t!=null&&t.swellSwitch?n+=`Swell height is ${t==null?void 0:t.swellHeight} meters or less (Douglas Sea State ${t==null?void 0:t.seaScale})`:t!=null&&t.sigSwitch&&(n+=`Significant wave height is ${t==null?void 0:t.sigHeight} meters or less (Douglas Sea State ${t==null?void 0:t.seaScale})`);let o=`Winds are BF/${t==null?void 0:t.windScale} or less, ${n}`;return t!=null&&t.noAdverseCur&&(o+=", No Adverse Current"),t!=null&&t.noExtrapolation&&(o+=", No Extrapolation"),t!=null&&t.overallAsGoodWx&&(o="No specific thresholds for wind/wave/currents are defined in the Charter Party. Therefore the Good Weather Definition in this reports does not apply any thresholds."),o}},computeLng(){return function(t){return v.LngLatHelper.lng2pretty(t)}},computeLat(){return function(t){return v.LngLatHelper.lat2pretty(t)}},computeAbtSpeed(){return function(t,n,o){return t.spdPercentage?o==="Over"?v.roundPrecision(t.abt4SpdOver*n,2):v.roundPrecision(t.abt4SpdUnder*n,2):o==="Over"?t.abt4SpdOver:t.abt4SpdUnder}},computeAbtCons(){return function(t,n){return t.consPercentage?n==="Over"?`${t.consOfOver}%`:`${t.consOfUnder}%`:n==="Over"?`${t.consOfOver}`:`${t.consOfUnder}`}},computeBlankHtml(){return function(t){return!(t!=null&&t.replace(/<[^>]+>/g,""))}}},watch:{report:{handler(t,n){t!=null&&t.id&&this.$nextTick(()=>{this.prepare()})},immediate:!0}},methods:{prepare(){var t,n;this.remarks=this.report.remarks||"Please double click to modify remark",(n=(t=this.report)==null?void 0:t.segments)==null||n.forEach((o,d)=>{const l=o.excluded;l.sumDistance>0&&l.detail.forEach(a=>{const p={time:w(a.begin).utc().format("MMM-DD/HHmm[Z]")+" - "+w(a.end).utc().format("MMM-DD/HHmm[Z]"),duration:a.duration,distance:a.distance,fo:a.foCons,dgo:a.dgoCons};this.exclusion.push(p)})})},handleCommit(t){this.editable=!1,this.$emit("commit",t)},handleEdit(){this.editable=!0}}},m=t=>(e.pushScopeId("data-v-b4b228d1"),t=t(),e.popScopeId(),t),n8={class:"report-summary"},s8={class:"section voyage-section flex-space"},i8={class:"flex-end",style:{width:"50%","flex-wrap":"wrap"}},d8={class:"flex-space label-block",style:{width:"100%"}},c8=m(()=>e.createElementVNode("label",{class:"flex-end",style:{width:"140px"}},"Prepare for",-1)),r8={style:{"text-transform":"uppercase"}},m8={class:"flex-space label-block",style:{width:"100%"}},h8=m(()=>e.createElementVNode("label",{class:"flex-end",style:{width:"140px"}},"Vessel",-1)),p8={class:"flex-end",style:{flex:"1","text-transform":"uppercase"}},E8={class:"flex-space label-block",style:{width:"100%"}},y8=m(()=>e.createElementVNode("label",{class:"flex-end",style:{width:"140px"}},"Voyage No",-1)),_8={class:"flex-end",style:{flex:"1","text-transform":"uppercase"}},N8={class:"flex-end",style:{width:"50%","flex-wrap":"wrap"}},V8={class:"flex-space label-block",style:{width:"100%"}},f8=m(()=>e.createElementVNode("label",{class:"flex-end",style:{width:"140px"}},"Departure Port",-1)),g8={key:0,class:"flex-end",style:{flex:"1"}},D8={key:1,class:"flex-end",style:{flex:"1"}},x8=m(()=>e.createElementVNode("span",{style:{"margin-right":"3px"}},",",-1)),b8={class:"flex-end",style:{width:"150px"}},C8={class:"flex-space label-block",style:{width:"100%"}},S8=m(()=>e.createElementVNode("label",{class:"flex-end",style:{width:"140px"}},"Arrival Port",-1)),k8={key:0,class:"flex-end",style:{flex:"1"}},A8={key:1,class:"flex-end",style:{flex:"1"}},B8=m(()=>e.createElementVNode("span",{style:{"margin-right":"3px"}},",",-1)),w8={class:"flex-end",style:{width:"150px"}},T8={class:"flex-space label-block",style:{width:"100%"}},O8=m(()=>e.createElementVNode("label",{class:"flex-end",style:{width:"140px"}},"Load Condition",-1)),F8={class:"flex-end",style:{flex:"1","text-transform":"uppercase"}},P8={class:"section weather-section"},u8=m(()=>e.createElementVNode("div",{class:"header-block flex-start"},[e.createElementVNode("i",{class:"iconfont"},""),e.createElementVNode("div",{class:"title"},"Good Weather Definition")],-1)),L8={class:"definition"},W8={class:"txt"},H8={class:"section summary-section"},M8=m(()=>e.createElementVNode("div",{class:"header-block flex-center"},[e.createElementVNode("i",{class:"iconfont"},""),e.createElementVNode("div",{class:"title"},"Analysis Summary")],-1)),G8={class:"phase-box"},I8={class:"phase-index"},R8={class:"phase-position"},z8={key:0},U8={key:1},Y8=m(()=>e.createElementVNode("div",{class:"phase-split"},"to",-1)),Z8={class:"phase-position"},Q8={key:0},J8={key:1},K8=m(()=>e.createElementVNode("div",{class:"bb"},null,-1)),q8={class:"phase-cp flex-space"},X8={class:"cp-box"},j8=m(()=>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)),$8={class:"flex-space"},v8=m(()=>e.createElementVNode("span",null,[e.createElementVNode("span",{style:{"vertical-align":"super"}}),e.createElementVNode("span",null,"-")],-1)),eB=m(()=>e.createElementVNode("span",{style:{"vertical-align":"super"}},"+",-1)),tB=m(()=>e.createElementVNode("span",{style:{"vertical-align":"super"}},"-",-1)),oB=m(()=>e.createElementVNode("span",{style:{"vertical-align":"super"}},"+",-1)),lB=m(()=>e.createElementVNode("span",{style:{"vertical-align":"super"}},"-",-1)),aB=m(()=>e.createElementVNode("span",{style:{"vertical-align":"super"}},"+",-1)),nB=m(()=>e.createElementVNode("span",{style:{"vertical-align":"super"}},"-",-1)),sB=m(()=>e.createElementVNode("div",{class:"bb"},null,-1)),iB={class:"phase-conclusion flex-space"},dB={class:"item-conclusion"},cB=m(()=>e.createElementVNode("div",{class:"label flex-start"},"Total Voyage Time",-1)),rB={class:"value flex-start"},mB=m(()=>e.createElementVNode("div",{class:"unit"},"hrs",-1)),hB={key:0,class:"label flex-end"},pB={key:0},EB={key:1},yB={key:2},_B={key:1,class:"label flex-end"},NB={key:2,class:"value flex-end"},VB={key:0},fB=m(()=>e.createElementVNode("i",{class:"iconfont gain"},"",-1)),gB={class:"gain"},DB=m(()=>e.createElementVNode("span",{class:"unit"},"hrs",-1)),xB={key:1},bB=m(()=>e.createElementVNode("i",{class:"iconfont lost"},"",-1)),CB={class:"lost"},SB=m(()=>e.createElementVNode("span",{class:"unit"},"hrs",-1)),kB={key:2},AB={class:"item-conclusion"},BB=m(()=>e.createElementVNode("div",{class:"label flex-start"},"Total FO Consumption",-1)),wB={class:"value flex-start"},TB=m(()=>e.createElementVNode("div",{class:"unit"},"mt",-1)),OB={key:0,class:"label flex-end"},FB={key:0},PB={key:1},uB={key:2},LB={key:1,class:"label flex-end"},WB={key:2,class:"value flex-end"},HB={key:0},MB=m(()=>e.createElementVNode("i",{class:"iconfont gain"},"",-1)),GB={class:"gain"},IB=m(()=>e.createElementVNode("span",{class:"unit"},"mt",-1)),RB={key:1},zB=m(()=>e.createElementVNode("i",{class:"iconfont lost"},"",-1)),UB={class:"lost"},YB=m(()=>e.createElementVNode("span",{class:"unit"},"mt",-1)),ZB={key:2},QB={class:"item-conclusion"},JB=m(()=>e.createElementVNode("div",{class:"label flex-start"},"Total DO/GO Consumption",-1)),KB={class:"value flex-start"},qB=m(()=>e.createElementVNode("div",{class:"unit"},"mt",-1)),XB={key:0,class:"label flex-end"},jB={key:0},$B={key:1},vB={key:2},ew={key:1,class:"label flex-end"},tw={key:2,class:"value flex-end"},ow={key:0},lw=m(()=>e.createElementVNode("i",{class:"iconfont gain"},"",-1)),aw={class:"gain"},nw=m(()=>e.createElementVNode("span",{class:"unit"},"mt",-1)),sw={key:1},iw=m(()=>e.createElementVNode("i",{class:"iconfont lost"},"",-1)),dw={class:"lost"},cw=m(()=>e.createElementVNode("span",{class:"unit"},"mt",-1)),rw={key:2},mw=m(()=>e.createElementVNode("div",{class:"tips flex-end"}," *Please see voyage analysis pages for the details. ",-1)),hw=m(()=>e.createElementVNode("div",{class:"header-block flex-start"},[e.createElementVNode("i",{class:"iconfont"},""),e.createElementVNode("div",{class:"title"},"Remarks")],-1)),pw={key:0,class:"exclusion-block"},Ew=m(()=>e.createElementVNode("div",{class:"title"},"Exclusion",-1)),yw=m(()=>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)),_w={style:{margin:"8px 0"}},Nw={class:"remark-table"},Vw=m(()=>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)),fw=["innerHTML"],gw={class:"section segment-section"},Dw=m(()=>e.createElementVNode("div",{class:"header-block flex-center"},[e.createElementVNode("i",{class:"iconfont"},""),e.createElementVNode("div",{class:"title"},"Speed and Consumption Calculation")],-1)),xw={class:"segment-index flex-center"},bw={class:"segment-position"},Cw={key:0},Sw={key:1},kw=m(()=>e.createElementVNode("div",{class:"segment-split"},"to",-1)),Aw={class:"segment-position"},Bw={key:0},ww={key:1},Tw=m(()=>e.createElementVNode("div",{class:"bb"},null,-1)),Ow={style:{margin:"10px 0 0"}},Fw=m(()=>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)),Pw=m(()=>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)),uw=m(()=>e.createElementVNode("td",{class:"label"},"Total Distance (nm)",-1)),Lw={class:"good-wx"},Ww={class:"good-wx"},Hw=m(()=>e.createElementVNode("td",{class:"label"},"Total Time (hrs)",-1)),Mw={class:"good-wx"},Gw={class:"good-wx"},Iw=m(()=>e.createElementVNode("td",{class:"label"},"Average Speed (kts)",-1)),Rw={class:"good-wx"},zw={class:"good-wx"},Uw=m(()=>e.createElementVNode("td",{class:"label"},"FO Consumption (mt)",-1)),Yw={class:"good-wx"},Zw={class:"good-wx"},Qw=m(()=>e.createElementVNode("td",{class:"label"},"Averaged Daily FO Consumption (mt)",-1)),Jw={class:"good-wx"},Kw={class:"good-wx"},qw=m(()=>e.createElementVNode("td",{class:"label"},"DO/GO Consumption (mt)",-1)),Xw={class:"good-wx"},jw={class:"good-wx"},$w=m(()=>e.createElementVNode("td",{class:"label"},"Averaged Daily DO/GO Consumption (mt)",-1)),vw={class:"good-wx"},e5={class:"good-wx"},t5={key:0,class:"flex-end tip"},o5={key:1,class:"segment-speed"},l5={class:"flex-center"},a5=m(()=>e.createElementVNode("div",{class:"speed-left flex-space"},[e.createElementVNode("label",null,"Good Weather Performance Speed"),e.createElementVNode("label",null,"=")],-1)),n5={class:"speed-right flex-space"},s5=m(()=>e.createElementVNode("span",null,"-",-1)),i5=m(()=>e.createElementVNode("label",null,"=",-1)),d5={class:"speed"},c5={key:1,class:"speed"},r5={key:2,class:"under"},m5={key:3,class:"over"},h5={class:"flex-center"},p5=m(()=>e.createElementVNode("div",{class:"speed-left formula flex-space"},[e.createElementVNode("label",null,"Good Weather Performance Speed"),e.createElementVNode("label",null,"=")],-1)),E5={class:"speed-right formula flex-space"},y5=m(()=>e.createElementVNode("label",null,"Good Weather Average Speed",-1)),_5=m(()=>e.createElementVNode("label",null,"-",-1)),N5=m(()=>e.createElementVNode("label",null,"Good Weather Current Factor",-1)),V5=m(()=>e.createElementVNode("label",null,"Good Weather Average Speed ",-1)),f5=m(()=>e.createElementVNode("label",{style:{"font-weight":"300"}},"(Good Weather Current Factor Not Applied)",-1)),g5={key:2,class:"segment-speed"},D5={class:"flex-center"},x5=m(()=>e.createElementVNode("div",{class:"speed-left flex-space"},[e.createElementVNode("label",null,"All Weather Performance Speed"),e.createElementVNode("label",null,"=")],-1)),b5={class:"speed-right flex-space"},C5=m(()=>e.createElementVNode("span",null,"-",-1)),S5=m(()=>e.createElementVNode("span",null,"-",-1)),k5=m(()=>e.createElementVNode("label",null,"=",-1)),A5={class:"speed"},B5=m(()=>e.createElementVNode("span",null,"-",-1)),w5=m(()=>e.createElementVNode("label",null,"=",-1)),T5={class:"speed"},O5={key:2,class:"under"},F5={key:3,class:"over"},P5={class:"flex-center"},u5=m(()=>e.createElementVNode("div",{class:"speed-left formula flex-space"},[e.createElementVNode("label",null,"All Weather Performance Speed"),e.createElementVNode("label",null,"=")],-1)),L5={class:"speed-right formula flex-space"},W5=m(()=>e.createElementVNode("label",null,"All Weather Average Speed",-1)),H5=m(()=>e.createElementVNode("label",null,"-",-1)),M5=m(()=>e.createElementVNode("label",null,"Current Factor",-1)),G5=m(()=>e.createElementVNode("label",null,"-",-1)),I5=m(()=>e.createElementVNode("label",null,"Weather Factor",-1)),R5=m(()=>e.createElementVNode("label",null,"All Weather Average Speed",-1)),z5=m(()=>e.createElementVNode("label",null,"-",-1)),U5=m(()=>e.createElementVNode("label",null,"Weather Factor ",-1)),Y5=m(()=>e.createElementVNode("label",{style:{"font-weight":"300"}},"(Current Factor Not Applied)",-1)),Z5=m(()=>e.createElementVNode("div",{class:"bb",style:{margin:"10px 0"}},null,-1)),Q5={class:"segment-formula"},J5={class:"header-block flex-start"},K5=m(()=>e.createElementVNode("i",{class:"iconfont"},"",-1)),q5={class:"title"},X5={key:0,style:{"margin-left":"4px","font-weight":"300"}},j5={class:"formula-block"},$5={class:"flex-evenly"},v5=m(()=>e.createElementVNode("div",{class:"formula-left flex-space"},[e.createElementVNode("label",null,"Total Time at Good Weather Performance Speed"),e.createElementVNode("label",null,"=")],-1)),e7={class:"formula-right flex-evenly"},t7={class:"fraction",style:{width:"240px"}},o7=m(()=>e.createElementVNode("div",{class:"line"},null,-1)),l7=m(()=>e.createElementVNode("div",null,"Good Weather Performance Speed",-1)),a7=m(()=>e.createElementVNode("div",null,"(a)",-1)),n7={class:"flex-center"},s7={class:"formula-left flex-space"},i7=m(()=>e.createElementVNode("label",null,"=",-1)),d7={class:"formula-right flex-evenly"},c7={class:"fraction",style:{width:"240px"}},r7=m(()=>e.createElementVNode("div",{class:"line"},null,-1)),m7=m(()=>e.createElementVNode("div",null,"(b)",-1)),h7={class:"flex-center"},p7={class:"formula-left flex-space"},E7=m(()=>e.createElementVNode("label",null,"=",-1)),y7={class:"formula-right flex-evenly"},_7={class:"fraction",style:{width:"240px"}},N7=m(()=>e.createElementVNode("div",{class:"line"},null,-1)),V7=m(()=>e.createElementVNode("div",null,"(c)",-1)),f7=e.createStaticVNode('<div class="flex-start" data-v-b4b228d1><div class="flex-space" style="width:300px;font-weight:400;" data-v-b4b228d1><label data-v-b4b228d1>Time Lost</label><div data-v-b4b228d1>=</div><div data-v-b4b228d1>(a)</div><div data-v-b4b228d1>-</div><div data-v-b4b228d1>(b)</div></div><div class="flex-space" style="width:300px;margin-left:200px;font-weight:400;" data-v-b4b228d1><label data-v-b4b228d1>Time Gained</label><div data-v-b4b228d1>=</div><div data-v-b4b228d1>(c)</div><div data-v-b4b228d1>-</div><div data-v-b4b228d1>(a)</div></div></div>',1),g7={class:"formula-desc"},D7={class:"flex-end"},x7=m(()=>e.createElementVNode("label",null,"Time Lost",-1)),b7={class:"flex-end"},C7=m(()=>e.createElementVNode("label",null,"Time Gained",-1)),S7={class:"flex-end"},k7=m(()=>e.createElementVNode("label",null,"No Time Lost and Gained",-1)),A7={key:0,class:"formula-block",style:{"font-weight":"400"}},B7={class:"flex-evenly"},w7=m(()=>e.createElementVNode("div",{class:"formula-left flex-space"},[e.createElementVNode("label",null,"Total Time at Good Weather Performance Speed"),e.createElementVNode("label",null,"=")],-1)),T7={class:"formula-right flex-evenly"},O7={class:"fraction",style:{width:"240px"}},F7=m(()=>e.createElementVNode("div",{class:"line"},null,-1)),P7=m(()=>e.createElementVNode("div",null,"=",-1)),u7=m(()=>e.createElementVNode("div",null,"(a')",-1)),L7={class:"flex-center"},W7={class:"formula-left flex-space"},H7=m(()=>e.createElementVNode("label",null,"=",-1)),M7={class:"formula-right flex-evenly"},G7={class:"fraction",style:{width:"240px"}},I7=m(()=>e.createElementVNode("div",{class:"line"},null,-1)),R7=m(()=>e.createElementVNode("div",null,"=",-1)),z7=m(()=>e.createElementVNode("div",null,"(b')",-1)),U7={class:"flex-center"},Y7={class:"formula-left flex-space"},Z7=m(()=>e.createElementVNode("label",null,"=",-1)),Q7={class:"formula-right flex-evenly"},J7={class:"fraction",style:{width:"240px"}},K7=m(()=>e.createElementVNode("div",{class:"line"},null,-1)),q7=m(()=>e.createElementVNode("div",null,"=",-1)),X7=m(()=>e.createElementVNode("div",null,"(c')",-1)),j7={class:"formula-conclusion",style:{"margin-bottom":"0"}},$7={key:0,class:"flex-evenly",style:{width:"500px"}},v7=m(()=>e.createElementVNode("div",null,"Time Lost",-1)),e9=m(()=>e.createElementVNode("div",null,"=",-1)),t9=m(()=>e.createElementVNode("div",null,"(a') - (b')",-1)),o9=m(()=>e.createElementVNode("div",null,"=",-1)),l9=m(()=>e.createElementVNode("div",null,"-",-1)),a9=m(()=>e.createElementVNode("div",null,"=",-1)),n9={key:1,class:"flex-evenly",style:{width:"500px"}},s9=m(()=>e.createElementVNode("div",null,"Time Lost",-1)),i9=m(()=>e.createElementVNode("div",null,"=",-1)),d9=m(()=>e.createElementVNode("div",null,"(c') - (a')",-1)),c9=m(()=>e.createElementVNode("div",null,"=",-1)),r9=m(()=>e.createElementVNode("div",null,"-",-1)),m9=m(()=>e.createElementVNode("div",null,"=",-1)),h9=m(()=>e.createElementVNode("label",{style:{"font-weight":"400","margin-right":"4px",color:"var(--idm-black-9)"}}," Conclusion: ",-1)),p9={key:1,class:"formula-conclusion"},E9=m(()=>e.createElementVNode("div",{class:"bb",style:{margin:"10px 0"}},null,-1)),y9={class:"segment-formula"},_9={class:"header-block flex-start"},N9=m(()=>e.createElementVNode("i",{class:"iconfont"},"",-1)),V9={class:"title"},f9={key:0,style:{"margin-left":"4px","font-weight":"300"}},g9={class:"formula-block"},D9={class:"flex-evenly"},x9=m(()=>e.createElementVNode("div",{class:"formula-left flex-space"},[e.createElementVNode("label",null,"Entire Voyage Consumption using Good Weather Consumption"),e.createElementVNode("label",null,"=")],-1)),b9={class:"formula-right flex-evenly"},C9={class:"fraction",style:{width:"240px"}},S9=m(()=>e.createElementVNode("div",{class:"line"},null,-1)),k9=m(()=>e.createElementVNode("div",null,"Good Weather Performance Speed",-1)),A9=m(()=>e.createElementVNode("div",null,"x",-1)),B9=m(()=>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)),w9=m(()=>e.createElementVNode("div",null,"(d)",-1)),T9={style:{"line-height":"1"}},O9=m(()=>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)),F9={key:0,class:"tips flex-end",style:{"font-size":"14px"}},P9={class:"flex-center"},u9=m(()=>e.createElementVNode("div",{class:"formula-left flex-space"},[e.createElementVNode("label",null,"Max CP Consumption"),e.createElementVNode("label",null,"=")],-1)),L9={class:"formula-right flex-evenly"},W9={class:"fraction",style:{width:"240px"}},H9=m(()=>e.createElementVNode("div",{class:"line"},null,-1)),M9=m(()=>e.createElementVNode("div",null,"x",-1)),G9=m(()=>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)),I9=m(()=>e.createElementVNode("div",null,"(e)",-1)),R9={class:"flex-center"},z9=m(()=>e.createElementVNode("div",{class:"formula-left flex-space"},[e.createElementVNode("label",null,"Min CP Consumption"),e.createElementVNode("label",null,"=")],-1)),U9={class:"formula-right flex-evenly"},Y9={class:"fraction",style:{width:"240px"}},Z9=m(()=>e.createElementVNode("div",{class:"line"},null,-1)),Q9=m(()=>e.createElementVNode("div",null,"x",-1)),J9=m(()=>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)),K9=m(()=>e.createElementVNode("div",null,"(f)",-1)),q9=e.createStaticVNode('<div class="flex-start" data-v-b4b228d1><div class="flex-space" style="width:300px;font-weight:400;" data-v-b4b228d1><label data-v-b4b228d1>Fuel Over-consumption</label><div data-v-b4b228d1>=</div><div data-v-b4b228d1>(d)</div><div data-v-b4b228d1>-</div><div data-v-b4b228d1>(e)</div></div><div class="flex-space" style="width:300px;margin-left:200px;font-weight:400;" data-v-b4b228d1><label data-v-b4b228d1>Fuel Saving</label><div data-v-b4b228d1>=</div><div data-v-b4b228d1>(f)</div><div data-v-b4b228d1>-</div><div data-v-b4b228d1>(d)</div></div></div>',1),X9={class:"flex-center"},j9=m(()=>e.createElementVNode("div",{class:"formula-left flex-space"},[e.createElementVNode("label",null,"Fuel Over-consumption in ECA"),e.createElementVNode("label",null,"=")],-1)),$9={class:"formula-right flex-evenly"},v9={class:"fraction",style:{width:"270px"}},e6=m(()=>e.createElementVNode("div",null,"ECA Distance × Fuel Over-consumption",-1)),t6=m(()=>e.createElementVNode("div",{class:"line"},null,-1)),o6={class:"flex-center"},l6=m(()=>e.createElementVNode("div",{class:"formula-left flex-space"},[e.createElementVNode("label",null,"Fuel Saving in ECA"),e.createElementVNode("label",null,"=")],-1)),a6={class:"formula-right flex-evenly"},n6={class:"fraction",style:{width:"270px"}},s6=m(()=>e.createElementVNode("div",null,"ECA Distance × Fuel Saving",-1)),i6=m(()=>e.createElementVNode("div",{class:"line"},null,-1)),d6=m(()=>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)),c6={class:"header-block flex-start",style:{"margin-top":"10px"}},r6=m(()=>e.createElementVNode("i",{class:"iconfont"},"",-1)),m6={class:"title"},h6={key:0,class:"formula-block"},p6={class:"flex-evenly"},E6=m(()=>e.createElementVNode("div",{class:"formula-left flex-space"},[e.createElementVNode("label",null,"Entire Voyage Consumption using Good Weather Consumption"),e.createElementVNode("label",null,"=")],-1)),y6={class:"formula-right flex-evenly"},_6={class:"fraction",style:{width:"240px"}},N6=m(()=>e.createElementVNode("div",{class:"line"},null,-1)),V6=m(()=>e.createElementVNode("div",null,"x",-1)),f6={class:"fraction",style:{width:"240px"}},g6={key:0},D6=m(()=>e.createElementVNode("span",null," + ",-1)),x6=m(()=>e.createElementVNode("div",{class:"line"},null,-1)),b6=m(()=>e.createElementVNode("div",null,"=",-1)),C6=m(()=>e.createElementVNode("div",null,"(d')",-1)),S6={class:"flex-evenly"},k6=m(()=>e.createElementVNode("div",{class:"formula-left flex-space"},[e.createElementVNode("label",null,"Max CP Consumption"),e.createElementVNode("label",null,"=")],-1)),A6={class:"formula-right flex-evenly"},B6={class:"fraction",style:{width:"240px"}},w6=m(()=>e.createElementVNode("div",{class:"line"},null,-1)),T6=m(()=>e.createElementVNode("div",null,"x",-1)),O6={class:"fraction",style:{width:"240px"}},F6=m(()=>e.createElementVNode("div",{class:"line"},null,-1)),P6=m(()=>e.createElementVNode("div",null,"24",-1)),u6=m(()=>e.createElementVNode("div",null,"=",-1)),L6=m(()=>e.createElementVNode("div",null,"(e')",-1)),W6={class:"flex-evenly"},H6=m(()=>e.createElementVNode("div",{class:"formula-left flex-space"},[e.createElementVNode("label",null,"Min CP Consumption"),e.createElementVNode("label",null,"=")],-1)),M6={class:"formula-right flex-evenly"},G6={class:"fraction",style:{width:"240px"}},I6=m(()=>e.createElementVNode("div",{class:"line"},null,-1)),R6=m(()=>e.createElementVNode("div",null,"x",-1)),z6={class:"fraction",style:{width:"240px"}},U6=m(()=>e.createElementVNode("div",{class:"line"},null,-1)),Y6=m(()=>e.createElementVNode("div",null,"24",-1)),Z6=m(()=>e.createElementVNode("div",null,"=",-1)),Q6=m(()=>e.createElementVNode("div",null,"(f')",-1)),J6={class:"formula-conclusion",style:{"margin-bottom":"0"}},K6={class:"flex-evenly",style:{width:"500px"}},q6=m(()=>e.createElementVNode("div",null,"Fuel Oil Over-consumption",-1)),X6=m(()=>e.createElementVNode("div",null,"=",-1)),j6=m(()=>e.createElementVNode("div",null,"(d') - (e')",-1)),$6=m(()=>e.createElementVNode("div",null,"=",-1)),v6=m(()=>e.createElementVNode("div",null,"-",-1)),eT=m(()=>e.createElementVNode("div",null,"=",-1)),tT={key:0,class:"flex-evenly"},oT=m(()=>e.createElementVNode("div",null,"Fuel Oil Over-consumption in ECA",-1)),lT=m(()=>e.createElementVNode("div",null,"=",-1)),aT={class:"fraction"},nT=m(()=>e.createElementVNode("div",{class:"line"},null,-1)),sT=m(()=>e.createElementVNode("div",null,"=",-1)),iT={class:"flex-evenly",style:{width:"700px"}},dT=m(()=>e.createElementVNode("div",null,"Fuel Oil Saving",-1)),cT=m(()=>e.createElementVNode("div",null,"=",-1)),rT=m(()=>e.createElementVNode("div",null,"(f') - (d')",-1)),mT=m(()=>e.createElementVNode("div",null,"=",-1)),hT=m(()=>e.createElementVNode("div",null,"-",-1)),pT=m(()=>e.createElementVNode("div",null,"=",-1)),ET={key:0,class:"flex-evenly",style:{width:"500px"}},yT=m(()=>e.createElementVNode("div",null,"Fuel Oil Saving in ECA",-1)),_T=m(()=>e.createElementVNode("div",null,"=",-1)),NT={class:"fraction",style:{width:"140px"}},VT=m(()=>e.createElementVNode("div",{class:"line",style:{"border-color":"var(--idm-black-9)"}},null,-1)),fT=m(()=>e.createElementVNode("div",null,"=",-1)),gT=m(()=>e.createElementVNode("label",{style:{"font-weight":"400","margin-right":"4px",color:"var(--idm-black-9)"}}," Conclusion: ",-1)),DT={key:1,class:"formula-conclusion"},xT={class:"header-block flex-end",style:{"margin-top":"10px"}},bT=m(()=>e.createElementVNode("i",{class:"iconfont"},"",-1)),CT={class:"title"},ST={key:0,class:"formula-block"},kT={class:"flex-evenly"},AT=m(()=>e.createElementVNode("div",{class:"formula-left flex-space"},[e.createElementVNode("label",null,"Entire Voyage Consumption using Good Weather Consumption"),e.createElementVNode("label",null,"=")],-1)),BT={class:"formula-right flex-evenly"},wT={class:"fraction",style:{width:"240px"}},TT=m(()=>e.createElementVNode("div",{class:"line"},null,-1)),OT=m(()=>e.createElementVNode("div",null,"x",-1)),FT={class:"fraction",style:{width:"240px"}},PT={key:0},uT=m(()=>e.createElementVNode("span",null," - ",-1)),LT=m(()=>e.createElementVNode("div",{class:"line"},null,-1)),WT=m(()=>e.createElementVNode("div",null,"=",-1)),HT=m(()=>e.createElementVNode("div",null,"(d'')",-1)),MT={class:"flex-evenly"},GT=m(()=>e.createElementVNode("div",{class:"formula-left flex-space"},[e.createElementVNode("label",null,"Max CP Consumption"),e.createElementVNode("label",null,"=")],-1)),IT={class:"formula-right flex-evenly"},RT={class:"fraction",style:{width:"240px"}},zT=m(()=>e.createElementVNode("div",{class:"line"},null,-1)),UT=m(()=>e.createElementVNode("div",null,"x",-1)),YT={class:"fraction",style:{width:"240px"}},ZT=m(()=>e.createElementVNode("div",{class:"line"},null,-1)),QT=m(()=>e.createElementVNode("div",null,"24",-1)),JT=m(()=>e.createElementVNode("div",null,"=",-1)),KT=m(()=>e.createElementVNode("div",null,"(e'')",-1)),qT={class:"flex-evenly"},XT=m(()=>e.createElementVNode("div",{class:"formula-left flex-space"},[e.createElementVNode("label",null,"Min CP Consumption"),e.createElementVNode("label",null,"=")],-1)),jT={class:"formula-right flex-evenly"},$T={class:"fraction",style:{width:"240px"}},vT=m(()=>e.createElementVNode("div",{class:"line"},null,-1)),eO=m(()=>e.createElementVNode("div",null,"x",-1)),tO={class:"fraction",style:{width:"240px"}},oO=m(()=>e.createElementVNode("div",{class:"line"},null,-1)),lO=m(()=>e.createElementVNode("div",null,"24",-1)),aO=m(()=>e.createElementVNode("div",null,"=",-1)),nO=m(()=>e.createElementVNode("div",null,"(f'')",-1)),sO={class:"formula-conclusion",style:{"margin-bottom":"0"}},iO={key:0,class:"flex-evenly",style:{width:"500px"}},dO=m(()=>e.createElementVNode("div",null,"Diesel/Gas Oil Over-consumption",-1)),cO=m(()=>e.createElementVNode("div",null,"=",-1)),rO=m(()=>e.createElementVNode("div",null,"(d'') - (e'')",-1)),mO=m(()=>e.createElementVNode("div",null,"=",-1)),hO=m(()=>e.createElementVNode("div",null,"-",-1)),pO=m(()=>e.createElementVNode("div",null,"=",-1)),EO={key:1,class:"flex-evenly",style:{width:"700px"}},yO=m(()=>e.createElementVNode("div",null,"Diesel/Gas Oil Saving",-1)),_O=m(()=>e.createElementVNode("div",null,"=",-1)),NO=m(()=>e.createElementVNode("div",null,"(f'') - (d'')",-1)),VO=m(()=>e.createElementVNode("div",null,"=",-1)),fO=m(()=>e.createElementVNode("div",null,"-",-1)),gO=m(()=>e.createElementVNode("div",null,"=",-1)),DO=m(()=>e.createElementVNode("label",{style:{"font-weight":"400","margin-right":"4px",color:"var(--idm-black-9)"}}," Conclusion: ",-1)),xO={key:1,class:"formula-conclusion"};function bO(t,n,o,d,l,a){var b,S,E,V,D,r,C,k,T,u,L,O,x,P,R,Z,z,W,f,Y,G,H,K,q,j,X,N,M,J;const p=e.resolveComponent("Lat"),i=e.resolveComponent("Lng"),y=e.resolveComponent("Editor");return e.openBlock(),e.createElementBlock("div",n8,[e.createElementVNode("div",s8,[e.createElementVNode("div",i8,[e.createElementVNode("div",d8,[c8,e.createElementVNode("span",r8,e.toDisplayString(o.report.preparedFor),1)]),e.createElementVNode("div",m8,[h8,e.createElementVNode("span",p8,e.toDisplayString((S=(b=o.report)==null?void 0:b.vessel)==null?void 0:S.name)+" ("+e.toDisplayString((V=(E=o.report)==null?void 0:E.vessel)==null?void 0:V.type)+")",1)]),e.createElementVNode("div",E8,[y8,e.createElementVNode("span",_8,e.toDisplayString((r=(D=o.report)==null?void 0:D.voyage)==null?void 0:r.number),1)])]),e.createElementVNode("div",N8,[e.createElementVNode("div",V8,[f8,(k=(C=o.report)==null?void 0:C.departure)!=null&&k.portName?(e.openBlock(),e.createElementBlock("span",g8,e.toDisplayString((u=(T=o.report)==null?void 0:T.departure)==null?void 0:u.portName),1)):(e.openBlock(),e.createElementBlock("div",D8,[e.createVNode(p,{lat:(O=(L=o.report)==null?void 0:L.departure)==null?void 0:O.lat,label:"",style:{"font-size":"14px","font-weight":"400"}},null,8,["lat"]),x8,e.createVNode(i,{lng:(x=o.report.departure)==null?void 0:x.lng,label:"",style:{"font-size":"14px","font-weight":"400"}},null,8,["lng"])])),e.createElementVNode("span",b8,e.toDisplayString(a.computeUTCTime((P=o.report.departure)==null?void 0:P.utcTime,"MMM-DD/HHmm[Z], YYYY")),1)]),e.createElementVNode("div",C8,[S8,(Z=(R=o.report)==null?void 0:R.arrival)!=null&&Z.portName?(e.openBlock(),e.createElementBlock("span",k8,e.toDisplayString((W=(z=o.report)==null?void 0:z.arrival)==null?void 0:W.portName),1)):(e.openBlock(),e.createElementBlock("div",A8,[e.createVNode(p,{lat:(Y=(f=o.report)==null?void 0:f.arrival)==null?void 0:Y.lat,label:"",style:{"font-size":"14px","font-weight":"400"}},null,8,["lat"]),B8,e.createVNode(i,{lng:(H=(G=o.report)==null?void 0:G.arrival)==null?void 0:H.lng,label:"",style:{"font-size":"14px","font-weight":"400"}},null,8,["lng"])])),e.createElementVNode("span",w8,e.toDisplayString(a.computeUTCTime((q=(K=o.report)==null?void 0:K.arrival)==null?void 0:q.utcTime,"MMM-DD/HHmm[Z], YYYY")),1)]),e.createElementVNode("div",T8,[O8,e.createElementVNode("span",F8,e.toDisplayString((X=(j=o.report)==null?void 0:j.voyage)==null?void 0:X.loadCondition),1)])])]),e.createElementVNode("div",P8,[u8,e.createElementVNode("div",L8,[e.createElementVNode("div",W8,e.toDisplayString(a.computeWeatherDef(o.report.weather)),1)])]),e.createElementVNode("div",H8,[M8,(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList((N=o.report)==null?void 0:N.segments,(s,$)=>{var c,ee,oe,te,se,ie,ce,re,he,pe,Ee,de,ye,xe,be,Ce,Se,ke,Ae,Be,Fe,Pe,fe,F,_e,ue,Le,We,we,He,Ke,qe,U,Oe,ze,Ue,Ye,Ze,Qe,Je,_;return e.openBlock(),e.createElementBlock("div",{class:"segment-box flex-space",key:"summary"+$},[e.createElementVNode("div",G8,[e.createElementVNode("div",I8,"Seg."+e.toDisplayString($+1),1),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList((c=s==null?void 0:s.extend)==null?void 0:c.segTimes,(Q,ge)=>{var Te,Me,me,Xe,$e,ve,ot,lt,at,nt;return e.openBlock(),e.createElementBlock("div",{class:"phase-row flex-space",key:ge},[e.createElementVNode("div",R8,[(Te=Q==null?void 0:Q.departure)!=null&&Te.portName?(e.openBlock(),e.createElementBlock("span",z8,e.toDisplayString((Me=Q==null?void 0:Q.departure)==null?void 0:Me.portName),1)):(e.openBlock(),e.createElementBlock("span",U8,e.toDisplayString(a.computeLat((me=Q==null?void 0:Q.departure)==null?void 0:me.lat).pretty)+", "+e.toDisplayString(a.computeLng((Xe=Q==null?void 0:Q.departure)==null?void 0:Xe.lng).pretty),1)),e.createElementVNode("label",null,"("+e.toDisplayString(a.computeUTCTime(($e=Q==null?void 0:Q.departure)==null?void 0:$e.utcTime))+")",1)]),Y8,e.createElementVNode("div",Z8,[(ve=Q==null?void 0:Q.arrival)!=null&&ve.portName?(e.openBlock(),e.createElementBlock("span",Q8,e.toDisplayString((ot=Q==null?void 0:Q.arrival)==null?void 0:ot.portName),1)):(e.openBlock(),e.createElementBlock("span",J8,e.toDisplayString(a.computeLat((lt=Q==null?void 0:Q.arrival)==null?void 0:lt.lat).pretty)+", "+e.toDisplayString(a.computeLng((at=Q==null?void 0:Q.arrival)==null?void 0:at.lng).pretty),1)),e.createElementVNode("label",null,"("+e.toDisplayString(a.computeUTCTime((nt=Q==null?void 0:Q.arrival)==null?void 0:nt.utcTime))+")",1)])])}),128)),K8,e.createElementVNode("div",q8,[e.createElementVNode("div",X8,[j8,e.createElementVNode("div",$8,[v8,e.createElementVNode("span",null,[e.createElementVNode("span",null,e.toDisplayString((oe=(ee=s==null?void 0:s.extend)==null?void 0:ee.cp)==null?void 0:oe.speed)+" |",1),e.createElementVNode("span",null,[eB,e.createElementVNode("span",null,e.toDisplayString(a.computeAbtSpeed(s==null?void 0:s.timeConclusion,(se=(te=s==null?void 0:s.extend)==null?void 0:te.cp)==null?void 0:se.speed,"Over"))+",",1)]),e.createElementVNode("span",null,[tB,e.createElementVNode("span",null,e.toDisplayString(a.computeAbtSpeed(s==null?void 0:s.timeConclusion,(ce=(ie=s==null?void 0:s.extend)==null?void 0:ie.cp)==null?void 0:ce.speed,"Under")),1)])]),e.createElementVNode("span",null,[e.createElementVNode("span",null,e.toDisplayString((he=(re=s==null?void 0:s.extend)==null?void 0:re.cp)==null?void 0:he.fo)+" |",1),e.createElementVNode("span",null,[oB,e.createElementVNode("span",null,e.toDisplayString(a.computeAbtCons(s==null?void 0:s.fuelConclusion,"Over"))+",",1)]),e.createElementVNode("span",null,[lB,e.createElementVNode("span",null,e.toDisplayString(a.computeAbtCons(s==null?void 0:s.fuelConclusion,"Under")),1)])]),e.createElementVNode("span",null,[e.createElementVNode("span",null,e.toDisplayString((Ee=(pe=s==null?void 0:s.extend)==null?void 0:pe.cp)==null?void 0:Ee.dgo)+" |",1),e.createElementVNode("span",null,[aB,e.createElementVNode("span",null,e.toDisplayString(a.computeAbtCons(s==null?void 0:s.fuelConclusion,"Over"))+",",1)]),e.createElementVNode("span",null,[nB,e.createElementVNode("span",null,e.toDisplayString(a.computeAbtCons(s==null?void 0:s.fuelConclusion,"Under")),1)])])])])]),sB,e.createElementVNode("div",iB,[e.createElementVNode("div",dB,[cB,e.createElementVNode("div",rB,[e.createElementVNode("div",null,e.toDisplayString(s.allWx.time),1),mB]),s.goodWx.distance?(e.openBlock(),e.createElementBlock("div",hB,[((de=s==null?void 0:s.timeConclusion)==null?void 0:de.conclusionStatus)==="Gain"?(e.openBlock(),e.createElementBlock("div",pB," Time Gained ")):((ye=s==null?void 0:s.timeConclusion)==null?void 0:ye.conclusionStatus)==="Lost"?(e.openBlock(),e.createElementBlock("div",EB," Time Lost ")):(e.openBlock(),e.createElementBlock("div",yB,"No Time Lost/Gained"))])):(e.openBlock(),e.createElementBlock("div",_B,e.toDisplayString(l.noGoodWxDay),1)),s.goodWx.distance?(e.openBlock(),e.createElementBlock("div",NB,[((xe=s==null?void 0:s.timeConclusion)==null?void 0:xe.conclusionStatus)==="Gain"?(e.openBlock(),e.createElementBlock("div",VB,[fB,e.createElementVNode("span",gB,e.toDisplayString((be=s==null?void 0:s.timeConclusion)==null?void 0:be.timeGain),1),DB])):((Ce=s==null?void 0:s.timeConclusion)==null?void 0:Ce.conclusionStatus)==="Lost"?(e.openBlock(),e.createElementBlock("div",xB,[bB,e.createElementVNode("span",CB,e.toDisplayString((Se=s==null?void 0:s.timeConclusion)==null?void 0:Se.timeLost),1),SB])):(e.openBlock(),e.createElementBlock("div",kB,"N/A"))])):e.createCommentVNode("",!0)]),e.createElementVNode("div",AB,[BB,e.createElementVNode("div",wB,[e.createElementVNode("div",null,e.toDisplayString(s.allWx.sumFoCons),1),TB]),s.goodWx.distance?(e.openBlock(),e.createElementBlock("div",OB,[((Ae=(ke=s==null?void 0:s.fuelConclusion)==null?void 0:ke.fo)==null?void 0:Ae.conclusionStatus)==="Saving"?(e.openBlock(),e.createElementBlock("div",FB," FO Saving ")):((Fe=(Be=s==null?void 0:s.fuelConclusion)==null?void 0:Be.fo)==null?void 0:Fe.conclusionStatus)==="Over"?(e.openBlock(),e.createElementBlock("div",PB," FO Over-consumption ")):(e.openBlock(),e.createElementBlock("div",uB,"No FO Over-consumption/Saving"))])):(e.openBlock(),e.createElementBlock("div",LB,e.toDisplayString(l.noGoodWxDay),1)),s.goodWx.distance?(e.openBlock(),e.createElementBlock("div",WB,[((fe=(Pe=s==null?void 0:s.fuelConclusion)==null?void 0:Pe.fo)==null?void 0:fe.conclusionStatus)==="Saving"?(e.openBlock(),e.createElementBlock("div",HB,[MB,e.createElementVNode("span",GB,e.toDisplayString((_e=(F=s==null?void 0:s.fuelConclusion)==null?void 0:F.fo)==null?void 0:_e.saving),1),IB])):((Le=(ue=s==null?void 0:s.fuelConclusion)==null?void 0:ue.fo)==null?void 0:Le.conclusionStatus)==="Over"?(e.openBlock(),e.createElementBlock("div",RB,[zB,e.createElementVNode("span",UB,e.toDisplayString((we=(We=s==null?void 0:s.fuelConclusion)==null?void 0:We.fo)==null?void 0:we.overCons),1),YB])):(e.openBlock(),e.createElementBlock("div",ZB,"N/A"))])):e.createCommentVNode("",!0)]),e.createElementVNode("div",QB,[JB,e.createElementVNode("div",KB,[e.createElementVNode("div",null,e.toDisplayString(s.allWx.sumDgoCons),1),qB]),s.goodWx.distance?(e.openBlock(),e.createElementBlock("div",XB,[((Ke=(He=s==null?void 0:s.fuelConclusion)==null?void 0:He.dgo)==null?void 0:Ke.conclusionStatus)==="Saving"?(e.openBlock(),e.createElementBlock("div",jB," DO/GO Saving ")):((U=(qe=s==null?void 0:s.fuelConclusion)==null?void 0:qe.dgo)==null?void 0:U.conclusionStatus)==="Over"?(e.openBlock(),e.createElementBlock("div",$B," DO/GO Over-consumption ")):(e.openBlock(),e.createElementBlock("div",vB,"No DO/GO Over-consumption/Saving"))])):(e.openBlock(),e.createElementBlock("div",ew,e.toDisplayString(l.noGoodWxDay),1)),s.goodWx.distance?(e.openBlock(),e.createElementBlock("div",tw,[((ze=(Oe=s==null?void 0:s.fuelConclusion)==null?void 0:Oe.dgo)==null?void 0:ze.conclusionStatus)==="Saving"?(e.openBlock(),e.createElementBlock("div",ow,[lw,e.createElementVNode("span",aw,e.toDisplayString((Ye=(Ue=s==null?void 0:s.fuelConclusion)==null?void 0:Ue.dgo)==null?void 0:Ye.saving),1),nw])):((Qe=(Ze=s==null?void 0:s.fuelConclusion)==null?void 0:Ze.dgo)==null?void 0:Qe.conclusionStatus)==="Over"?(e.openBlock(),e.createElementBlock("div",sw,[iw,e.createElementVNode("span",dw,e.toDisplayString((_=(Je=s==null?void 0:s.fuelConclusion)==null?void 0:Je.dgo)==null?void 0:_.overCons),1),cw])):(e.openBlock(),e.createElementBlock("div",rw,"N/A"))])):e.createCommentVNode("",!0)])])])])}),128)),mw]),e.createElementVNode("div",{class:e.normalizeClass(a.computeBlankHtml((M=o.report)==null?void 0:M.remarks)&&!l.exclusion.length?"section remark-section print-hidden":"section remark-section")},[hw,l.exclusion.length?(e.openBlock(),e.createElementBlock("div",pw,[Ew,yw,e.createElementVNode("div",_w,[e.createElementVNode("table",Nw,[Vw,e.createElementVNode("tbody",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(l.exclusion,(s,$)=>(e.openBlock(),e.createElementBlock("tr",{key:$},[e.createElementVNode("td",null,e.toDisplayString($+1),1),e.createElementVNode("td",null,e.toDisplayString(s.time),1),e.createElementVNode("td",null,e.toDisplayString(s.duration),1),e.createElementVNode("td",null,e.toDisplayString(s.distance),1),e.createElementVNode("td",null,e.toDisplayString(s.fo),1),e.createElementVNode("td",null,e.toDisplayString(s.dgo),1)]))),128))])])])])):e.createCommentVNode("",!0),e.createElementVNode("div",{class:e.normalizeClass(a.computeBlankHtml((J=o.report)==null?void 0:J.remarks)?"remark-block print-hidden":"remark-block page-avoid")},[l.editable?(e.openBlock(),e.createBlock(y,{key:0,modelValue:l.remarks,"onUpdate:modelValue":n[0]||(n[0]=s=>l.remarks=s),class:"editor",height:"120px",onBlur:n[1]||(n[1]=s=>a.handleCommit(s))},null,8,["modelValue"])):(e.openBlock(),e.createElementBlock("div",{key:1,class:"txt",onDblclick:n[2]||(n[2]=(...s)=>a.handleEdit&&a.handleEdit(...s)),innerHTML:l.remarks},null,40,fw))],2)],2),e.createElementVNode("div",gw,[Dw,(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(o.report.segments,(s,$)=>{var c,ee,oe,te,se,ie,ce,re,he,pe,Ee,de,ye,xe,be,Ce,Se,ke,Ae,Be,Fe,Pe,fe,F,_e,ue,Le,We,we,He,Ke,qe,U,Oe,ze,Ue,Ye,Ze,Qe,Je,_,Q,ge,Te,Me,me,Xe,$e,ve,ot,lt,at,nt,mt,ht,pt,Et,yt,_t,Nt,Vt,ft,gt,Dt,xt,bt,Ct,St,kt,At,Bt,wt,Tt,Ht,ho,yo,_o,No,Vo,I,tt,Ot,Ft,Mt,Gt,It,Rt,zt,Ut,Yt,Zt,Qt,Jt,Kt,qt,Xt,jt,$t,vt,eo,to,oo,lo,ao,no,so,io,co,fo,go,Do,xo,bo,Co,So,ko,Ao,Bo,wo,To,Oo,Fo,Po,uo,Lo,Wo,Ho,Mo,Go,Io,Uo,Yo,Zo,Qo,Jo,Ko,qo,Xo,jo,$o,vo,el,tl,ol,ll,al,nl,sl,il,dl,cl,rl,ml,hl,pl,El,Pt,Nl,gl,Dl,xl,bl,Cl,Sl,kl,Al,Bl,wl,Tl,Ol,Fl,Pl,ul,Ll,Wl,Hl,Ml,Gl,Il,Rl,zl,Ul,Yl,Zl,Ql,Jl,Kl,ql,Xl,jl,$l,vl,ea,ta,oa,la,aa,na,sa,ia,da,ca,ra,ma,ha,pa,Ea,ya,_a,Na,Va,fa,ga,Da,xa,ba,Ca,Sa,ka,Aa,Ba,wa,Ta,Oa,Fa,Pa,ua,La,Wa,Ha,Ma,Ga,Ia,Ra,za,Ua,Ya,ae,ro,Za,Qa,Ja,ne,mo,Ka,qa,Xa,rt,an,nn,sn,dn,ut,Wn,Hn,Mn,Gn,In,Rn,zn,Un,Yn,Zn,Qn,Jn,Kn,qn,Xn,jn,$n,vn,es,ts,os,ls,as,ns,ss,is,ds,cs,rs,ms,hs,ps,Es,ys,_s,Ns,Vs,fs,gs,Ds,xs,bs,Cs,Ss,ks,As,Bs,ws,Ts,Os,Fs,Ps,us,Ls,Ws,Hs,Ms;return e.openBlock(),e.createElementBlock("div",{key:$,class:"segment-block"},[e.createElementVNode("div",xw,"Voyage Analysis Seg. "+e.toDisplayString($+1),1),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList((c=s==null?void 0:s.extend)==null?void 0:c.segTimes,(je,ree)=>{var Gs,Is,Rs,zs,Us,Ys,Zs,Qs,Js,Ks;return e.openBlock(),e.createElementBlock("div",{class:"segment-row flex-space",key:ree},[e.createElementVNode("div",bw,[(Gs=je==null?void 0:je.departure)!=null&&Gs.portName?(e.openBlock(),e.createElementBlock("span",Cw,e.toDisplayString((Is=je==null?void 0:je.departure)==null?void 0:Is.portName),1)):(e.openBlock(),e.createElementBlock("span",Sw,e.toDisplayString(a.computeLat((Rs=je==null?void 0:je.departure)==null?void 0:Rs.lat).pretty)+", "+e.toDisplayString(a.computeLng((zs=je==null?void 0:je.departure)==null?void 0:zs.lng).pretty),1)),e.createElementVNode("label",null,"("+e.toDisplayString(a.computeUTCTime((Us=je==null?void 0:je.departure)==null?void 0:Us.utcTime))+")",1)]),kw,e.createElementVNode("div",Aw,[(Ys=je==null?void 0:je.arrival)!=null&&Ys.portName?(e.openBlock(),e.createElementBlock("span",Bw,e.toDisplayString((Zs=je==null?void 0:je.arrival)==null?void 0:Zs.portName),1)):(e.openBlock(),e.createElementBlock("span",ww,e.toDisplayString(a.computeLat((Qs=je==null?void 0:je.arrival)==null?void 0:Qs.lat).pretty)+", "+e.toDisplayString(a.computeLng((Js=je==null?void 0:je.arrival)==null?void 0:Js.lng).pretty),1)),e.createElementVNode("label",null,"("+e.toDisplayString(a.computeUTCTime((Ks=je==null?void 0:je.arrival)==null?void 0:Ks.utcTime))+")",1)])])}),128)),Tw,e.createElementVNode("div",Ow,[e.createElementVNode("table",null,[Fw,Pw,e.createElementVNode("tr",null,[uw,e.createElementVNode("td",Lw,e.toDisplayString((oe=(ee=s==null?void 0:s.goodWx)==null?void 0:ee.outEca)==null?void 0:oe.distance),1),e.createElementVNode("td",Ww,e.toDisplayString((se=(te=s==null?void 0:s.goodWx)==null?void 0:te.inEca)==null?void 0:se.distance),1),e.createElementVNode("td",null,e.toDisplayString((ce=(ie=s==null?void 0:s.allWx)==null?void 0:ie.outEca)==null?void 0:ce.distance),1),e.createElementVNode("td",null,e.toDisplayString((he=(re=s==null?void 0:s.allWx)==null?void 0:re.inEca)==null?void 0:he.distance),1)]),e.createElementVNode("tr",null,[Hw,e.createElementVNode("td",Mw,e.toDisplayString((Ee=(pe=s==null?void 0:s.goodWx)==null?void 0:pe.outEca)==null?void 0:Ee.time),1),e.createElementVNode("td",Gw,e.toDisplayString((ye=(de=s==null?void 0:s.goodWx)==null?void 0:de.inEca)==null?void 0:ye.time),1),e.createElementVNode("td",null,e.toDisplayString((be=(xe=s==null?void 0:s.allWx)==null?void 0:xe.outEca)==null?void 0:be.time),1),e.createElementVNode("td",null,e.toDisplayString((Se=(Ce=s==null?void 0:s.allWx)==null?void 0:Ce.inEca)==null?void 0:Se.time),1)]),e.createElementVNode("tr",null,[Iw,e.createElementVNode("td",Rw,e.toDisplayString(((Ae=(ke=s==null?void 0:s.goodWx)==null?void 0:ke.outEca)==null?void 0:Ae.avgSpd)||"--"),1),e.createElementVNode("td",zw,e.toDisplayString(((Fe=(Be=s==null?void 0:s.goodWx)==null?void 0:Be.inEca)==null?void 0:Fe.avgSpd)||"--"),1),e.createElementVNode("td",null,e.toDisplayString(((fe=(Pe=s==null?void 0:s.allWx)==null?void 0:Pe.outEca)==null?void 0:fe.avgSpd)||"--"),1),e.createElementVNode("td",null,e.toDisplayString(((_e=(F=s==null?void 0:s.allWx)==null?void 0:F.inEca)==null?void 0:_e.avgSpd)||"--"),1)]),e.createElementVNode("tr",null,[Uw,e.createElementVNode("td",Yw,e.toDisplayString(((Le=(ue=s==null?void 0:s.goodWx)==null?void 0:ue.outEca)==null?void 0:Le.sumFoCons)||"--"),1),e.createElementVNode("td",Zw,e.toDisplayString(((we=(We=s==null?void 0:s.goodWx)==null?void 0:We.inEca)==null?void 0:we.sumFoCons)||"--"),1),e.createElementVNode("td",null,e.toDisplayString(((Ke=(He=s==null?void 0:s.allWx)==null?void 0:He.outEca)==null?void 0:Ke.sumFoCons)||"--"),1),e.createElementVNode("td",null,e.toDisplayString(((U=(qe=s==null?void 0:s.allWx)==null?void 0:qe.inEca)==null?void 0:U.sumFoCons)||"--"),1)]),e.createElementVNode("tr",null,[Qw,e.createElementVNode("td",Jw,e.toDisplayString(((ze=(Oe=s==null?void 0:s.goodWx)==null?void 0:Oe.outEca)==null?void 0:ze.avgFoCons)||"--"),1),e.createElementVNode("td",Kw,e.toDisplayString(((Ye=(Ue=s==null?void 0:s.goodWx)==null?void 0:Ue.inEca)==null?void 0:Ye.avgFoCons)||"--"),1),e.createElementVNode("td",null,e.toDisplayString(((Qe=(Ze=s==null?void 0:s.allWx)==null?void 0:Ze.outEca)==null?void 0:Qe.avgFoCons)||"--"),1),e.createElementVNode("td",null,e.toDisplayString(((_=(Je=s==null?void 0:s.allWx)==null?void 0:Je.inEca)==null?void 0:_.avgFoCons)||"--"),1)]),e.createElementVNode("tr",null,[qw,e.createElementVNode("td",Xw,e.toDisplayString(((ge=(Q=s==null?void 0:s.goodWx)==null?void 0:Q.outEca)==null?void 0:ge.sumDgoCons)||"--"),1),e.createElementVNode("td",jw,e.toDisplayString(((Me=(Te=s==null?void 0:s.goodWx)==null?void 0:Te.inEca)==null?void 0:Me.sumDgoCons)||"--"),1),e.createElementVNode("td",null,e.toDisplayString(((Xe=(me=s==null?void 0:s.allWx)==null?void 0:me.outEca)==null?void 0:Xe.sumDgoCons)||"--"),1),e.createElementVNode("td",null,e.toDisplayString(((ve=($e=s==null?void 0:s.allWx)==null?void 0:$e.inEca)==null?void 0:ve.sumDgoCons)||"--"),1)]),e.createElementVNode("tr",null,[$w,e.createElementVNode("td",vw,e.toDisplayString(((lt=(ot=s==null?void 0:s.goodWx)==null?void 0:ot.outEca)==null?void 0:lt.avgDgoCons)||"--"),1),e.createElementVNode("td",e5,e.toDisplayString(((nt=(at=s==null?void 0:s.goodWx)==null?void 0:at.inEca)==null?void 0:nt.avgDgoCons)||"--"),1),e.createElementVNode("td",null,e.toDisplayString(((ht=(mt=s==null?void 0:s.allWx)==null?void 0:mt.outEca)==null?void 0:ht.avgDgoCons)||"--"),1),e.createElementVNode("td",null,e.toDisplayString(((Et=(pt=s==null?void 0:s.allWx)==null?void 0:pt.inEca)==null?void 0:Et.avgDgoCons)||"--"),1)])])]),(yt=l.exclusion[$])!=null&&yt.time?(e.openBlock(),e.createElementBlock("div",t5," *The Performance Speed Evaluation excludes exclusion time, distance, and consumed fuel. ")):e.createCommentVNode("",!0),(_t=s==null?void 0:s.goodWx)!=null&&_t.distance?(e.openBlock(),e.createElementBlock("div",o5,[e.createElementVNode("div",l5,[a5,e.createElementVNode("div",n5,[(Vt=(Nt=o.report)==null?void 0:Nt.weather)!=null&&Vt.favorableCur&&((ft=s==null?void 0:s.goodWx)==null?void 0:ft.avgCf)>0?(e.openBlock(),e.createElementBlock("span",c5,e.toDisplayString((St=s==null?void 0:s.goodWx)==null?void 0:St.pfmSpd)+" (kts)",1)):(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[e.createElementVNode("span",null,e.toDisplayString((gt=s==null?void 0:s.goodWx)==null?void 0:gt.avgSpd),1),s5,e.createElementVNode("span",null,e.toDisplayString(((Dt=s==null?void 0:s.goodWx)==null?void 0:Dt.avgCf)>0?(xt=s==null?void 0:s.goodWx)==null?void 0:xt.avgCf:`(${(bt=s==null?void 0:s.goodWx)==null?void 0:bt.avgCf})`),1),i5,e.createElementVNode("span",d5,e.toDisplayString((Ct=s==null?void 0:s.goodWx)==null?void 0:Ct.pfmSpd)+" (kts)",1)],64)),((kt=s==null?void 0:s.goodWx)==null?void 0:kt.pfmStatus)==="Under"?(e.openBlock(),e.createElementBlock("span",r5,"(Under-performance)")):e.createCommentVNode("",!0),((At=s==null?void 0:s.goodWx)==null?void 0:At.pfmStatus)==="Over"?(e.openBlock(),e.createElementBlock("span",m5,"(Over-performance)")):e.createCommentVNode("",!0)])]),e.createElementVNode("div",h5,[p5,e.createElementVNode("div",E5,[(wt=(Bt=o.report)==null?void 0:Bt.weather)!=null&&wt.favorableCur&&((Tt=s==null?void 0:s.goodWx)==null?void 0:Tt.avgCf)>0?(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[V5,f5],64)):(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[y5,_5,N5],64))])])])):(e.openBlock(),e.createElementBlock("div",g5,[e.createElementVNode("div",D5,[x5,e.createElementVNode("div",b5,[(ho=(Ht=o.report)==null?void 0:Ht.weather)!=null&&ho.favorableCur&&((yo=s==null?void 0:s.allWx)==null?void 0:yo.avgCf)>0?(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[e.createElementVNode("span",null,e.toDisplayString((Gt=s==null?void 0:s.allWx)==null?void 0:Gt.avgSpd),1),B5,e.createElementVNode("span",null,e.toDisplayString(((It=s==null?void 0:s.allWx)==null?void 0:It.avgWf)>0?(Rt=s==null?void 0:s.allWx)==null?void 0:Rt.avgWf:`(${(zt=s==null?void 0:s.allWx)==null?void 0:zt.avgWf})`),1),w5,e.createElementVNode("span",T5,e.toDisplayString((Ut=s==null?void 0:s.allWx)==null?void 0:Ut.pfmSpd)+" (kts)",1)],64)):(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[e.createElementVNode("span",null,e.toDisplayString((_o=s==null?void 0:s.allWx)==null?void 0:_o.avgSpd),1),C5,e.createElementVNode("span",null,e.toDisplayString(((No=s==null?void 0:s.allWx)==null?void 0:No.avgCf)>0?(Vo=s==null?void 0:s.allWx)==null?void 0:Vo.avgCf:`(${(I=s==null?void 0:s.allWx)==null?void 0:I.avgCf})`),1),S5,e.createElementVNode("span",null,e.toDisplayString(((tt=s==null?void 0:s.allWx)==null?void 0:tt.avgWf)>0?(Ot=s==null?void 0:s.allWx)==null?void 0:Ot.avgWf:`(${(Ft=s==null?void 0:s.allWx)==null?void 0:Ft.avgWf})`),1),k5,e.createElementVNode("span",A5,e.toDisplayString((Mt=s==null?void 0:s.allWx)==null?void 0:Mt.pfmSpd)+" (kts)",1)],64)),((Yt=s==null?void 0:s.allWx)==null?void 0:Yt.pfmStatus)==="Under"?(e.openBlock(),e.createElementBlock("span",O5,"(Under-performance)")):e.createCommentVNode("",!0),((Zt=s==null?void 0:s.allWx)==null?void 0:Zt.pfmStatus)==="Over"?(e.openBlock(),e.createElementBlock("span",F5,"(Over-performance)")):e.createCommentVNode("",!0)])]),e.createElementVNode("div",P5,[u5,e.createElementVNode("div",L5,[(Jt=(Qt=o.report)==null?void 0:Qt.weather)!=null&&Jt.favorableCur&&((Kt=s==null?void 0:s.allWx)==null?void 0:Kt.avgCf)>0?(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[R5,z5,U5,Y5],64)):(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[W5,H5,M5,G5,I5],64))])])])),Z5,e.createElementVNode("div",Q5,[e.createElementVNode("div",J5,[K5,e.createElementVNode("div",q5,[e.createElementVNode("span",null,"Seg. "+e.toDisplayString($+1)+" Time Analysis",1),(Xt=(qt=o.report)==null?void 0:qt.weather)!=null&&Xt.noExtrapolation?(e.openBlock(),e.createElementBlock("span",X5,"( no extrapolation beyond the good weather period )")):e.createCommentVNode("",!0)])]),e.createElementVNode("div",j5,[e.createElementVNode("div",$5,[v5,e.createElementVNode("div",e7,[e.createElementVNode("div",t7,[e.createElementVNode("div",null,e.toDisplayString(($t=(jt=o.report)==null?void 0:jt.weather)!=null&&$t.noExtrapolation?"Total Distance At Good Weather":"Total Distance"),1),o7,l7]),a7])]),e.createElementVNode("div",n7,[e.createElementVNode("div",s7,[e.createElementVNode("label",null,"Total Time at (CP Speed - "+e.toDisplayString(a.computeAbtSpeed(s==null?void 0:s.timeConclusion,(eo=(vt=s==null?void 0:s.extend)==null?void 0:vt.cp)==null?void 0:eo.speed,"Under"))+"kts)",1),i7]),e.createElementVNode("div",d7,[e.createElementVNode("div",c7,[e.createElementVNode("div",null,e.toDisplayString((oo=(to=o.report)==null?void 0:to.weather)!=null&&oo.noExtrapolation?"Total Distance At Good Weather":"Total Distance"),1),r7,e.createElementVNode("div",null,"CP Speed - "+e.toDisplayString(a.computeAbtSpeed(s==null?void 0:s.timeConclusion,(ao=(lo=s==null?void 0:s.extend)==null?void 0:lo.cp)==null?void 0:ao.speed,"Under"))+"kts",1)]),m7])]),e.createElementVNode("div",h7,[e.createElementVNode("div",p7,[e.createElementVNode("label",null,"Total Time at (CP Speed + "+e.toDisplayString(a.computeAbtSpeed(s==null?void 0:s.timeConclusion,(so=(no=s==null?void 0:s.extend)==null?void 0:no.cp)==null?void 0:so.speed,"Over"))+"kts)",1),E7]),e.createElementVNode("div",y7,[e.createElementVNode("div",_7,[e.createElementVNode("div",null,e.toDisplayString((co=(io=o.report)==null?void 0:io.weather)!=null&&co.noExtrapolation?"Total Distance At Good Weather":"Total Distance"),1),N7,e.createElementVNode("div",null,"CP Speed + "+e.toDisplayString(a.computeAbtSpeed(s==null?void 0:s.timeConclusion,(go=(fo=s==null?void 0:s.extend)==null?void 0:fo.cp)==null?void 0:go.speed,"Over"))+"kts",1)]),V7])]),f7]),e.createElementVNode("div",g7,[e.createElementVNode("div",D7,[x7,e.createElementVNode("div",null," Total Time at Good Weather Performance Speed > Total Time at (CP Speed - "+e.toDisplayString(a.computeAbtSpeed(s==null?void 0:s.timeConclusion,(xo=(Do=s==null?void 0:s.extend)==null?void 0:Do.cp)==null?void 0:xo.speed,"Under"))+" kts) ",1)]),e.createElementVNode("div",b7,[C7,e.createElementVNode("div",null," Total Time at Good Weather Performance Speed < Total Time at (CP Speed + "+e.toDisplayString(a.computeAbtSpeed(s==null?void 0:s.timeConclusion,(Co=(bo=s==null?void 0:s.extend)==null?void 0:bo.cp)==null?void 0:Co.speed,"Over"))+" kts) ",1)]),e.createElementVNode("div",S7,[k7,e.createElementVNode("div",null,"Total Time at (CP Speed + "+e.toDisplayString(a.computeAbtSpeed(s==null?void 0:s.timeConclusion,(ko=(So=s==null?void 0:s.extend)==null?void 0:So.cp)==null?void 0:ko.speed,"Over"))+" kts) ≤ Total Time at Good Weather Performance Speed ≤ Total Time at (CP Speed -"+e.toDisplayString(a.computeAbtSpeed(s==null?void 0:s.timeConclusion,(Bo=(Ao=s==null?void 0:s.extend)==null?void 0:Ao.cp)==null?void 0:Bo.speed,"Under"))+" kts)",1)])]),(wo=s==null?void 0:s.goodWx)!=null&&wo.distance?(e.openBlock(),e.createElementBlock("div",A7,[e.createElementVNode("div",B7,[w7,e.createElementVNode("div",T7,[e.createElementVNode("div",O7,[e.createElementVNode("div",null,e.toDisplayString((Oo=(To=o.report)==null?void 0:To.weather)!=null&&Oo.noExtrapolation?(Fo=s==null?void 0:s.goodWx)==null?void 0:Fo.distance:(Po=s==null?void 0:s.allWx)==null?void 0:Po.distance),1),F7,e.createElementVNode("div",null,e.toDisplayString((uo=s==null?void 0:s.goodWx)==null?void 0:uo.pfmSpd),1)]),P7,e.createElementVNode("div",null,e.toDisplayString((Lo=s==null?void 0:s.timeConclusion)==null?void 0:Lo.timeAtPfmSpd)+" (hrs)",1),u7])]),e.createElementVNode("div",L7,[e.createElementVNode("div",W7,[e.createElementVNode("label",null,"Total Time at (CP Speed - "+e.toDisplayString(a.computeAbtSpeed(s==null?void 0:s.timeConclusion,(Ho=(Wo=s==null?void 0:s.extend)==null?void 0:Wo.cp)==null?void 0:Ho.speed,"Under"))+"kts)",1),H7]),e.createElementVNode("div",M7,[e.createElementVNode("div",G7,[e.createElementVNode("div",null,e.toDisplayString((Go=(Mo=o.report)==null?void 0:Mo.weather)!=null&&Go.noExtrapolation?(Io=s==null?void 0:s.goodWx)==null?void 0:Io.distance:(Uo=s==null?void 0:s.allWx)==null?void 0:Uo.distance),1),I7,e.createElementVNode("div",null,e.toDisplayString((Yo=s==null?void 0:s.timeConclusion)==null?void 0:Yo.minusAbtSpd),1)]),R7,e.createElementVNode("div",null,e.toDisplayString((Zo=s==null?void 0:s.timeConclusion)==null?void 0:Zo.timeAtMinusAbtSpd)+" (hrs)",1),z7])]),e.createElementVNode("div",U7,[e.createElementVNode("div",Y7,[e.createElementVNode("label",null,"Total Time at (CP Speed + "+e.toDisplayString(a.computeAbtSpeed(s==null?void 0:s.timeConclusion,(Jo=(Qo=s==null?void 0:s.extend)==null?void 0:Qo.cp)==null?void 0:Jo.speed,"Over"))+"kts)",1),Z7]),e.createElementVNode("div",Q7,[e.createElementVNode("div",J7,[e.createElementVNode("div",null,e.toDisplayString((qo=(Ko=o.report)==null?void 0:Ko.weather)!=null&&qo.noExtrapolation?(Xo=s==null?void 0:s.goodWx)==null?void 0:Xo.distance:(jo=s==null?void 0:s.allWx)==null?void 0:jo.distance),1),K7,e.createElementVNode("div",null,e.toDisplayString(($o=s==null?void 0:s.timeConclusion)==null?void 0:$o.plusAbtSpd),1)]),q7,e.createElementVNode("div",null,e.toDisplayString((vo=s==null?void 0:s.timeConclusion)==null?void 0:vo.timeAtPlusAbtSpd)+" (hrs)",1),X7])]),e.createElementVNode("div",j7,[((el=s==null?void 0:s.timeConclusion)==null?void 0:el.conclusionStatus)==="Lost"?(e.openBlock(),e.createElementBlock("div",$7,[v7,e9,t9,o9,e.createElementVNode("div",null,e.toDisplayString((tl=s==null?void 0:s.timeConclusion)==null?void 0:tl.timeAtPfmSpd),1),l9,e.createElementVNode("div",null,e.toDisplayString((ol=s==null?void 0:s.timeConclusion)==null?void 0:ol.timeAtMinusAbtSpd),1),a9,e.createElementVNode("div",null,e.toDisplayString((ll=s==null?void 0:s.timeConclusion)==null?void 0:ll.timeLost)+" (hrs)",1)])):((al=s==null?void 0:s.timeConclusion)==null?void 0:al.conclusionStatus)==="Gain"?(e.openBlock(),e.createElementBlock("div",n9,[s9,i9,d9,c9,e.createElementVNode("div",null,e.toDisplayString((nl=s==null?void 0:s.timeConclusion)==null?void 0:nl.timeAtPlusAbtSpd),1),r9,e.createElementVNode("div",null,e.toDisplayString((sl=s==null?void 0:s.timeConclusion)==null?void 0:sl.timeAtPfmSpd),1),m9,e.createElementVNode("div",null,e.toDisplayString((il=s==null?void 0:s.timeConclusion)==null?void 0:il.timeGain)+" (hrs)",1)])):e.createCommentVNode("",!0),e.createElementVNode("div",{class:e.normalizeClass(((dl=s==null?void 0:s.timeConclusion)==null?void 0:dl.conclusionStatus)==="Lost"?"flex-center lost":((cl=s==null?void 0:s.timeConclusion)==null?void 0:cl.conclusionStatus)==="Gain"?"flex-center gain":"flex-center")},[h9,e.createElementVNode("div",null,e.toDisplayString(((rl=s==null?void 0:s.timeConclusion)==null?void 0:rl.conclusion)||""),1)],2)])])):(e.openBlock(),e.createElementBlock("div",p9,e.toDisplayString(l.noGoodWxDay),1))]),E9,e.createElementVNode("div",y9,[e.createElementVNode("div",_9,[N9,e.createElementVNode("div",V9,[e.createElementVNode("span",null,"Seg. "+e.toDisplayString($+1)+" Consumption Analysis",1),(hl=(ml=o.report)==null?void 0:ml.weather)!=null&&hl.noExtrapolation?(e.openBlock(),e.createElementBlock("span",f9,"( no extrapolation beyond the good weather period )")):e.createCommentVNode("",!0)])]),e.createElementVNode("div",g9,[e.createElementVNode("div",D9,[x9,e.createElementVNode("div",b9,[e.createElementVNode("div",C9,[e.createElementVNode("div",null,e.toDisplayString((El=(pl=o.report)==null?void 0:pl.weather)!=null&&El.noExtrapolation?"Total Distance At Good Weather":"Total Distance"),1),S9,k9]),A9,B9,w9])]),e.createElementVNode("div",T9,[O9,((Nl=(Pt=s.extend)==null?void 0:Pt.cp)==null?void 0:Nl.dgo)>0?(e.openBlock(),e.createElementBlock("div",F9,"* For DO/GO: Good Weather DO/GO Cons. - Good Weather M/E DO/GO Cons. in ECA")):e.createCommentVNode("",!0)]),e.createElementVNode("div",P9,[u9,e.createElementVNode("div",L9,[e.createElementVNode("div",W9,[e.createElementVNode("div",null,e.toDisplayString((Dl=(gl=o.report)==null?void 0:gl.weather)!=null&&Dl.noExtrapolation?"Total Distance At Good Weather":"Total Distance"),1),H9,e.createElementVNode("div",null,"CP Speed - "+e.toDisplayString(a.computeAbtSpeed(s==null?void 0:s.timeConclusion,(bl=(xl=s==null?void 0:s.extend)==null?void 0:xl.cp)==null?void 0:bl.speed,"Under"))+"kts",1)]),M9,G9,I9])]),e.createElementVNode("div",R9,[z9,e.createElementVNode("div",U9,[e.createElementVNode("div",Y9,[e.createElementVNode("div",null,e.toDisplayString((Sl=(Cl=o.report)==null?void 0:Cl.weather)!=null&&Sl.noExtrapolation?"Total Distance At Good Weather":"Total Distance"),1),Z9,e.createElementVNode("div",null,"CP Speed - "+e.toDisplayString(a.computeAbtSpeed(s==null?void 0:s.timeConclusion,(Al=(kl=s==null?void 0:s.extend)==null?void 0:kl.cp)==null?void 0:Al.speed,"Under"))+"kts",1)]),Q9,J9,K9])]),q9,((wl=(Bl=s.extend)==null?void 0:Bl.cp)==null?void 0:wl.dgo)>0?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[e.createElementVNode("div",X9,[j9,e.createElementVNode("div",$9,[e.createElementVNode("div",v9,[e6,t6,e.createElementVNode("div",null,e.toDisplayString((Ol=(Tl=o.report)==null?void 0:Tl.weather)!=null&&Ol.noExtrapolation?"Total Distance At Good Weather":"Total Distance"),1)])])]),e.createElementVNode("div",o6,[l6,e.createElementVNode("div",a6,[e.createElementVNode("div",n6,[s6,i6,e.createElementVNode("div",null,e.toDisplayString((Pl=(Fl=o.report)==null?void 0:Fl.weather)!=null&&Pl.noExtrapolation?"Total Distance At Good Weather":"Total Distance"),1)])])])],64)):e.createCommentVNode("",!0)]),d6,e.createElementVNode("div",c6,[r6,e.createElementVNode("div",m6,"Seg. "+e.toDisplayString($+1)+" Fuel Oil",1)]),(ul=s==null?void 0:s.goodWx)!=null&&ul.distance?(e.openBlock(),e.createElementBlock("div",h6,[e.createElementVNode("div",p6,[E6,e.createElementVNode("div",y6,[e.createElementVNode("div",_6,[e.createElementVNode("div",null,e.toDisplayString((Wl=(Ll=o.report)==null?void 0:Ll.weather)!=null&&Wl.noExtrapolation?(Hl=s==null?void 0:s.goodWx)==null?void 0:Hl.distance:(Ml=s==null?void 0:s.allWx)==null?void 0:Ml.distance),1),N6,e.createElementVNode("div",null,e.toDisplayString((Gl=s==null?void 0:s.goodWx)==null?void 0:Gl.pfmSpd),1)]),V6,e.createElementVNode("div",f6,[e.createElementVNode("div",null,[e.createElementVNode("span",null,e.toDisplayString((Il=s==null?void 0:s.goodWx)==null?void 0:Il.sumFoCons),1),((zl=(Rl=s==null?void 0:s.goodWx)==null?void 0:Rl.inEca)==null?void 0:zl.distance)>0?(e.openBlock(),e.createElementBlock("span",g6,[D6,e.createElementVNode("span",null,e.toDisplayString((Yl=(Ul=s==null?void 0:s.fuelConclusion)==null?void 0:Ul.fo)==null?void 0:Yl.dgoAsFoCons),1)])):e.createCommentVNode("",!0)]),x6,e.createElementVNode("div",null,e.toDisplayString((Zl=s==null?void 0:s.goodWx)==null?void 0:Zl.time),1)]),b6,e.createElementVNode("div",null,e.toDisplayString((Jl=(Ql=s.fuelConclusion)==null?void 0:Ql.fo)==null?void 0:Jl.entireCons)+" (mt)",1),C6])]),e.createElementVNode("div",S6,[k6,e.createElementVNode("div",A6,[e.createElementVNode("div",B6,[e.createElementVNode("div",null,e.toDisplayString((ql=(Kl=o.report)==null?void 0:Kl.weather)!=null&&ql.noExtrapolation?(Xl=s==null?void 0:s.goodWx)==null?void 0:Xl.distance:(jl=s==null?void 0:s.allWx)==null?void 0:jl.distance),1),w6,e.createElementVNode("div",null,e.toDisplayString(($l=s==null?void 0:s.timeConclusion)==null?void 0:$l.minusAbtSpd),1)]),T6,e.createElementVNode("div",O6,[e.createElementVNode("div",null,e.toDisplayString((ea=(vl=s==null?void 0:s.fuelConclusion)==null?void 0:vl.fo)==null?void 0:ea.overTolerance),1),F6,P6]),u6,e.createElementVNode("div",null,e.toDisplayString((oa=(ta=s.fuelConclusion)==null?void 0:ta.fo)==null?void 0:oa.maxCons)+" (mt)",1),L6])]),e.createElementVNode("div",W6,[H6,e.createElementVNode("div",M6,[e.createElementVNode("div",G6,[e.createElementVNode("div",null,e.toDisplayString((aa=(la=o.report)==null?void 0:la.weather)!=null&&aa.noExtrapolation?(na=s==null?void 0:s.goodWx)==null?void 0:na.distance:(sa=s==null?void 0:s.allWx)==null?void 0:sa.distance),1),I6,e.createElementVNode("div",null,e.toDisplayString((ia=s==null?void 0:s.timeConclusion)==null?void 0:ia.minusAbtSpd),1)]),R6,e.createElementVNode("div",z6,[e.createElementVNode("div",null,e.toDisplayString((ca=(da=s==null?void 0:s.fuelConclusion)==null?void 0:da.fo)==null?void 0:ca.underTolerance),1),U6,Y6]),Z6,e.createElementVNode("div",null,e.toDisplayString((ma=(ra=s.fuelConclusion)==null?void 0:ra.fo)==null?void 0:ma.minCons)+" (mt)",1),Q6])]),e.createElementVNode("div",J6,[((pa=(ha=s==null?void 0:s.fuelConclusion)==null?void 0:ha.fo)==null?void 0:pa.conclusionStatus)==="Over"?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[e.createElementVNode("div",K6,[q6,X6,j6,$6,e.createElementVNode("div",null,e.toDisplayString((ya=(Ea=s==null?void 0:s.fuelConclusion)==null?void 0:Ea.fo)==null?void 0:ya.entireCons),1),v6,e.createElementVNode("div",null,e.toDisplayString((Na=(_a=s==null?void 0:s.fuelConclusion)==null?void 0:_a.fo)==null?void 0:Na.maxCons),1),eT,e.createElementVNode("div",null,e.toDisplayString((fa=(Va=s==null?void 0:s.fuelConclusion)==null?void 0:Va.fo)==null?void 0:fa.overCons),1)]),(Da=(ga=s==null?void 0:s.goodWx)==null?void 0:ga.inEca)!=null&&Da.distance?(e.openBlock(),e.createElementBlock("div",tT,[oT,lT,e.createElementVNode("div",aT,[e.createElementVNode("div",null,e.toDisplayString((ba=(xa=s==null?void 0:s.goodWx)==null?void 0:xa.inEca)==null?void 0:ba.distance)+" * "+e.toDisplayString((Sa=(Ca=s==null?void 0:s.fuelConclusion)==null?void 0:Ca.fo)==null?void 0:Sa.overCons),1),nT,e.createElementVNode("div",null,e.toDisplayString((Aa=(ka=o.report)==null?void 0:ka.weather)!=null&&Aa.noExtrapolation?(Ba=s==null?void 0:s.goodWx)==null?void 0:Ba.distance:(wa=s==null?void 0:s.allWx)==null?void 0:wa.distance),1)]),sT,e.createElementVNode("div",null,e.toDisplayString((Oa=(Ta=s==null?void 0:s.fuelConclusion)==null?void 0:Ta.fo)==null?void 0:Oa.foOverConsInEca)+" (mt)",1)])):e.createCommentVNode("",!0)],64)):((Pa=(Fa=s==null?void 0:s.fuelConclusion)==null?void 0:Fa.fo)==null?void 0:Pa.conclusionStatus)==="Saving"?(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[e.createElementVNode("div",iT,[dT,cT,rT,mT,e.createElementVNode("div",null,e.toDisplayString((La=(ua=s==null?void 0:s.fuelConclusion)==null?void 0:ua.fo)==null?void 0:La.minCons),1),hT,e.createElementVNode("div",null,e.toDisplayString((Ha=(Wa=s==null?void 0:s.fuelConclusion)==null?void 0:Wa.fo)==null?void 0:Ha.entireCons),1),pT,e.createElementVNode("div",null,e.toDisplayString((Ga=(Ma=s==null?void 0:s.fuelConclusion)==null?void 0:Ma.fo)==null?void 0:Ga.saving)+" (mt)",1)]),(Ra=(Ia=s==null?void 0:s.goodWx)==null?void 0:Ia.inEca)!=null&&Ra.distance?(e.openBlock(),e.createElementBlock("div",ET,[yT,_T,e.createElementVNode("div",NT,[e.createElementVNode("div",null,e.toDisplayString((Ua=(za=o.report)==null?void 0:za.weather)!=null&&Ua.noExtrapolation?(ae=(Ya=s==null?void 0:s.goodWx)==null?void 0:Ya.inEca)==null?void 0:ae.distance:(Za=(ro=s==null?void 0:s.allWx)==null?void 0:ro.inEca)==null?void 0:Za.distance)+" * "+e.toDisplayString((Ja=(Qa=s==null?void 0:s.fuelConclusion)==null?void 0:Qa.fo)==null?void 0:Ja.saving),1),VT,e.createElementVNode("div",null,e.toDisplayString((mo=(ne=o.report)==null?void 0:ne.weather)!=null&&mo.noExtrapolation?(Ka=s==null?void 0:s.goodWx)==null?void 0:Ka.distance:(qa=s==null?void 0:s.allWx)==null?void 0:qa.distance),1)]),fT,e.createElementVNode("div",null,e.toDisplayString((rt=(Xa=s==null?void 0:s.fuelConclusion)==null?void 0:Xa.fo)==null?void 0:rt.foSavingInEca)+" (mt)",1)])):e.createCommentVNode("",!0)],64)):e.createCommentVNode("",!0),e.createElementVNode("div",{class:e.normalizeClass(((nn=(an=s==null?void 0:s.fuelConclusion)==null?void 0:an.fo)==null?void 0:nn.conclusionStatus)==="Over"?"flex-center lost":((dn=(sn=s==null?void 0:s.fuelConclusion)==null?void 0:sn.fo)==null?void 0:dn.conclusionStatus)==="Saving"?"flex-center gain":"flex-center")},[gT,e.createElementVNode("div",null,e.toDisplayString(((Wn=(ut=s==null?void 0:s.fuelConclusion)==null?void 0:ut.fo)==null?void 0:Wn.conclusion)||""),1)],2)])])):(e.openBlock(),e.createElementBlock("div",DT,e.toDisplayString(l.noGoodWxDay),1)),((Mn=(Hn=s==null?void 0:s.extend)==null?void 0:Hn.cp)==null?void 0:Mn.dgo)>0?(e.openBlock(),e.createElementBlock(e.Fragment,{key:2},[e.createElementVNode("div",xT,[bT,e.createElementVNode("div",CT,"Seg. "+e.toDisplayString($+1)+" Diesel/Gas Oil ",1)]),(Gn=s==null?void 0:s.goodWx)!=null&&Gn.distance?(e.openBlock(),e.createElementBlock("div",ST,[e.createElementVNode("div",kT,[AT,e.createElementVNode("div",BT,[e.createElementVNode("div",wT,[e.createElementVNode("div",null,e.toDisplayString((Rn=(In=o.report)==null?void 0:In.weather)!=null&&Rn.noExtrapolation?(zn=s==null?void 0:s.goodWx)==null?void 0:zn.distance:(Un=s==null?void 0:s.allWx)==null?void 0:Un.distance),1),TT,e.createElementVNode("div",null,e.toDisplayString((Yn=s==null?void 0:s.goodWx)==null?void 0:Yn.pfmSpd),1)]),OT,e.createElementVNode("div",FT,[e.createElementVNode("div",null,[e.createElementVNode("span",null,e.toDisplayString((Zn=s==null?void 0:s.goodWx)==null?void 0:Zn.sumDgoCons),1),((Jn=(Qn=s==null?void 0:s.goodWx)==null?void 0:Qn.inEca)==null?void 0:Jn.distance)>0?(e.openBlock(),e.createElementBlock("span",PT,[uT,e.createElementVNode("span",null,e.toDisplayString((qn=(Kn=s==null?void 0:s.fuelConclusion)==null?void 0:Kn.fo)==null?void 0:qn.dgoAsFoCons),1)])):e.createCommentVNode("",!0)]),LT,e.createElementVNode("div",null,e.toDisplayString((Xn=s==null?void 0:s.goodWx)==null?void 0:Xn.time),1)]),WT,e.createElementVNode("div",null,e.toDisplayString(($n=(jn=s.fuelConclusion)==null?void 0:jn.dgo)==null?void 0:$n.entireCons)+" (mt)",1),HT])]),e.createElementVNode("div",MT,[GT,e.createElementVNode("div",IT,[e.createElementVNode("div",RT,[e.createElementVNode("div",null,e.toDisplayString((es=(vn=o.report)==null?void 0:vn.weather)!=null&&es.noExtrapolation?(ts=s==null?void 0:s.goodWx)==null?void 0:ts.distance:(os=s==null?void 0:s.allWx)==null?void 0:os.distance),1),zT,e.createElementVNode("div",null,e.toDisplayString((ls=s==null?void 0:s.timeConclusion)==null?void 0:ls.minusAbtSpd),1)]),UT,e.createElementVNode("div",YT,[e.createElementVNode("div",null,e.toDisplayString((ns=(as=s==null?void 0:s.fuelConclusion)==null?void 0:as.dgo)==null?void 0:ns.overTolerance),1),ZT,QT]),JT,e.createElementVNode("div",null,e.toDisplayString((is=(ss=s.fuelConclusion)==null?void 0:ss.dgo)==null?void 0:is.maxCons)+" (mt)",1),KT])]),e.createElementVNode("div",qT,[XT,e.createElementVNode("div",jT,[e.createElementVNode("div",$T,[e.createElementVNode("div",null,e.toDisplayString((cs=(ds=o.report)==null?void 0:ds.weather)!=null&&cs.noExtrapolation?(rs=s==null?void 0:s.goodWx)==null?void 0:rs.distance:(ms=s==null?void 0:s.allWx)==null?void 0:ms.distance),1),vT,e.createElementVNode("div",null,e.toDisplayString((hs=s==null?void 0:s.timeConclusion)==null?void 0:hs.minusAbtSpd),1)]),eO,e.createElementVNode("div",tO,[e.createElementVNode("div",null,e.toDisplayString((Es=(ps=s==null?void 0:s.fuelConclusion)==null?void 0:ps.dgo)==null?void 0:Es.underTolerance),1),oO,lO]),aO,e.createElementVNode("div",null,e.toDisplayString((_s=(ys=s.fuelConclusion)==null?void 0:ys.dgo)==null?void 0:_s.minCons)+" (mt)",1),nO])]),e.createElementVNode("div",sO,[((Vs=(Ns=s==null?void 0:s.fuelConclusion)==null?void 0:Ns.dgo)==null?void 0:Vs.conclusionStatus)==="Over"?(e.openBlock(),e.createElementBlock("div",iO,[dO,cO,rO,mO,e.createElementVNode("div",null,e.toDisplayString((gs=(fs=s==null?void 0:s.fuelConclusion)==null?void 0:fs.dgo)==null?void 0:gs.entireCons),1),hO,e.createElementVNode("div",null,e.toDisplayString((xs=(Ds=s==null?void 0:s.fuelConclusion)==null?void 0:Ds.dgo)==null?void 0:xs.maxCons),1),pO,e.createElementVNode("div",null,e.toDisplayString((Cs=(bs=s==null?void 0:s.fuelConclusion)==null?void 0:bs.dgo)==null?void 0:Cs.overCons),1)])):((ks=(Ss=s==null?void 0:s.fuelConclusion)==null?void 0:Ss.fo)==null?void 0:ks.conclusionStatus)==="Saving"?(e.openBlock(),e.createElementBlock("div",EO,[yO,_O,NO,VO,e.createElementVNode("div",null,e.toDisplayString((Bs=(As=s==null?void 0:s.fuelConclusion)==null?void 0:As.dgo)==null?void 0:Bs.minCons),1),fO,e.createElementVNode("div",null,e.toDisplayString((Ts=(ws=s==null?void 0:s.fuelConclusion)==null?void 0:ws.dgo)==null?void 0:Ts.entireCons),1),gO,e.createElementVNode("div",null,e.toDisplayString((Fs=(Os=s==null?void 0:s.fuelConclusion)==null?void 0:Os.dgo)==null?void 0:Fs.saving)+" (mt)",1)])):e.createCommentVNode("",!0),e.createElementVNode("div",{class:e.normalizeClass(((us=(Ps=s==null?void 0:s.fuelConclusion)==null?void 0:Ps.dgo)==null?void 0:us.conclusionStatus)==="Over"?"flex-center lost":((Ws=(Ls=s==null?void 0:s.fuelConclusion)==null?void 0:Ls.dgo)==null?void 0:Ws.conclusionStatus)==="Saving"?"flex-center gain":"flex-center")},[DO,e.createElementVNode("div",null,e.toDisplayString(((Ms=(Hs=s==null?void 0:s.fuelConclusion)==null?void 0:Hs.dgo)==null?void 0:Ms.conclusion)||""),1)],2)])])):(e.openBlock(),e.createElementBlock("div",xO,e.toDisplayString(l.noGoodWxDay),1))],64)):e.createCommentVNode("",!0)])])}),128))])])}const CO=De(a8,[["render",bO],["__scopeId","data-v-b4b228d1"]]),Kee="",SO={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}},computed:{computeTDClass(){return function(t){const n=[];return n.push(t.noonLength?"no-border-bottom":"no-border"),n.push(t.excluded?"excluded":t.goodWx?"good-wx":""),n.join(" ")}},computeWxColspan(){let t=11;return this.showCF||(t-=2),this.showAisDistance||(t-=2),this.showWave||(t-=1),this.showSwell||(t-=1),this.showSig||(t-=1),t},computeUTCTime(){return function(t,n="MMM-DD/HHmm[Z]"){return`${w(t).utc().format(n)}`}},computeLng(){return function(t){return v.LngLatHelper.lng2pretty(t)}},computeLat(){return function(t){return v.LngLatHelper.lat2pretty(t)}},computePrecision(){return function(t,n=2,o="0.0"){return t?v.roundPrecision(t,n):o}}},watch:{report:{handler(t,n){t!=null&&t.id&&this.$nextTick(()=>{this.prepare()})},immediate:!0}},methods:{prepare(){var t,n,o,d,l,a,p,i,y,b;this.showCF=((n=(t=this.report)==null?void 0:t.weather)==null?void 0:n.showCF)??!1,this.showAisDistance=((d=(o=this.report)==null?void 0:o.weather)==null?void 0:d.showAisDistance)??!0,this.showSig=((a=(l=this.report)==null?void 0:l.weather)==null?void 0:a.showSig)??!0,this.showSwell=((i=(p=this.report)==null?void 0:p.weather)==null?void 0:i.showSwell)??!0,this.showWave=((b=(y=this.report)==null?void 0:y.weather)==null?void 0:b.showWave)??!0}}},Ve=t=>(e.pushScopeId("data-v-ff8e42f6"),t=t(),e.popScopeId(),t),kO={class:"report-inventory"},AO={class:"section summary-section"},BO=Ve(()=>e.createElementVNode("div",{class:"header-block flex-center"},[e.createElementVNode("i",{class:"iconfont"},""),e.createElementVNode("div",{class:"title"},"Speed and Weather Analysis")],-1)),wO={class:"summary-block"},TO=Ve(()=>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)),OO={class:"label",rowspan:"4"},FO=Ve(()=>e.createElementVNode("td",{class:"label"},"Entire Period",-1)),PO=Ve(()=>e.createElementVNode("td",{class:"label"},"Good Weather Period",-1)),uO=Ve(()=>e.createElementVNode("td",{class:"label"},"Adverse Weather Period",-1)),LO=Ve(()=>e.createElementVNode("td",{class:"label"},"Excluded Period",-1)),WO={class:"section inventory-section"},HO=e.createStaticVNode('<div class="legends flex-space" data-v-ff8e42f6><div class="flex-start" style="flex:1.2;" data-v-ff8e42f6><div class="legend good-wx" data-v-ff8e42f6></div><div class="label flex-end" data-v-ff8e42f6>Charter Party Defined Good Weather Days</div></div><div class="flex-start" style="flex:1.2;" data-v-ff8e42f6><div class="legend adverse-wx" data-v-ff8e42f6></div><div class="label" data-v-ff8e42f6>Charter Party Defined Adverse Weather Days</div></div><div class="flex-start" style="flex:1;" data-v-ff8e42f6><div class="legend excluded" data-v-ff8e42f6></div><div class="label" data-v-ff8e42f6>Excluded Periods From Analysis</div></div><div class="report flex-space" style="flex:1.6;" data-v-ff8e42f6><div data-v-ff8e42f6><label data-v-ff8e42f6>B</label><span data-v-ff8e42f6>BOSP</span></div><div data-v-ff8e42f6><label data-v-ff8e42f6>N</label><span data-v-ff8e42f6>NOON</span></div><div data-v-ff8e42f6><label data-v-ff8e42f6>E</label><span data-v-ff8e42f6>EOSP</span></div><div data-v-ff8e42f6><label data-v-ff8e42f6>*</label><span data-v-ff8e42f6>Ship Reported Position</span></div></div></div>',1),MO={class:"inventory-block flex-center"},GO={style:{"font-size":"12px"}},IO=Ve(()=>e.createElementVNode("th",{class:"label",rowspan:"3"},"Seg",-1)),RO=Ve(()=>e.createElementVNode("th",{class:"label",rowspan:"3"},"Date",-1)),zO=Ve(()=>e.createElementVNode("th",{class:"label",colspan:"2"},"Position",-1)),UO=Ve(()=>e.createElementVNode("th",{class:"label",colspan:"3"},"CP",-1)),YO=["colspan"],ZO={key:0,class:"label",colspan:"2"},QO=Ve(()=>e.createElementVNode("th",{class:"label",colspan:"12"},"Vessel Reported",-1)),JO=Ve(()=>e.createElementVNode("th",{class:"label",rowspan:"3"},"In ECA",-1)),KO=Ve(()=>e.createElementVNode("th",{class:"label",rowspan:"2"},"Lat",-1)),qO=Ve(()=>e.createElementVNode("th",{class:"label",rowspan:"2"},"Lon",-1)),XO=Ve(()=>e.createElementVNode("th",{class:"label",rowspan:"2"},[e.createTextVNode("Spd "),e.createElementVNode("br"),e.createTextVNode("(kts)")],-1)),jO=Ve(()=>e.createElementVNode("th",{class:"label",colspan:"2"},"Daily Cons.(mt)",-1)),$O={key:0,class:"label",rowspan:"2"},vO=Ve(()=>e.createElementVNode("br",null,null,-1)),eF={key:1,class:"label",rowspan:"2"},tF=Ve(()=>e.createElementVNode("br",null,null,-1)),oF=Ve(()=>e.createElementVNode("th",{class:"label",colspan:"2"},"Wind",-1)),lF={key:2,class:"label",rowspan:"2"},aF=Ve(()=>e.createElementVNode("br",null,null,-1)),nF={key:3,class:"label",colspan:"2"},sF={key:4,class:"label",rowspan:"2"},iF=Ve(()=>e.createElementVNode("br",null,null,-1)),dF={key:5,class:"label",colspan:"2"},cF=Ve(()=>e.createElementVNode("th",{class:"label",rowspan:"2"},[e.createTextVNode("Avg. CF"),e.createElementVNode("br"),e.createTextVNode("(kts)")],-1)),rF={key:6,class:"label",rowspan:"2"},mF={key:7,class:"label",rowspan:"2"},hF=Ve(()=>e.createElementVNode("th",{class:"label",rowspan:"2"},[e.createTextVNode("Spd"),e.createElementVNode("br"),e.createTextVNode("(kts)")],-1)),pF=Ve(()=>e.createElementVNode("th",{class:"label",rowspan:"2"},[e.createTextVNode("Time"),e.createElementVNode("br"),e.createTextVNode("(h)")],-1)),EF=Ve(()=>e.createElementVNode("th",{class:"label",rowspan:"2"},[e.createTextVNode("Dis"),e.createElementVNode("br"),e.createTextVNode("(nm)")],-1)),yF=Ve(()=>e.createElementVNode("th",{class:"label",colspan:"2"},"Engine",-1)),_F=Ve(()=>e.createElementVNode("th",{class:"label",colspan:"2"},"BROB(mt)",-1)),NF=Ve(()=>e.createElementVNode("th",{class:"label",colspan:"2"},"DailyCons(mt)",-1)),VF=Ve(()=>e.createElementVNode("th",{class:"label",colspan:"2"},"Wind",-1)),fF=Ve(()=>e.createElementVNode("th",{class:"label",rowspan:"2"},[e.createTextVNode("Sea HT"),e.createElementVNode("br"),e.createTextVNode("(m)")],-1)),gF=Ve(()=>e.createElementVNode("th",{class:"label"},"FO",-1)),DF=Ve(()=>e.createElementVNode("th",{class:"label"},"DO/GO",-1)),xF=Ve(()=>e.createElementVNode("th",{class:"label"},"Dir",-1)),bF=Ve(()=>e.createElementVNode("th",{class:"label"},"BF",-1)),CF={key:0,class:"label"},SF={key:1,class:"label"},kF={key:2,class:"label"},AF={key:3,class:"label"},BF=Ve(()=>e.createElementVNode("th",{class:"label"},"RPM",-1)),wF=Ve(()=>e.createElementVNode("th",{class:"label"},"Slip%",-1)),TF=Ve(()=>e.createElementVNode("th",{class:"label"},"FO",-1)),OF=Ve(()=>e.createElementVNode("th",{class:"label"},"DO/GO",-1)),FF=Ve(()=>e.createElementVNode("th",{class:"label"},"FO",-1)),PF=Ve(()=>e.createElementVNode("th",{class:"label"},"DO/GO",-1)),uF=Ve(()=>e.createElementVNode("th",{class:"label"},"Dir",-1)),LF=Ve(()=>e.createElementVNode("th",{class:"label"},"BF",-1)),WF={class:"summary-tbody"};function HF(t,n,o,d,l,a){var p;return e.openBlock(),e.createElementBlock("div",kO,[e.createElementVNode("div",AO,[BO,e.createElementVNode("div",wO,[e.createElementVNode("table",null,[TO,e.createElementVNode("tbody",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList((p=o.report)==null?void 0:p.segments,(i,y)=>{var b,S,E,V,D,r,C,k,T,u,L,O,x,P,R,Z,z,W,f,Y;return e.openBlock(),e.createElementBlock(e.Fragment,{key:y},[e.createElementVNode("tr",null,[e.createElementVNode("td",OO,e.toDisplayString(y+1),1),FO,e.createElementVNode("td",null,e.toDisplayString(a.computePrecision((b=i==null?void 0:i.allWx)==null?void 0:b.distance,1,"0.0")),1),e.createElementVNode("td",null,e.toDisplayString(a.computePrecision((S=i==null?void 0:i.allWx)==null?void 0:S.time,1,"0.0")),1),e.createElementVNode("td",null,e.toDisplayString(a.computePrecision((E=i==null?void 0:i.allWx)==null?void 0:E.avgSpd,2,"0.0")),1),e.createElementVNode("td",null,e.toDisplayString(a.computePrecision((V=i==null?void 0:i.allWx)==null?void 0:V.sumFoCons,3,"0.000")),1),e.createElementVNode("td",null,e.toDisplayString(a.computePrecision((D=i==null?void 0:i.allWx)==null?void 0:D.sumDgoCons,3,"0.000")),1)]),e.createElementVNode("tr",null,[PO,e.createElementVNode("td",null,e.toDisplayString(a.computePrecision((r=i==null?void 0:i.goodWx)==null?void 0:r.distance,1,"0.0")),1),e.createElementVNode("td",null,e.toDisplayString(a.computePrecision((C=i==null?void 0:i.goodWx)==null?void 0:C.time,1,"0.0")),1),e.createElementVNode("td",null,e.toDisplayString(a.computePrecision((k=i==null?void 0:i.goodWx)==null?void 0:k.avgSpd,2,"0.0")),1),e.createElementVNode("td",null,e.toDisplayString(a.computePrecision((T=i==null?void 0:i.goodWx)==null?void 0:T.sumFoCons,3,"0.000")),1),e.createElementVNode("td",null,e.toDisplayString(a.computePrecision((u=i==null?void 0:i.goodWx)==null?void 0:u.sumDgoCons,3,"0.000")),1)]),e.createElementVNode("tr",null,[uO,e.createElementVNode("td",null,e.toDisplayString(a.computePrecision((L=i==null?void 0:i.badWx)==null?void 0:L.distance,1,"0.0")),1),e.createElementVNode("td",null,e.toDisplayString(a.computePrecision((O=i==null?void 0:i.badWx)==null?void 0:O.time,1,"0.0")),1),e.createElementVNode("td",null,e.toDisplayString(a.computePrecision((x=i==null?void 0:i.badWx)==null?void 0:x.avgSpd,2,"0.0")),1),e.createElementVNode("td",null,e.toDisplayString(a.computePrecision((P=i==null?void 0:i.badWx)==null?void 0:P.sumFoCons,3,"0.000")),1),e.createElementVNode("td",null,e.toDisplayString(a.computePrecision((R=i==null?void 0:i.badWx)==null?void 0:R.sumDgoCons,3,"0.000")),1)]),e.createElementVNode("tr",null,[LO,e.createElementVNode("td",null,e.toDisplayString(a.computePrecision((Z=i==null?void 0:i.excluded)==null?void 0:Z.sumDistance,1,"0.0")),1),e.createElementVNode("td",null,e.toDisplayString(a.computePrecision((z=i==null?void 0:i.excluded)==null?void 0:z.sumDuration,1,"0.0")),1),e.createElementVNode("td",null,e.toDisplayString(a.computePrecision((W=i==null?void 0:i.excluded)==null?void 0:W.avgSpd,2,"0.0")),1),e.createElementVNode("td",null,e.toDisplayString(a.computePrecision((f=i==null?void 0:i.excluded)==null?void 0:f.sumFoCons,3,"0.000")),1),e.createElementVNode("td",null,e.toDisplayString(a.computePrecision((Y=i==null?void 0:i.excluded)==null?void 0:Y.sumDgoCons,3,"0.000")),1)])],64)}),128))])])])]),e.createElementVNode("div",WO,[HO,e.createElementVNode("div",MO,[e.createElementVNode("table",GO,[e.createElementVNode("thead",null,[e.createElementVNode("tr",null,[IO,RO,zO,UO,e.createElementVNode("th",{class:"label",colspan:a.computeWxColspan},"ORM Weather Analysis",8,YO),o.showFactor?(e.openBlock(),e.createElementBlock("th",ZO,"Factor")):e.createCommentVNode("",!0),QO,JO]),e.createElementVNode("tr",null,[KO,qO,XO,jO,l.showAisDistance?(e.openBlock(),e.createElementBlock("th",$O,[e.createTextVNode("Spd"),vO,e.createTextVNode("(kts)")])):e.createCommentVNode("",!0),l.showAisDistance?(e.openBlock(),e.createElementBlock("th",eF,[e.createTextVNode("Dis"),tF,e.createTextVNode("(nm)")])):e.createCommentVNode("",!0),oF,l.showWave?(e.openBlock(),e.createElementBlock("th",lF,[e.createTextVNode("Sea HT"),aF,e.createTextVNode("(m)")])):e.createCommentVNode("",!0),l.showSwell?(e.openBlock(),e.createElementBlock("th",nF,"Swell")):e.createCommentVNode("",!0),l.showSig?(e.openBlock(),e.createElementBlock("th",sF,[e.createTextVNode("Sig Wave"),iF,e.createTextVNode("(m)")])):e.createCommentVNode("",!0),l.showCF?(e.openBlock(),e.createElementBlock("th",dF,"Current")):e.createCommentVNode("",!0),cF,o.showFactor?(e.openBlock(),e.createElementBlock("th",rF,"cFactor")):e.createCommentVNode("",!0),o.showFactor?(e.openBlock(),e.createElementBlock("th",mF,"wxFactor")):e.createCommentVNode("",!0),hF,pF,EF,yF,_F,NF,VF,fF]),e.createElementVNode("tr",null,[gF,DF,xF,bF,l.showSwell?(e.openBlock(),e.createElementBlock("th",CF,"Dir")):e.createCommentVNode("",!0),l.showSwell?(e.openBlock(),e.createElementBlock("th",SF,"HT(m)")):e.createCommentVNode("",!0),l.showCF?(e.openBlock(),e.createElementBlock("th",kF,"Dir")):e.createCommentVNode("",!0),l.showCF?(e.openBlock(),e.createElementBlock("th",AF,"CF(kts)")):e.createCommentVNode("",!0),BF,wF,TF,OF,FF,PF,uF,LF])]),e.createElementVNode("tbody",WF,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(o.inventory,(i,y)=>{var b,S,E,V,D,r,C,k,T,u,L,O,x,P,R,Z,z,W,f,Y,G,H,K;return e.openBlock(),e.createElementBlock("tr",{key:y},[e.createElementVNode("td",{class:e.normalizeClass(i.segLength?"no-border-bottom":"no-border")},e.toDisplayString(i.segLength?i.seg:""),3),e.createElementVNode("td",{class:e.normalizeClass(i.excluded?"excluded":i.goodWx?"good-wx":"")},e.toDisplayString(i.time),3),["B","E"].includes(i.abbrev)&&((b=i.noon)!=null&&b.port)?(e.openBlock(),e.createElementBlock("td",{key:0,class:e.normalizeClass(i.excluded?"excluded":i.goodWx?"good-wx":""),colspan:"2"},e.toDisplayString((S=i.noon)==null?void 0:S.port),3)):(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[e.createElementVNode("td",{class:e.normalizeClass(i.excluded?"excluded":i.goodWx?"good-wx":"")},e.toDisplayString(i._lat.pretty),3),e.createElementVNode("td",{class:e.normalizeClass(i.excluded?"excluded":i.goodWx?"good-wx":"")},e.toDisplayString(i._lng.pretty),3)],64)),e.createElementVNode("td",{class:e.normalizeClass(a.computeTDClass(i))},e.toDisplayString(i.type!=="A"&&y?i.cp.speed:""),3),e.createElementVNode("td",{class:e.normalizeClass(a.computeTDClass(i))},e.toDisplayString(i.type!=="A"&&y?i.cp.fo:""),3),e.createElementVNode("td",{class:e.normalizeClass(a.computeTDClass(i))},e.toDisplayString(i.type!=="A"&&y?i.cp.dgo:""),3),e.createElementVNode("td",{class:e.normalizeClass(a.computeTDClass(i))},e.toDisplayString(i.type!=="A"&&y?i.avgSpdCalc:""),3),e.createElementVNode("td",{class:e.normalizeClass(a.computeTDClass(i))},e.toDisplayString(i.type!=="A"&&y?i.distanceCalc:""),3),e.createElementVNode("td",{class:e.normalizeClass(i.excluded?"excluded":i.goodWx?"good-wx":"")},e.toDisplayString(((V=(E=i.meteo)==null?void 0:E.wind)==null?void 0:V.direction)??"--"),3),e.createElementVNode("td",{class:e.normalizeClass(i.excluded?"excluded":i.goodWx?"good-wx":"")},e.toDisplayString(((r=(D=i.meteo)==null?void 0:D.wind)==null?void 0:r.scale)??"--"),3),l.showWave?(e.openBlock(),e.createElementBlock("td",{key:2,class:e.normalizeClass(i.excluded?"excluded":i.goodWx?"good-wx":"")},e.toDisplayString(((T=(k=(C=i.meteo)==null?void 0:C.wave)==null?void 0:k.wd)==null?void 0:T.height)??"--"),3)):e.createCommentVNode("",!0),l.showSwell?(e.openBlock(),e.createElementBlock("td",{key:3,class:e.normalizeClass(i.excluded?"excluded":i.goodWx?"good-wx":"")},e.toDisplayString(((O=(L=(u=i.meteo)==null?void 0:u.wave)==null?void 0:L.swell)==null?void 0:O.direction)??"--"),3)):e.createCommentVNode("",!0),l.showSwell?(e.openBlock(),e.createElementBlock("td",{key:4,class:e.normalizeClass(i.excluded?"excluded":i.goodWx?"good-wx":"")},e.toDisplayString(((R=(P=(x=i.meteo)==null?void 0:x.wave)==null?void 0:P.swell)==null?void 0:R.height)??"--"),3)):e.createCommentVNode("",!0),l.showSig?(e.openBlock(),e.createElementBlock("td",{key:5,class:e.normalizeClass(i.excluded?"excluded":i.goodWx?"good-wx":"")},e.toDisplayString(((W=(z=(Z=i.meteo)==null?void 0:Z.wave)==null?void 0:z.sig)==null?void 0:W.height)??"--"),3)):e.createCommentVNode("",!0),l.showCF?(e.openBlock(),e.createElementBlock("td",{key:6,class:e.normalizeClass(i.excluded?"excluded":i.goodWx?"good-wx":"")},e.toDisplayString(((Y=(f=i.meteo)==null?void 0:f.current)==null?void 0:Y.direction)??"--"),3)):e.createCommentVNode("",!0),l.showCF?(e.openBlock(),e.createElementBlock("td",{key:7,class:e.normalizeClass(i.excluded?"excluded":i.goodWx?"good-wx":"")},e.toDisplayString(((G=i.meteo)==null?void 0:G.cFactor)??"--"),3)):e.createCommentVNode("",!0),e.createElementVNode("td",{class:e.normalizeClass(a.computeTDClass(i))},e.toDisplayString(i.type!=="A"&&y?i.dailyAvgCf:""),3),o.showFactor?(e.openBlock(),e.createElementBlock("td",{key:8,class:e.normalizeClass(i.excluded?"excluded":i.goodWx?"good-wx":"")},e.toDisplayString(((H=i.meteo)==null?void 0:H.cFactor)??"--"),3)):e.createCommentVNode("",!0),o.showFactor?(e.openBlock(),e.createElementBlock("td",{key:9,class:e.normalizeClass(i.excluded?"excluded":i.goodWx?"good-wx":"")},e.toDisplayString(((K=i.meteo)==null?void 0:K.wxFactor)??"--"),3)):e.createCommentVNode("",!0),e.createElementVNode("td",{class:e.normalizeClass(a.computeTDClass(i))},e.toDisplayString(i.type!=="A"&&y?i.noon.avgSpd||"0.00":""),3),e.createElementVNode("td",{class:e.normalizeClass(a.computeTDClass(i))},e.toDisplayString(i.type!=="A"&&y?i.noon.timeSlr||"0.0":""),3),e.createElementVNode("td",{class:e.normalizeClass(a.computeTDClass(i))},e.toDisplayString(i.type!=="A"&&y?i.noon.distanceSlr||"0.0":""),3),e.createElementVNode("td",{class:e.normalizeClass(a.computeTDClass(i))},e.toDisplayString(i.type!=="A"&&y?i.noon.rpm||"0":""),3),e.createElementVNode("td",{class:e.normalizeClass(a.computeTDClass(i))},e.toDisplayString(i.type!=="A"&&y?i.noon.slip||"0":""),3),e.createElementVNode("td",{class:e.normalizeClass(a.computeTDClass(i))},e.toDisplayString(i.type!=="A"&&y?i.noon.foBrob||"0.00":""),3),e.createElementVNode("td",{class:e.normalizeClass(a.computeTDClass(i))},e.toDisplayString(i.type!=="A"&&y?i.noon.dgoBrob||"0.00":""),3),e.createElementVNode("td",{class:e.normalizeClass(a.computeTDClass(i))},e.toDisplayString(i.type!=="A"&&y?i.noon.foCons||"0.00":""),3),e.createElementVNode("td",{class:e.normalizeClass(a.computeTDClass(i))},e.toDisplayString(i.type!=="A"&&y?i.noon.dgoCons||"0.00":""),3),e.createElementVNode("td",{class:e.normalizeClass(a.computeTDClass(i))},e.toDisplayString(i.type!=="A"&&y?i.noon.windDir||"--":""),3),e.createElementVNode("td",{class:e.normalizeClass(a.computeTDClass(i))},e.toDisplayString(i.type!=="A"&&y?i.noon.windBF||"--":""),3),e.createElementVNode("td",{class:e.normalizeClass(a.computeTDClass(i))},e.toDisplayString(i.type!=="A"&&y?i.noon.seasHt||"--":""),3),e.createElementVNode("td",{class:e.normalizeClass(a.computeTDClass(i))},e.toDisplayString(i.type!=="A"&&y?i.inEca===!1?"":"Inside ECA":""),3)])}),128))])])])])])}const MF=De(SO,[["render",HF],["__scopeId","data-v-ff8e42f6"]]),qee="",GF={components:{Lng:$a,Lat:va},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(t,n="MMM-DD/HHmm[Z]"){return`${w(t).utc().format(n)}`}}},watch:{inventory:{handler(t,n){t!=null&&t.length&&this.$nextTick(()=>{this.initChart()})},immediate:!0}},methods:{initChart(){this.spdFoConsChart||(this.spdFoConsChart=e.markRaw(zo.init(this.$refs.spdFoConsChart))),this.spdDgoConsChart||(this.spdDgoConsChart=e.markRaw(zo.init(this.$refs.spdDgoConsChart))),this.currChart||(this.currChart=e.markRaw(zo.init(this.$refs.currChart))),this.renderSpdConsChart(),this.renderWxCurrChart()},renderSpdConsChart(){var i,y,b,S,E,V;const t=[],n=[],o={dateTime:0,noonAvgSpd:1,noonFoCons:2,noonDgoCons:3,anlyAvgSpd:4,cpSpeed:5,goodWx:6,dgo:7,fo:8,excluded:9};let d=0,l=0;this.inventory.forEach(D=>{var r,C,k,T,u,L,O,x,P,R,Z;if(D.noonLength){const z=this.computeUTCTime(D.noonUtc,"MM-DD/HHmm[Z]");t.push(z),d=Math.ceil(((r=D.noon)==null?void 0:r.foCons)>d?(C=D.noon)==null?void 0:C.foCons:d),d=Math.ceil(((k=D.cp)==null?void 0:k.fo)>d?(T=D.cp)==null?void 0:T.fo:d),l=Math.ceil(((u=D.noon)==null?void 0:u.dgoCons)>l?(L=D.noon)==null?void 0:L.dgoCons:l),l=Math.ceil(((O=D.cp)==null?void 0:O.dgo)>l?(x=D.cp)==null?void 0:x.dgo:l),n.push([z,(P=D.noon)==null?void 0:P.avgSpd,(R=D.noon)==null?void 0:R.foCons,(Z=D.noon)==null?void 0:Z.dgoCons,D.avgSpdCalc,D.cp.speed,D.goodWx&&!D.excluded?100:0,D.cp.dgo,D.cp.fo,D.excluded?100:0])}});const a={animation:!1,title:{text:"Ship Speed and FO Consumption",textStyle:{color:"#000000B3",fontWeight:"500"},left:"left"},tooltip:{trigger:"axis"},legend:{show:!0,right:0},grid:{bottom:40,containLabel:!1},xAxis:[{type:"category",data:t,boundaryGap:!0,axisTick:{alignWithLabel:!0},axisLabel:{interval:"auto"}}],yAxis:[{name:"SOG (kts)",nameLocation:"middle",position:"left",nameGap:35,offset:10,max:20,min:0,alignTicks:!0,axisLine:{lineStyle:{color:"#f85c5c"}}},{name:"FO Cons (mt)",nameLocation:"middle",position:"right",nameGap:35,offset:10,max:d+1,min:0,alignTicks:!0,axisLine:{lineStyle:{color:"#6c8ad9"}},splitLine:{show:!1}}],series:[{name:"SOG",type:"line",yAxisIndex:0,showSymbol:!1,encode:{x:o.dateTime,y:(y=(i=this.report)==null?void 0:i.weather)!=null&&y.believeRptDistance?o.noonAvgSpd:o.anlyAvgSpd},lineStyle:{color:"#f85c5c",type:"solid"},itemStyle:{color:"#f85c5c"},data:n,z:5},{name:"CP SPD",type:"line",yAxisIndex:0,showSymbol:!1,encode:{x:o.dateTime,y:o.cpSpeed},lineStyle:{color:"#f78888",type:"dashed"},itemStyle:{color:"#f78888"},data:n,z:4},{name:"FO Cons",type:"bar",yAxisIndex:1,itemStyle:{color:"#6c8ad9"},barGap:"-100%",encode:{x:o.dateTime,y:o.noonFoCons},data:n,z:2},{name:"CP FO Cons",type:"line",yAxisIndex:1,showSymbol:!1,itemStyle:{color:"#6c8ad9"},lineStyle:{color:"#6c8ad9",type:"dashed"},encode:{x:o.dateTime,y:o.fo},data:n,z:3},{name:"Good Weather Days",type:"bar",encode:{x:o.dateTime,y:o.goodWx},itemStyle:{color:"#b3f593"},data:n,z:1},{name:"Excluded Days",type:"bar",encode:{x:o.dateTime,y:o.excluded},itemStyle:{color:"#0000004d"},data:n,z:1}]};(b=this.spdFoConsChart)==null||b.setOption(a);const p={animation:!1,title:{text:"Ship Speed and DGO Consumption",textStyle:{color:"#000000B3",fontWeight:"500"},left:"left"},tooltip:{trigger:"axis"},legend:{show:!0,right:0},grid:{bottom:40,containLabel:!1},xAxis:[{type:"category",data:t,boundaryGap:!0,axisTick:{alignWithLabel:!0},axisLabel:{interval:"auto"}}],yAxis:[{name:"SOG (kts)",nameLocation:"middle",position:"left",nameGap:35,offset:10,max:20,min:0,alignTicks:!0,axisLine:{lineStyle:{color:"#f85c5c"}}},{name:"DGO Cons (mt)",nameLocation:"middle",position:"right",nameGap:35,max:l+.2,min:0,alignTicks:!0,splitLine:{show:!1},axisLine:{lineStyle:{color:"#a7c4ff"}}}],series:[{name:"SOG",type:"line",yAxisIndex:0,showSymbol:!1,encode:{x:o.dateTime,y:(E=(S=this.report)==null?void 0:S.weather)!=null&&E.believeRptDistance?o.noonAvgSpd:o.anlyAvgSpd},lineStyle:{color:"#f85c5c",type:"solid"},itemStyle:{color:"#f85c5c"},data:n,z:5},{name:"CP SPD",type:"line",yAxisIndex:0,showSymbol:!1,encode:{x:o.dateTime,y:o.cpSpeed},lineStyle:{color:"#f78888",type:"dashed"},itemStyle:{color:"#f78888"},data:n,z:4},{name:"DGO Cons",type:"bar",yAxisIndex:1,itemStyle:{color:"#a7c4ff"},barGap:"-100%",encode:{x:o.dateTime,y:o.noonDgoCons},data:n,z:3},{name:"CP DGO Cons",type:"line",yAxisIndex:1,showSymbol:!1,itemStyle:{color:"#a7c4ff"},lineStyle:{color:"#a7c4ff",type:"dashed"},encode:{x:o.dateTime,y:o.dgo},data:n,z:3},{name:"Good Weather Days",type:"bar",encode:{x:o.dateTime,y:o.goodWx},itemStyle:{color:"#b3f593"},data:n,z:1},{name:"Excluded Days",type:"bar",encode:{x:o.dateTime,y:o.excluded},itemStyle:{color:"#0000004d"},data:n,z:1}]};(V=this.spdDgoConsChart)==null||V.setOption(p)},renderWxCurrChart(){var p;const t=[],n=[],o={dateTime:0,noonWdBF:1,anlyWdBF:2,anlyWdDir:3,noonSeasHt:4,anlySigWvHt:5,anlyCurFct:6,goodWx:7,excluded:8};let d=4,l=0;this.inventory.forEach(i=>{var y,b,S,E,V,D,r,C,k,T,u,L,O,x,P;if(i.noonLength){l=i.noonLength?i.dailyAvgCf:l;const R=this.computeUTCTime(i.noonUtc,"MM-DD/HHmm[Z]");t.push(R),d=Math.ceil(((S=(b=(y=i.meteo)==null?void 0:y.wave)==null?void 0:b.sig)==null?void 0:S.height)>d?(D=(V=(E=i.meteo)==null?void 0:E.wave)==null?void 0:V.sig)==null?void 0:D.height:d),n.push([R,(r=i.noon)==null?void 0:r.windBF,(k=(C=i.meteo)==null?void 0:C.wind)==null?void 0:k.scale,(u=(T=i.meteo)==null?void 0:T.wind)==null?void 0:u.direction,(L=i.noon)==null?void 0:L.seasHt,(P=(x=(O=i.meteo)==null?void 0:O.wave)==null?void 0:x.sig)==null?void 0:P.height,l,i.goodWx&&!i.excluded?20:0,i.excluded?20:0])}});const a={animation:!1,title:{text:"Current Factor",textStyle:{color:"#000000B3",fontWeight:"500"},left:"left"},tooltip:{trigger:"axis"},legend:{show:!0,right:0},grid:{bottom:40,containLabel:!1},xAxis:[{type:"category",data:t,boundaryGap:!0,position:"bottom",axisTick:{alignWithLabel:!0},axisLabel:{interval:"auto"}}],yAxis:[{name:"Current Factor (kts)",nameLocation:"middle",position:"left",offset:50,nameGap:35,minInterval:.5,axisLine:{lineStyle:{color:"#da2e2ecc"}},splitLine:{show:!0}},{name:"Good Weather Days",show:!1}],series:[{name:"Current Factor",type:"line",yAxisIndex:0,showSymbol:!1,encode:{x:o.dateTime,y:o.anlyCurFct},lineStyle:{color:"#da2e2ecc",type:"dashed"},itemStyle:{color:"#da2e2ecc"},smooth:!0,data:n,z:3},{name:"Good Weather Days",type:"bar",yAxisIndex:1,encode:{x:o.dateTime,y:o.goodWx},itemStyle:{color:"#b3f593"},data:n,z:1}]};(p=this.currChart)==null||p.setOption(a)}}},_l=t=>(e.pushScopeId("data-v-dace21b5"),t=t(),e.popScopeId(),t),IF={class:"report-summary"},RF={class:"section chart-section"},zF=_l(()=>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)),UF={class:"chart-block"},YF={ref:"spdFoConsChart",class:"chart"},ZF={ref:"spdDgoConsChart",class:"chart"},QF={ref:"currChart",class:"chart"},JF={class:"section map-section"},KF=_l(()=>e.createElementVNode("div",{class:"header-block flex-center"},[e.createElementVNode("i",{class:"iconfont"},""),e.createElementVNode("div",{class:"title"},"Voyage Map")],-1)),qF={class:"map-block"},XF={class:"flex-space"},jF={class:"voyage-block",style:{height:"197px"}},$F={class:"flex-space label-block",style:{width:"100%"}},vF=_l(()=>e.createElementVNode("label",{class:"flex-end",style:{width:"140px"}},"Prepare for",-1)),eP={style:{"text-transform":"uppercase"}},tP={class:"flex-space label-block",style:{width:"100%"}},oP=_l(()=>e.createElementVNode("label",{class:"flex-end",style:{width:"140px"}},"Vessel",-1)),lP={class:"flex-end",style:{flex:"1","text-transform":"uppercase"}},aP={class:"flex-end",style:{width:"180px","text-transform":"uppercase"}},nP={class:"flex-space label-block",style:{width:"100%"}},sP=_l(()=>e.createElementVNode("label",{class:"flex-end",style:{width:"140px"}},"Voyage No",-1)),iP={class:"flex-end",style:{flex:"1","text-transform":"uppercase"}},dP={class:"flex-space label-block",style:{width:"100%"}},cP=_l(()=>e.createElementVNode("label",{class:"flex-end",style:{width:"140px"}},"Departure Port",-1)),rP={key:0,class:"flex-end",style:{flex:"1"}},mP={key:1,class:"flex-end",style:{flex:"1"}},hP=_l(()=>e.createElementVNode("span",{style:{"margin-right":"3px"}},",",-1)),pP={class:"flex-end",style:{width:"140px"}},EP={class:"flex-space label-block",style:{width:"100%"}},yP=_l(()=>e.createElementVNode("label",{class:"flex-end",style:{width:"140px"}},"Arrival Port",-1)),_P={key:0,class:"flex-end",style:{flex:"1"}},NP={key:1,class:"flex-end",style:{flex:"1"}},VP=_l(()=>e.createElementVNode("span",{style:{"margin-right":"3px"}},",",-1)),fP={class:"flex-end",style:{width:"140px"}},gP={class:"flex-space label-block",style:{width:"100%"}},DP=_l(()=>e.createElementVNode("label",{class:"flex-end",style:{width:"140px"}},"Load Condition",-1)),xP={class:"flex-end",style:{flex:"1","text-transform":"uppercase"}},bP=e.createStaticVNode('<div class="legend-block" data-v-dace21b5><div style="position:absolute;margin-top:-8px;" data-v-dace21b5>LEGEND</div><div class="flex-space" data-v-dace21b5><div data-v-dace21b5>0812</div><div data-v-dace21b5><div data-v-dace21b5>08 - Day of the month</div><div data-v-dace21b5>12 - Hours of the day</div></div></div><div class="flex-space" data-v-dace21b5><div data-v-dace21b5><i class="iconfont" style="font-size:30px;font-weight:600;color:var(--idm-black-6);" data-v-dace21b5></i></div><div data-v-dace21b5><div data-v-dace21b5>Wind from N (000)</div><div data-v-dace21b5>Each bard = 10 kts</div><div data-v-dace21b5>1/2 bard = 5 kts</div></div></div><div class="flex-space" data-v-dace21b5><div data-v-dace21b5>W 4</div><div data-v-dace21b5> Sig. Wave from West, 4 meters </div></div><div class="flex-space" data-v-dace21b5><div class="good-wx" data-v-dace21b5>Date</div><div data-v-dace21b5>Good weather days</div></div></div>',1),CP=["src"],SP=e.createStaticVNode('<div class="section method-section" data-v-dace21b5><div class="header-block flex-center" data-v-dace21b5><i class="iconfont" data-v-dace21b5></i><div class="title" data-v-dace21b5>Charter Party Compliance Analysis Methodology</div></div><div class="method-block" data-v-dace21b5><div class="method-title" data-v-dace21b5>1. Good Weather Method</div><div class="method-body" data-v-dace21b5> Ship Performance is assessed based on the Good Weather Method as set out by The Didymi[1987] 2 Lloyd&#39;s Rep 166 and The Gas Enterprise [1993] 2 Lloyd&#39;s Rep. 352. <br data-v-dace21b5> The vessel&#39;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-dace21b5> A “day” is taken to be the period of time between consecutive daily noon positions: each day is categorized as a &quot;good weather day&quot; or &quot;adverse weather day&quot; according to the good weather definition stipulated in the Charter Party. </div></div><div class="method-block" data-v-dace21b5><div class="method-title" data-v-dace21b5>2. Damage assessment due to ship under-performance</div><div class="method-body" data-v-dace21b5> 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-dace21b5><div class="method-title" data-v-dace21b5>3. Logbooks description vs. Analysis</div><div class="method-body" data-v-dace21b5> 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-dace21b5><div class="method-title" data-v-dace21b5>4. “About”</div><div class="method-body" data-v-dace21b5> Complying with arbitration standards, the speed calculation applies an allowance when an “about” is included with the speed warranty. <br data-v-dace21b5> 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-dace21b5><div class="method-title" data-v-dace21b5>5. Bunker Analysis Methodology for Bunker Type Switch-Over</div><div class="method-body" data-v-dace21b5> 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-dace21b5> 5-1 DO/GO consumption in the switch over period will be compared to the charter party warranted IFO figure. <br data-v-dace21b5> 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-dace21b5><div class="method-title" data-v-dace21b5>6. Further reference materials</div><div class="method-body" data-v-dace21b5>Please send mail to <a href="mailto:op@ormwx.com" data-v-dace21b5>op@ormwx.com</a>.</div></div></div></div>',1);function kP(t,n,o,d,l,a){var y,b,S,E,V,D,r,C,k,T,u,L,O,x,P,R,Z,z,W,f,Y,G,H,K,q,j,X;const p=e.resolveComponent("Lat"),i=e.resolveComponent("Lng");return e.openBlock(),e.createElementBlock("div",IF,[e.createElementVNode("div",RF,[zF,e.createElementVNode("div",UF,[e.createElementVNode("div",YF,null,512),e.createElementVNode("div",ZF,null,512),e.createElementVNode("div",QF,null,512)])]),e.createElementVNode("div",JF,[KF,e.createElementVNode("div",qF,[e.createElementVNode("div",XF,[e.createElementVNode("div",jF,[e.createElementVNode("div",$F,[vF,e.createElementVNode("span",eP,e.toDisplayString(o.report.preparedFor),1)]),e.createElementVNode("div",tP,[oP,e.createElementVNode("span",lP,e.toDisplayString((b=(y=o.report)==null?void 0:y.vessel)==null?void 0:b.name),1),e.createElementVNode("span",aP,"("+e.toDisplayString((E=(S=o.report)==null?void 0:S.vessel)==null?void 0:E.type)+")",1)]),e.createElementVNode("div",nP,[sP,e.createElementVNode("span",iP,e.toDisplayString((D=(V=o.report)==null?void 0:V.voyage)==null?void 0:D.number),1)]),e.createElementVNode("div",dP,[cP,(C=(r=o.report)==null?void 0:r.departure)!=null&&C.portName?(e.openBlock(),e.createElementBlock("span",rP,e.toDisplayString((T=(k=o.report)==null?void 0:k.departure)==null?void 0:T.portName),1)):(e.openBlock(),e.createElementBlock("div",mP,[e.createVNode(p,{lat:(L=(u=o.report)==null?void 0:u.departure)==null?void 0:L.lat,label:"",style:{"font-size":"14px","font-weight":"400"}},null,8,["lat"]),hP,e.createVNode(i,{lng:(O=o.report.departure)==null?void 0:O.lng,label:"",style:{"font-size":"14px","font-weight":"400"}},null,8,["lng"])])),e.createElementVNode("span",pP,e.toDisplayString(a.computeUTCTime((x=o.report.departure)==null?void 0:x.utcTime,"MMM-DD/HHmm[Z], YYYY")),1)]),e.createElementVNode("div",EP,[yP,(R=(P=o.report)==null?void 0:P.arrival)!=null&&R.portName?(e.openBlock(),e.createElementBlock("span",_P,e.toDisplayString((z=(Z=o.report)==null?void 0:Z.arrival)==null?void 0:z.portName),1)):(e.openBlock(),e.createElementBlock("div",NP,[e.createVNode(p,{lat:(f=(W=o.report)==null?void 0:W.arrival)==null?void 0:f.lat,label:"",style:{"font-size":"14px","font-weight":"400"}},null,8,["lat"]),VP,e.createVNode(i,{lng:(G=(Y=o.report)==null?void 0:Y.arrival)==null?void 0:G.lng,label:"",style:{"font-size":"14px","font-weight":"400"}},null,8,["lng"])])),e.createElementVNode("span",fP,e.toDisplayString(a.computeUTCTime((K=(H=o.report)==null?void 0:H.arrival)==null?void 0:K.utcTime,"MMM-DD/HHmm[Z], YYYY")),1)]),e.createElementVNode("div",gP,[DP,e.createElementVNode("span",xP,e.toDisplayString((j=(q=o.report)==null?void 0:q.voyage)==null?void 0:j.loadCondition),1)])]),bP]),e.createElementVNode("img",{src:(X=o.report)==null?void 0:X.chartUrl,alt:""},null,8,CP)])]),SP])}const AP=De(GF,[["render",kP],["__scopeId","data-v-dace21b5"]]),Xee="",BP={components:{Brand:yl,Summary:CO,Inventory:MF,Chart:AP,Loading:on},props:{report:{type:Object,default:()=>({})}},computed:{computeUTCTime(){return function(t,n="MMM-DD/HHmm[Z]"){return`${w(t).utc().format(n)}`}}},watch:{report:{handler(t,n){t!=null&&t.id&&(this.loading=!1,this.$nextTick(()=>{this.prepare()}))},immediate:!0}},data(){return{inventory:[],loading:!0}},methods:{commit(t){this.$emit("commit",t)},prepare(){var n,o;const t=[];(o=(n=this.report)==null?void 0:n.segments)==null||o.forEach(d=>{const l=d.extend.cp;let a,p,i=!1;d.inventory.sample.hours.forEach((y,b)=>{a||(a=y),(!p||i)&&(p=y,i=!1),a.segIndex===y.segIndex?a.segLength=(a.segLength||0)+1:(a=y,a.segLength=1),p.noonLength=(p.noonLength||0)+1;let S=y.type.charAt(0);["N","E"].includes(S)&&(i=!0,p.dailyAvgCf=y.dailyAvgCf,p.avgSpdCalc=y.avgSpdCalc,p.distanceCalc=y.distanceCalc,p.noonUtc=y.utc,p.noon=y.noon),y.abbrev=S,S=S==="M"?"*":S==="A"?"":S,y.time=`${S} ${this.computeUTCTime(y.utc,"MMM-DD/HHmm[Z]")}`,y._lng=v.LngLatHelper.lng2pretty(y.lng),y._lat=v.LngLatHelper.lat2pretty(y.lat),y.cp=l,t.push(y)})}),t.sort((d,l)=>d.date-l.date),this.inventory=t}}},wP={class:"report-section"};function TP(t,n,o,d,l,a){const p=e.resolveComponent("Brand"),i=e.resolveComponent("Loading"),y=e.resolveComponent("Summary"),b=e.resolveComponent("Inventory"),S=e.resolveComponent("Chart");return e.openBlock(),e.createElementBlock("div",wP,[e.createVNode(p,{name:"Voyage Analysis Report",issued:o.report.createdAt},null,8,["issued"]),e.createVNode(i,{loading:l.loading},null,8,["loading"]),e.createVNode(y,{report:o.report,class:"main",onCommit:a.commit},null,8,["report","onCommit"]),e.createVNode(b,{report:o.report,inventory:l.inventory,class:"main"},null,8,["report","inventory"]),e.createVNode(S,{report:o.report,inventory:l.inventory,class:"main"},null,8,["report","inventory"])])}const bn=De(BP,[["render",TP],["__scopeId","data-v-bc53f33c"]]),OP={install(t){t.component("OpiVoyageReport",Dn),t.component("FliVoyageReport",xn),t.component("OrmVoyageReport",bn)}},jee="",$ee="",Vl={map:null,bounds:null,style:null,initStyle(t){this.style=t},addSourceData(t,n){this.map.getSource("gridLine")||this.map.getSource("gridPoint")?((this.map.getLayer("Linegrid")||this.map.getLayer("Pointgrid"))&&(this.map.removeLayer("Linegrid"),this.map.removeLayer("Pointgrid")),this.map.removeSource("gridLine"),this.map.removeSource("gridPoint"),this.map.addSource("gridLine",{type:"geojson",data:{type:"FeatureCollection",features:t}}),this.map.addSource("gridPoint",{type:"geojson",data:{type:"FeatureCollection",features:n}}),this.addLayerData()):(this.map.addSource("gridLine",{type:"geojson",data:{type:"FeatureCollection",features:[]}}),this.map.addSource("gridPoint",{type:"geojson",data:{type:"FeatureCollection",features:[]}}))},addLayerData(t){this.map.addLayer({id:"Linegrid",type:"line",source:"gridLine",layout:{"line-cap":"round","line-join":"round"},paint:this.style.line}),this.map.addLayer({id:"Pointgrid",type:"symbol",source:"gridPoint",layout:{"text-field":["get","name"],"text-offset":[0,1.25],"text-anchor":"bottom","text-size":["interpolate",["linear"],["zoom"],4,12,6,12]},paint:this.style.point})},initProperty(t){this.map=t,this.bounds={x1:-220,x2:450,y1:-80,y2:85}},computerZoom(){const t=this.map.getZoom();let n;return t<=1||t>1&&t<=2?n=40:t>2&&t<=3?n=30:t>3&&t<=4?n=20:t>4&&t<=5?n=15:n=10,n},computerLon(t){let n="";return t===0&&(n="0"),t>0&&t<=180&&(n=""+t+"° E"),t>180&&t<=360&&(n=""+(t-180)+"° W"),t>360&&(n=""+(t-360)+"° E"),t<0&&t>=-180&&(n=""+(0-t)+"° W"),t<-180&&t>-360&&(n=""+(t+360)+"° E"),n},computerLat(t){let n="";return t===0&&(n="0"),t>0&&t<=90&&(n=""+t+"° N"),t>-90&&t<0&&(n=""+(0-t)+"° S"),n},initGrid(){let t=[];const n=[],o=[];this.XY=this.bounds;const d=this.computerZoom(),l=this.map.getCenter();for(let a=this.XY.x1;a<this.XY.x2;a=a+d)t=[],t.push([a,this.XY.y1],[a,this.XY.y2]),n.push({type:"Feature",geometry:{type:"LineString",coordinates:t}}),o.push({type:"Feature",geometry:{type:"Point",coordinates:[a,Math.round(l.lat)]},properties:{name:this.computerLon(a)}});for(let a=this.XY.y1;a<this.XY.y2;a=a+d)t=[],t.push([this.XY.x1,a],[this.XY.x2,a]),n.push({type:"Feature",geometry:{type:"LineString",coordinates:t}}),o.push({type:"Feature",geometry:{type:"Point",coordinates:[Math.round(l.lng),a]},properties:{name:this.computerLat(a)}});this.addSourceData(n,o)}},vee="",ete="",FP={props:{data:{type:Object,default:()=>[]},name:{type:String,default:()=>""},model:{type:String,default:()=>""},ts:{type:String,default:()=>""},token:{type:String,default:""},changeZoom:{type:Boolean,default:!1}},components:{HurricaneGL:Xs.HurricaneGL},data(){return{map:void 0}},watch:{data:{handler(t){},immediate:!0}},computed:{},mounted(){this.initMap()},methods:{async initMap(){en.accessToken="pk.eyJ1IjoibmVhdGNoZW5oZW5nIiwiYSI6ImNsYnQ5cjh6NzAweGQzd29ucHBhN3I4ZmEifQ.4nssThLnkrR4VjWBR21Ahg",this.map=new en.Map({container:"report-map",style:"mapbox://styles/neatchenheng/clhvqa78k021f01r062401ahm",projection:"mercator",preserveDrawingBuffer:!0,zoom:4,dragRotate:!1,pitchWithRotate:!1,minZoom:1}),this.drawGrid()},drawGrid(){const o={line:{"line-color":"rgba(105,105,105, 0.3)","line-width":.5},point:{"text-color":"rgba(105,105,105, 1)","text-halo-width":1}};let d=this;this.map.on("load",function(){Vl.initStyle(o),Vl.initProperty(d.map),Vl.addSourceData([]),Vl.addLayerData(),Vl.initGrid()}),this.map.on("moveend",l=>{Vl.initProperty(d.map),Vl.initGrid()}),this.map.on("zoomend",l=>{Vl.initProperty(d.map),Vl.initGrid()})}}},PP=t=>(e.pushScopeId("data-v-0230b635"),t=t(),e.popScopeId(),t),uP={class:"map"},LP=PP(()=>e.createElementVNode("div",{id:"report-map",class:"map-box"},null,-1));function WP(t,n,o,d,l,a){const p=e.resolveComponent("HurricaneGL");return e.openBlock(),e.createElementBlock("div",uP,[LP,e.createVNode(p,{class:"hurricane",map:l.map,name:o.name,model:o.model,ts:o.ts,token:o.token,changeZoom:o.changeZoom},null,8,["map","name","model","ts","token","changeZoom"])])}const HP=De(FP,[["render",WP],["__scopeId","data-v-0230b635"]]),MP={props:{id:{type:String,default:function(){return""}},title:{type:String,default:function(){return""}},series:{type:Object,default:function(){return[]}},xAxis:{type:Object,default:function(){return[]}},color:{type:Object,default:function(){return[]}}},data(){return{chart:void 0}},watch:{series:{handler(t,n){JSON.stringify(t)!=="[]"&&JSON.stringify(t)!==JSON.stringify(n)&&this.$nextTick(()=>{this.initProbabilityData()})},immediate:!0}},methods:{initProbabilityData(){if(!this.chart){let d=document.getElementById(this.id);this.chart=e.markRaw(zo.init(d))}const t=Number(w(this.xAxis[0]).utc().format("x"))-8*60*60*1e3,n=Number(w(this.xAxis[this.xAxis.length-1]).utc().format("x"))-8*60*60*1e3;let o={title:{text:this.title,left:"4%"},grid:{right:"5%",bottom:"15%"},tooltip:{trigger:"axis"},legend:{show:!0,top:"12%",right:"5%"},color:this.color,xAxis:{type:"time",min:t,max:n,axisLabel:{show:!0,formatter:function(d,l){var a=w(d).format("MMMDD"),p=w(d).format("HH");return p==="00"||l===0?a:p}}},yAxis:{name:"",nameTextStyle:{color:"#fff",fontSize:12,padding:[0,60,0,0]},type:"value",splitLine:{show:!0},axisLine:{show:!0},axislabel:{show:!0},axisTick:{show:!1},splitLine:!1},series:this.series};this.id==="pressureChart"&&(o.yAxis.min="900"),console.log(o,"option"),this.$nextTick(()=>{this.chart.setOption(o)})}}},GP=["id"];function IP(t,n,o,d,l,a){return e.openBlock(),e.createElementBlock("div",null,[e.createElementVNode("div",{id:o.id,style:{height:"100%"}},null,8,GP)])}const RP=De(MP,[["render",IP]]),tte="",zP={props:{data:{type:Object,default:()=>({})},name:{type:String,default:()=>""},model:{type:String,default:()=>""},ts:{type:String,default:()=>""},token:{type:String,default:""},changeZoom:{type:Boolean,default:!1}},components:{Map:HP,Echart:RP},data(){return{dateTime:void 0,typhoonData:[],timeSubscript:["0","6","12","18","24","36","48","72"],hourSubscript:[6,12,18,24],records:void 0,xAxis:[],probabilityColor:["#010101","#941c12","#ed0000","#ee7b00","#efd700","#5dfc02"],probabilitySeries:[],spdSeries:[],pressureSeries:[]}},watch:{data:{handler(t){t&&t.hours&&this.fetchData()},immediate:!0},ts:{handler(t){t&&!isNaN(t)&&(this.dateTime=this.computeUTCTime(Number(t),"dddd, MMMM D,YYYY"))},immediate:!0}},computed:{computeRoundPrecision(){return function(t){return t==="-"?"-":v.roundPrecision(t,0)}},computeWind(){let t=this;return function(n){return n>=0?t.computeRoundPrecision(n):"-"}},computeUTCTime(){return function(t,n="MMM-DD/HHmm"){return t!=="-"?`${w(t).utc().format(n)}`:"-"}},computeHours(){return function(t,n){return w(n).add(t,"h").utc().format("MMMDD/HH[Z]")}},computedLngLat(){return function(t,n){const o=this.getLonLat(v.LngLatHelper.lat2pretty(t)),d=this.getLonLat(v.LngLatHelper.lng2pretty(n));return`${o} / ${d}`}},computeCandidateIndex(){return function(t,n){let o=0;for(const d in t){if(Number(d)>n)return{prev:o,next:Number(d)};o=Number(d)}return{prev:o,next:-1}}},computeInterpolateValue(){return function(t,n,o){return t?n?Math.round((t+(n-t)*o)*100)/100:t:n}},computeHourSubscript(){return function(t){let n="";return this.hourSubscript.forEach((o,d)=>{t<o&&n===""&&(n=d)}),n}},computeKLineData(){return function(t){const n=t.length;let o={time:t[0][0],min:void 0,max:void 0,first:t[0][1],last:t[n-1][1],middle:""},d=t[0][1],l=t[0][1];return t.forEach(a=>{d=!d||d<a[1]?a[1]:d,l=!l||l>a[1]?a[1]:l}),l||d?o.middle=(Number(l)+Number(d))/2:o.middle="-",o.min=l,o.max=d,o}}},methods:{getLonLat(t){return`${t.degree}°${v.roundPrecision(t.minute,2)}′${t.direction}`},async fetchData(){var S;this.typhoonData=[];let t=[];if(this.data.hours.length<8)for(let E in this.data.hours){let V=this.data.hours[E];V.hour=E,t.push(V)}else{let E=0;for(let V in this.data.hours)if(E<8){let D=this.data.hours[V];D.hour=V,t.push(D),E++}}this.typhoonData=t,this.records=await this.interpolatedRecord(this.data.date,this.data.hours,1),this.records[0]=this.data.hours[0];const n=this.ts?w(Number(this.ts)).utc().format("YYYY-MM-DD HH"):w().utc().format("YYYY-MM-DD HH");for(let E in this.records)w(this.data.date).add(E,"h").utc().format("YYYY-MM-DD HH")===n&&this.$emit("center",this.records[E]);let o=this.computeHourSubscript(w(this.data.date).utc().format("H"));const d=[],l=[],a=[],p=[];let i=[],y=[],b=[];for(let E in this.records){const V=this.records[E],D=w(this.data.date).add(E,"h").utc(),r=this.computeHourSubscript(w(D).format("H")),C=`${w(D).format("YYYY-MM-DD")} ${this.hourSubscript[r]}:00:00`;o===r?(y.push([C,V.wind.kts]),b.push([C,V.pressure]),i.push([C,V.wind.spd])):(d.push(i),l.push(y),a.push(b),o=r,i=[],y=[],b=[],i.push([C,V.wind.spd]),y.push([C,V.wind.kts]),b.push([C,V.pressure]),this.xAxis.push(D))}for(let E in this.data.hours){const V=this.data.hours[E],D=w(this.data.date).add(E,"h").utc(),r=this.computeHourSubscript(w(D).format("H")),C=`${w(D).format("YYYY-MM-DD")} ${this.hourSubscript[r]}:00:00`;p.push([C,((S=V.gusts)==null?void 0:S.kts)??"-"])}this.fetchProbabilityData(d),this.fetchSpdData(l,p),this.fetchPressureData(a)},fetchProbabilityData(t){let n={td:[],ts:[],sts:[],ty:[],sty:[],supty:[]};t.forEach(o=>{let d=0,l=0,a=0,p=0,i=0,y=0;o.forEach(S=>{const E=S[1];E<=17.1?d++:E<=24.4?l++:E<=32.6?a++:E<=41.4?p++:E<=50.9?i++:E>50.9&&y++});const b=o.length;n.td.push([o[0][0],v.roundPrecision(d/b,2)*100]),n.ts.push([o[0][0],v.roundPrecision(l/b,2)*100]),n.sts.push([o[0][0],v.roundPrecision(a/b,2)*100]),n.ty.push([o[0][0],v.roundPrecision(p/b,2)*100]),n.sty.push([o[0][0],v.roundPrecision(i/b,2)*100]),n.supty.push([o[0][0],v.roundPrecision(y/b,2)*100])}),this.probabilitySeries=[{name:"SuperTY[>94kts]",type:"bar",stack:"machine",label:{show:!1},data:n.supty},{name:"STY[80-94]",type:"bar",stack:"machine",label:{show:!1},data:n.sty},{name:"TY[64-79]",type:"bar",stack:"machine",label:{show:!1},data:n.ty},{name:"STS[48-63]",type:"bar",stack:"machine",label:{show:!1},data:n.sts},{name:"TS[33-47]",type:"bar",stack:"machine",label:{show:!1},data:n.ts},{name:"TD[<32]",type:"bar",stack:"machine",label:{show:!1},data:n.td}]},fetchSpdData(t,n){let o=[],d=[];t.forEach(l=>{const a=this.computeKLineData(l);let p=[a.time,a.first,a.last,a.min,a.max];d.push([a.time,a.middle]),o.push(p)}),this.spdSeries=[{type:"candlestick",itemStyle:{color:"#4ca053",color0:"#4ca053",borderColor:"#4ca053",borderColor0:"#4ca053"},data:o},{data:d,type:"line",smooth:!0,itemStyle:{color:"#a0c5e8"},lineStyle:{type:"dashed"}},{data:n,type:"line",symbol:"none",smooth:!1,itemStyle:{color:"#ccc"},lineStyle:{}}]},fetchPressureData(t){let n=[],o=[];t.forEach(d=>{const l=this.computeKLineData(d);let a=[l.time,l.first,l.last,l.min,l.max];o.push([l.time,l.middle]),n.push(a)}),this.pressureSeries=[{type:"candlestick",itemStyle:{color:"#4ca053",color0:"#4ca053",borderColor:"#4ca053",borderColor0:"#4ca053"},data:n},{data:o,type:"line",smooth:!0,itemStyle:{color:"#a0c5e8"},lineStyle:{type:"dashed"}}]},async interpolatedRecord(t,n,o=3){var i,y,b,S,E,V,D,r,C,k,T,u,L,O,x,P,R,Z,z,W,f,Y,G,H,K,q,j,X,N,M,J,s,$,c,ee,oe;const d=w(t).set({second:0}).utc();let l=o-(d.get("hour")*60+d.get("minute"))%(o*60)/60,a;const p={};for(;a=this.computeCandidateIndex(n,l),a.next!==-1||l===a.prev;){const te=(l-a.prev)/(a.next-a.prev);p[l]={gusts:this.computeInterpolateValue((i=n[a.prev])==null?void 0:i.gusts,(y=n[a.next])==null?void 0:y.gusts,te),lat:this.computeInterpolateValue((b=n[a.prev])==null?void 0:b.lat,(S=n[a.next])==null?void 0:S.lat,te),lng:this.computeInterpolateValue((E=n[a.prev])==null?void 0:E.lng,(V=n[a.next])==null?void 0:V.lng,te),movement:{deg:this.computeInterpolateValue((r=(D=n[a.prev])==null?void 0:D.movement)==null?void 0:r.deg,(k=(C=n[a.next])==null?void 0:C.movement)==null?void 0:k.deg,te),kts:this.computeInterpolateValue((u=(T=n[a.prev])==null?void 0:T.movement)==null?void 0:u.kts,(O=(L=n[a.next])==null?void 0:L.movement)==null?void 0:O.kts,te),spd:this.computeInterpolateValue((P=(x=n[a.prev])==null?void 0:x.movement)==null?void 0:P.spd,(Z=(R=n[a.next])==null?void 0:R.movement)==null?void 0:Z.spd,te)},pressure:this.computeInterpolateValue((z=n[a.prev])==null?void 0:z.pressure,(W=n[a.next])==null?void 0:W.pressure,te),wind:{kts:this.computeInterpolateValue((Y=(f=n[a.prev])==null?void 0:f.wind)==null?void 0:Y.kts,(H=(G=n[a.next])==null?void 0:G.wind)==null?void 0:H.kts,te),lat:this.computeInterpolateValue((q=(K=n[a.prev])==null?void 0:K.wind)==null?void 0:q.lat,(X=(j=n[a.next])==null?void 0:j.wind)==null?void 0:X.lat,te),lng:this.computeInterpolateValue((M=(N=n[a.prev])==null?void 0:N.wind)==null?void 0:M.lng,(s=(J=n[a.next])==null?void 0:J.wind)==null?void 0:s.lng,te),spd:this.computeInterpolateValue((c=($=n[a.prev])==null?void 0:$.wind)==null?void 0:c.spd,(oe=(ee=n[a.next])==null?void 0:ee.wind)==null?void 0:oe.spd,te)}},l+=o}return p}}},ln=t=>(e.pushScopeId("data-v-d22314b1"),t=t(),e.popScopeId(),t),UP={class:"typhoon-report"},YP=ln(()=>e.createElementVNode("div",{class:"report-bg"},[e.createElementVNode("img",{src:"https://img.idmwx.com/asset/report-head-bg.png"})],-1)),ZP={class:"report-title"},QP=ln(()=>e.createElementVNode("div",{class:"title"},"Tropical Cyclone Strike Probability Report",-1)),JP={class:"subtitle"},KP=ln(()=>e.createElementVNode("div",null,[e.createElementVNode("img",{class:"logo",src:"https://img.idmwx.com/asset/logo-150x150.png"})],-1)),qP={class:"tips-label"},XP=ln(()=>e.createElementVNode("div",null,"Prepared by Ocean PI Technology Co., Ltd.",-1)),jP={class:"label-issued"},$P=ln(()=>e.createElementVNode("div",null,"The report is for reference only. All the material is an advisory provided so as to assist the Master in making the final route decision.",-1)),vP={class:"issued"},eu={class:"report-content"},tu={class:"map"},ou={class:"table"},lu=ln(()=>e.createElementVNode("thead",null,[e.createElementVNode("tr",null,[e.createElementVNode("td",null,"Time"),e.createElementVNode("td",null,"Position"),e.createElementVNode("td",null,"Pres(hPa)"),e.createElementVNode("td",null,"Max(kts)"),e.createElementVNode("td",null,"Gusts(kts)"),e.createElementVNode("td",null,"35/50(kts)"),e.createElementVNode("td",null,"Dir(deg)"),e.createElementVNode("td",null,"Spd(kts)")])],-1));function au(t,n,o,d,l,a){const p=e.resolveComponent("Map"),i=e.resolveComponent("Echart");return e.openBlock(),e.createElementBlock("div",UP,[YP,e.createElementVNode("div",ZP,[QP,e.createElementVNode("div",JP,[KP,e.createElementVNode("div",qP,[XP,e.createElementVNode("div",null,e.toDisplayString(l.dateTime?l.dateTime:a.computeUTCTime(Date.now(),"dddd, MMMM D,YYYY")),1),e.createElementVNode("div",jP,[$P,e.createElementVNode("div",vP,"Issued: "+e.toDisplayString(a.computeUTCTime(Date.now(),"MMM-DD/HHmm[Z]")),1)])])])]),e.createElementVNode("div",eu,[e.createElementVNode("div",null,[e.createElementVNode("div",tu,[e.createVNode(p,{data:o.data,name:o.name,model:o.model,ts:o.ts,token:o.token,changeZoom:o.changeZoom},null,8,["data","name","model","ts","token","changeZoom"])]),e.createElementVNode("div",ou,[e.createElementVNode("table",null,[lu,e.createElementVNode("tbody",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(l.typhoonData,(y,b)=>{var S,E,V,D,r,C;return e.openBlock(),e.createElementBlock("tr",{key:b},[e.createElementVNode("td",null,e.toDisplayString(a.computeHours(y.hour||"-",o.data.date)),1),e.createElementVNode("td",null,e.toDisplayString(a.computedLngLat(y.lat,y.lng)),1),e.createElementVNode("td",null,e.toDisplayString(a.computeRoundPrecision(y.pressure??"-")),1),e.createElementVNode("td",null,e.toDisplayString(a.computeRoundPrecision(((S=y==null?void 0:y.wind)==null?void 0:S.kts)??"-")),1),e.createElementVNode("td",null,e.toDisplayString(a.computeRoundPrecision(((E=y.gusts)==null?void 0:E.kts)??"-")),1),e.createElementVNode("td",null,e.toDisplayString(`${a.computeWind(((V=y==null?void 0:y.wind)==null?void 0:V.r7)||"-")} / ${a.computeWind(((D=y==null?void 0:y.wind)==null?void 0:D.r10)||"-")} nm`),1),e.createElementVNode("td",null,e.toDisplayString(a.computeRoundPrecision(((r=y==null?void 0:y.movement)==null?void 0:r.deg)??"-")),1),e.createElementVNode("td",null,e.toDisplayString(a.computeRoundPrecision(((C=y==null?void 0:y.movement)==null?void 0:C.spd)??"-")),1)])}),128))])])])]),e.createElementVNode("div",null,[e.createVNode(i,{class:"echart",id:"probabilityChart",title:"Probability(%) of Tropical Cyclone Intensity falling in each category",xAxis:l.xAxis,color:l.probabilityColor,series:l.probabilitySeries},null,8,["xAxis","color","series"]),e.createVNode(i,{class:"echart",id:"spdChart",title:"10m Wind Speed(kts) [ Solid=Gusts ; Dot=Avg.Speed ]",xAxis:l.xAxis,series:l.spdSeries},null,8,["xAxis","series"]),e.createVNode(i,{class:"echart",id:"pressureChart",title:"Mean Sea Level Pressure in Tropical Cyclone Center (hPa)",xAxis:l.xAxis,series:l.pressureSeries},null,8,["xAxis","series"])])])])}const Cn=De(zP,[["render",au],["__scopeId","data-v-d22314b1"]]),nu={install(t){t.component("HurricaneReport",Cn)}},ote="",su={components:{IdmBrand:ja},data(){return{isUSD:!1,type:"CNY",company:{name:{USD:"OCEAN PI TECHNOLOGY Co., Ltd.",CNY:"科湃科技(青岛)有限公司"},address:{USD:"ROOM 1006, BUILDING 5, No. 199, SHANDONG ROAD, QINGDAO, CHINA",CNY:"山东省青岛市市北区山东路 199 号 5 号楼 1006 户"},tel:"053283618328",dutyNumber:"91370203MACDEEJP0Q",bankName:{USD:"Shanghai Pudong Development Bank Qingdao Branch",CNY:"上海浦东发展银行股份有限公司青岛福州路支行"},bankAccount:{USD:"6908 0078 8144 0000 1837",CNY:"6908 0078 8016 0000 1829"},bankAddress:"No. 188, HAIER ROAD, QINGDAO, CHINA",bankSwift:"SPDBCNSH170",interBank:"CITIBANK N.A., NEW YORK",interSwift:"CITIUS33"},breaked:!1}},props:{data:{type:Object,default:()=>({})}},watch:{data:{handler(t){t&&(t.paymentType==="USD"?(this.isUSD=!0,this.type="USD"):(this.isUSD=!1,this.type="CNY"))},immediate:!0}},computed:{computeHtml(){return function(t){return t==null?void 0:t.replaceAll(`
42
+ `,"</br>")}},computeUTCTime(){return function(t,n="MMM-DD/HHmm"){return t!=="-"?`${w(t).utc().format(n)}`:"-"}},computeItem(){return function(t){if(t){const n=t.indexOf(",");if(n!==-1)return[t.substring(0,n),t.substring(n+1)]}else return["-","-"]}}},mounted(){this.$nextTick(()=>{var p;const t=this.$refs.name.offsetHeight,n=this.$refs.table.offsetHeight,o=this.$refs.detail.offsetHeight,d=(p=this.data)!=null&&p.memo?this.$refs.memo.offsetHeight:0;let l=1;for(;t+n+280>l*1123;)l++;const a=l*1123-(t+n+280);this.breaked=a<o+d})}},po=t=>(e.pushScopeId("data-v-db643e45"),t=t(),e.popScopeId(),t),iu={class:"invoice-report"},du=po(()=>e.createElementVNode("div",{class:"report-bg"},[e.createElementVNode("img",{src:"https://img.idmwx.com/asset/report-head-bg.png"})],-1)),cu={class:"report-title"},ru=po(()=>e.createElementVNode("div",{class:"title"},"INVOICE",-1)),mu={class:"title-info"},hu=po(()=>e.createElementVNode("div",null,[e.createElementVNode("img",{class:"logo",src:"https://img.idmwx.com/asset/logo-150x150.png"})],-1)),pu=po(()=>e.createElementVNode("div",null,"Room 1006,Building 5,No. 199,",-1)),Eu=po(()=>e.createElementVNode("div",null,"Shandnog Road,Qing Dao China",-1)),yu=po(()=>e.createElementVNode("div",null,"Post Code: 266000",-1)),_u=po(()=>e.createElementVNode("div",null,"Email: op@oceanpitech.com",-1)),Nu={class:"report-content"},Vu={style:{display:"flex"},ref:"name",class:"name"},fu=["innerHTML"],gu={style:{"margin-bottom":"10px"}},Du={class:"table",ref:"table"},xu=po(()=>e.createElementVNode("thead",null,[e.createElementVNode("tr",null,[e.createElementVNode("td",null,"NO"),e.createElementVNode("td",null,"ITEMS"),e.createElementVNode("td",null,"AMOUNTS")])],-1)),bu=po(()=>e.createElementVNode("td",null,null,-1)),Cu={class:"total"},Su={class:"total"},ku={key:0,class:"page-break"},Au={ref:"detail",class:"detail"},Bu={class:"title"},wu={class:"info"},Tu={class:"info"},Ou={class:"info"},Fu={class:"info"},Pu={class:"info"},uu={key:0},Lu={class:"info"},Wu=po(()=>e.createElementVNode("span",{class:"info-title"},"SWIFT: ",-1)),Hu={class:"info"},Mu=po(()=>e.createElementVNode("span",{class:"info-title"},"Bank Add: ",-1)),Gu={class:"info"},Iu=po(()=>e.createElementVNode("span",{class:"info-title"},"INTERMEDIARY BANK: ",-1)),Ru={class:"info"},zu=po(()=>e.createElementVNode("span",{class:"info-title"},"SWIFT BIC: ",-1)),Uu={key:1},Yu={class:"info"},Zu=po(()=>e.createElementVNode("span",{class:"info-title cny"},"税号: ",-1)),Qu={key:1,ref:"memo",class:"detail"},Ju=po(()=>e.createElementVNode("div",{class:"title"},"MEMO",-1)),Ku=["innerHTML"];function qu(t,n,o,d,l,a){var i,y,b,S,E,V,D,r,C,k,T,u,L,O,x,P,R,Z,z;const p=e.resolveComponent("IdmBrand");return e.openBlock(),e.createElementBlock("div",iu,[e.createVNode(p),du,e.createElementVNode("div",cu,[ru,e.createElementVNode("div",mu,[hu,e.createElementVNode("div",null,[e.createElementVNode("div",{class:e.normalizeClass(l.isUSD?"info-title":"info-title cny")},"Ocean PI Technology Co., Ltd",2),pu,Eu,yu,_u])])]),e.createElementVNode("div",Nu,[e.createElementVNode("div",Vu,[e.createTextVNode(" To:  "),e.createElementVNode("div",{class:"name",innerHTML:a.computeHtml((y=(i=o.data)==null?void 0:i.invoiceTitle)==null?void 0:y.name)},null,8,fu)],512),e.createElementVNode("div",null,"Date: "+e.toDisplayString(a.computeUTCTime((b=o.data)==null?void 0:b.paymentDate,"YYYY MMM DD")),1),e.createElementVNode("div",gu,"No: "+e.toDisplayString((S=o.data)==null?void 0:S.number),1),e.createElementVNode("div",Du,[e.createElementVNode("table",null,[xu,e.createElementVNode("tbody",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList((E=o.data)==null?void 0:E.reservations,(W,f)=>(e.openBlock(),e.createElementBlock("tr",{key:f},[e.createElementVNode("td",null,e.toDisplayString(f+1),1),e.createElementVNode("td",null,[e.createElementVNode("div",null,e.toDisplayString(a.computeItem(W==null?void 0:W.items)[0]),1),e.createElementVNode("div",null,e.toDisplayString(a.computeItem(W==null?void 0:W.items)[1]),1)]),e.createElementVNode("td",null,e.toDisplayString(`$ ${W==null?void 0:W.amount}`),1)]))),128)),e.createElementVNode("tr",null,[bu,e.createElementVNode("td",null,[e.createElementVNode("span",null,e.toDisplayString(`${l.isUSD?"":"Exchange rate: "+((V=o.data)==null?void 0:V.rate)}`)+"  ",1),e.createElementVNode("span",Cu,e.toDisplayString(`${l.isUSD?"TOTAL":"TOTAL Amounts in CNY"}`),1)]),e.createElementVNode("td",null,[e.createElementVNode("span",Su,e.toDisplayString(`${l.isUSD?"$":"¥"} ${(D=o.data)==null?void 0:D.paymentAmount}`),1)])])])])],512),l.breaked?(e.openBlock(),e.createElementBlock("div",ku)):e.createCommentVNode("",!0),e.createElementVNode("div",Au,[e.createElementVNode("div",Bu,e.toDisplayString(`${l.isUSD?"USD ACCOUNT":"CNY ACCOUNT"}:`),1),e.createElementVNode("div",wu,[e.createElementVNode("span",{class:e.normalizeClass(l.isUSD?"info-title":"info-title cny")},e.toDisplayString(`${l.isUSD?"Beneficiary's Name":"公司名称"}: `),3),e.createElementVNode("span",null,e.toDisplayString(((r=l.company)==null?void 0:r.name[l.type])??"-"),1)]),e.createElementVNode("div",Tu,[e.createElementVNode("span",{class:e.normalizeClass(l.isUSD?"info-title":"info-title cny")},e.toDisplayString(`${l.isUSD?"Add":"地址"}: `),3),e.createElementVNode("span",null,e.toDisplayString(((C=l.company)==null?void 0:C.address[l.type])??"-"),1)]),e.createElementVNode("div",Ou,[e.createElementVNode("span",{class:e.normalizeClass(l.isUSD?"info-title":"info-title cny")},e.toDisplayString(`${l.isUSD?"Tel":"电话号码"}: `),3),e.createElementVNode("span",null,e.toDisplayString(((k=l.company)==null?void 0:k.tel)??"-"),1)]),e.createElementVNode("div",Fu,[e.createElementVNode("span",{class:e.normalizeClass(l.isUSD?"info-title":"info-title cny")},e.toDisplayString(`${l.isUSD?"Bank Name":"开户银行"}: `),3),e.createElementVNode("span",null,e.toDisplayString(((T=l.company)==null?void 0:T.bankName[l.type])??"-"),1)]),e.createElementVNode("div",Pu,[e.createElementVNode("span",{class:e.normalizeClass(l.isUSD?"info-title":"info-title cny")},e.toDisplayString(`${l.isUSD?"A/C No":"银行账号"}: `),3),e.createElementVNode("span",null,e.toDisplayString(((u=l.company)==null?void 0:u.bankAccount[l.type])??"-"),1)]),l.isUSD?(e.openBlock(),e.createElementBlock("div",uu,[e.createElementVNode("div",Lu,[Wu,e.createElementVNode("span",null,e.toDisplayString(((L=l.company)==null?void 0:L.bankSwift)??"-"),1)]),e.createElementVNode("div",Hu,[Mu,e.createElementVNode("span",null,e.toDisplayString(((O=l.company)==null?void 0:O.bankAddress)??"-"),1)]),e.createElementVNode("div",Gu,[Iu,e.createElementVNode("span",null,e.toDisplayString(((x=l.company)==null?void 0:x.interBank)??"-"),1)]),e.createElementVNode("div",Ru,[zu,e.createElementVNode("span",null,e.toDisplayString(((P=l.company)==null?void 0:P.interSwift)??"-"),1)])])):(e.openBlock(),e.createElementBlock("div",Uu,[e.createElementVNode("div",Yu,[Zu,e.createElementVNode("span",null,e.toDisplayString(((R=l.company)==null?void 0:R.dutyNumber)??"-"),1)])]))],512),(Z=o.data)!=null&&Z.memo?(e.openBlock(),e.createElementBlock("div",Qu,[Ju,e.createElementVNode("div",{class:"info",innerHTML:a.computeHtml((z=o.data)==null?void 0:z.memo)},null,8,Ku)],512)):e.createCommentVNode("",!0)])])}const Sn=De(su,[["render",qu],["__scopeId","data-v-db643e45"]]),lte="",Xu={components:{IdmBrand:yl},data(){return{account:{CNY:{title:"正权海事服务(青岛)有限公司",taxId:"91370203MADE2L8TX4",address:"山东省青岛市市北区山东路171号乙万科中心1号楼1805户",tel:"15192665266",bank:"中国银行股份有限公司青岛城阳支行",number:"220850858281"},USD:{title:"Ocean Right Marine Service Co., Ltd.",taxId:"91370203MADE2L8TX4",address:"Rm1805, B Technology Innovation Bldg. No. 171 Shandong Rd, Qingdao, China",tel:"15192665266",bank:"Bank of China Qingdao Chengyang Sub-Branch",number:"220850858281",swift:"BKCHCNBJ50A",bankAddr:"198 Zhengyang road Chengyang District, Qingdao, China",intermediaryBank:"Bank of China New York Branch",intermediaryBankSwift:"BKCHUS33XXX",intermediaryBankAbaNo:"326"}}}},props:{report:{type:Object,default:()=>({})}},computed:{computeTime(){return function(t,n="YYYY, MMM-DD/HHmm[LT]"){return t!=="-"?`${w(t).utcOffset(8).format(n)}`:"-"}}},mounted(){}},Lt=t=>(e.pushScopeId("data-v-a19b6a09"),t=t(),e.popScopeId(),t),ju={class:"invoice-report"},$u={class:"section company-section"},vu=Lt(()=>e.createElementVNode("div",{class:"company-item",style:{"font-weight":"600","font-size":"16px","margin-bottom":"10px"}},"ACCOUNT",-1)),eL={class:"company-item"},tL=Lt(()=>e.createElementVNode("label",null,"Bank",-1)),oL={class:"company-item"},lL=Lt(()=>e.createElementVNode("label",null,"Account",-1)),aL={class:"company-item"},nL=Lt(()=>e.createElementVNode("label",null,"Title",-1)),sL={class:"company-item"},iL=Lt(()=>e.createElementVNode("label",null,"Addr",-1)),dL={class:"company-item"},cL=Lt(()=>e.createElementVNode("label",null,"Tel",-1)),rL={class:"company-item"},mL=Lt(()=>e.createElementVNode("label",null,"Tax ID",-1)),hL={class:"company-item"},pL=Lt(()=>e.createElementVNode("label",null,"Beneficiary's Name",-1)),EL={class:"company-item"},yL=Lt(()=>e.createElementVNode("label",null,"Add",-1)),_L={class:"company-item"},NL=Lt(()=>e.createElementVNode("label",null,"Bank Name",-1)),VL={class:"company-item"},fL=Lt(()=>e.createElementVNode("label",null,"A/C No.",-1)),gL={class:"company-item"},DL=Lt(()=>e.createElementVNode("label",null,"SWIFT",-1)),xL={class:"company-item"},bL=Lt(()=>e.createElementVNode("label",null,"Bank Add",-1)),CL={class:"company-item"},SL=Lt(()=>e.createElementVNode("label",null,"Intermediary Bank",-1)),kL={class:"company-item"},AL=Lt(()=>e.createElementVNode("label",null,"SWIFT",-1)),BL={class:"company-item"},wL=Lt(()=>e.createElementVNode("label",null,"ABA NO.",-1)),TL={class:"section items-section"},OL={class:"flex-space"},FL=Lt(()=>e.createElementVNode("div",{class:"invoice-item"},"To:",-1)),PL=["innerHTML"],uL={class:"flex-space"},LL={class:"invoice-item"},WL={key:0,class:"invoice-item"},HL={key:1,class:"invoice-item"},ML=Lt(()=>e.createElementVNode("thead",null,[e.createElementVNode("tr",null,[e.createElementVNode("th",null,"NO"),e.createElementVNode("th",null,"ITEMS"),e.createElementVNode("th",null,"AMOUNTS")])],-1)),GL={colspan:2,class:"total"},IL=Lt(()=>e.createElementVNode("span",null,"Total Amounts in CNY",-1)),RL={key:1},zL={class:"total"},UL={key:0},YL={key:1},ZL={key:0,class:"memo-block"},QL=Lt(()=>e.createElementVNode("div",{class:"invoice-item"},"MEMO",-1)),JL=["innerHTML"],KL=e.createStaticVNode('<div class="section sign-section" data-v-a19b6a09><div class="flex-space" data-v-a19b6a09><div class="sign-block" data-v-a19b6a09><div data-v-a19b6a09>Finance Team</div><div data-v-a19b6a09>Ocean Right Marine Service Co., Ltd.</div><div data-v-a19b6a09>Email: <a href="mailto:op@ormwx.com" data-v-a19b6a09>op@ormwx.com</a></div><div data-v-a19b6a09>Add: Rm1805, B Technology Innovation Bldg, No. 171 Shandong Road, Qingdao, China.</div></div><div class="thank-block" data-v-a19b6a09> Thank You </div></div></div>',1);function qL(t,n,o,d,l,a){var i,y,b,S,E,V,D,r,C,k,T,u,L,O,x,P,R,Z,z,W,f,Y,G,H,K,q,j,X,N,M,J,s,$,c,ee,oe,te,se,ie,ce,re,he,pe,Ee;const p=e.resolveComponent("IdmBrand");return e.openBlock(),e.createElementBlock("div",ju,[e.createVNode(p,{name:"INVOICE"}),e.createElementVNode("div",$u,[vu,((i=o.report)==null?void 0:i.paymentType)==="CNY"?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[e.createElementVNode("div",eL,[tL,e.createElementVNode("span",null,e.toDisplayString((b=l.account[(y=o.report)==null?void 0:y.paymentType])==null?void 0:b.bank),1)]),e.createElementVNode("div",oL,[lL,e.createElementVNode("span",null,e.toDisplayString((E=l.account[(S=o.report)==null?void 0:S.paymentType])==null?void 0:E.number),1)]),e.createElementVNode("div",aL,[nL,e.createElementVNode("span",null,e.toDisplayString((D=l.account[(V=o.report)==null?void 0:V.paymentType])==null?void 0:D.title),1)]),e.createElementVNode("div",sL,[iL,e.createElementVNode("span",null,e.toDisplayString((C=l.account[(r=o.report)==null?void 0:r.paymentType])==null?void 0:C.address),1)]),e.createElementVNode("div",dL,[cL,e.createElementVNode("span",null,e.toDisplayString((T=l.account[(k=o.report)==null?void 0:k.paymentType])==null?void 0:T.tel),1)]),e.createElementVNode("div",rL,[mL,e.createElementVNode("span",null,e.toDisplayString((L=l.account[(u=o.report)==null?void 0:u.paymentType])==null?void 0:L.taxId),1)])],64)):(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[e.createElementVNode("div",hL,[pL,e.createElementVNode("span",null,e.toDisplayString((x=l.account[(O=o.report)==null?void 0:O.paymentType])==null?void 0:x.title),1)]),e.createElementVNode("div",EL,[yL,e.createElementVNode("span",null,e.toDisplayString((R=l.account[(P=o.report)==null?void 0:P.paymentType])==null?void 0:R.address),1)]),e.createElementVNode("div",_L,[NL,e.createElementVNode("span",null,e.toDisplayString((z=l.account[(Z=o.report)==null?void 0:Z.paymentType])==null?void 0:z.bank),1)]),e.createElementVNode("div",VL,[fL,e.createElementVNode("span",null,e.toDisplayString((f=l.account[(W=o.report)==null?void 0:W.paymentType])==null?void 0:f.number),1)]),e.createElementVNode("div",gL,[DL,e.createElementVNode("span",null,e.toDisplayString((G=l.account[(Y=o.report)==null?void 0:Y.paymentType])==null?void 0:G.swift),1)]),e.createElementVNode("div",xL,[bL,e.createElementVNode("span",null,e.toDisplayString((K=l.account[(H=o.report)==null?void 0:H.paymentType])==null?void 0:K.bankAddr),1)]),e.createElementVNode("div",CL,[SL,e.createElementVNode("span",null,e.toDisplayString((j=l.account[(q=o.report)==null?void 0:q.paymentType])==null?void 0:j.intermediaryBank),1)]),e.createElementVNode("div",kL,[AL,e.createElementVNode("span",null,e.toDisplayString((N=l.account[(X=o.report)==null?void 0:X.paymentType])==null?void 0:N.intermediaryBankSwift),1)]),e.createElementVNode("div",BL,[wL,e.createElementVNode("span",null,e.toDisplayString((J=l.account[(M=o.report)==null?void 0:M.paymentType])==null?void 0:J.intermediaryBankAbaNo),1)])],64))]),e.createElementVNode("div",TL,[e.createElementVNode("div",OL,[FL,e.createElementVNode("div",{class:"invoice-item",style:{"font-weight":"500"},innerHTML:(c=($=(s=o.report)==null?void 0:s.invoiceTitle)==null?void 0:$.name)==null?void 0:c.replace(`
43
43
  `,"<br/>")},null,8,PL)]),e.createElementVNode("div",uL,[e.createElementVNode("div",LL,"No. "+e.toDisplayString(o.report.number),1),(ee=o.report)!=null&&ee.paymentDate?(e.openBlock(),e.createElementBlock("div",WL,"Paid: "+e.toDisplayString(a.computeTime(o.report.paymentDate)),1)):(e.openBlock(),e.createElementBlock("div",HL,"Created: "+e.toDisplayString(a.computeTime(o.report.createdAt)),1))]),e.createElementVNode("table",null,[ML,e.createElementVNode("tbody",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList((oe=o.report)==null?void 0:oe.reservations,(de,ye)=>(e.openBlock(),e.createElementBlock("tr",{key:ye},[e.createElementVNode("td",null,e.toDisplayString(ye+1),1),e.createElementVNode("td",null,[e.createElementVNode("div",null,e.toDisplayString(de==null?void 0:de.items),1)]),e.createElementVNode("td",null,e.toDisplayString(`$${de==null?void 0:de.amount}`),1)]))),128)),e.createElementVNode("tr",null,[e.createElementVNode("td",GL,[((te=o.report)==null?void 0:te.paymentType)==="CNY"?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[e.createElementVNode("span",null,"Exchange rate: "+e.toDisplayString((se=o.report)==null?void 0:se.rate)+", ",1),IL],64)):(e.openBlock(),e.createElementBlock("span",RL,"Total"))]),e.createElementVNode("td",zL,[((ie=o.report)==null?void 0:ie.paymentType)==="CNY"?(e.openBlock(),e.createElementBlock("span",UL,e.toDisplayString(`¥${(ce=o.report)==null?void 0:ce.paymentAmount}`),1)):(e.openBlock(),e.createElementBlock("span",YL,e.toDisplayString(`$${(re=o.report)==null?void 0:re.paymentAmount}`),1))])])])]),(he=o.report)!=null&&he.memo?(e.openBlock(),e.createElementBlock("div",ZL,[QL,e.createElementVNode("div",{class:"invoice-item",innerHTML:(Ee=(pe=o.report)==null?void 0:pe.memo)==null?void 0:Ee.replace(`
44
- `,"<br/>")},null,8,JL)])):e.createCommentVNode("",!0)]),KL])}const kn=De(Xu,[["render",qL],["__scopeId","data-v-a19b6a09"]]),XL={install(t){t.component("InvoiceReport",Sn),t.component("OrmInvoiceReport",kn)}},jL=t=>((typeof t=="string"||typeof t=="number")&&(t=T(t)),t),$L=(t,n="MMM-DD,YYYY/HHmm[Z]")=>vL(t,n),vL=(t,n="MMM-DD/HHmm[Z]")=>(t=jL(t),t?`${t.utc().format(n)}`:"-"),ate="",eW={name:"IdmEditableItem",components:{Edit:tn.Edit,Close:tn.Close,IdmEditor:Ro},props:{width:{type:Number,default:80},disabled:{type:Boolean,default:!1},iconable:{type:Boolean,default:!0},type:{type:String,default:"input"},label:{type:String,default:""},value:{default:void 0},raw:{default:void 0},min:{type:Number},max:{type:Number},step:{type:Number},precision:{type:Number},controls:{type:Boolean,default:!1},size:{type:String,default:"default"},options:{type:Array,default:[]},radios:{type:Array,default:[]},checkboxs:{type:Array,default:[]},format:{type:String,default:"YYYY-MM-DD/HH:mm [Z]"},valueFormat:{type:String,default:"YYYY-MM-DDTHH:mm:00[Z]"},align:{type:String,default:"flex-start"}},data(){return{editable:!1,model:void 0}},computed:{computeUtcTime(){return function(t,n){return $L(t,n)}}},methods:{handleEdit(){this.disabled||(this.editable=!0,this.model=this.raw??this.value)},handleCancel(){this.editable=!1,this.model=void 0},handleSwitch(){this.model=!this.model,this.handleCommit()},handleCommit(){this.$nextTick(()=>{this.editable=!1}),this.model!==(this.raw??this.value)&&(typeof this.model=="boolean"||this.type==="alphanumeric"||this.type==="textarea"?this.$emit("commit",this.model):!isNaN(this.model)&&Number(this.model)!==1/0?this.$emit("commit",Number(this.model)):this.$emit("commit",this.model))},fetchSelectOptions(t){this.$emit("select",t)}}},tW={class:"idm-editable-item"},oW=["innerHTML"],lW={key:3,class:"buttons"};function aW(t,n,o,d,l,a){const p=e.resolveComponent("ElTag"),i=e.resolveComponent("ElInput"),E=e.resolveComponent("IdmEditor"),b=e.resolveComponent("ElInputNumber"),S=e.resolveComponent("ElDatePicker"),_=e.resolveComponent("ElOption"),N=e.resolveComponent("ElSelect"),D=e.resolveComponent("ElRadio"),r=e.resolveComponent("ElRadioGroup"),C=e.resolveComponent("ElCheckbox"),k=e.resolveComponent("ElCheckboxGroup"),O=e.resolveComponent("Edit"),P=e.resolveComponent("ElIcon"),F=e.resolveComponent("ElButton"),w=e.resolveComponent("Close");return e.openBlock(),e.createElementBlock("div",tW,[e.createElementVNode("div",{class:"group",style:e.normalizeStyle({justifyContent:o.align})},[o.label?(e.openBlock(),e.createElementBlock("label",{key:0,style:e.normalizeStyle({width:o.width+"px"})},e.toDisplayString(o.label),5)):e.createCommentVNode("",!0),l.editable?(e.openBlock(),e.createElementBlock(e.Fragment,{key:2},[o.type==="input"?(e.openBlock(),e.createBlock(i,{key:0,modelValue:l.model,"onUpdate:modelValue":n[2]||(n[2]=x=>l.model=x),size:o.size,onBlur:a.handleCommit},null,8,["modelValue","size","onBlur"])):e.createCommentVNode("",!0),o.type==="alphanumeric"?(e.openBlock(),e.createBlock(i,{key:1,modelValue:l.model,"onUpdate:modelValue":n[3]||(n[3]=x=>l.model=x),size:o.size,onBlur:a.handleCommit},null,8,["modelValue","size","onBlur"])):e.createCommentVNode("",!0),o.type==="textarea"?(e.openBlock(),e.createBlock(i,{key:2,modelValue:l.model,"onUpdate:modelValue":n[4]||(n[4]=x=>l.model=x),size:o.size,type:"textarea",rows:4,onBlur:a.handleCommit},null,8,["modelValue","size","onBlur"])):e.createCommentVNode("",!0),o.type==="richText"?(e.openBlock(),e.createBlock(E,{key:3,modelValue:l.model,"onUpdate:modelValue":n[5]||(n[5]=x=>l.model=x),onBlur:a.handleCommit},null,8,["modelValue","onBlur"])):e.createCommentVNode("",!0),o.type==="number"?(e.openBlock(),e.createBlock(b,{key:4,modelValue:l.model,"onUpdate:modelValue":n[6]||(n[6]=x=>l.model=x),size:o.size,controls:o.controls,min:o.min,max:o.max,step:o.step,precision:o.precision,onBlur:a.handleCommit,onChange:a.handleCommit},null,8,["modelValue","size","controls","min","max","step","precision","onBlur","onChange"])):e.createCommentVNode("",!0),o.type==="datetime"?(e.openBlock(),e.createBlock(S,{key:5,modelValue:l.model,"onUpdate:modelValue":n[7]||(n[7]=x=>l.model=x),size:o.size,type:"datetime",class:"datetime",format:o.format,"value-format":o.valueFormat,onBlur:a.handleCommit},null,8,["modelValue","size","format","value-format","onBlur"])):e.createCommentVNode("",!0),o.type==="select"?(e.openBlock(),e.createBlock(N,{key:6,modelValue:l.model,"onUpdate:modelValue":n[8]||(n[8]=x=>l.model=x),size:o.size,filterable:"",style:{width:"100%"},mini:"",onChange:a.handleCommit},{default:e.withCtx(()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(o.options,x=>(e.openBlock(),e.createBlock(_,{key:x.value,label:x.label,disabled:x.disabled,value:x.value},null,8,["label","disabled","value"]))),128))]),_:1},8,["modelValue","size","onChange"])):e.createCommentVNode("",!0),o.type==="remoteSelect"?(e.openBlock(),e.createBlock(N,{key:7,modelValue:l.model,"onUpdate:modelValue":n[9]||(n[9]=x=>l.model=x),size:o.size,filterable:"",remote:"",autocomplete:"","remote-show-suffix":"","remote-method":a.fetchSelectOptions,style:{width:"100%"},mini:"",onChange:a.handleCommit},{default:e.withCtx(()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(o.options,x=>(e.openBlock(),e.createBlock(_,{key:x.value,label:x.label,value:x.value},null,8,["label","value"]))),128))]),_:1},8,["modelValue","size","remote-method","onChange"])):e.createCommentVNode("",!0),o.type==="remotePortSelect"?(e.openBlock(),e.createBlock(N,{key:8,modelValue:l.model,"onUpdate:modelValue":n[10]||(n[10]=x=>l.model=x),size:o.size,filterable:"",remote:"",autocomplete:"","remote-show-suffix":"","remote-method":a.fetchSelectOptions,style:{width:"100%"},mini:"",onChange:a.handleCommit},{default:e.withCtx(()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(o.options,x=>(e.openBlock(),e.createBlock(_,{key:x.id,label:x.name,value:x.name},null,8,["label","value"]))),128))]),_:1},8,["modelValue","size","remote-method","onChange"])):e.createCommentVNode("",!0),o.type==="radio"?(e.openBlock(),e.createBlock(r,{key:9,modelValue:l.model,"onUpdate:modelValue":n[11]||(n[11]=x=>l.model=x),size:o.size,style:{width:"100%"},onChange:a.handleCommit},{default:e.withCtx(()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(o.radios,x=>(e.openBlock(),e.createBlock(D,{key:x.value,label:x.value},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(x.label),1)]),_:2},1032,["label"]))),128))]),_:1},8,["modelValue","size","onChange"])):e.createCommentVNode("",!0),o.type==="checkbox"?(e.openBlock(),e.createBlock(k,{key:10,modelValue:l.model,"onUpdate:modelValue":n[12]||(n[12]=x=>l.model=x),size:o.size,class:"checkbox",style:{width:"100%"},onChange:a.handleCommit},{default:e.withCtx(()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(o.checkboxs,x=>(e.openBlock(),e.createBlock(C,{label:x.value,key:x.label},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(x.label),1)]),_:2},1032,["label"]))),128))]),_:1},8,["modelValue","size","onChange"])):e.createCommentVNode("",!0)],64)):(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[typeof o.raw=="boolean"?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[o.raw?(e.openBlock(),e.createBlock(p,{key:0,size:"small",type:"success",style:{margin:"0",cursor:"pointer"},onDblclick:a.handleSwitch},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(o.value),1)]),_:1},8,["onDblclick"])):(e.openBlock(),e.createBlock(p,{key:1,size:"small",type:"info",style:{cursor:"pointer"},onDblclick:a.handleSwitch},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(o.value),1)]),_:1},8,["onDblclick"]))],64)):(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[o.type==="datetime"?(e.openBlock(),e.createElementBlock("span",{key:0,onDblclick:n[0]||(n[0]=(...x)=>a.handleEdit&&a.handleEdit(...x))},e.toDisplayString(a.computeUtcTime(o.value,o.format)),33)):o.type==="richText"?(e.openBlock(),e.createElementBlock("div",{key:1,innerHTML:o.value||""},null,8,oW)):(e.openBlock(),e.createElementBlock("span",{key:2,onDblclick:n[1]||(n[1]=(...x)=>a.handleEdit&&a.handleEdit(...x))},[typeof o.value=="number"?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[e.createTextVNode(e.toDisplayString(o.value),1)],64)):(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[e.createTextVNode(e.toDisplayString(o.value||"-"),1)],64))],32))],64))],64)),!o.disabled&&o.iconable&&typeof o.raw!="boolean"?(e.openBlock(),e.createElementBlock("div",lW,[l.editable?(e.openBlock(),e.createBlock(F,{key:1,size:o.size,type:"danger",link:"",style:{display:"block"},onClick:a.handleCancel},{default:e.withCtx(()=>[e.createVNode(P,null,{default:e.withCtx(()=>[e.createVNode(w)]),_:1})]),_:1},8,["size","onClick"])):(e.openBlock(),e.createBlock(F,{key:0,size:o.size,link:"",onClick:a.handleEdit},{default:e.withCtx(()=>[e.createVNode(P,null,{default:e.withCtx(()=>[e.createVNode(O)]),_:1})]),_:1},8,["size","onClick"]))])):e.createCommentVNode("",!0)],4)])}const An=De(eW,[["render",aW]]),nte="",nW={props:{report:{type:Object,default:()=>({})},gateway:{type:String,default:"https://cbe.idmwx.com"},token:{type:String,default:void 0}},components:{CirclePlus:tn.CirclePlus,Remove:tn.Remove,EditableItem:An,Editor:Ro,IdmBrand:yl},data(){return{extraData:void 0,extraPortList:[],portList:[],extraSummary:{time:void 0,foBrob:void 0,dgoBrob:void 0,bunkeringFo:void 0,bunkeringDgo:void 0},advisory:void 0,editable:!1,id:void 0}},watch:{report:{handler(t){t&&(this.fetchData(),this.fetchSuggestName())},immediate:!0}},computed:{computeColor(){return function(t){return t>0?"fail":t<0?"success":""}},computeUTCTime(){return function(t,n="MMM-DD/HHmm[Z]"){return t?`${T(t).utc().format(n)}`:"-"}},computedLngLat(){return function(t,n){const o=this.fetchLonLat(v.LngLatHelper.lat2pretty(t)),d=this.fetchLonLat(v.LngLatHelper.lng2pretty(n));return`${o} / ${d}`}},computeNum(){return function(t){return t||t==0?t<0?`(${t})`:t:"—"}}},methods:{fetchLonLat(t){return`${t.degree}°${v.roundPrecision(t.minute,2)}′${t.direction}`},fetchData(){var t,n,o,d;this.extraData=this.report,this.extraPortList=(t=this.report)!=null&&t.extraPorts?(n=this.report)==null?void 0:n.extraPorts:[],this.advisory=(o=this.report)!=null&&o.comments?(d=this.report)==null?void 0:d.comments:void 0,this.id=this.report.id},async fetchSuggestName(t){var o;const n=await fl.get(`${this.gateway}/api/arc/ports/suggest?n=${t}`,{headers:{Authorization:this.token}});this.portList=(o=n==null?void 0:n.data)==null?void 0:o.data},handleAdd(){const t={name:"",arrival:{date:null,foBrob:null,dgoBrob:null},departure:{date:null,foBrob:null,dgoBrob:null,bunkeringFo:null,bunkeringDgo:null}};this.extraPortList.push(t)},async handleRemove(t){var o,d,l,a,p;this.extraPortList.splice(t,1);const n=await fl.put(`${this.gateway}/api/als/deviations/${this.id}`,{extraPorts:this.extraPortList},{headers:{Authorization:this.token}});this.extraData=(o=n==null?void 0:n.data)==null?void 0:o.data,this.extraPortList=(l=(d=n==null?void 0:n.data)==null?void 0:d.data)==null?void 0:l.extraPorts,this.advisory=(a=this.report)!=null&&a.comments?(p=this.report)==null?void 0:p.comments:void 0},decideDisable(){this.editable=!this.editable},async handleCommit(t,n,o,d){var p,i,E,b,S;this.editable=!1;const l=n.indexOf(".");let a={};if((o||o==0)&&o!=""){if(t==="port"){if(l>0){const N=n.substring(0,l),D=n.substring(l+1);D!=="date"&&(o=Number(o)),this.extraPortList[d][N][D]=o}else this.extraPortList[d][n]=o;a={extraPorts:this.extraPortList}}else t==="comments"?(this.extraData[n]=o,a={[n]:o}):(this.extraData[n]=o,a={[n]:Number(o)});const _=await fl.put(`${this.gateway}/api/als/deviations/${this.id}`,a,{headers:{Authorization:this.token}});this.extraData=(p=_==null?void 0:_.data)==null?void 0:p.data,this.extraPortList=(E=(i=_==null?void 0:_.data)==null?void 0:i.data)==null?void 0:E.extraPorts,this.advisory=(b=this.report)!=null&&b.comments?(S=this.report)==null?void 0:S.comments:void 0}else hn.ElMessage({message:"Value cannot be empty.",type:"warning"})}}},B=t=>(e.pushScopeId("data-v-4829e189"),t=t(),e.popScopeId(),t),sW={class:"deviation-report"},iW={class:"section vessel-section"},dW={class:"report-summary"},cW={class:"summary-item"},rW=B(()=>e.createElementVNode("label",{class:"flex gray"},"Vessel Name",-1)),mW={class:"flexL gray"},hW={class:"summary-item"},pW=B(()=>e.createElementVNode("label",{class:"flex gray"},"Prepared For",-1)),EW={class:"flexL gray"},yW={class:"summary-item"},_W=B(()=>e.createElementVNode("label",{class:"flex gray"},"Vessel Type",-1)),NW={class:"flexL gray"},VW={class:"summary-item"},fW=B(()=>e.createElementVNode("label",{class:"flex gray"},"Reference Number",-1)),gW={class:"flexL gray"},DW={class:"summary-item"},xW=B(()=>e.createElementVNode("label",{class:"flex gray"},"Departure",-1)),bW={class:"flexL gray",style:{display:"flex"}},CW={class:"flex"},SW={class:"flexM"},kW={class:"summary-item"},AW=B(()=>e.createElementVNode("label",{class:"flex gray"},"Arrival",-1)),BW={class:"flexL gray",style:{display:"flex"}},wW={class:"flex"},TW={class:"flexM"},OW={class:"section summary-section"},FW=B(()=>e.createElementVNode("div",{class:"subtitle"},"Report Summary",-1)),PW={class:"report-summary"},uW={class:"summary-item"},LW=B(()=>e.createElementVNode("label",{class:"flex blue"},"Extra Distance (nm)",-1)),WW={class:"summary-item"},HW=B(()=>e.createElementVNode("label",{class:"flex blue"},"Total extra Time (hrs)",-1)),MW={class:"summary-item"},GW=B(()=>e.createElementVNode("label",{class:"flex blue"},"FO Total extra Consumption (mt)",-1)),IW={class:"summary-item"},RW=B(()=>e.createElementVNode("label",{class:"flex blue"},"DO/GO Total extra Consumption (mt)",-1)),zW={class:"section map-section"},UW=B(()=>e.createElementVNode("div",{class:"subtitle"},"Voyage Map",-1)),YW={class:"report-map"},ZW=["src"],QW=e.createStaticVNode('<div class="legend" data-v-4829e189><div class="legend-item" data-v-4829e189><div style="width:50px;height:0px;border:1px solid var(--actual-route);" data-v-4829e189></div><div data-v-4829e189>Actual Route</div></div><div class="legend-item" data-v-4829e189><div style="width:50px;height:0px;border:1px dashed var(--prior-route);" data-v-4829e189></div><div data-v-4829e189>Route prior to deviation</div></div></div>',1),JW={key:0,class:"section deviation-section"},KW=B(()=>e.createElementVNode("div",{class:"subtitle"},"Deviation Information",-1)),qW={class:"report-summary"},XW=e.createStaticVNode('<div class="summary-item" data-v-4829e189><div class="blue center" style="width:17%;" data-v-4829e189>Deviation</div><div class="blue center" style="width:20%;" data-v-4829e189>Position</div><div class="blue center" style="width:17%;" data-v-4829e189>Date Time</div><div class="flex blue center" data-v-4829e189>FO BROB<br data-v-4829e189>(mt)</div><div class="flex blue center" data-v-4829e189>DO/GO<br data-v-4829e189>BROB (mt)</div><div class="flex blue center" data-v-4829e189>Bunkering<br data-v-4829e189>FO (mt)</div><div class="flex blue center" data-v-4829e189>Bunkering<br data-v-4829e189>DO/GO (mt)</div></div>',1),jW={class:"summary-item"},$W=B(()=>e.createElementVNode("div",{class:"blue center",style:{width:"17%"}},"Deviation",-1)),vW={class:"blue center",style:{width:"20%"}},eH={class:"blue center",style:{width:"17%"}},tH={class:"flex blue center"},oH={class:"flex blue center"},lH=B(()=>e.createElementVNode("div",{class:"flex blue center"},null,-1)),aH=B(()=>e.createElementVNode("div",{class:"flex blue center"},null,-1)),nH={class:"summary-item"},sH=B(()=>e.createElementVNode("div",{class:"blue center",style:{width:"17%"}},"Back on Track",-1)),iH={class:"blue center",style:{width:"20%"}},dH={class:"blue center",style:{width:"17%"}},cH={class:"flex blue center"},rH={class:"flex blue center"},mH={class:"flex blue center"},hH={class:"flex blue center"},pH={class:"summary-item"},EH=B(()=>e.createElementVNode("div",{class:"blue center",style:{width:"17%"}},"Time & Consumption",-1)),yH=B(()=>e.createElementVNode("div",{class:"blue center",style:{width:"20%"}},null,-1)),_H={class:"blue center",style:{width:"17%"}},NH={class:"flex blue center"},VH={class:"flex blue center"},fH=B(()=>e.createElementVNode("div",{class:"flex blue center"},null,-1)),gH=B(()=>e.createElementVNode("div",{class:"flex blue center"},null,-1)),DH={class:"section cp-section"},xH=B(()=>e.createElementVNode("div",{class:"subtitle"},"CP Terms",-1)),bH={class:"report-summary"},CH={class:"summary-item"},SH=B(()=>e.createElementVNode("div",{class:"flex blue"},"CP Speed (kts)",-1)),kH={class:"flexL blue center"},AH={class:"summary-item"},BH=B(()=>e.createElementVNode("div",{class:"flex blue"},"CP Daily FO Consumption (mt)",-1)),wH={class:"flexL blue center"},TH={class:"summary-item"},OH=B(()=>e.createElementVNode("div",{class:"flex blue"},"CP Daily DO/GO Consumption (mt)",-1)),FH={class:"flexL blue center"},PH={class:"section port-section"},uH={class:"subtitle port"},LH=B(()=>e.createElementVNode("div",null,"Extra Port Information",-1)),WH={class:"print-hidden"},HH={class:"report-port"},MH=B(()=>e.createElementVNode("thead",null,[e.createElementVNode("tr",null,[e.createElementVNode("th",null,"Extra Port"),e.createElementVNode("th",null,"Event"),e.createElementVNode("th",null,"Date Time"),e.createElementVNode("th",null,"FO BROB(mt)"),e.createElementVNode("th",null,[e.createTextVNode("DO/GO"),e.createElementVNode("br"),e.createTextVNode("BROB(mt)")]),e.createElementVNode("th",null,[e.createTextVNode("Bunkering"),e.createElementVNode("br"),e.createTextVNode("FO(mt)")]),e.createElementVNode("th",null,[e.createTextVNode("Bunkering"),e.createElementVNode("br"),e.createTextVNode("DO/GO(mt)")]),e.createElementVNode("th",{class:"print-hidden"})])],-1)),GH={rowspan:2},IH=B(()=>e.createElementVNode("td",null,"Arrival",-1)),RH=B(()=>e.createElementVNode("td",null,null,-1)),zH=B(()=>e.createElementVNode("td",null,null,-1)),UH={rowspan:2,class:"print-hidden"},YH=B(()=>e.createElementVNode("td",null,"Departure",-1)),ZH=B(()=>e.createElementVNode("td",null,"Time & Consumption",-1)),QH=B(()=>e.createElementVNode("td",null,null,-1)),JH=B(()=>e.createElementVNode("td",null,null,-1)),KH=B(()=>e.createElementVNode("td",null,null,-1)),qH=B(()=>e.createElementVNode("td",{class:"print-hidden"},null,-1)),XH={class:"section distance-section"},jH=B(()=>e.createElementVNode("div",{class:"subtitle"},"Distance Analysis",-1)),$H={class:"report-summary"},vH=B(()=>e.createElementVNode("div",{class:"summary-item"},[e.createElementVNode("div",{class:"blue",style:{width:"30%"}}),e.createElementVNode("div",{class:"flex blue center"},"Actual Route"),e.createElementVNode("div",{class:"flex blue center"},"Route prior to deviation")],-1)),eM={class:"summary-item"},tM=B(()=>e.createElementVNode("div",{class:"blue",style:{width:"30%"}},"Distance (nm)",-1)),oM={class:"flex blue center"},lM={class:"flex blue center"},aM={class:"summary-item"},nM=B(()=>e.createElementVNode("div",{class:"blue",style:{width:"30%"}},"Extra Distance (nm)",-1)),sM={class:"flex blue center"},iM={class:"section time-section"},dM=B(()=>e.createElementVNode("div",{class:"subtitle"},"Time Analysis",-1)),cM={key:0,class:"report-formular"},rM={class:"equation"},mM=e.createStaticVNode('<div style="width:30%;text-align:left;" data-v-4829e189>Time for extra distance sailing (hrs)</div><div style="width:5%;" data-v-4829e189>=</div><div class="function" style="width:20%;" data-v-4829e189><div data-v-4829e189>Deviation Distance</div><div class="fractional-line" data-v-4829e189></div><div data-v-4829e189>CP Speed</div></div><div style="width:5%;" data-v-4829e189>=</div>',4),hM={class:"function",style:{width:"20%"}},pM=B(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),EM=B(()=>e.createElementVNode("div",{style:{width:"5%"}},"=",-1)),yM={style:{width:"10%"}},_M=B(()=>e.createElementVNode("div",{style:{width:"5%"}},"(hrs)",-1)),NM={class:"equation"},VM=e.createStaticVNode('<div style="width:18%;text-align:left;" data-v-4829e189>Total extra Time (hrs)</div><div style="width:2%;" data-v-4829e189>=</div><div style="width:28%;" data-v-4829e189>Time for extra distance sailing (hrs)</div><div style="width:2%;" data-v-4829e189>+</div><div style="width:23%;" data-v-4829e189>Time spent in extra port (hrs)</div><div style="width:2%;" data-v-4829e189>=</div>',6),fM={style:{width:"5%"}},gM=B(()=>e.createElementVNode("div",{style:{width:"2%"}},"+",-1)),DM={style:{width:"8%"}},xM=B(()=>e.createElementVNode("div",{style:{width:"2%"}},"=",-1)),bM={style:{width:"4%"}},CM=B(()=>e.createElementVNode("div",{style:{width:"5%"}},"(hrs)",-1)),SM={key:1,class:"report-formular"},kM={class:"equation"},AM=e.createStaticVNode('<div style="width:30%;text-align:left;" data-v-4829e189>Time for Route prior to deviation sailing (hrs)</div><div style="width:5%;" data-v-4829e189>=</div><div class="function" style="width:20%;" data-v-4829e189><div data-v-4829e189>Distance</div><div class="fractional-line" data-v-4829e189></div><div data-v-4829e189>CP Speed</div></div><div style="width:5%;" data-v-4829e189>=</div>',4),BM={class:"function",style:{width:"20%"}},wM=B(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),TM=B(()=>e.createElementVNode("div",{style:{width:"5%"}},"=",-1)),OM={style:{width:"10%"}},FM=B(()=>e.createElementVNode("div",{style:{width:"5%"}},"(hrs)",-1)),PM={key:0,class:"equation"},uM=e.createStaticVNode('<div style="width:18%;text-align:left;" data-v-4829e189>Total extra Time (hrs)</div><div style="width:2%;" data-v-4829e189>=</div><div style="width:24%;" data-v-4829e189>Time for Actual Route (hrs)</div><div style="width:2%;" data-v-4829e189>-</div><div style="width:30%;" data-v-4829e189>Time for Route prior to deviation sailing (hrs)</div><div style="width:2%;" data-v-4829e189>=</div>',6),LM={style:{width:"5%"}},WM=B(()=>e.createElementVNode("div",{style:{width:"2%"}},"-",-1)),HM={style:{width:"5%"}},MM=B(()=>e.createElementVNode("div",{style:{width:"2%"}},"=",-1)),GM={style:{width:"5%"}},IM=B(()=>e.createElementVNode("div",{style:{width:"5%"}},"(hrs)",-1)),RM={key:1,class:"equation"},zM=e.createStaticVNode('<div style="width:18%;text-align:left;" data-v-4829e189>Total extra Time (hrs)</div><div style="width:2%;" data-v-4829e189>=</div><div style="width:24%;" data-v-4829e189>Time for Actual Route (hrs)</div><div style="width:2%;" data-v-4829e189>-</div><div style="width:20%;" data-v-4829e189>Time for Route prior to deviation sailing (hrs)</div><div style="width:2%;" data-v-4829e189>-</div><div style="width:10%;" data-v-4829e189>Time spent in port (hrs)</div><div style="width:2%;" data-v-4829e189>=</div>',8),UM={style:{width:"5%"}},YM=B(()=>e.createElementVNode("div",{style:{width:"2%"}},"-",-1)),ZM={style:{width:"5%"}},QM=B(()=>e.createElementVNode("div",{style:{width:"2%"}},"-",-1)),JM={style:{width:"5%"}},KM=B(()=>e.createElementVNode("div",{style:{width:"2%"}},"=",-1)),qM={style:{width:"5%"}},XM=B(()=>e.createElementVNode("div",{style:{width:"5%"}},"(hrs)",-1)),jM={key:2,class:"report-summary"},$M={class:"summary-item"},vM=B(()=>e.createElementVNode("div",{class:"blue",style:{width:"30%"}},"Time for extra distance sailing (hrs)",-1)),eG={class:"flex blue center"},tG={class:"summary-item"},oG=B(()=>e.createElementVNode("div",{class:"blue",style:{width:"30%"}},"Time spent in extra port (hrs)",-1)),lG={class:"flex blue center"},aG={class:"summary-item"},nG=B(()=>e.createElementVNode("div",{class:"blue",style:{width:"30%"}},"Total extra Time (hrs)",-1)),sG={class:"flex blue center"},iG={key:3,class:"report-summary"},dG={class:"summary-item"},cG=B(()=>e.createElementVNode("div",{class:"blue",style:{width:"40%"}},"Time for Route prior to deviation sailing (hrs)",-1)),rG={class:"flex blue center"},mG={class:"summary-item"},hG=B(()=>e.createElementVNode("div",{class:"blue",style:{width:"40%"}},"Time for Actual Route (hrs)",-1)),pG={class:"flex blue center"},EG={key:0,class:"summary-item"},yG=B(()=>e.createElementVNode("div",{class:"blue",style:{width:"40%"}},"Time spent in port (hrs)",-1)),_G={class:"flex blue center"},NG={class:"summary-item"},VG=B(()=>e.createElementVNode("div",{class:"blue",style:{width:"40%"}},"Total extra Time (hrs)",-1)),fG={class:"flex blue center"},gG={class:"section consumption-section"},DG=B(()=>e.createElementVNode("div",{class:"subtitle"},"Consumption Analysis",-1)),xG={key:0,class:"report-formular"},bG={class:"equation"},CG=e.createStaticVNode('<div style="width:20%;text-align:left;" data-v-4829e189>FO Consumption for extra distance sailing</div><div style="width:2%;" data-v-4829e189>=</div><div class="function" style="width:30%;" data-v-4829e189><div data-v-4829e189>Deviation Distance</div><div class="fractional-line" data-v-4829e189></div><div data-v-4829e189>CP Speed</div></div><div style="width:3%;" data-v-4829e189>×</div><div class="function" style="width:23%;" data-v-4829e189><div data-v-4829e189>Daily FO Consumption</div><div class="fractional-line" data-v-4829e189></div><div data-v-4829e189>24</div></div><div style="width:3%;" data-v-4829e189>=</div>',6),SG={class:"function",style:{width:"5%"}},kG=B(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),AG=B(()=>e.createElementVNode("div",{style:{width:"3%"}},"×",-1)),BG={class:"function",style:{width:"5%"}},wG=B(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),TG=B(()=>e.createElementVNode("div",null,"24",-1)),OG=B(()=>e.createElementVNode("div",{style:{width:"3%"}},"=",-1)),FG={style:{width:"5%"}},PG=B(()=>e.createElementVNode("div",{style:{width:"5%"}},"(mt)",-1)),uG={class:"equation"},LG=e.createStaticVNode('<div style="width:20%;text-align:left;" data-v-4829e189>FO Total Extra Consumption(mt)</div><div style="width:2%;" data-v-4829e189>=</div><div style="width:30%;" data-v-4829e189>FO Consumption for extra distance sailing (mt)</div><div style="width:3%;" data-v-4829e189>+</div><div style="width:23%;" data-v-4829e189>FO Consumption in extra port (mt)</div><div style="width:3%;" data-v-4829e189>=</div>',6),WG={style:{width:"5%"}},HG=B(()=>e.createElementVNode("div",{style:{width:"3%"}},"+",-1)),MG={style:{width:"5%"}},GG=B(()=>e.createElementVNode("div",{style:{width:"3%"}},"=",-1)),IG={style:{width:"5%"}},RG=B(()=>e.createElementVNode("div",{style:{width:"5%"}},"(mt)",-1)),zG={class:"equation"},UG=e.createStaticVNode('<div style="width:20%;text-align:left;" data-v-4829e189>DO Consumption for extra distance sailing</div><div style="width:2%;" data-v-4829e189>=</div><div class="function" style="width:30%;" data-v-4829e189><div data-v-4829e189>Deviation Distance</div><div class="fractional-line" data-v-4829e189></div><div data-v-4829e189>CP Speed</div></div><div style="width:3%;" data-v-4829e189>×</div><div class="function" style="width:23%;" data-v-4829e189><div data-v-4829e189>Daily DO Consumption</div><div class="fractional-line" data-v-4829e189></div><div data-v-4829e189>24</div></div><div style="width:3%;" data-v-4829e189>=</div>',6),YG={class:"function",style:{width:"5%"}},ZG=B(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),QG=B(()=>e.createElementVNode("div",{style:{width:"3%"}},"×",-1)),JG={class:"function",style:{width:"5%"}},KG=B(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),qG=B(()=>e.createElementVNode("div",null,"24",-1)),XG=B(()=>e.createElementVNode("div",{style:{width:"3%"}},"=",-1)),jG={style:{width:"5%"}},$G=B(()=>e.createElementVNode("div",{style:{width:"5%"}},"(mt)",-1)),vG={class:"equation"},eI=e.createStaticVNode('<div style="width:20%;text-align:left;" data-v-4829e189>DO/GO Total Extra Consumption(mt)</div><div style="width:2%;" data-v-4829e189>=</div><div style="width:30%;" data-v-4829e189>DO/GO Consumption for extra distance sailing(mt)</div><div style="width:3%;" data-v-4829e189>-</div><div style="width:23%;" data-v-4829e189>DO/GO Consumption in extra port(mt)</div><div style="width:3%;" data-v-4829e189>=</div>',6),tI={style:{width:"5%"}},oI=B(()=>e.createElementVNode("div",{style:{width:"3%"}},"-",-1)),lI={style:{width:"5%"}},aI=B(()=>e.createElementVNode("div",{style:{width:"3%"}},"=",-1)),nI={style:{width:"5%"}},sI=B(()=>e.createElementVNode("div",{style:{width:"5%"}},"(mt)",-1)),iI={key:1,class:"report-formular"},dI={class:"equation"},cI=e.createStaticVNode('<div style="width:20%;text-align:left;" data-v-4829e189>FO Consumption for Route prior to deviation sailing</div><div style="width:2%;" data-v-4829e189>=</div><div class="function" style="width:30%;" data-v-4829e189><div data-v-4829e189>Route prior to deviation Distance</div><div class="fractional-line" data-v-4829e189></div><div data-v-4829e189>CP Speed</div></div><div style="width:3%;" data-v-4829e189>×</div><div class="function" style="width:23%;" data-v-4829e189><div data-v-4829e189>CP Daily FO Consumption</div><div class="fractional-line" data-v-4829e189></div><div data-v-4829e189>24</div></div><div style="width:3%;" data-v-4829e189>=</div>',6),rI={class:"function",style:{width:"5%"}},mI=B(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),hI=B(()=>e.createElementVNode("div",{style:{width:"3%"}},"×",-1)),pI={class:"function",style:{width:"5%"}},EI=B(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),yI=B(()=>e.createElementVNode("div",null,"24",-1)),_I=B(()=>e.createElementVNode("div",{style:{width:"3%"}},"=",-1)),NI={style:{width:"5%"}},VI=B(()=>e.createElementVNode("div",{style:{width:"5%"}},"(mt)",-1)),fI={class:"equation"},gI=e.createStaticVNode('<div style="width:20%;text-align:left;" data-v-4829e189>DO Consumption for Route prior to deviation sailing</div><div style="width:2%;" data-v-4829e189>=</div><div class="function" style="width:30%;" data-v-4829e189><div data-v-4829e189>Route prior to deviation Distance</div><div class="fractional-line" data-v-4829e189></div><div data-v-4829e189>CP Speed</div></div><div style="width:3%;" data-v-4829e189>×</div><div class="function" style="width:23%;" data-v-4829e189><div data-v-4829e189>CP Daily DO Consumption</div><div class="fractional-line" data-v-4829e189></div><div data-v-4829e189>24</div></div><div style="width:3%;" data-v-4829e189>=</div>',6),DI={class:"function",style:{width:"5%"}},xI=B(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),bI=B(()=>e.createElementVNode("div",{style:{width:"3%"}},"×",-1)),CI={class:"function",style:{width:"5%"}},SI=B(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),kI=B(()=>e.createElementVNode("div",null,"24",-1)),AI=B(()=>e.createElementVNode("div",{style:{width:"3%"}},"=",-1)),BI={style:{width:"5%"}},wI=B(()=>e.createElementVNode("div",{style:{width:"5%"}},"(mt)",-1)),TI={key:0,class:"equation"},OI=e.createStaticVNode('<div style="width:20%;text-align:left;" data-v-4829e189>FO Total Extra Consumption(mt)</div><div style="width:2%;" data-v-4829e189>=</div><div style="width:30%;" data-v-4829e189>FO Consumption for Actual Route</div><div style="width:3%;" data-v-4829e189>-</div><div style="width:23%;" data-v-4829e189>FO Consumption for Route prior to deviation sailing</div><div style="width:3%;" data-v-4829e189>=</div>',6),FI={style:{width:"5%"}},PI=B(()=>e.createElementVNode("div",{style:{width:"3%"}},"-",-1)),uI={style:{width:"5%"}},LI=B(()=>e.createElementVNode("div",{style:{width:"3%"}},"=",-1)),WI={style:{width:"5%"}},HI=B(()=>e.createElementVNode("div",{style:{width:"5%"}},"(mt)",-1)),MI={key:1,class:"equation"},GI=e.createStaticVNode('<div style="width:15%;text-align:left;" data-v-4829e189>FO Total Extra Consumption(mt)</div><div style="width:2%;" data-v-4829e189>=</div><div style="width:15%;" data-v-4829e189>FO Consumption for Actual Route</div><div style="width:3%;" data-v-4829e189>-</div><div style="width:20%;" data-v-4829e189>FO Consumption for Route prior to deviation sailing</div><div style="width:3%;" data-v-4829e189>-</div><div style="width:10%;" data-v-4829e189>FO Consumption in port</div><div style="width:3%;" data-v-4829e189>=</div>',8),II={style:{width:"5%"}},RI=B(()=>e.createElementVNode("div",{style:{width:"3%"}},"-",-1)),zI={style:{width:"5%"}},UI=B(()=>e.createElementVNode("div",{style:{width:"3%"}},"-",-1)),YI={style:{width:"5%"}},ZI=B(()=>e.createElementVNode("div",{style:{width:"3%"}},"=",-1)),QI={style:{width:"5%"}},JI=B(()=>e.createElementVNode("div",{style:{width:"5%"}},"(mt)",-1)),KI={key:2,class:"equation"},qI=e.createStaticVNode('<div style="width:20%;text-align:left;" data-v-4829e189>DO/GO Total Extra Consumption(mt)</div><div style="width:2%;" data-v-4829e189>=</div><div style="width:30%;" data-v-4829e189>DO/GO Consumption for Actual Route</div><div style="width:3%;" data-v-4829e189>-</div><div style="width:23%;" data-v-4829e189>DO/GO Consumption for Route prior to deviation sailing</div><div style="width:3%;" data-v-4829e189>=</div>',6),XI={style:{width:"5%"}},jI=B(()=>e.createElementVNode("div",{style:{width:"3%"}},"-",-1)),$I={style:{width:"5%"}},vI=B(()=>e.createElementVNode("div",{style:{width:"3%"}},"=",-1)),eR={style:{width:"5%"}},tR=B(()=>e.createElementVNode("div",{style:{width:"5%"}},"(mt)",-1)),oR={key:3,class:"equation"},lR=e.createStaticVNode('<div style="width:15%;text-align:left;" data-v-4829e189>DO/GO Total Extra Consumption(mt)</div><div style="width:2%;" data-v-4829e189>=</div><div style="width:15%;" data-v-4829e189>DO/GO Consumption for Actual Route</div><div style="width:3%;" data-v-4829e189>-</div><div style="width:20%;" data-v-4829e189>DO/GO Consumption for Route prior to deviation sailing</div><div style="width:3%;" data-v-4829e189>-</div><div style="width:10%;" data-v-4829e189>DO/GO Consumption in port</div><div style="width:3%;" data-v-4829e189>=</div>',8),aR={style:{width:"5%"}},nR=B(()=>e.createElementVNode("div",{style:{width:"3%"}},"-",-1)),sR={style:{width:"5%"}},iR=B(()=>e.createElementVNode("div",{style:{width:"3%"}},"-",-1)),dR={style:{width:"5%"}},cR=B(()=>e.createElementVNode("div",{style:{width:"3%"}},"=",-1)),rR={style:{width:"5%"}},mR=B(()=>e.createElementVNode("div",{style:{width:"5%"}},"(mt)",-1)),hR={key:2,class:"report-summary"},pR=B(()=>e.createElementVNode("div",{class:"summary-item"},[e.createElementVNode("div",{class:"blue flexM"}),e.createElementVNode("div",{class:"flex blue center"},"FO"),e.createElementVNode("div",{class:"flex blue center"},"DO/GO")],-1)),ER={class:"summary-item"},yR=B(()=>e.createElementVNode("div",{class:"blue flexM"},"Consumption for extra distance sailing (mt)",-1)),_R={class:"flex blue center"},NR={class:"flex blue center"},VR={class:"summary-item"},fR=B(()=>e.createElementVNode("div",{class:"blue flexM"},"Consumption in extra port (mt)",-1)),gR={class:"flex blue center"},DR={class:"flex blue center"},xR={class:"summary-item"},bR=B(()=>e.createElementVNode("div",{class:"blue flexM"},"Total extra Consumption (mt)",-1)),CR={key:3,class:"report-summary"},SR=B(()=>e.createElementVNode("div",{class:"summary-item"},[e.createElementVNode("div",{class:"blue flexM"}),e.createElementVNode("div",{class:"flex blue center"},"FO"),e.createElementVNode("div",{class:"flex blue center"},"DO/GO")],-1)),kR={class:"summary-item"},AR=B(()=>e.createElementVNode("div",{class:"blue flexM"},"Consumption for Route prior to deviation sailing (mt)",-1)),BR={class:"flex blue center"},wR={class:"flex blue center"},TR={class:"summary-item"},OR=B(()=>e.createElementVNode("div",{class:"blue flexM"},"Consumption for Actual Route (mt)",-1)),FR={class:"flex blue center"},PR={class:"flex blue center"},uR={key:0,class:"summary-item"},LR=B(()=>e.createElementVNode("div",{class:"blue flexM"},"Consumption in port (hrs)",-1)),WR={class:"flex blue center"},HR={class:"flex blue center"},MR={class:"summary-item"},GR=B(()=>e.createElementVNode("div",{class:"blue flexM"},"Total extra Consumption (mt)",-1)),IR={class:"section comment-section"},RR=["innerHTML"];function zR(t,n,o,d,l,a){var N,D,r,C,k,O,P,F,w,x,u,R,Z,z,W,f,Y,G,H,K,q,j,X,V,M,J,s,$,c,ee,oe,te,se,ie,ce,re,he,pe,Ee,de,ye,xe,be,Ce,Se,ke,Ae,Be,Fe,Pe,fe,L,_e,ue,Le,We,we,He,Ke,qe,U,Oe,ze,Ue,Ye,Ze,Qe,Je,y,Q,ge,Te,Me,me,Xe,$e,ve,ot,lt,at,nt,mt,ht,pt,Et,yt,_t,Nt,Vt,ft,gt,Dt,xt,bt,Ct,St,kt,At,Bt,wt,Tt,Ht,ho,yo,_o,No,Vo,I,tt,Ot,Ft,Mt,Gt,It,Rt,zt,Ut,Yt,Zt,Qt,Jt,Kt,qt,Xt,jt,$t,vt,eo,to,oo,lo,ao,no,so,io,co,fo,go,Do,xo,bo,Co,So,ko,Ao,Bo,wo,To,Oo,Fo,Po,uo,Lo,Wo,Ho,Mo,Go,Io,Uo,Yo,Zo,Qo,Jo,Ko,qo,Xo,jo,$o,vo,el,tl,ol,ll,al,nl,sl,il,dl,cl,rl,ml,hl,pl,El,Pt,Nl,gl,Dl,xl,bl,Cl,Sl,kl,Al,Bl,wl,Tl,Ol,Fl,Pl,ul,Ll,Wl,Hl,Ml,Gl,Il,Rl,zl,Ul,Yl,Zl,Ql,Jl,Kl,ql,Xl,jl,$l,vl,ea,ta,oa,la,aa,na,sa,ia,da,ca,ra,ma,ha,pa,Ea,ya,_a,Na,Va,fa,ga,Da,xa,ba,Ca,Sa,ka,Aa,Ba,wa,Ta,Oa,Fa,Pa,ua,La,Wa,Ha,Ma,Ga,Ia,Ra,za,Ua,Ya,ae,ro,Za,Qa,Ja;const p=e.resolveComponent("IdmBrand"),i=e.resolveComponent("EditableItem"),E=e.resolveComponent("CirclePlus"),b=e.resolveComponent("el-icon"),S=e.resolveComponent("Remove"),_=e.resolveComponent("Editor");return e.openBlock(),e.createElementBlock("div",sW,[e.createVNode(p,{name:"Voyage Deviation Report"}),e.createElementVNode("div",iW,[e.createElementVNode("div",dW,[e.createElementVNode("div",cW,[rW,e.createElementVNode("div",mW,e.toDisplayString((D=(N=l.extraData)==null?void 0:N.vessel)==null?void 0:D.name),1)]),e.createElementVNode("div",hW,[pW,e.createElementVNode("div",EW,e.toDisplayString((r=l.extraData)==null?void 0:r.preparedFor),1)]),e.createElementVNode("div",yW,[_W,e.createElementVNode("div",NW,e.toDisplayString((k=(C=l.extraData)==null?void 0:C.vessel)==null?void 0:k.type),1)]),e.createElementVNode("div",VW,[fW,e.createElementVNode("div",gW,e.toDisplayString((P=(O=l.extraData)==null?void 0:O.voyage)==null?void 0:P.number),1)]),e.createElementVNode("div",DW,[xW,e.createElementVNode("div",bW,[e.createElementVNode("span",CW,e.toDisplayString((w=(F=l.extraData)==null?void 0:F.departure)==null?void 0:w.name),1),e.createElementVNode("span",SW,e.toDisplayString(a.computeUTCTime(((u=(x=l.extraData)==null?void 0:x.departure)==null?void 0:u.atd)||((Z=(R=l.extraData)==null?void 0:R.departure)==null?void 0:Z.etd))),1)])]),e.createElementVNode("div",kW,[AW,e.createElementVNode("div",BW,[e.createElementVNode("span",wW,e.toDisplayString((W=(z=l.extraData)==null?void 0:z.arrival)==null?void 0:W.name),1),e.createElementVNode("span",TW,e.toDisplayString(a.computeUTCTime(((Y=(f=l.extraData)==null?void 0:f.arrival)==null?void 0:Y.ata)||((H=(G=l.extraData)==null?void 0:G.arrival)==null?void 0:H.eta))),1)])])])]),e.createElementVNode("div",OW,[FW,e.createElementVNode("div",PW,[e.createElementVNode("div",uW,[LW,e.createElementVNode("div",{class:e.normalizeClass(`${a.computeColor((K=l.extraData)==null?void 0:K.extraDist)} flex blue`)},e.toDisplayString(((q=l.extraData)==null?void 0:q.extraDist)??"—"),3)]),e.createElementVNode("div",WW,[HW,e.createElementVNode("div",{class:e.normalizeClass(`${a.computeColor((X=(j=l.extraData)==null?void 0:j.timeAnalysis)==null?void 0:X.totalExtraTime)} flex blue`)},e.toDisplayString(((M=(V=l.extraData)==null?void 0:V.timeAnalysis)==null?void 0:M.totalExtraTime)??"—"),3)]),e.createElementVNode("div",MW,[GW,e.createElementVNode("div",{class:e.normalizeClass(`${a.computeColor(($=(s=(J=l.extraData)==null?void 0:J.consAnalysis)==null?void 0:s.fo)==null?void 0:$.totalExtraCons)} flex blue`)},e.toDisplayString(((oe=(ee=(c=l.extraData)==null?void 0:c.consAnalysis)==null?void 0:ee.fo)==null?void 0:oe.totalExtraCons)??"—"),3)]),e.createElementVNode("div",IW,[RW,e.createElementVNode("div",{class:e.normalizeClass(`${a.computeColor((ie=(se=(te=l.extraData)==null?void 0:te.consAnalysis)==null?void 0:se.dgo)==null?void 0:ie.totalExtraCons)} flex blue`)},e.toDisplayString(((he=(re=(ce=l.extraData)==null?void 0:ce.consAnalysis)==null?void 0:re.dgo)==null?void 0:he.totalExtraCons)??"—"),3)])])]),e.createElementVNode("div",zW,[UW,e.createElementVNode("div",YW,[e.createElementVNode("img",{style:{width:"100%"},src:(pe=l.extraData)==null?void 0:pe.chartUrl,alt:""},null,8,ZW),QW])]),((Ee=o.report)==null?void 0:Ee.method)==="ConsExtrapolate"?(e.openBlock(),e.createElementBlock("div",JW,[KW,e.createElementVNode("div",qW,[XW,e.createElementVNode("div",jW,[$W,e.createElementVNode("div",vW,e.toDisplayString(a.computedLngLat((de=l.extraData)==null?void 0:de.startLng,(ye=l.extraData)==null?void 0:ye.startLat)),1),e.createElementVNode("div",eH,e.toDisplayString(a.computeUTCTime((xe=l.extraData)==null?void 0:xe.startTime,"MMM DD,YYYY HHmm")),1),e.createElementVNode("div",tH,[e.createVNode(i,{style:{padding:"0px"},class:"editable-item",value:(be=l.extraData)==null?void 0:be.startFoBrob,iconable:!1,size:"small",type:"alphanumeric",align:"center",onCommit:n[0]||(n[0]=ne=>a.handleCommit("extra","startFoBrob",ne))},null,8,["value"])]),e.createElementVNode("div",oH,[e.createVNode(i,{style:{padding:"0px"},class:"editable-item",value:(Ce=l.extraData)==null?void 0:Ce.startDgoBrob,iconable:!1,size:"small",type:"alphanumeric",align:"center",onCommit:n[1]||(n[1]=ne=>a.handleCommit("extra","startDgoBrob",ne))},null,8,["value"])]),lH,aH]),e.createElementVNode("div",nH,[sH,e.createElementVNode("div",iH,e.toDisplayString(a.computedLngLat((Se=l.extraData)==null?void 0:Se.endLng,(ke=l.extraData)==null?void 0:ke.endLat)),1),e.createElementVNode("div",dH,e.toDisplayString(a.computeUTCTime((Ae=l.extraData)==null?void 0:Ae.endTime,"MMM DD,YYYY HHmm")),1),e.createElementVNode("div",cH,[e.createVNode(i,{style:{padding:"0px"},class:"editable-item",value:(Be=l.extraData)==null?void 0:Be.endFoBrob,iconable:!1,size:"small",type:"alphanumeric",align:"center",onCommit:n[2]||(n[2]=ne=>a.handleCommit("extra","endFoBrob",ne))},null,8,["value"])]),e.createElementVNode("div",rH,[e.createVNode(i,{style:{padding:"0px"},class:"editable-item",value:(Fe=l.extraData)==null?void 0:Fe.endDgoBrob,iconable:!1,size:"small",type:"alphanumeric",align:"center",onCommit:n[3]||(n[3]=ne=>a.handleCommit("extra","endDgoBrob",ne))},null,8,["value"])]),e.createElementVNode("div",mH,[e.createVNode(i,{style:{padding:"0px"},class:"editable-item",value:(Pe=l.extraData)==null?void 0:Pe.endFoBunkering,iconable:!1,size:"small",type:"alphanumeric",align:"center",onCommit:n[4]||(n[4]=ne=>a.handleCommit("extra","endFoBunkering",ne))},null,8,["value"])]),e.createElementVNode("div",hH,[e.createVNode(i,{style:{padding:"0px"},class:"editable-item",value:(fe=l.extraData)==null?void 0:fe.endDgoBunkering,iconable:!1,size:"small",type:"alphanumeric",align:"center",onCommit:n[5]||(n[5]=ne=>a.handleCommit("extra","endDgoBunkering",ne))},null,8,["value"])])]),e.createElementVNode("div",pH,[EH,yH,e.createElementVNode("div",_H,e.toDisplayString(((_e=(L=l.extraData)==null?void 0:L.timeAnalysis)==null?void 0:_e.actualTime)??"—"),1),e.createElementVNode("div",NH,e.toDisplayString(((We=(Le=(ue=l.extraData)==null?void 0:ue.consAnalysis)==null?void 0:Le.fo)==null?void 0:We.actualCons)??"—"),1),e.createElementVNode("div",VH,e.toDisplayString(((Ke=(He=(we=l.extraData)==null?void 0:we.consAnalysis)==null?void 0:He.dgo)==null?void 0:Ke.actualCons)??"—"),1),fH,gH])])])):e.createCommentVNode("",!0),e.createElementVNode("div",DH,[xH,e.createElementVNode("div",bH,[e.createElementVNode("div",CH,[SH,e.createElementVNode("div",kH,e.toDisplayString(((U=(qe=l.extraData)==null?void 0:qe.cp)==null?void 0:U.speed)??"—"),1)]),e.createElementVNode("div",AH,[BH,e.createElementVNode("div",wH,e.toDisplayString(((ze=(Oe=l.extraData)==null?void 0:Oe.cp)==null?void 0:ze.fo)??"—"),1)]),e.createElementVNode("div",TH,[OH,e.createElementVNode("div",FH,e.toDisplayString(((Ye=(Ue=l.extraData)==null?void 0:Ue.cp)==null?void 0:Ye.dgo)??"—"),1)])])]),e.createElementVNode("div",PH,[e.createElementVNode("div",uH,[LH,e.createElementVNode("div",WH,[e.createVNode(b,{size:20,onClick:a.handleAdd},{default:e.withCtx(()=>[e.createVNode(E)]),_:1},8,["onClick"])])]),e.createElementVNode("div",HH,[e.createElementVNode("table",null,[MH,e.createElementVNode("tbody",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(l.extraPortList,(ne,mo)=>{var Ka,qa,Xa,rt,an,nn,sn,dn;return e.openBlock(),e.createElementBlock(e.Fragment,{key:mo},[e.createElementVNode("tr",null,[e.createElementVNode("td",GH,[e.createVNode(i,{class:"editable-item",value:ne==null?void 0:ne.name,type:"remotePortSelect",size:"small",align:"center",options:l.portList,onSelect:a.fetchSuggestName,onCommit:ut=>a.handleCommit("port","name",ut,mo)},null,8,["value","options","onSelect","onCommit"])]),IH,e.createElementVNode("td",null,[e.createVNode(i,{class:"check editable-item",value:(Ka=ne==null?void 0:ne.arrival)==null?void 0:Ka.date,size:"small",format:"MMM-DD,YYYY|HHmm[Z]",iconable:!1,type:"datetime",align:"center",onCommit:ut=>a.handleCommit("port","arrival.date",ut,mo)},null,8,["value","onCommit"])]),e.createElementVNode("td",null,[e.createVNode(i,{class:"editable-item",value:(qa=ne==null?void 0:ne.arrival)==null?void 0:qa.foBrob,iconable:!1,size:"small",type:"alphanumeric",align:"center",onCommit:ut=>a.handleCommit("port","arrival.foBrob",ut,mo)},null,8,["value","onCommit"])]),e.createElementVNode("td",null,[e.createVNode(i,{class:"editable-item",value:(Xa=ne==null?void 0:ne.arrival)==null?void 0:Xa.dgoBrob,iconable:!1,size:"small",type:"alphanumeric",align:"center",onCommit:ut=>a.handleCommit("port","arrival.dgoBrob",ut,mo)},null,8,["value","onCommit"])]),RH,zH,e.createElementVNode("td",UH,[e.createVNode(b,{size:20,onClick:ut=>a.handleRemove(mo)},{default:e.withCtx(()=>[e.createVNode(S)]),_:2},1032,["onClick"])])]),e.createElementVNode("tr",null,[YH,e.createElementVNode("td",null,[e.createVNode(i,{class:"check editable-item",value:(rt=ne==null?void 0:ne.departure)==null?void 0:rt.date,size:"small",format:"MMM-DD,YYYY|HHmm[Z]",iconable:!1,type:"datetime",align:"center",onCommit:ut=>a.handleCommit("port","departure.date",ut,mo)},null,8,["value","onCommit"])]),e.createElementVNode("td",null,[e.createVNode(i,{class:"editable-item",value:(an=ne==null?void 0:ne.departure)==null?void 0:an.foBrob,iconable:!1,size:"small",type:"alphanumeric",align:"center",onCommit:ut=>a.handleCommit("port","departure.foBrob",ut,mo)},null,8,["value","onCommit"])]),e.createElementVNode("td",null,[e.createVNode(i,{class:"editable-item",value:(nn=ne==null?void 0:ne.departure)==null?void 0:nn.dgoBrob,iconable:!1,size:"small",type:"alphanumeric",align:"center",onCommit:ut=>a.handleCommit("port","departure.dgoBrob",ut,mo)},null,8,["value","onCommit"])]),e.createElementVNode("td",null,[e.createVNode(i,{class:"editable-item",value:(sn=ne==null?void 0:ne.departure)==null?void 0:sn.bunkeringFo,iconable:!1,size:"small",type:"alphanumeric",align:"center",onCommit:ut=>a.handleCommit("port","departure.bunkeringFo",ut,mo)},null,8,["value","onCommit"])]),e.createElementVNode("td",null,[e.createVNode(i,{class:"editable-item",value:(dn=ne==null?void 0:ne.departure)==null?void 0:dn.bunkeringDgo,iconable:!1,size:"small",type:"alphanumeric",align:"center",onCommit:ut=>a.handleCommit("port","departure.bunkeringDgo",ut,mo)},null,8,["value","onCommit"])])])],64)}),128)),e.createElementVNode("tr",null,[ZH,QH,e.createElementVNode("td",null,e.toDisplayString(((Qe=(Ze=l.extraData)==null?void 0:Ze.timeAnalysis)==null?void 0:Qe.portTime)??"—"),1),e.createElementVNode("td",null,e.toDisplayString(((Q=(y=(Je=l.extraData)==null?void 0:Je.consAnalysis)==null?void 0:y.fo)==null?void 0:Q.portCons)??"—"),1),e.createElementVNode("td",null,e.toDisplayString(((Me=(Te=(ge=l.extraData)==null?void 0:ge.consAnalysis)==null?void 0:Te.dgo)==null?void 0:Me.portCons)??"—"),1),JH,KH,qH])])])])]),e.createElementVNode("div",XH,[jH,e.createElementVNode("div",$H,[vH,e.createElementVNode("div",eM,[tM,e.createElementVNode("div",oM,[e.createVNode(i,{class:"editable-item",style:{padding:"0px"},value:(me=l.extraData)==null?void 0:me.actualDist,iconable:!1,size:"small",type:"alphanumeric",align:"center",onCommit:n[6]||(n[6]=ne=>a.handleCommit("extraData","actualDist",ne,t.index))},null,8,["value"])]),e.createElementVNode("div",lM,[e.createVNode(i,{class:"editable-item",style:{padding:"0px"},value:(Xe=l.extraData)==null?void 0:Xe.priorDist,iconable:!1,size:"small",type:"alphanumeric",align:"center",onCommit:n[7]||(n[7]=ne=>a.handleCommit("extraData","priorDist",ne,t.index))},null,8,["value"])])]),e.createElementVNode("div",aM,[nM,e.createElementVNode("div",sM,e.toDisplayString((($e=l.extraData)==null?void 0:$e.extraDist)??"—"),1)])])]),e.createElementVNode("div",iM,[dM,((ve=o.report)==null?void 0:ve.method)==="DistExtrapolate"?(e.openBlock(),e.createElementBlock("div",cM,[e.createElementVNode("div",rM,[mM,e.createElementVNode("div",hM,[e.createElementVNode("div",null,e.toDisplayString((ot=l.extraData)==null?void 0:ot.extraDist),1),pM,e.createElementVNode("div",null,e.toDisplayString((at=(lt=l.extraData)==null?void 0:lt.cp)==null?void 0:at.speed),1)]),EM,e.createElementVNode("div",yM,e.toDisplayString((mt=(nt=l.extraData)==null?void 0:nt.timeAnalysis)==null?void 0:mt.sailingTime),1),_M]),e.createElementVNode("div",NM,[VM,e.createElementVNode("div",fM,e.toDisplayString((pt=(ht=l.extraData)==null?void 0:ht.timeAnalysis)==null?void 0:pt.sailingTime),1),gM,e.createElementVNode("div",DM,e.toDisplayString(a.computeNum((yt=(Et=l.extraData)==null?void 0:Et.timeAnalysis)==null?void 0:yt.portTime)),1),xM,e.createElementVNode("div",bM,e.toDisplayString((Nt=(_t=l.extraData)==null?void 0:_t.timeAnalysis)==null?void 0:Nt.totalExtraTime),1),CM])])):(e.openBlock(),e.createElementBlock("div",SM,[e.createElementVNode("div",kM,[AM,e.createElementVNode("div",BM,[e.createElementVNode("div",null,e.toDisplayString((Vt=l.extraData)==null?void 0:Vt.priorDist),1),wM,e.createElementVNode("div",null,e.toDisplayString((gt=(ft=l.extraData)==null?void 0:ft.cp)==null?void 0:gt.speed),1)]),TM,e.createElementVNode("div",OM,e.toDisplayString((xt=(Dt=l.extraData)==null?void 0:Dt.timeAnalysis)==null?void 0:xt.sailingTime),1),FM]),l.extraPortList.length<1?(e.openBlock(),e.createElementBlock("div",PM,[uM,e.createElementVNode("div",LM,e.toDisplayString((Ct=(bt=l.extraData)==null?void 0:bt.timeAnalysis)==null?void 0:Ct.actualTime),1),WM,e.createElementVNode("div",HM,e.toDisplayString((kt=(St=l.extraData)==null?void 0:St.timeAnalysis)==null?void 0:kt.sailingTime),1),MM,e.createElementVNode("div",GM,e.toDisplayString((Bt=(At=l.extraData)==null?void 0:At.timeAnalysis)==null?void 0:Bt.totalExtraTime),1),IM])):(e.openBlock(),e.createElementBlock("div",RM,[zM,e.createElementVNode("div",UM,e.toDisplayString((Tt=(wt=l.extraData)==null?void 0:wt.timeAnalysis)==null?void 0:Tt.actualTime),1),YM,e.createElementVNode("div",ZM,e.toDisplayString((ho=(Ht=l.extraData)==null?void 0:Ht.timeAnalysis)==null?void 0:ho.sailingTime),1),QM,e.createElementVNode("div",JM,e.toDisplayString((_o=(yo=l.extraData)==null?void 0:yo.timeAnalysis)==null?void 0:_o.portTime),1),KM,e.createElementVNode("div",qM,e.toDisplayString((Vo=(No=l.extraData)==null?void 0:No.timeAnalysis)==null?void 0:Vo.totalExtraTime),1),XM]))])),((I=o.report)==null?void 0:I.method)==="DistExtrapolate"?(e.openBlock(),e.createElementBlock("div",jM,[e.createElementVNode("div",$M,[vM,e.createElementVNode("div",eG,e.toDisplayString(((Ot=(tt=l.extraData)==null?void 0:tt.timeAnalysis)==null?void 0:Ot.sailingTime)??"—"),1)]),e.createElementVNode("div",tG,[oG,e.createElementVNode("div",lG,e.toDisplayString(((Mt=(Ft=l.extraData)==null?void 0:Ft.timeAnalysis)==null?void 0:Mt.portTime)??"—"),1)]),e.createElementVNode("div",aG,[nG,e.createElementVNode("div",sG,e.toDisplayString(((It=(Gt=l.extraData)==null?void 0:Gt.timeAnalysis)==null?void 0:It.totalExtraTime)??"—"),1)])])):(e.openBlock(),e.createElementBlock("div",iG,[e.createElementVNode("div",dG,[cG,e.createElementVNode("div",rG,e.toDisplayString((zt=(Rt=l.extraData)==null?void 0:Rt.timeAnalysis)==null?void 0:zt.sailingTime),1)]),e.createElementVNode("div",mG,[hG,e.createElementVNode("div",pG,e.toDisplayString((Yt=(Ut=l.extraData)==null?void 0:Ut.timeAnalysis)==null?void 0:Yt.actualTime),1)]),l.extraPortList.length>0?(e.openBlock(),e.createElementBlock("div",EG,[yG,e.createElementVNode("div",_G,e.toDisplayString(((Qt=(Zt=l.extraData)==null?void 0:Zt.timeAnalysis)==null?void 0:Qt.portTime)??"—"),1)])):e.createCommentVNode("",!0),e.createElementVNode("div",NG,[VG,e.createElementVNode("div",fG,e.toDisplayString((Kt=(Jt=l.extraData)==null?void 0:Jt.timeAnalysis)==null?void 0:Kt.totalExtraTime),1)])]))]),e.createElementVNode("div",gG,[DG,((qt=o.report)==null?void 0:qt.method)==="DistExtrapolate"?(e.openBlock(),e.createElementBlock("div",xG,[e.createElementVNode("div",bG,[CG,e.createElementVNode("div",SG,[e.createElementVNode("div",null,e.toDisplayString((Xt=l.extraData)==null?void 0:Xt.extraDist),1),kG,e.createElementVNode("div",null,e.toDisplayString(($t=(jt=l.extraData)==null?void 0:jt.cp)==null?void 0:$t.speed),1)]),AG,e.createElementVNode("div",BG,[e.createElementVNode("div",null,e.toDisplayString((eo=(vt=l.extraData)==null?void 0:vt.cp)==null?void 0:eo.fo),1),wG,TG]),OG,e.createElementVNode("div",FG,e.toDisplayString((lo=(oo=(to=l.extraData)==null?void 0:to.consAnalysis)==null?void 0:oo.fo)==null?void 0:lo.sailingCons),1),PG]),e.createElementVNode("div",uG,[LG,e.createElementVNode("div",WG,e.toDisplayString((so=(no=(ao=l.extraData)==null?void 0:ao.consAnalysis)==null?void 0:no.fo)==null?void 0:so.sailingCons),1),HG,e.createElementVNode("div",MG,e.toDisplayString(a.computeNum((fo=(co=(io=l.extraData)==null?void 0:io.consAnalysis)==null?void 0:co.fo)==null?void 0:fo.portCons)),1),GG,e.createElementVNode("div",IG,e.toDisplayString((xo=(Do=(go=l.extraData)==null?void 0:go.consAnalysis)==null?void 0:Do.fo)==null?void 0:xo.totalExtraCons),1),RG]),e.createElementVNode("div",zG,[UG,e.createElementVNode("div",YG,[e.createElementVNode("div",null,e.toDisplayString((bo=l.extraData)==null?void 0:bo.extraDist),1),ZG,e.createElementVNode("div",null,e.toDisplayString((So=(Co=l.extraData)==null?void 0:Co.cp)==null?void 0:So.speed),1)]),QG,e.createElementVNode("div",JG,[e.createElementVNode("div",null,e.toDisplayString((Ao=(ko=l.extraData)==null?void 0:ko.cp)==null?void 0:Ao.dgo),1),KG,qG]),XG,e.createElementVNode("div",jG,e.toDisplayString((To=(wo=(Bo=l.extraData)==null?void 0:Bo.consAnalysis)==null?void 0:wo.dgo)==null?void 0:To.sailingCons),1),$G]),e.createElementVNode("div",vG,[eI,e.createElementVNode("div",tI,e.toDisplayString((Po=(Fo=(Oo=l.extraData)==null?void 0:Oo.consAnalysis)==null?void 0:Fo.dgo)==null?void 0:Po.sailingCons),1),oI,e.createElementVNode("div",lI,e.toDisplayString(a.computeNum((Wo=(Lo=(uo=l.extraData)==null?void 0:uo.consAnalysis)==null?void 0:Lo.dgo)==null?void 0:Wo.portCons)),1),aI,e.createElementVNode("div",nI,e.toDisplayString((Go=(Mo=(Ho=l.extraData)==null?void 0:Ho.consAnalysis)==null?void 0:Mo.dgo)==null?void 0:Go.totalExtraCons),1),sI])])):(e.openBlock(),e.createElementBlock("div",iI,[e.createElementVNode("div",dI,[cI,e.createElementVNode("div",rI,[e.createElementVNode("div",null,e.toDisplayString((Io=l.extraData)==null?void 0:Io.priorDist),1),mI,e.createElementVNode("div",null,e.toDisplayString((Yo=(Uo=l.extraData)==null?void 0:Uo.cp)==null?void 0:Yo.speed),1)]),hI,e.createElementVNode("div",pI,[e.createElementVNode("div",null,e.toDisplayString((Qo=(Zo=l.extraData)==null?void 0:Zo.cp)==null?void 0:Qo.fo),1),EI,yI]),_I,e.createElementVNode("div",NI,e.toDisplayString((qo=(Ko=(Jo=l.extraData)==null?void 0:Jo.consAnalysis)==null?void 0:Ko.fo)==null?void 0:qo.sailingCons),1),VI]),e.createElementVNode("div",fI,[gI,e.createElementVNode("div",DI,[e.createElementVNode("div",null,e.toDisplayString((Xo=l.extraData)==null?void 0:Xo.priorDist),1),xI,e.createElementVNode("div",null,e.toDisplayString(($o=(jo=l.extraData)==null?void 0:jo.cp)==null?void 0:$o.speed),1)]),bI,e.createElementVNode("div",CI,[e.createElementVNode("div",null,e.toDisplayString((el=(vo=l.extraData)==null?void 0:vo.cp)==null?void 0:el.dgo),1),SI,kI]),AI,e.createElementVNode("div",BI,e.toDisplayString((ll=(ol=(tl=l.extraData)==null?void 0:tl.consAnalysis)==null?void 0:ol.dgo)==null?void 0:ll.sailingCons),1),wI]),l.extraPortList.length<1?(e.openBlock(),e.createElementBlock("div",TI,[OI,e.createElementVNode("div",FI,e.toDisplayString((sl=(nl=(al=l.extraData)==null?void 0:al.consAnalysis)==null?void 0:nl.fo)==null?void 0:sl.actualCons),1),PI,e.createElementVNode("div",uI,e.toDisplayString(a.computeNum((cl=(dl=(il=l.extraData)==null?void 0:il.consAnalysis)==null?void 0:dl.fo)==null?void 0:cl.sailingCons)),1),LI,e.createElementVNode("div",WI,e.toDisplayString((hl=(ml=(rl=l.extraData)==null?void 0:rl.consAnalysis)==null?void 0:ml.fo)==null?void 0:hl.totalExtraCons),1),HI])):(e.openBlock(),e.createElementBlock("div",MI,[GI,e.createElementVNode("div",II,e.toDisplayString((Pt=(El=(pl=l.extraData)==null?void 0:pl.consAnalysis)==null?void 0:El.fo)==null?void 0:Pt.actualCons),1),RI,e.createElementVNode("div",zI,e.toDisplayString(a.computeNum((Dl=(gl=(Nl=l.extraData)==null?void 0:Nl.consAnalysis)==null?void 0:gl.fo)==null?void 0:Dl.sailingCons)),1),UI,e.createElementVNode("div",YI,e.toDisplayString(a.computeNum((Cl=(bl=(xl=l.extraData)==null?void 0:xl.consAnalysis)==null?void 0:bl.fo)==null?void 0:Cl.portCons)),1),ZI,e.createElementVNode("div",QI,e.toDisplayString((Al=(kl=(Sl=l.extraData)==null?void 0:Sl.consAnalysis)==null?void 0:kl.fo)==null?void 0:Al.totalExtraCons),1),JI])),l.extraPortList.length<1?(e.openBlock(),e.createElementBlock("div",KI,[qI,e.createElementVNode("div",XI,e.toDisplayString((Tl=(wl=(Bl=l.extraData)==null?void 0:Bl.consAnalysis)==null?void 0:wl.dgo)==null?void 0:Tl.actualCons),1),jI,e.createElementVNode("div",$I,e.toDisplayString((Pl=(Fl=(Ol=l.extraData)==null?void 0:Ol.consAnalysis)==null?void 0:Fl.dgo)==null?void 0:Pl.sailingCons),1),vI,e.createElementVNode("div",eR,e.toDisplayString((Wl=(Ll=(ul=l.extraData)==null?void 0:ul.consAnalysis)==null?void 0:Ll.dgo)==null?void 0:Wl.totalExtraCons),1),tR])):(e.openBlock(),e.createElementBlock("div",oR,[lR,e.createElementVNode("div",aR,e.toDisplayString((Gl=(Ml=(Hl=l.extraData)==null?void 0:Hl.consAnalysis)==null?void 0:Ml.dgo)==null?void 0:Gl.actualCons),1),nR,e.createElementVNode("div",sR,e.toDisplayString(a.computeNum((zl=(Rl=(Il=l.extraData)==null?void 0:Il.consAnalysis)==null?void 0:Rl.dgo)==null?void 0:zl.sailingCons)),1),iR,e.createElementVNode("div",dR,e.toDisplayString(a.computeNum((Zl=(Yl=(Ul=l.extraData)==null?void 0:Ul.consAnalysis)==null?void 0:Yl.dgo)==null?void 0:Zl.portCons)),1),cR,e.createElementVNode("div",rR,e.toDisplayString((Kl=(Jl=(Ql=l.extraData)==null?void 0:Ql.consAnalysis)==null?void 0:Jl.dgo)==null?void 0:Kl.totalExtraCons),1),mR]))])),((ql=o.report)==null?void 0:ql.method)==="DistExtrapolate"?(e.openBlock(),e.createElementBlock("div",hR,[pR,e.createElementVNode("div",ER,[yR,e.createElementVNode("div",_R,e.toDisplayString((($l=(jl=(Xl=l.extraData)==null?void 0:Xl.consAnalysis)==null?void 0:jl.fo)==null?void 0:$l.sailingCons)??"—"),1),e.createElementVNode("div",NR,e.toDisplayString(((ta=(ea=(vl=l.extraData)==null?void 0:vl.consAnalysis)==null?void 0:ea.dgo)==null?void 0:ta.sailingCons)??"—"),1)]),e.createElementVNode("div",VR,[fR,e.createElementVNode("div",gR,e.toDisplayString(((aa=(la=(oa=l.extraData)==null?void 0:oa.consAnalysis)==null?void 0:la.fo)==null?void 0:aa.portCons)??"—"),1),e.createElementVNode("div",DR,e.toDisplayString(((ia=(sa=(na=l.extraData)==null?void 0:na.consAnalysis)==null?void 0:sa.dgo)==null?void 0:ia.portCons)??"—"),1)]),e.createElementVNode("div",xR,[bR,e.createElementVNode("div",{class:e.normalizeClass(`${a.computeColor((ra=(ca=(da=l.extraData)==null?void 0:da.consAnalysis)==null?void 0:ca.fo)==null?void 0:ra.totalExtraCons)} flex blue center`)},e.toDisplayString(((pa=(ha=(ma=l.extraData)==null?void 0:ma.consAnalysis)==null?void 0:ha.fo)==null?void 0:pa.totalExtraCons)??"—"),3),e.createElementVNode("div",{class:e.normalizeClass(`${a.computeColor((_a=(ya=(Ea=l.extraData)==null?void 0:Ea.consAnalysis)==null?void 0:ya.dgo)==null?void 0:_a.totalExtraCons)} flex blue center`)},e.toDisplayString(((fa=(Va=(Na=l.extraData)==null?void 0:Na.consAnalysis)==null?void 0:Va.dgo)==null?void 0:fa.totalExtraCons)??"—"),3)])])):(e.openBlock(),e.createElementBlock("div",CR,[SR,e.createElementVNode("div",kR,[AR,e.createElementVNode("div",BR,e.toDisplayString((xa=(Da=(ga=l.extraData)==null?void 0:ga.consAnalysis)==null?void 0:Da.fo)==null?void 0:xa.sailingCons),1),e.createElementVNode("div",wR,e.toDisplayString((Sa=(Ca=(ba=l.extraData)==null?void 0:ba.consAnalysis)==null?void 0:Ca.dgo)==null?void 0:Sa.sailingCons),1)]),e.createElementVNode("div",TR,[OR,e.createElementVNode("div",FR,e.toDisplayString((Ba=(Aa=(ka=l.extraData)==null?void 0:ka.consAnalysis)==null?void 0:Aa.fo)==null?void 0:Ba.actualCons),1),e.createElementVNode("div",PR,e.toDisplayString((Oa=(Ta=(wa=l.extraData)==null?void 0:wa.consAnalysis)==null?void 0:Ta.dgo)==null?void 0:Oa.actualCons),1)]),l.extraPortList.length>0?(e.openBlock(),e.createElementBlock("div",uR,[LR,e.createElementVNode("div",WR,e.toDisplayString((ua=(Pa=(Fa=l.extraData)==null?void 0:Fa.consAnalysis)==null?void 0:Pa.fo)==null?void 0:ua.portCons),1),e.createElementVNode("div",HR,e.toDisplayString((Ha=(Wa=(La=l.extraData)==null?void 0:La.consAnalysis)==null?void 0:Wa.dgo)==null?void 0:Ha.portCons),1)])):e.createCommentVNode("",!0),e.createElementVNode("div",MR,[GR,e.createElementVNode("div",{class:e.normalizeClass(`${a.computeColor((Ia=(Ga=(Ma=l.extraData)==null?void 0:Ma.consAnalysis)==null?void 0:Ga.fo)==null?void 0:Ia.totalExtraCons)} flex blue center`)},e.toDisplayString((Ua=(za=(Ra=l.extraData)==null?void 0:Ra.consAnalysis)==null?void 0:za.fo)==null?void 0:Ua.totalExtraCons),3),e.createElementVNode("div",{class:e.normalizeClass(`${a.computeColor((ro=(ae=(Ya=l.extraData)==null?void 0:Ya.consAnalysis)==null?void 0:ae.dgo)==null?void 0:ro.totalExtraCons)} flex blue center`)},e.toDisplayString((Ja=(Qa=(Za=l.extraData)==null?void 0:Za.consAnalysis)==null?void 0:Qa.dgo)==null?void 0:Ja.totalExtraCons),3)])]))]),e.createElementVNode("div",IR,[e.createElementVNode("div",{class:e.normalizeClass(`subtitle ${l.advisory&&l.advisory!=="<p><br></p>"?"":"print-hidden"}`)},"Comments",2),e.createElementVNode("div",{class:e.normalizeClass(`report-comments ${l.advisory&&l.advisory!=="<p><br></p>"?"":"print-hidden"}`),style:{"min-height":"50px"}},[l.editable?(e.openBlock(),e.createBlock(_,{key:0,modelValue:l.advisory,"onUpdate:modelValue":n[8]||(n[8]=ne=>l.advisory=ne),height:"320px",onBlur:n[9]||(n[9]=ne=>a.handleCommit("comments","comments",ne))},null,8,["modelValue"])):(e.openBlock(),e.createElementBlock("div",{key:1,class:"remark-txt editor",onDblclick:n[10]||(n[10]=(...ne)=>a.decideDisable&&a.decideDisable(...ne)),innerHTML:l.advisory&&l.advisory!=="<p><br></p>"?l.advisory:"Please double click to modify remark"},null,40,RR))],2)])])}const Bn=De(nW,[["render",zR],["__scopeId","data-v-4829e189"]]),ste="",UR={name:"FliDvtRpt",components:{CirclePlus:tn.CirclePlus,Remove:tn.Remove,EditableItem:An,Editor:Ro},props:{data:{type:Object,default:()=>({})},gateway:{type:String,default:"https://cbe4test.idmwx.com"},token:{type:String,default:void 0},editorDisabled:{type:Boolean,default:()=>!1}},data(){return{extraData:void 0,logSrc2:new URL("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAJYAAACWCAYAAAA8AXHiAAAABHNCSVQICAgIfAhkiAAAIABJREFUeF7tXQeAFEXWruruSZsTaQNJBARFTsQcCAaQZOLM+URPz3h6nIo6J+nUO8+Eip6CZ8aMCRUF9cQz8JsJAkqOy+Y0O9Pd//c6zPSkndndmdkFpqSc2enu6qpXX71Ur6o4S6c0BZJAAZ6EMtNFpinA0sBKgyApFEgDKylkTReaBlYaA0mhQBpYSSFrutA0sNIYSAoF9g5gTV4gsiaXgzmdNsYqRT+l7Fk+1pznZWxzM3v593JSKJguNCIF9jxgjVgiMdeWjFybsz9z2A9RBfVoLgiDYd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lM3n2iH1mJ9Gn2WzzxWKH1bK0oJCvZOtVG7hOc283Iz0aBAxE5d2uBRVGP5A2m50h5pSC9WCeIjsE9ZigIjTqaqjCD00hcEBgokf5ADsH2nK2XDGBdgDrNRybHJRGVOFc8iZR4iiglYBLx6TniYmaKF1gEpHnIVI/QlApgWSNQrO+nviQuHHGyvbXAohAYkvXmhDJZXuR/CQubMGpA3mgy+YmlU1qJTCPXvJ+UYWK1Jmun62TCRysvAm218BTTSWkFFgH0rkgPxPiNuCuJZUpUL5pQpjoTISkClsRRvGmO8QzRmdwQRAvTpxUvsOhdFAi5FHkgsrXPUgEskkpEA/20seBETOaGSMRoLbBo1FJBf4/yopYITlEApE9Z48np/ZciUwdEim2KpwMTHZpM3JU86pRI7JEuSVyDxBlFdrTmbGVSwGnwkY5E8U40MM2I29YAi+pC/i3qYIo7N1MqgEVtp8OuaBdpMl6sKWHAokIJXBR+SyKOLJZYceoUDEYLFEjhI291JC80TerSJC4pu6YuFtKGqH8SsanRlIgjaOdFtyORgXKn8TzpSQR8SmR0kLHR2jQND5gxbCQ6THG4AN8pRo3oQSHOH8UomAbhRci/RzYZApVNEqQ1aQButk5ub8ffpMeFLYiwFEp9TA7ik5BJ+pDEIg5OXJiiOsJSazlWaxqQvncfpkAaWPtw5yez6WlgJZO6+3DZaWDtw52fzKangZVM6u7DZaeBtQ93fjKbngZWMqm7D5f9/zc746V8ZtviAAAAAElFTkSuQmCC",self.location).href,extraPortList:[],portList:[],extraSummary:{time:void 0,foBrob:void 0,dgoBrob:void 0,bunkeringFo:void 0,bunkeringDgo:void 0},advisory:void 0,editable:!1,id:void 0}},computed:{computeColor(){return function(t){return t>0?"fail":t<0?"success":""}},computeUTCTime(){return function(t,n="MMM-DD/HHmm[Z]"){return t?`${T(t).utc().format(n)}`:"-"}},computedLngLat(){return function(t,n){const o=this.fetchLonLat(v.LngLatHelper.lat2pretty(t)),d=this.fetchLonLat(v.LngLatHelper.lng2pretty(n));return`${o} / ${d}`}},computeNum(){return function(t){return t||t==0?t<0?`(${t})`:t:"—"}}},watch:{data:{handler(t){t&&((t==null?void 0:t.method)==="DistExtrapolate"?this.isDistExtra=!0:this.isDistExtra=!1,this.fetchData(),this.fetchSuggestName())},immediate:!0}},methods:{fetchLonLat(t){return`${t.degree}°${v.roundPrecision(t.minute,2)}′${t.direction}`},fetchData(){var t,n,o,d;this.extraData=this.data,this.extraPortList=(t=this.data)!=null&&t.extraPorts?(n=this.data)==null?void 0:n.extraPorts:[],this.advisory=(o=this.data)!=null&&o.comments?(d=this.data)==null?void 0:d.comments:void 0,this.id=this.data.id},async fetchSuggestName(t){var o;const n=await fl.get(`${this.gateway}/api/arc/ports/suggest?n=${t}`,{headers:{Authorization:this.token}});this.portList=(o=n==null?void 0:n.data)==null?void 0:o.data},handleAdd(){const t={name:"",arrival:{date:null,foBrob:null,dgoBrob:null},departure:{date:null,foBrob:null,dgoBrob:null,bunkeringFo:null,bunkeringDgo:null}};this.extraPortList.push(t)},async handleRemove(t){var o,d,l,a,p;this.extraPortList.splice(t,1);const n=await fl.put(`${this.gateway}/api/als/deviations/${this.id}`,{extraPorts:this.extraPortList},{headers:{Authorization:this.token}});this.extraData=(o=n==null?void 0:n.data)==null?void 0:o.data,this.extraPortList=(l=(d=n==null?void 0:n.data)==null?void 0:d.data)==null?void 0:l.extraPorts,this.advisory=(a=this.data)!=null&&a.comments?(p=this.data)==null?void 0:p.comments:void 0},decideDisable(){this.editorDisabled?this.editable=!1:this.editable=!0},async handleCommit(t,n,o,d){var p,i,E,b,S;this.editable=!1;const l=n.indexOf(".");let a={};if((o||o==0)&&o!=""){if(t==="port"){if(l>0){const N=n.substring(0,l),D=n.substring(l+1);D!=="date"&&(o=Number(o)),this.extraPortList[d][N][D]=o}else this.extraPortList[d][n]=o;a={extraPorts:this.extraPortList}}else t==="comments"?(this.extraData[n]=o,a={[n]:o}):(this.extraData[n]=o,a={[n]:Number(o)});const _=await fl.put(`${this.gateway}/api/als/deviations/${this.id}`,a,{headers:{Authorization:this.token}});this.extraData=(p=_==null?void 0:_.data)==null?void 0:p.data,this.extraPortList=(E=(i=_==null?void 0:_.data)==null?void 0:i.data)==null?void 0:E.extraPorts,this.advisory=(b=this.data)!=null&&b.comments?(S=this.data)==null?void 0:S.comments:void 0}else hn.ElMessage({message:"Value cannot be empty.",type:"warning"})}}},A=t=>(e.pushScopeId("data-v-77edf8aa"),t=t(),e.popScopeId(),t),YR={class:"deviation-report"},ZR=A(()=>e.createElementVNode("div",{class:"report-bg"},[e.createElementVNode("img",{src:"https://img.idmwx.com/asset/fli_logo.png"})],-1)),QR={class:"report-header"},JR={class:"header-title",style:{position:"relative !important"}},KR={class:"header-title-content"},qR=A(()=>e.createElementVNode("div",{class:"title"},"Voyage Deviation Report",-1)),XR={class:"title-date"},jR={class:"report-summary"},$R={class:"summary-item"},vR=A(()=>e.createElementVNode("label",{class:"flex gray"},"Vessel Name",-1)),ez={class:"flexL gray"},tz={class:"summary-item"},oz=A(()=>e.createElementVNode("label",{class:"flex gray"},"Prepared For",-1)),lz={class:"flexL gray"},az={class:"summary-item"},nz=A(()=>e.createElementVNode("label",{class:"flex gray"},"Vessel Type",-1)),sz={class:"flexL gray"},iz={class:"summary-item"},dz=A(()=>e.createElementVNode("label",{class:"flex gray"},"Reference Number",-1)),cz={class:"flexL gray"},rz={class:"summary-item"},mz=A(()=>e.createElementVNode("label",{class:"flex gray"},"Departure",-1)),hz={class:"flexL gray",style:{display:"flex"}},pz={class:"flex"},Ez={class:"flexM"},yz={class:"summary-item"},_z=A(()=>e.createElementVNode("label",{class:"flex gray"},"Arrival",-1)),Nz={class:"flexL gray",style:{display:"flex"}},Vz={class:"flex"},fz={class:"flexM"},gz=A(()=>e.createElementVNode("div",{class:"subtitle"},"Report Summary",-1)),Dz={class:"report-summary"},xz={class:"summary-item"},bz=A(()=>e.createElementVNode("label",{class:"flex blue"},"Extra Distance (nm)",-1)),Cz={class:"summary-item"},Sz=A(()=>e.createElementVNode("label",{class:"flex blue"},"Total extra Time (hrs)",-1)),kz={class:"summary-item"},Az=A(()=>e.createElementVNode("label",{class:"flex blue"},"FO Total extra Consumption (mt)",-1)),Bz={class:"summary-item"},wz=A(()=>e.createElementVNode("label",{class:"flex blue"},"DO/GO Total extra Consumption (mt)",-1)),Tz=A(()=>e.createElementVNode("div",{class:"subtitle"},"Voyage Map",-1)),Oz={class:"report-map"},Fz=["src"],Pz=e.createStaticVNode('<div class="legend" data-v-77edf8aa><div class="legend-item" data-v-77edf8aa><div style="width:50px;height:0px;border:1px solid var(--actual-route);" data-v-77edf8aa></div><div data-v-77edf8aa>Actual Route</div></div><div class="legend-item" data-v-77edf8aa><div style="width:50px;height:0px;border:1px dashed var(--prior-route);" data-v-77edf8aa></div><div data-v-77edf8aa>Route prior to deviation</div></div></div>',1),uz=A(()=>e.createElementVNode("div",{class:"page-break"},null,-1)),Lz={key:0,class:"subtitle"},Wz={key:1,class:"report-summary"},Hz=e.createStaticVNode('<div class="summary-item" data-v-77edf8aa><div class="blue center" style="width:16%;" data-v-77edf8aa>Diversion</div><div class="blue center" style="width:20%;" data-v-77edf8aa>Position</div><div class="blue center" style="width:17%;" data-v-77edf8aa>Date Time</div><div class="flex blue center" data-v-77edf8aa>FO BROB<br data-v-77edf8aa>(mt)</div><div class="flex blue center" data-v-77edf8aa>DO/GO<br data-v-77edf8aa>BROB (mt)</div><div class="flex blue center" data-v-77edf8aa>Bunkering<br data-v-77edf8aa>FO (mt)</div><div class="flex blue center" data-v-77edf8aa>Bunkering<br data-v-77edf8aa>DO/GO (mt)</div></div>',1),Mz={class:"summary-item"},Gz=A(()=>e.createElementVNode("div",{class:"blue center",style:{width:"16%"}},"Diversion (A)",-1)),Iz={class:"blue center",style:{width:"20%"}},Rz={class:"blue center",style:{width:"17%"}},zz={class:"flex blue center"},Uz={class:"flex blue center"},Yz=A(()=>e.createElementVNode("div",{class:"flex blue center"},null,-1)),Zz=A(()=>e.createElementVNode("div",{class:"flex blue center"},null,-1)),Qz={class:"summary-item"},Jz=A(()=>e.createElementVNode("div",{class:"blue center",style:{width:"16%"}},"Back on Track (B)",-1)),Kz={class:"blue center",style:{width:"20%"}},qz={class:"blue center",style:{width:"17%"}},Xz={class:"flex blue center"},jz={class:"flex blue center"},$z={class:"flex blue center"},vz={class:"flex blue center"},eU={class:"summary-item"},tU=A(()=>e.createElementVNode("div",{class:"blue center",style:{width:"16%"}},"Time&Consumption",-1)),oU=A(()=>e.createElementVNode("div",{class:"blue center",style:{width:"20%"}},null,-1)),lU={class:"blue center",style:{width:"17%"}},aU={class:"flex blue center"},nU={class:"flex blue center"},sU=A(()=>e.createElementVNode("div",{class:"flex blue center"},null,-1)),iU=A(()=>e.createElementVNode("div",{class:"flex blue center"},null,-1)),dU=A(()=>e.createElementVNode("div",{class:"subtitle"},"CP Terms",-1)),cU={class:"report-summary"},rU={class:"summary-item"},mU=A(()=>e.createElementVNode("div",{class:"flex blue"},"CP Speed (kts)",-1)),hU={class:"flexL blue center"},pU={class:"summary-item"},EU=A(()=>e.createElementVNode("div",{class:"flex blue"},"CP Daily FO Consumption (mt)",-1)),yU={class:"flexL blue center"},_U={class:"summary-item"},NU=A(()=>e.createElementVNode("div",{class:"flex blue"},"CP Daily DO/GO Consumption (mt)",-1)),VU={class:"flexL blue center"},fU={class:"subtitle port"},gU=A(()=>e.createElementVNode("div",null,"Extra Port Information",-1)),DU={class:"print-hidden"},xU={class:"report-port"},bU=A(()=>e.createElementVNode("thead",null,[e.createElementVNode("tr",null,[e.createElementVNode("th",null,"Extra Port"),e.createElementVNode("th",null,"Event"),e.createElementVNode("th",null,"Date Time"),e.createElementVNode("th",null,"FO BROB(mt)"),e.createElementVNode("th",null,[e.createTextVNode("DO/GO"),e.createElementVNode("br"),e.createTextVNode("BROB(mt)")]),e.createElementVNode("th",null,[e.createTextVNode("Bunkering"),e.createElementVNode("br"),e.createTextVNode("FO(mt)")]),e.createElementVNode("th",null,[e.createTextVNode("Bunkering"),e.createElementVNode("br"),e.createTextVNode("DO/GO(mt)")]),e.createElementVNode("th",{class:"print-hidden"})])],-1)),CU={rowspan:2},SU=A(()=>e.createElementVNode("td",null,"Arrival",-1)),kU=A(()=>e.createElementVNode("td",null,null,-1)),AU=A(()=>e.createElementVNode("td",null,null,-1)),BU={rowspan:2,class:"print-hidden"},wU=A(()=>e.createElementVNode("td",null,"Departure",-1)),TU=A(()=>e.createElementVNode("td",null,"Time & Consumption",-1)),OU=A(()=>e.createElementVNode("td",null,null,-1)),FU=A(()=>e.createElementVNode("td",null,null,-1)),PU=A(()=>e.createElementVNode("td",null,null,-1)),uU=A(()=>e.createElementVNode("td",{class:"print-hidden"},null,-1)),LU=A(()=>e.createElementVNode("div",{class:"subtitle"},"Distance Analysis",-1)),WU={class:"report-summary"},HU=A(()=>e.createElementVNode("div",{class:"summary-item"},[e.createElementVNode("div",{class:"blue",style:{width:"30%"}}),e.createElementVNode("div",{class:"flex blue center"},"Actual Route"),e.createElementVNode("div",{class:"flex blue center"},"Route prior to deviation")],-1)),MU={class:"summary-item"},GU=A(()=>e.createElementVNode("div",{class:"blue",style:{width:"30%"}},"Distance (nm)",-1)),IU={class:"flex blue center"},RU={class:"flex blue center"},zU={class:"summary-item"},UU=A(()=>e.createElementVNode("div",{class:"blue",style:{width:"30%"}},"Extra Distance (nm)",-1)),YU={class:"flex blue center"},ZU=A(()=>e.createElementVNode("div",{class:"subtitle"},"Time Analysis",-1)),QU={key:2,class:"report-formular"},JU={class:"equation"},KU=e.createStaticVNode('<div style="width:30%;text-align:left;" data-v-77edf8aa>Time for extra distance sailing (hrs)</div><div style="width:5%;" data-v-77edf8aa>=</div><div class="function" style="width:20%;" data-v-77edf8aa><div data-v-77edf8aa>Deviation Distance</div><div class="fractional-line" data-v-77edf8aa></div><div data-v-77edf8aa>CP Speed</div></div><div style="width:5%;" data-v-77edf8aa>=</div>',4),qU={class:"function",style:{width:"20%"}},XU=A(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),jU=A(()=>e.createElementVNode("div",{style:{width:"5%"}},"=",-1)),$U={style:{width:"10%"}},vU=A(()=>e.createElementVNode("div",{style:{width:"5%"}},"(hrs)",-1)),eY={class:"equation"},tY=e.createStaticVNode('<div style="width:18%;text-align:left;" data-v-77edf8aa>Total extra Time (hrs)</div><div style="width:2%;" data-v-77edf8aa>=</div><div style="width:28%;" data-v-77edf8aa>Time for extra distance sailing (hrs)</div><div style="width:2%;" data-v-77edf8aa>+</div><div style="width:23%;" data-v-77edf8aa>Time spent in extra port (hrs)</div><div style="width:2%;" data-v-77edf8aa>=</div>',6),oY={style:{width:"5%"}},lY=A(()=>e.createElementVNode("div",{style:{width:"2%"}},"+",-1)),aY={style:{width:"8%"}},nY=A(()=>e.createElementVNode("div",{style:{width:"2%"}},"=",-1)),sY={style:{width:"4%"}},iY=A(()=>e.createElementVNode("div",{style:{width:"5%"}},"(hrs)",-1)),dY={key:3,class:"report-formular"},cY={class:"equation"},rY=e.createStaticVNode('<div style="width:30%;text-align:left;" data-v-77edf8aa>Time for Route prior to deviation sailing (hrs)</div><div style="width:5%;" data-v-77edf8aa>=</div><div class="function" style="width:20%;" data-v-77edf8aa><div data-v-77edf8aa>Distance</div><div class="fractional-line" data-v-77edf8aa></div><div data-v-77edf8aa>CP Speed</div></div><div style="width:5%;" data-v-77edf8aa>=</div>',4),mY={class:"function",style:{width:"20%"}},hY=A(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),pY=A(()=>e.createElementVNode("div",{style:{width:"5%"}},"=",-1)),EY={style:{width:"10%"}},yY=A(()=>e.createElementVNode("div",{style:{width:"5%"}},"(hrs)",-1)),_Y={key:0,class:"equation"},NY=e.createStaticVNode('<div style="width:18%;text-align:left;" data-v-77edf8aa>Total extra Time (hrs)</div><div style="width:2%;" data-v-77edf8aa>=</div><div style="width:24%;" data-v-77edf8aa>Time for Actual Route (hrs)</div><div style="width:2%;" data-v-77edf8aa>-</div><div style="width:30%;" data-v-77edf8aa>Time for Route prior to deviation sailing (hrs)</div><div style="width:2%;" data-v-77edf8aa>=</div>',6),VY={style:{width:"5%"}},fY=A(()=>e.createElementVNode("div",{style:{width:"2%"}},"-",-1)),gY={style:{width:"5%"}},DY=A(()=>e.createElementVNode("div",{style:{width:"2%"}},"=",-1)),xY={style:{width:"5%"}},bY=A(()=>e.createElementVNode("div",{style:{width:"5%"}},"(hrs)",-1)),CY={key:1,class:"equation"},SY=e.createStaticVNode('<div style="width:18%;text-align:left;" data-v-77edf8aa>Total extra Time (hrs)</div><div style="width:2%;" data-v-77edf8aa>=</div><div style="width:24%;" data-v-77edf8aa>Time for Actual Route (hrs)</div><div style="width:2%;" data-v-77edf8aa>-</div><div style="width:20%;" data-v-77edf8aa>Time for Route prior to deviation sailing (hrs)</div><div style="width:2%;" data-v-77edf8aa>-</div><div style="width:10%;" data-v-77edf8aa>Time spent in port (hrs)</div><div style="width:2%;" data-v-77edf8aa>=</div>',8),kY={style:{width:"5%"}},AY=A(()=>e.createElementVNode("div",{style:{width:"2%"}},"-",-1)),BY={style:{width:"5%"}},wY=A(()=>e.createElementVNode("div",{style:{width:"2%"}},"-",-1)),TY={style:{width:"5%"}},OY=A(()=>e.createElementVNode("div",{style:{width:"2%"}},"=",-1)),FY={style:{width:"5%"}},PY=A(()=>e.createElementVNode("div",{style:{width:"5%"}},"(hrs)",-1)),uY={key:4,class:"report-summary"},LY={class:"summary-item"},WY=A(()=>e.createElementVNode("div",{class:"blue",style:{width:"30%"}},"Time for extra distance sailing (hrs)",-1)),HY={class:"flex blue center"},MY={class:"summary-item"},GY=A(()=>e.createElementVNode("div",{class:"blue",style:{width:"30%"}},"Time spent in extra port (hrs)",-1)),IY={class:"flex blue center"},RY={class:"summary-item"},zY=A(()=>e.createElementVNode("div",{class:"blue",style:{width:"30%"}},"Total extra Time (hrs)",-1)),UY={class:"flex blue center"},YY={key:5,class:"report-summary"},ZY={class:"summary-item"},QY=A(()=>e.createElementVNode("div",{class:"blue",style:{width:"40%"}},"Time for Route prior to deviation sailing (hrs)",-1)),JY={class:"flex blue center"},KY={class:"summary-item"},qY=A(()=>e.createElementVNode("div",{class:"blue",style:{width:"40%"}},"Time for Actual Route (hrs)",-1)),XY={class:"flex blue center"},jY={key:0,class:"summary-item"},$Y=A(()=>e.createElementVNode("div",{class:"blue",style:{width:"40%"}},"Time spent in port (hrs)",-1)),vY={class:"flex blue center"},eZ={class:"summary-item"},tZ=A(()=>e.createElementVNode("div",{class:"blue",style:{width:"40%"}},"Total extra Time (hrs)",-1)),oZ={class:"flex blue center"},lZ=A(()=>e.createElementVNode("div",{class:"subtitle"},"Consumption Analysis",-1)),aZ={key:6,class:"report-formular"},nZ={class:"equation"},sZ=e.createStaticVNode('<div style="width:20%;text-align:left;" data-v-77edf8aa>FO Consumption for extra distance sailing</div><div style="width:2%;" data-v-77edf8aa>=</div><div class="function" style="width:30%;" data-v-77edf8aa><div data-v-77edf8aa>Deviation Distance</div><div class="fractional-line" data-v-77edf8aa></div><div data-v-77edf8aa>CP Speed</div></div><div style="width:3%;" data-v-77edf8aa>×</div><div class="function" style="width:23%;" data-v-77edf8aa><div data-v-77edf8aa>Daily FO Consumption</div><div class="fractional-line" data-v-77edf8aa></div><div data-v-77edf8aa>24</div></div><div style="width:3%;" data-v-77edf8aa>=</div>',6),iZ={class:"function",style:{width:"5%"}},dZ=A(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),cZ=A(()=>e.createElementVNode("div",{style:{width:"3%"}},"×",-1)),rZ={class:"function",style:{width:"5%"}},mZ=A(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),hZ=A(()=>e.createElementVNode("div",null,"24",-1)),pZ=A(()=>e.createElementVNode("div",{style:{width:"3%"}},"=",-1)),EZ={style:{width:"5%"}},yZ=A(()=>e.createElementVNode("div",{style:{width:"5%"}},"(mt)",-1)),_Z={class:"equation"},NZ=e.createStaticVNode('<div style="width:20%;text-align:left;" data-v-77edf8aa>FO Total Extra Consumption(mt)</div><div style="width:2%;" data-v-77edf8aa>=</div><div style="width:30%;" data-v-77edf8aa>FO Consumption for extra distance sailing (mt)</div><div style="width:3%;" data-v-77edf8aa>+</div><div style="width:23%;" data-v-77edf8aa>FO Consumption in extra port (mt)</div><div style="width:3%;" data-v-77edf8aa>=</div>',6),VZ={style:{width:"5%"}},fZ=A(()=>e.createElementVNode("div",{style:{width:"3%"}},"+",-1)),gZ={style:{width:"5%"}},DZ=A(()=>e.createElementVNode("div",{style:{width:"3%"}},"=",-1)),xZ={style:{width:"5%"}},bZ=A(()=>e.createElementVNode("div",{style:{width:"5%"}},"(mt)",-1)),CZ={class:"equation"},SZ=e.createStaticVNode('<div style="width:20%;text-align:left;" data-v-77edf8aa>DO Consumption for extra distance sailing</div><div style="width:2%;" data-v-77edf8aa>=</div><div class="function" style="width:30%;" data-v-77edf8aa><div data-v-77edf8aa>Deviation Distance</div><div class="fractional-line" data-v-77edf8aa></div><div data-v-77edf8aa>CP Speed</div></div><div style="width:3%;" data-v-77edf8aa>×</div><div class="function" style="width:23%;" data-v-77edf8aa><div data-v-77edf8aa>Daily DO Consumption</div><div class="fractional-line" data-v-77edf8aa></div><div data-v-77edf8aa>24</div></div><div style="width:3%;" data-v-77edf8aa>=</div>',6),kZ={class:"function",style:{width:"5%"}},AZ=A(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),BZ=A(()=>e.createElementVNode("div",{style:{width:"3%"}},"×",-1)),wZ={class:"function",style:{width:"5%"}},TZ=A(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),OZ=A(()=>e.createElementVNode("div",null,"24",-1)),FZ=A(()=>e.createElementVNode("div",{style:{width:"3%"}},"=",-1)),PZ={style:{width:"5%"}},uZ=A(()=>e.createElementVNode("div",{style:{width:"5%"}},"(mt)",-1)),LZ={class:"equation"},WZ=e.createStaticVNode('<div style="width:20%;text-align:left;" data-v-77edf8aa>DO/GO Total Extra Consumption(mt)</div><div style="width:2%;" data-v-77edf8aa>=</div><div style="width:30%;" data-v-77edf8aa>DO/GO Consumption for extra distance sailing(mt)</div><div style="width:3%;" data-v-77edf8aa>-</div><div style="width:23%;" data-v-77edf8aa>DO/GO Consumption in extra port(mt)</div><div style="width:3%;" data-v-77edf8aa>=</div>',6),HZ={style:{width:"5%"}},MZ=A(()=>e.createElementVNode("div",{style:{width:"3%"}},"-",-1)),GZ={style:{width:"5%"}},IZ=A(()=>e.createElementVNode("div",{style:{width:"3%"}},"=",-1)),RZ={style:{width:"5%"}},zZ=A(()=>e.createElementVNode("div",{style:{width:"5%"}},"(mt)",-1)),UZ={key:7,class:"report-formular"},YZ={class:"equation"},ZZ=e.createStaticVNode('<div style="width:20%;text-align:left;" data-v-77edf8aa>FO Consumption for Route prior to deviation sailing</div><div style="width:2%;" data-v-77edf8aa>=</div><div class="function" style="width:30%;" data-v-77edf8aa><div data-v-77edf8aa>Route prior to deviation Distance</div><div class="fractional-line" data-v-77edf8aa></div><div data-v-77edf8aa>CP Speed</div></div><div style="width:3%;" data-v-77edf8aa>×</div><div class="function" style="width:23%;" data-v-77edf8aa><div data-v-77edf8aa>CP Daily FO Consumption</div><div class="fractional-line" data-v-77edf8aa></div><div data-v-77edf8aa>24</div></div><div style="width:3%;" data-v-77edf8aa>=</div>',6),QZ={class:"function",style:{width:"5%"}},JZ=A(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),KZ=A(()=>e.createElementVNode("div",{style:{width:"3%"}},"×",-1)),qZ={class:"function",style:{width:"5%"}},XZ=A(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),jZ=A(()=>e.createElementVNode("div",null,"24",-1)),$Z=A(()=>e.createElementVNode("div",{style:{width:"3%"}},"=",-1)),vZ={style:{width:"5%"}},eQ=A(()=>e.createElementVNode("div",{style:{width:"5%"}},"(mt)",-1)),tQ={class:"equation"},oQ=e.createStaticVNode('<div style="width:20%;text-align:left;" data-v-77edf8aa>DO Consumption for Route prior to deviation sailing</div><div style="width:2%;" data-v-77edf8aa>=</div><div class="function" style="width:30%;" data-v-77edf8aa><div data-v-77edf8aa>Route prior to deviation Distance</div><div class="fractional-line" data-v-77edf8aa></div><div data-v-77edf8aa>CP Speed</div></div><div style="width:3%;" data-v-77edf8aa>×</div><div class="function" style="width:23%;" data-v-77edf8aa><div data-v-77edf8aa>CP Daily DO Consumption</div><div class="fractional-line" data-v-77edf8aa></div><div data-v-77edf8aa>24</div></div><div style="width:3%;" data-v-77edf8aa>=</div>',6),lQ={class:"function",style:{width:"5%"}},aQ=A(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),nQ=A(()=>e.createElementVNode("div",{style:{width:"3%"}},"×",-1)),sQ={class:"function",style:{width:"5%"}},iQ=A(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),dQ=A(()=>e.createElementVNode("div",null,"24",-1)),cQ=A(()=>e.createElementVNode("div",{style:{width:"3%"}},"=",-1)),rQ={style:{width:"5%"}},mQ=A(()=>e.createElementVNode("div",{style:{width:"5%"}},"(mt)",-1)),hQ={key:0,class:"equation"},pQ=e.createStaticVNode('<div style="width:20%;text-align:left;" data-v-77edf8aa>FO Total Extra Consumption(mt)</div><div style="width:2%;" data-v-77edf8aa>=</div><div style="width:30%;" data-v-77edf8aa>FO Consumption for Actual Route</div><div style="width:3%;" data-v-77edf8aa>-</div><div style="width:23%;" data-v-77edf8aa>FO Consumption for Route prior to deviation sailing</div><div style="width:3%;" data-v-77edf8aa>=</div>',6),EQ={style:{width:"5%"}},yQ=A(()=>e.createElementVNode("div",{style:{width:"3%"}},"-",-1)),_Q={style:{width:"5%"}},NQ=A(()=>e.createElementVNode("div",{style:{width:"3%"}},"=",-1)),VQ={style:{width:"5%"}},fQ=A(()=>e.createElementVNode("div",{style:{width:"5%"}},"(mt)",-1)),gQ={key:1,class:"equation"},DQ=e.createStaticVNode('<div style="width:15%;text-align:left;" data-v-77edf8aa>FO Total Extra Consumption(mt)</div><div style="width:2%;" data-v-77edf8aa>=</div><div style="width:15%;" data-v-77edf8aa>FO Consumption for Actual Route</div><div style="width:3%;" data-v-77edf8aa>-</div><div style="width:20%;" data-v-77edf8aa>FO Consumption for Route prior to deviation sailing</div><div style="width:3%;" data-v-77edf8aa>-</div><div style="width:10%;" data-v-77edf8aa>FO Consumption in port</div><div style="width:3%;" data-v-77edf8aa>=</div>',8),xQ={style:{width:"5%"}},bQ=A(()=>e.createElementVNode("div",{style:{width:"3%"}},"-",-1)),CQ={style:{width:"5%"}},SQ=A(()=>e.createElementVNode("div",{style:{width:"3%"}},"-",-1)),kQ={style:{width:"5%"}},AQ=A(()=>e.createElementVNode("div",{style:{width:"3%"}},"=",-1)),BQ={style:{width:"5%"}},wQ=A(()=>e.createElementVNode("div",{style:{width:"5%"}},"(mt)",-1)),TQ={key:2,class:"equation"},OQ=e.createStaticVNode('<div style="width:20%;text-align:left;" data-v-77edf8aa>DO/GO Total Extra Consumption(mt)</div><div style="width:2%;" data-v-77edf8aa>=</div><div style="width:30%;" data-v-77edf8aa>DO/GO Consumption for Actual Route</div><div style="width:3%;" data-v-77edf8aa>-</div><div style="width:23%;" data-v-77edf8aa>DO/GO Consumption for Route prior to deviation sailing</div><div style="width:3%;" data-v-77edf8aa>=</div>',6),FQ={style:{width:"5%"}},PQ=A(()=>e.createElementVNode("div",{style:{width:"3%"}},"-",-1)),uQ={style:{width:"5%"}},LQ=A(()=>e.createElementVNode("div",{style:{width:"3%"}},"=",-1)),WQ={style:{width:"5%"}},HQ=A(()=>e.createElementVNode("div",{style:{width:"5%"}},"(mt)",-1)),MQ={key:3,class:"equation"},GQ=e.createStaticVNode('<div style="width:15%;text-align:left;" data-v-77edf8aa>DO/GO Total Extra Consumption(mt)</div><div style="width:2%;" data-v-77edf8aa>=</div><div style="width:15%;" data-v-77edf8aa>DO/GO Consumption for Actual Route</div><div style="width:3%;" data-v-77edf8aa>-</div><div style="width:20%;" data-v-77edf8aa>DO/GO Consumption for Route prior to deviation sailing</div><div style="width:3%;" data-v-77edf8aa>-</div><div style="width:10%;" data-v-77edf8aa>DO/GO Consumption in port</div><div style="width:3%;" data-v-77edf8aa>=</div>',8),IQ={style:{width:"5%"}},RQ=A(()=>e.createElementVNode("div",{style:{width:"3%"}},"-",-1)),zQ={style:{width:"5%"}},UQ=A(()=>e.createElementVNode("div",{style:{width:"3%"}},"-",-1)),YQ={style:{width:"5%"}},ZQ=A(()=>e.createElementVNode("div",{style:{width:"3%"}},"=",-1)),QQ={style:{width:"5%"}},JQ=A(()=>e.createElementVNode("div",{style:{width:"5%"}},"(mt)",-1)),KQ={key:8,class:"report-summary"},qQ=A(()=>e.createElementVNode("div",{class:"summary-item"},[e.createElementVNode("div",{class:"blue flexM"}),e.createElementVNode("div",{class:"flex blue center"},"FO"),e.createElementVNode("div",{class:"flex blue center"},"DO/GO")],-1)),XQ={class:"summary-item"},jQ=A(()=>e.createElementVNode("div",{class:"blue flexM"},"Consumption for extra distance sailing (mt)",-1)),$Q={class:"flex blue center"},vQ={class:"flex blue center"},eJ={class:"summary-item"},tJ=A(()=>e.createElementVNode("div",{class:"blue flexM"},"Consumption in extra port (mt)",-1)),oJ={class:"flex blue center"},lJ={class:"flex blue center"},aJ={class:"summary-item"},nJ=A(()=>e.createElementVNode("div",{class:"blue flexM"},"Total extra Consumption (mt)",-1)),sJ={key:9,class:"report-summary"},iJ=A(()=>e.createElementVNode("div",{class:"summary-item"},[e.createElementVNode("div",{class:"blue flexM"}),e.createElementVNode("div",{class:"flex blue center"},"FO"),e.createElementVNode("div",{class:"flex blue center"},"DO/GO")],-1)),dJ={class:"summary-item"},cJ=A(()=>e.createElementVNode("div",{class:"blue flexM"},"Consumption for Route prior to deviation sailing (mt)",-1)),rJ={class:"flex blue center"},mJ={class:"flex blue center"},hJ={class:"summary-item"},pJ=A(()=>e.createElementVNode("div",{class:"blue flexM"},"Consumption for Actual Route (mt)",-1)),EJ={class:"flex blue center"},yJ={class:"flex blue center"},_J={key:0,class:"summary-item"},NJ=A(()=>e.createElementVNode("div",{class:"blue flexM"},"Consumption in port (hrs)",-1)),VJ={class:"flex blue center"},fJ={class:"flex blue center"},gJ={class:"summary-item"},DJ=A(()=>e.createElementVNode("div",{class:"blue flexM"},"Total extra Consumption (mt)",-1)),xJ=["innerHTML"];function bJ(t,n,o,d,l,a){var _,N,D,r,C,k,O,P,F,w,x,u,R,Z,z,W,f,Y,G,H,K,q,j,X,V,M,J,s,$,c,ee,oe,te,se,ie,ce,re,he,pe,Ee,de,ye,xe,be,Ce,Se,ke,Ae,Be,Fe,Pe,fe,L,_e,ue,Le,We,we,He,Ke,qe,U,Oe,ze,Ue,Ye,Ze,Qe,Je,y,Q,ge,Te,Me,me,Xe,$e,ve,ot,lt,at,nt,mt,ht,pt,Et,yt,_t,Nt,Vt,ft,gt,Dt,xt,bt,Ct,St,kt,At,Bt,wt,Tt,Ht,ho,yo,_o,No,Vo,I,tt,Ot,Ft,Mt,Gt,It,Rt,zt,Ut,Yt,Zt,Qt,Jt,Kt,qt,Xt,jt,$t,vt,eo,to,oo,lo,ao,no,so,io,co,fo,go,Do,xo,bo,Co,So,ko,Ao,Bo,wo,To,Oo,Fo,Po,uo,Lo,Wo,Ho,Mo,Go,Io,Uo,Yo,Zo,Qo,Jo,Ko,qo,Xo,jo,$o,vo,el,tl,ol,ll,al,nl,sl,il,dl,cl,rl,ml,hl,pl,El,Pt,Nl,gl,Dl,xl,bl,Cl,Sl,kl,Al,Bl,wl,Tl,Ol,Fl,Pl,ul,Ll,Wl,Hl,Ml,Gl,Il,Rl,zl,Ul,Yl,Zl,Ql,Jl,Kl,ql,Xl,jl,$l,vl,ea,ta,oa,la,aa,na,sa,ia,da,ca,ra,ma,ha,pa,Ea,ya,_a,Na,Va,fa,ga,Da,xa,ba,Ca,Sa,ka,Aa,Ba,wa,Ta,Oa,Fa,Pa,ua,La,Wa,Ha,Ma,Ga,Ia,Ra,za,Ua,Ya;const p=e.resolveComponent("EditableItem"),i=e.resolveComponent("CirclePlus"),E=e.resolveComponent("ElIcon"),b=e.resolveComponent("Remove"),S=e.resolveComponent("Editor");return e.openBlock(),e.createElementBlock("div",YR,[ZR,e.createElementVNode("div",QR,[e.createElementVNode("div",JR,[e.createElementVNode("div",KR,[qR,e.createElementVNode("div",XR,e.toDisplayString(a.computeUTCTime((_=l.extraData)==null?void 0:_.createdAt,"dddd,MMM DD,YYYY")),1)])])]),e.createElementVNode("div",jR,[e.createElementVNode("div",$R,[vR,e.createElementVNode("div",ez,e.toDisplayString((D=(N=l.extraData)==null?void 0:N.vessel)==null?void 0:D.name),1)]),e.createElementVNode("div",tz,[oz,e.createElementVNode("div",lz,e.toDisplayString((r=l.extraData)==null?void 0:r.preparedFor),1)]),e.createElementVNode("div",az,[nz,e.createElementVNode("div",sz,e.toDisplayString((k=(C=l.extraData)==null?void 0:C.vessel)==null?void 0:k.type),1)]),e.createElementVNode("div",iz,[dz,e.createElementVNode("div",cz,e.toDisplayString((P=(O=l.extraData)==null?void 0:O.voyage)==null?void 0:P.number),1)]),e.createElementVNode("div",rz,[mz,e.createElementVNode("div",hz,[e.createElementVNode("span",pz,e.toDisplayString((w=(F=l.extraData)==null?void 0:F.departure)==null?void 0:w.name),1),e.createElementVNode("span",Ez,e.toDisplayString(a.computeUTCTime(((u=(x=l.extraData)==null?void 0:x.departure)==null?void 0:u.atd)||((Z=(R=l.extraData)==null?void 0:R.departure)==null?void 0:Z.etd))),1)])]),e.createElementVNode("div",yz,[_z,e.createElementVNode("div",Nz,[e.createElementVNode("span",Vz,e.toDisplayString((W=(z=l.extraData)==null?void 0:z.arrival)==null?void 0:W.name),1),e.createElementVNode("span",fz,e.toDisplayString(a.computeUTCTime(((Y=(f=l.extraData)==null?void 0:f.arrival)==null?void 0:Y.ata)||((H=(G=l.extraData)==null?void 0:G.arrival)==null?void 0:H.eta))),1)])])]),gz,e.createElementVNode("div",Dz,[e.createElementVNode("div",xz,[bz,e.createElementVNode("div",{class:e.normalizeClass(`${a.computeColor((K=l.extraData)==null?void 0:K.extraDist)} flex blue`)},e.toDisplayString(((q=l.extraData)==null?void 0:q.extraDist)??"—"),3)]),e.createElementVNode("div",Cz,[Sz,e.createElementVNode("div",{class:e.normalizeClass(`${a.computeColor((X=(j=l.extraData)==null?void 0:j.timeAnalysis)==null?void 0:X.totalExtraTime)} flex blue`)},e.toDisplayString(((M=(V=l.extraData)==null?void 0:V.timeAnalysis)==null?void 0:M.totalExtraTime)??"—"),3)]),e.createElementVNode("div",kz,[Az,e.createElementVNode("div",{class:e.normalizeClass(`${a.computeColor(($=(s=(J=l.extraData)==null?void 0:J.consAnalysis)==null?void 0:s.fo)==null?void 0:$.totalExtraCons)} flex blue`)},e.toDisplayString(((oe=(ee=(c=l.extraData)==null?void 0:c.consAnalysis)==null?void 0:ee.fo)==null?void 0:oe.totalExtraCons)??"—"),3)]),e.createElementVNode("div",Bz,[wz,e.createElementVNode("div",{class:e.normalizeClass(`${a.computeColor((ie=(se=(te=l.extraData)==null?void 0:te.consAnalysis)==null?void 0:se.dgo)==null?void 0:ie.totalExtraCons)} flex blue`)},e.toDisplayString(((he=(re=(ce=l.extraData)==null?void 0:ce.consAnalysis)==null?void 0:re.dgo)==null?void 0:he.totalExtraCons)??"—"),3)])]),Tz,e.createElementVNode("div",Oz,[e.createElementVNode("img",{style:{width:"100%"},src:(pe=l.extraData)==null?void 0:pe.chartUrl,alt:""},null,8,Fz),Pz]),uz,t.isDistExtra?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("div",Lz,"Diversion Information")),t.isDistExtra?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("div",Wz,[Hz,e.createElementVNode("div",Mz,[Gz,e.createElementVNode("div",Iz,e.toDisplayString(a.computedLngLat((Ee=l.extraData)==null?void 0:Ee.startLng,(de=l.extraData)==null?void 0:de.startLat)),1),e.createElementVNode("div",Rz,e.toDisplayString(a.computeUTCTime((ye=l.extraData)==null?void 0:ye.startTime,"MMM DD,YYYY HHmm")),1),e.createElementVNode("div",zz,[e.createVNode(p,{style:{padding:"0px"},class:"editable-item",value:(xe=l.extraData)==null?void 0:xe.startFoBrob,iconable:!1,size:"small",type:"alphanumeric",align:"center",onCommit:n[0]||(n[0]=ae=>a.handleCommit("extra","startFoBrob",ae))},null,8,["value"])]),e.createElementVNode("div",Uz,[e.createVNode(p,{style:{padding:"0px"},class:"editable-item",value:(be=l.extraData)==null?void 0:be.startDgoBrob,iconable:!1,size:"small",type:"alphanumeric",align:"center",onCommit:n[1]||(n[1]=ae=>a.handleCommit("extra","startDgoBrob",ae))},null,8,["value"])]),Yz,Zz]),e.createElementVNode("div",Qz,[Jz,e.createElementVNode("div",Kz,e.toDisplayString(a.computedLngLat((Ce=l.extraData)==null?void 0:Ce.endLng,(Se=l.extraData)==null?void 0:Se.endLat)),1),e.createElementVNode("div",qz,e.toDisplayString(a.computeUTCTime((ke=l.extraData)==null?void 0:ke.endTime,"MMM DD,YYYY HHmm")),1),e.createElementVNode("div",Xz,[e.createVNode(p,{style:{padding:"0px"},class:"editable-item",value:(Ae=l.extraData)==null?void 0:Ae.endFoBrob,iconable:!1,size:"small",type:"alphanumeric",align:"center",onCommit:n[2]||(n[2]=ae=>a.handleCommit("extra","endFoBrob",ae))},null,8,["value"])]),e.createElementVNode("div",jz,[e.createVNode(p,{style:{padding:"0px"},class:"editable-item",value:(Be=l.extraData)==null?void 0:Be.endDgoBrob,iconable:!1,size:"small",type:"alphanumeric",align:"center",onCommit:n[3]||(n[3]=ae=>a.handleCommit("extra","endDgoBrob",ae))},null,8,["value"])]),e.createElementVNode("div",$z,[e.createVNode(p,{style:{padding:"0px"},class:"editable-item",value:(Fe=l.extraData)==null?void 0:Fe.endFoBunkering,iconable:!1,size:"small",type:"alphanumeric",align:"center",onCommit:n[4]||(n[4]=ae=>a.handleCommit("extra","endFoBunkering",ae))},null,8,["value"])]),e.createElementVNode("div",vz,[e.createVNode(p,{style:{padding:"0px"},class:"editable-item",value:(Pe=l.extraData)==null?void 0:Pe.endDgoBunkering,iconable:!1,size:"small",type:"alphanumeric",align:"center",onCommit:n[5]||(n[5]=ae=>a.handleCommit("extra","endDgoBunkering",ae))},null,8,["value"])])]),e.createElementVNode("div",eU,[tU,oU,e.createElementVNode("div",lU,e.toDisplayString(((L=(fe=l.extraData)==null?void 0:fe.timeAnalysis)==null?void 0:L.actualTime)??"—"),1),e.createElementVNode("div",aU,e.toDisplayString(((Le=(ue=(_e=l.extraData)==null?void 0:_e.consAnalysis)==null?void 0:ue.fo)==null?void 0:Le.actualCons)??"—"),1),e.createElementVNode("div",nU,e.toDisplayString(((He=(we=(We=l.extraData)==null?void 0:We.consAnalysis)==null?void 0:we.dgo)==null?void 0:He.actualCons)??"—"),1),sU,iU])])),dU,e.createElementVNode("div",cU,[e.createElementVNode("div",rU,[mU,e.createElementVNode("div",hU,e.toDisplayString(((qe=(Ke=l.extraData)==null?void 0:Ke.cp)==null?void 0:qe.speed)??"—"),1)]),e.createElementVNode("div",pU,[EU,e.createElementVNode("div",yU,e.toDisplayString(((Oe=(U=l.extraData)==null?void 0:U.cp)==null?void 0:Oe.fo)??"—"),1)]),e.createElementVNode("div",_U,[NU,e.createElementVNode("div",VU,e.toDisplayString(((Ue=(ze=l.extraData)==null?void 0:ze.cp)==null?void 0:Ue.dgo)??"—"),1)])]),e.createElementVNode("div",fU,[gU,e.createElementVNode("div",DU,[e.createVNode(E,{size:20,onClick:a.handleAdd},{default:e.withCtx(()=>[e.createVNode(i)]),_:1},8,["onClick"])])]),e.createElementVNode("div",xU,[e.createElementVNode("table",null,[bU,e.createElementVNode("tbody",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(l.extraPortList,(ae,ro)=>{var Za,Qa,Ja,ne,mo,Ka,qa,Xa;return e.openBlock(),e.createElementBlock(e.Fragment,{key:ro},[e.createElementVNode("tr",null,[e.createElementVNode("td",CU,[e.createVNode(p,{class:"editable-item",value:ae==null?void 0:ae.name,type:"remotePortSelect",size:"small",align:"center",options:l.portList,onSelect:a.fetchSuggestName,onCommit:rt=>a.handleCommit("port","name",rt,ro)},null,8,["value","options","onSelect","onCommit"])]),SU,e.createElementVNode("td",null,[e.createVNode(p,{class:"check editable-item",value:(Za=ae==null?void 0:ae.arrival)==null?void 0:Za.date,size:"small",format:"MMM-DD,YYYY|HHmm[Z]",iconable:!1,type:"datetime",align:"center",onCommit:rt=>a.handleCommit("port","arrival.date",rt,ro)},null,8,["value","onCommit"])]),e.createElementVNode("td",null,[e.createVNode(p,{class:"editable-item",value:(Qa=ae==null?void 0:ae.arrival)==null?void 0:Qa.foBrob,iconable:!1,size:"small",type:"alphanumeric",align:"center",onCommit:rt=>a.handleCommit("port","arrival.foBrob",rt,ro)},null,8,["value","onCommit"])]),e.createElementVNode("td",null,[e.createVNode(p,{class:"editable-item",value:(Ja=ae==null?void 0:ae.arrival)==null?void 0:Ja.dgoBrob,iconable:!1,size:"small",type:"alphanumeric",align:"center",onCommit:rt=>a.handleCommit("port","arrival.dgoBrob",rt,ro)},null,8,["value","onCommit"])]),kU,AU,e.createElementVNode("td",BU,[e.createVNode(E,{size:20,onClick:rt=>a.handleRemove(ro)},{default:e.withCtx(()=>[e.createVNode(b)]),_:2},1032,["onClick"])])]),e.createElementVNode("tr",null,[wU,e.createElementVNode("td",null,[e.createVNode(p,{class:"check editable-item",value:(ne=ae==null?void 0:ae.departure)==null?void 0:ne.date,size:"small",format:"MMM-DD,YYYY|HHmm[Z]",iconable:!1,type:"datetime",align:"center",onCommit:rt=>a.handleCommit("port","departure.date",rt,ro)},null,8,["value","onCommit"])]),e.createElementVNode("td",null,[e.createVNode(p,{class:"editable-item",value:(mo=ae==null?void 0:ae.departure)==null?void 0:mo.foBrob,iconable:!1,size:"small",type:"alphanumeric",align:"center",onCommit:rt=>a.handleCommit("port","departure.foBrob",rt,ro)},null,8,["value","onCommit"])]),e.createElementVNode("td",null,[e.createVNode(p,{class:"editable-item",value:(Ka=ae==null?void 0:ae.departure)==null?void 0:Ka.dgoBrob,iconable:!1,size:"small",type:"alphanumeric",align:"center",onCommit:rt=>a.handleCommit("port","departure.dgoBrob",rt,ro)},null,8,["value","onCommit"])]),e.createElementVNode("td",null,[e.createVNode(p,{class:"editable-item",value:(qa=ae==null?void 0:ae.departure)==null?void 0:qa.bunkeringFo,iconable:!1,size:"small",type:"alphanumeric",align:"center",onCommit:rt=>a.handleCommit("port","departure.bunkeringFo",rt,ro)},null,8,["value","onCommit"])]),e.createElementVNode("td",null,[e.createVNode(p,{class:"editable-item",value:(Xa=ae==null?void 0:ae.departure)==null?void 0:Xa.bunkeringDgo,iconable:!1,size:"small",type:"alphanumeric",align:"center",onCommit:rt=>a.handleCommit("port","departure.bunkeringDgo",rt,ro)},null,8,["value","onCommit"])])])],64)}),128)),e.createElementVNode("tr",null,[TU,OU,e.createElementVNode("td",null,e.toDisplayString(((Ze=(Ye=l.extraData)==null?void 0:Ye.timeAnalysis)==null?void 0:Ze.portTime)??"—"),1),e.createElementVNode("td",null,e.toDisplayString(((y=(Je=(Qe=l.extraData)==null?void 0:Qe.consAnalysis)==null?void 0:Je.fo)==null?void 0:y.portCons)??"—"),1),e.createElementVNode("td",null,e.toDisplayString(((Te=(ge=(Q=l.extraData)==null?void 0:Q.consAnalysis)==null?void 0:ge.dgo)==null?void 0:Te.portCons)??"—"),1),FU,PU,uU])])])]),LU,e.createElementVNode("div",WU,[HU,e.createElementVNode("div",MU,[GU,e.createElementVNode("div",IU,[e.createVNode(p,{class:"editable-item",style:{padding:"0px"},value:(Me=l.extraData)==null?void 0:Me.actualDist,iconable:!1,size:"small",type:"alphanumeric",align:"center",onCommit:n[6]||(n[6]=ae=>a.handleCommit("extraData","actualDist",ae,t.index))},null,8,["value"])]),e.createElementVNode("div",RU,[e.createVNode(p,{class:"editable-item",style:{padding:"0px"},value:(me=l.extraData)==null?void 0:me.priorDist,iconable:!1,size:"small",type:"alphanumeric",align:"center",onCommit:n[7]||(n[7]=ae=>a.handleCommit("extraData","priorDist",ae,t.index))},null,8,["value"])])]),e.createElementVNode("div",zU,[UU,e.createElementVNode("div",YU,e.toDisplayString(((Xe=l.extraData)==null?void 0:Xe.extraDist)??"—"),1)])]),ZU,t.isDistExtra?(e.openBlock(),e.createElementBlock("div",QU,[e.createElementVNode("div",JU,[KU,e.createElementVNode("div",qU,[e.createElementVNode("div",null,e.toDisplayString(($e=l.extraData)==null?void 0:$e.extraDist),1),XU,e.createElementVNode("div",null,e.toDisplayString((ot=(ve=l.extraData)==null?void 0:ve.cp)==null?void 0:ot.speed),1)]),jU,e.createElementVNode("div",$U,e.toDisplayString((at=(lt=l.extraData)==null?void 0:lt.timeAnalysis)==null?void 0:at.sailingTime),1),vU]),e.createElementVNode("div",eY,[tY,e.createElementVNode("div",oY,e.toDisplayString((mt=(nt=l.extraData)==null?void 0:nt.timeAnalysis)==null?void 0:mt.sailingTime),1),lY,e.createElementVNode("div",aY,e.toDisplayString(a.computeNum((pt=(ht=l.extraData)==null?void 0:ht.timeAnalysis)==null?void 0:pt.portTime)),1),nY,e.createElementVNode("div",sY,e.toDisplayString((yt=(Et=l.extraData)==null?void 0:Et.timeAnalysis)==null?void 0:yt.totalExtraTime),1),iY])])):(e.openBlock(),e.createElementBlock("div",dY,[e.createElementVNode("div",cY,[rY,e.createElementVNode("div",mY,[e.createElementVNode("div",null,e.toDisplayString((_t=l.extraData)==null?void 0:_t.priorDist),1),hY,e.createElementVNode("div",null,e.toDisplayString((Vt=(Nt=l.extraData)==null?void 0:Nt.cp)==null?void 0:Vt.speed),1)]),pY,e.createElementVNode("div",EY,e.toDisplayString((gt=(ft=l.extraData)==null?void 0:ft.timeAnalysis)==null?void 0:gt.sailingTime),1),yY]),l.extraPortList.length<1?(e.openBlock(),e.createElementBlock("div",_Y,[NY,e.createElementVNode("div",VY,e.toDisplayString((xt=(Dt=l.extraData)==null?void 0:Dt.timeAnalysis)==null?void 0:xt.actualTime),1),fY,e.createElementVNode("div",gY,e.toDisplayString((Ct=(bt=l.extraData)==null?void 0:bt.timeAnalysis)==null?void 0:Ct.sailingTime),1),DY,e.createElementVNode("div",xY,e.toDisplayString((kt=(St=l.extraData)==null?void 0:St.timeAnalysis)==null?void 0:kt.totalExtraTime),1),bY])):(e.openBlock(),e.createElementBlock("div",CY,[SY,e.createElementVNode("div",kY,e.toDisplayString((Bt=(At=l.extraData)==null?void 0:At.timeAnalysis)==null?void 0:Bt.actualTime),1),AY,e.createElementVNode("div",BY,e.toDisplayString((Tt=(wt=l.extraData)==null?void 0:wt.timeAnalysis)==null?void 0:Tt.sailingTime),1),wY,e.createElementVNode("div",TY,e.toDisplayString((ho=(Ht=l.extraData)==null?void 0:Ht.timeAnalysis)==null?void 0:ho.portTime),1),OY,e.createElementVNode("div",FY,e.toDisplayString((_o=(yo=l.extraData)==null?void 0:yo.timeAnalysis)==null?void 0:_o.totalExtraTime),1),PY]))])),t.isDistExtra?(e.openBlock(),e.createElementBlock("div",uY,[e.createElementVNode("div",LY,[WY,e.createElementVNode("div",HY,e.toDisplayString(((Vo=(No=l.extraData)==null?void 0:No.timeAnalysis)==null?void 0:Vo.sailingTime)??"—"),1)]),e.createElementVNode("div",MY,[GY,e.createElementVNode("div",IY,e.toDisplayString(((tt=(I=l.extraData)==null?void 0:I.timeAnalysis)==null?void 0:tt.portTime)??"—"),1)]),e.createElementVNode("div",RY,[zY,e.createElementVNode("div",UY,e.toDisplayString(((Ft=(Ot=l.extraData)==null?void 0:Ot.timeAnalysis)==null?void 0:Ft.totalExtraTime)??"—"),1)])])):(e.openBlock(),e.createElementBlock("div",YY,[e.createElementVNode("div",ZY,[QY,e.createElementVNode("div",JY,e.toDisplayString((Gt=(Mt=l.extraData)==null?void 0:Mt.timeAnalysis)==null?void 0:Gt.sailingTime),1)]),e.createElementVNode("div",KY,[qY,e.createElementVNode("div",XY,e.toDisplayString((Rt=(It=l.extraData)==null?void 0:It.timeAnalysis)==null?void 0:Rt.actualTime),1)]),l.extraPortList.length>0?(e.openBlock(),e.createElementBlock("div",jY,[$Y,e.createElementVNode("div",vY,e.toDisplayString(((Ut=(zt=l.extraData)==null?void 0:zt.timeAnalysis)==null?void 0:Ut.portTime)??"—"),1)])):e.createCommentVNode("",!0),e.createElementVNode("div",eZ,[tZ,e.createElementVNode("div",oZ,e.toDisplayString((Zt=(Yt=l.extraData)==null?void 0:Yt.timeAnalysis)==null?void 0:Zt.totalExtraTime),1)])])),lZ,t.isDistExtra?(e.openBlock(),e.createElementBlock("div",aZ,[e.createElementVNode("div",nZ,[sZ,e.createElementVNode("div",iZ,[e.createElementVNode("div",null,e.toDisplayString((Qt=l.extraData)==null?void 0:Qt.extraDist),1),dZ,e.createElementVNode("div",null,e.toDisplayString((Kt=(Jt=l.extraData)==null?void 0:Jt.cp)==null?void 0:Kt.speed),1)]),cZ,e.createElementVNode("div",rZ,[e.createElementVNode("div",null,e.toDisplayString((Xt=(qt=l.extraData)==null?void 0:qt.cp)==null?void 0:Xt.fo),1),mZ,hZ]),pZ,e.createElementVNode("div",EZ,e.toDisplayString((vt=($t=(jt=l.extraData)==null?void 0:jt.consAnalysis)==null?void 0:$t.fo)==null?void 0:vt.sailingCons),1),yZ]),e.createElementVNode("div",_Z,[NZ,e.createElementVNode("div",VZ,e.toDisplayString((oo=(to=(eo=l.extraData)==null?void 0:eo.consAnalysis)==null?void 0:to.fo)==null?void 0:oo.sailingCons),1),fZ,e.createElementVNode("div",gZ,e.toDisplayString(a.computeNum((no=(ao=(lo=l.extraData)==null?void 0:lo.consAnalysis)==null?void 0:ao.fo)==null?void 0:no.portCons)),1),DZ,e.createElementVNode("div",xZ,e.toDisplayString((co=(io=(so=l.extraData)==null?void 0:so.consAnalysis)==null?void 0:io.fo)==null?void 0:co.totalExtraCons),1),bZ]),e.createElementVNode("div",CZ,[SZ,e.createElementVNode("div",kZ,[e.createElementVNode("div",null,e.toDisplayString((fo=l.extraData)==null?void 0:fo.extraDist),1),AZ,e.createElementVNode("div",null,e.toDisplayString((Do=(go=l.extraData)==null?void 0:go.cp)==null?void 0:Do.speed),1)]),BZ,e.createElementVNode("div",wZ,[e.createElementVNode("div",null,e.toDisplayString((bo=(xo=l.extraData)==null?void 0:xo.cp)==null?void 0:bo.dgo),1),TZ,OZ]),FZ,e.createElementVNode("div",PZ,e.toDisplayString((ko=(So=(Co=l.extraData)==null?void 0:Co.consAnalysis)==null?void 0:So.dgo)==null?void 0:ko.sailingCons),1),uZ]),e.createElementVNode("div",LZ,[WZ,e.createElementVNode("div",HZ,e.toDisplayString((wo=(Bo=(Ao=l.extraData)==null?void 0:Ao.consAnalysis)==null?void 0:Bo.dgo)==null?void 0:wo.sailingCons),1),MZ,e.createElementVNode("div",GZ,e.toDisplayString(a.computeNum((Fo=(Oo=(To=l.extraData)==null?void 0:To.consAnalysis)==null?void 0:Oo.dgo)==null?void 0:Fo.portCons)),1),IZ,e.createElementVNode("div",RZ,e.toDisplayString((Lo=(uo=(Po=l.extraData)==null?void 0:Po.consAnalysis)==null?void 0:uo.dgo)==null?void 0:Lo.totalExtraCons),1),zZ])])):(e.openBlock(),e.createElementBlock("div",UZ,[e.createElementVNode("div",YZ,[ZZ,e.createElementVNode("div",QZ,[e.createElementVNode("div",null,e.toDisplayString((Wo=l.extraData)==null?void 0:Wo.priorDist),1),JZ,e.createElementVNode("div",null,e.toDisplayString((Mo=(Ho=l.extraData)==null?void 0:Ho.cp)==null?void 0:Mo.speed),1)]),KZ,e.createElementVNode("div",qZ,[e.createElementVNode("div",null,e.toDisplayString((Io=(Go=l.extraData)==null?void 0:Go.cp)==null?void 0:Io.fo),1),XZ,jZ]),$Z,e.createElementVNode("div",vZ,e.toDisplayString((Zo=(Yo=(Uo=l.extraData)==null?void 0:Uo.consAnalysis)==null?void 0:Yo.fo)==null?void 0:Zo.sailingCons),1),eQ]),e.createElementVNode("div",tQ,[oQ,e.createElementVNode("div",lQ,[e.createElementVNode("div",null,e.toDisplayString((Qo=l.extraData)==null?void 0:Qo.priorDist),1),aQ,e.createElementVNode("div",null,e.toDisplayString((Ko=(Jo=l.extraData)==null?void 0:Jo.cp)==null?void 0:Ko.speed),1)]),nQ,e.createElementVNode("div",sQ,[e.createElementVNode("div",null,e.toDisplayString((Xo=(qo=l.extraData)==null?void 0:qo.cp)==null?void 0:Xo.dgo),1),iQ,dQ]),cQ,e.createElementVNode("div",rQ,e.toDisplayString((vo=($o=(jo=l.extraData)==null?void 0:jo.consAnalysis)==null?void 0:$o.dgo)==null?void 0:vo.sailingCons),1),mQ]),l.extraPortList.length<1?(e.openBlock(),e.createElementBlock("div",hQ,[pQ,e.createElementVNode("div",EQ,e.toDisplayString((ol=(tl=(el=l.extraData)==null?void 0:el.consAnalysis)==null?void 0:tl.fo)==null?void 0:ol.actualCons),1),yQ,e.createElementVNode("div",_Q,e.toDisplayString(a.computeNum((nl=(al=(ll=l.extraData)==null?void 0:ll.consAnalysis)==null?void 0:al.fo)==null?void 0:nl.sailingCons)),1),NQ,e.createElementVNode("div",VQ,e.toDisplayString((dl=(il=(sl=l.extraData)==null?void 0:sl.consAnalysis)==null?void 0:il.fo)==null?void 0:dl.totalExtraCons),1),fQ])):(e.openBlock(),e.createElementBlock("div",gQ,[DQ,e.createElementVNode("div",xQ,e.toDisplayString((ml=(rl=(cl=l.extraData)==null?void 0:cl.consAnalysis)==null?void 0:rl.fo)==null?void 0:ml.actualCons),1),bQ,e.createElementVNode("div",CQ,e.toDisplayString(a.computeNum((El=(pl=(hl=l.extraData)==null?void 0:hl.consAnalysis)==null?void 0:pl.fo)==null?void 0:El.sailingCons)),1),SQ,e.createElementVNode("div",kQ,e.toDisplayString(a.computeNum((gl=(Nl=(Pt=l.extraData)==null?void 0:Pt.consAnalysis)==null?void 0:Nl.fo)==null?void 0:gl.portCons)),1),AQ,e.createElementVNode("div",BQ,e.toDisplayString((bl=(xl=(Dl=l.extraData)==null?void 0:Dl.consAnalysis)==null?void 0:xl.fo)==null?void 0:bl.totalExtraCons),1),wQ])),l.extraPortList.length<1?(e.openBlock(),e.createElementBlock("div",TQ,[OQ,e.createElementVNode("div",FQ,e.toDisplayString((kl=(Sl=(Cl=l.extraData)==null?void 0:Cl.consAnalysis)==null?void 0:Sl.dgo)==null?void 0:kl.actualCons),1),PQ,e.createElementVNode("div",uQ,e.toDisplayString((wl=(Bl=(Al=l.extraData)==null?void 0:Al.consAnalysis)==null?void 0:Bl.dgo)==null?void 0:wl.sailingCons),1),LQ,e.createElementVNode("div",WQ,e.toDisplayString((Fl=(Ol=(Tl=l.extraData)==null?void 0:Tl.consAnalysis)==null?void 0:Ol.dgo)==null?void 0:Fl.totalExtraCons),1),HQ])):(e.openBlock(),e.createElementBlock("div",MQ,[GQ,e.createElementVNode("div",IQ,e.toDisplayString((Ll=(ul=(Pl=l.extraData)==null?void 0:Pl.consAnalysis)==null?void 0:ul.dgo)==null?void 0:Ll.actualCons),1),RQ,e.createElementVNode("div",zQ,e.toDisplayString(a.computeNum((Ml=(Hl=(Wl=l.extraData)==null?void 0:Wl.consAnalysis)==null?void 0:Hl.dgo)==null?void 0:Ml.sailingCons)),1),UQ,e.createElementVNode("div",YQ,e.toDisplayString(a.computeNum((Rl=(Il=(Gl=l.extraData)==null?void 0:Gl.consAnalysis)==null?void 0:Il.dgo)==null?void 0:Rl.portCons)),1),ZQ,e.createElementVNode("div",QQ,e.toDisplayString((Yl=(Ul=(zl=l.extraData)==null?void 0:zl.consAnalysis)==null?void 0:Ul.dgo)==null?void 0:Yl.totalExtraCons),1),JQ]))])),t.isDistExtra?(e.openBlock(),e.createElementBlock("div",KQ,[qQ,e.createElementVNode("div",XQ,[jQ,e.createElementVNode("div",$Q,e.toDisplayString(((Jl=(Ql=(Zl=l.extraData)==null?void 0:Zl.consAnalysis)==null?void 0:Ql.fo)==null?void 0:Jl.sailingCons)??"—"),1),e.createElementVNode("div",vQ,e.toDisplayString(((Xl=(ql=(Kl=l.extraData)==null?void 0:Kl.consAnalysis)==null?void 0:ql.dgo)==null?void 0:Xl.sailingCons)??"—"),1)]),e.createElementVNode("div",eJ,[tJ,e.createElementVNode("div",oJ,e.toDisplayString(((vl=($l=(jl=l.extraData)==null?void 0:jl.consAnalysis)==null?void 0:$l.fo)==null?void 0:vl.portCons)??"—"),1),e.createElementVNode("div",lJ,e.toDisplayString(((oa=(ta=(ea=l.extraData)==null?void 0:ea.consAnalysis)==null?void 0:ta.dgo)==null?void 0:oa.portCons)??"—"),1)]),e.createElementVNode("div",aJ,[nJ,e.createElementVNode("div",{class:e.normalizeClass(`${a.computeColor((na=(aa=(la=l.extraData)==null?void 0:la.consAnalysis)==null?void 0:aa.fo)==null?void 0:na.totalExtraCons)} flex blue center`)},e.toDisplayString(((da=(ia=(sa=l.extraData)==null?void 0:sa.consAnalysis)==null?void 0:ia.fo)==null?void 0:da.totalExtraCons)??"—"),3),e.createElementVNode("div",{class:e.normalizeClass(`${a.computeColor((ma=(ra=(ca=l.extraData)==null?void 0:ca.consAnalysis)==null?void 0:ra.dgo)==null?void 0:ma.totalExtraCons)} flex blue center`)},e.toDisplayString(((Ea=(pa=(ha=l.extraData)==null?void 0:ha.consAnalysis)==null?void 0:pa.dgo)==null?void 0:Ea.totalExtraCons)??"—"),3)])])):(e.openBlock(),e.createElementBlock("div",sJ,[iJ,e.createElementVNode("div",dJ,[cJ,e.createElementVNode("div",rJ,e.toDisplayString((Na=(_a=(ya=l.extraData)==null?void 0:ya.consAnalysis)==null?void 0:_a.fo)==null?void 0:Na.sailingCons),1),e.createElementVNode("div",mJ,e.toDisplayString((ga=(fa=(Va=l.extraData)==null?void 0:Va.consAnalysis)==null?void 0:fa.dgo)==null?void 0:ga.sailingCons),1)]),e.createElementVNode("div",hJ,[pJ,e.createElementVNode("div",EJ,e.toDisplayString((ba=(xa=(Da=l.extraData)==null?void 0:Da.consAnalysis)==null?void 0:xa.fo)==null?void 0:ba.actualCons),1),e.createElementVNode("div",yJ,e.toDisplayString((ka=(Sa=(Ca=l.extraData)==null?void 0:Ca.consAnalysis)==null?void 0:Sa.dgo)==null?void 0:ka.actualCons),1)]),l.extraPortList.length>0?(e.openBlock(),e.createElementBlock("div",_J,[NJ,e.createElementVNode("div",VJ,e.toDisplayString((wa=(Ba=(Aa=l.extraData)==null?void 0:Aa.consAnalysis)==null?void 0:Ba.fo)==null?void 0:wa.portCons),1),e.createElementVNode("div",fJ,e.toDisplayString((Fa=(Oa=(Ta=l.extraData)==null?void 0:Ta.consAnalysis)==null?void 0:Oa.dgo)==null?void 0:Fa.portCons),1)])):e.createCommentVNode("",!0),e.createElementVNode("div",gJ,[DJ,e.createElementVNode("div",{class:e.normalizeClass(`${a.computeColor((La=(ua=(Pa=l.extraData)==null?void 0:Pa.consAnalysis)==null?void 0:ua.fo)==null?void 0:La.totalExtraCons)} flex blue center`)},e.toDisplayString((Ma=(Ha=(Wa=l.extraData)==null?void 0:Wa.consAnalysis)==null?void 0:Ha.fo)==null?void 0:Ma.totalExtraCons),3),e.createElementVNode("div",{class:e.normalizeClass(`${a.computeColor((Ra=(Ia=(Ga=l.extraData)==null?void 0:Ga.consAnalysis)==null?void 0:Ia.dgo)==null?void 0:Ra.totalExtraCons)} flex blue center`)},e.toDisplayString((Ya=(Ua=(za=l.extraData)==null?void 0:za.consAnalysis)==null?void 0:Ua.dgo)==null?void 0:Ya.totalExtraCons),3)])])),e.createElementVNode("div",{class:e.normalizeClass(`subtitle ${l.advisory&&l.advisory!=="<p><br></p>"?"":"print-hidden"}`)},"Comments",2),e.createElementVNode("div",{class:e.normalizeClass(`report-comments ${l.advisory&&l.advisory!=="<p><br></p>"?"":"print-hidden"}`),style:{"min-height":"50px"}},[l.editable?(e.openBlock(),e.createBlock(S,{key:0,modelValue:l.advisory,"onUpdate:modelValue":n[8]||(n[8]=ae=>l.advisory=ae),height:"320px",onBlur:n[9]||(n[9]=ae=>a.handleCommit("comments","comments",ae))},null,8,["modelValue"])):(e.openBlock(),e.createElementBlock("div",{key:1,class:"remark-txt editor",onDblclick:n[10]||(n[10]=(...ae)=>a.decideDisable&&a.decideDisable(...ae)),innerHTML:l.advisory&&l.advisory!=="<p><br></p>"?l.advisory:"Please double click to modify remark"},null,40,xJ))],2)])}const wn=De(UR,[["render",bJ],["__scopeId","data-v-77edf8aa"]]),CJ={install(t){t.component("DeviationReport",Bn),t.component("FliDeviationReport",wn)}},ite="",SJ={components:{IdmBrand:yl},props:{report:{type:Object,default:()=>({})}},data(){return{logSrc2:new URL("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAJYAAACWCAYAAAA8AXHiAAAABHNCSVQICAgIfAhkiAAAIABJREFUeF7tXQeAFEXWruruSZsTaQNJBARFTsQcCAaQZOLM+URPz3h6nIo6J+nUO8+Eip6CZ8aMCRUF9cQz8JsJAkqOy+Y0O9Pd//c6zPSkndndmdkFpqSc2enu6qpXX71Ur6o4S6c0BZJAAZ6EMtNFpinA0sBKgyApFEgDKylkTReaBlYaA0mhQBpYSSFrutA0sNIYSAoF9g5gTV4gsiaXgzmdNsYqRT+l7Fk+1pznZWxzM3v593JSKJguNCIF9jxgjVgiMdeWjFybsz9z2A9RBfVoLgiDYd/mq4xnc4HbGedMFZAZa2QCr2NMqGSCulVlwo+ywL7jqrK+QVV/YxlKPdte50uDLvGjY88A1rC5tuySvMNELpzDBOFIgKgnAJPDuGDDd/yHZuCfSp8AlAYs+sH47r9Gv3MB+GLNnAuNuLFS5WyLwtkPTBLfb2hu/Jo9PmZb4sm875XYiYGl8pyTn91PEiQC02RwoEHAhaiBhmptBZEGrEDWrhOoCFEG9wpcNwBo3E+cTbtPB2GVwvkKztXPZIUtbpKzAbRDq/c9WLS/xZ0SWK5RT5dkiOK1TOTXos+d4ExaSzUQBAGIAEFXdGBoHCv0ugWEwdeDORyVEShfBy5AtkHh4jzVqzzvsddvZA+d4mk/yfeNEjoZsBaIhSMbrobOdAtA0A36EoeeZBFpFvBonCYK2EwwGdyKc94I0SgAfI4wbhdFZJoART1UAK4Bf38vK/Jsz5yRb+8b0GhfKzsNsPKOenyo3Wb7J7jEccCDZNWXIgEoWCQKDdCTfmJc/ELl8k+M2dZzUS1vYt5qUXI0CHWCrDpFgFQVJYFnem1CLvDSBe/pDbAdAOAdAXwNBJvKAQfUdLYw7qdzSy+AuZKp6tyGBukZ9tQxte0j/977dKcAVpfDnziFScLj4CklVkXb1KO0TtY4i6kfCSo6u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EIg5OXJiiOsJSazlWaxqQvncfpkAaWPtw5yez6WlgJZO6+3DZaWDtw52fzKangZVM6u7DZaeBtQ93fjKbngZWMqm7D5f9/zc746V8ZtviAAAAAElFTkSuQmCC",self.location).href}},computed:{computeUTCTime(){return function(t,n="MMM-DD/HHmm[Z]"){return`${T(t).utc().format(n)}`}},computeLat(){return function(t){return v.LngLatHelper.lat2pretty(t,2)}},computeLng(){return function(t){return v.LngLatHelper.lng2pretty(t,2)}},computeStyle(){return function(t){return t>0?"color:var(--idm-danger-color)":""}},computeRoundPrecision(){return function(t,n=2){return t==="-"?"-":v.roundPrecision(t,n)}}}},Eo=t=>(e.pushScopeId("data-v-42f6f59f"),t=t(),e.popScopeId(),t),kJ={class:"stoppage-report"},AJ={class:"report-summary"},BJ={class:"summary-item"},wJ=Eo(()=>e.createElementVNode("label",{class:"flex gray"},"Vessel Name",-1)),TJ={class:"flexL gray"},OJ={class:"summary-item"},FJ=Eo(()=>e.createElementVNode("label",{class:"flex gray"},"Prepared For",-1)),PJ={class:"flexL gray"},uJ={class:"summary-item"},LJ=Eo(()=>e.createElementVNode("label",{class:"flex gray"},"Vessel Type",-1)),WJ={class:"flexL gray"},HJ={class:"summary-item"},MJ=Eo(()=>e.createElementVNode("label",{class:"flex gray"},"Reference Number",-1)),GJ={class:"flexL gray"},IJ={class:"summary-item"},RJ=Eo(()=>e.createElementVNode("label",{class:"flex gray"},"Departure",-1)),zJ={class:"flexL gray",style:{display:"flex"}},UJ={class:"flex"},YJ={class:"flexM"},ZJ={class:"summary-item"},QJ=Eo(()=>e.createElementVNode("label",{class:"flex gray"},"Arrival",-1)),JJ={class:"flexL gray",style:{display:"flex"}},KJ={class:"flex"},qJ={class:"flexM"},XJ=Eo(()=>e.createElementVNode("div",{class:"subtitle"},"Report Summary",-1)),jJ={class:"report-summary"},$J={class:"summary-item"},vJ=Eo(()=>e.createElementVNode("div",{class:"flex blue"},"Total Time Lost",-1)),eK={class:"summary-item"},tK=Eo(()=>e.createElementVNode("div",{class:"flex blue"},"FO Total Consumption",-1)),oK={class:"summary-item"},lK=Eo(()=>e.createElementVNode("div",{class:"flex blue"},"DO/GO Total Consumption",-1)),aK=Eo(()=>e.createElementVNode("div",{class:"subtitle"},"Stoppage Info",-1)),nK={class:"report-table"},sK=Eo(()=>e.createElementVNode("thead",null,[e.createElementVNode("tr",null,[e.createElementVNode("th",{rowspan:2},"Stoppage"),e.createElementVNode("th",{rowspan:2},"Position"),e.createElementVNode("th",{rowspan:2},"Date"),e.createElementVNode("th",{colspan:2},"BROB (mt)"),e.createElementVNode("th",{rowspan:2},"Time Lost (hrs)"),e.createElementVNode("th",{colspan:2},"TTL CONS (mt)")]),e.createElementVNode("tr",null,[e.createElementVNode("th",null,"FO"),e.createElementVNode("th",null,"DO/GO"),e.createElementVNode("th",null,"FO"),e.createElementVNode("th",null,"DO/GO")])],-1)),iK=Eo(()=>e.createElementVNode("td",null,"Stopped",-1)),dK={rowspan:2},cK={rowspan:2},rK={rowspan:2},mK=Eo(()=>e.createElementVNode("td",null,"Resumed",-1)),hK={class:"report-map"},pK=["src"];function EK(t,n,o,d,l,a){var i,E,b,S,_,N,D,r,C,k,O,P,F,w,x,u,R,Z,z,W,f,Y,G,H,K,q,j,X,V,M,J,s,$,c,ee,oe,te,se,ie;const p=e.resolveComponent("IdmBrand");return e.openBlock(),e.createElementBlock("div",kJ,[e.createVNode(p,{name:"Voyage Stoppage Report"}),e.createElementVNode("div",AJ,[e.createElementVNode("div",BJ,[wJ,e.createElementVNode("div",TJ,e.toDisplayString((E=(i=o.report)==null?void 0:i.vessel)==null?void 0:E.name),1)]),e.createElementVNode("div",OJ,[FJ,e.createElementVNode("div",PJ,e.toDisplayString((b=o.report)==null?void 0:b.preparedFor),1)]),e.createElementVNode("div",uJ,[LJ,e.createElementVNode("div",WJ,e.toDisplayString((_=(S=o.report)==null?void 0:S.vessel)==null?void 0:_.type),1)]),e.createElementVNode("div",HJ,[MJ,e.createElementVNode("div",GJ,e.toDisplayString((D=(N=o.report)==null?void 0:N.voyage)==null?void 0:D.number),1)]),e.createElementVNode("div",IJ,[RJ,e.createElementVNode("div",zJ,[e.createElementVNode("span",UJ,e.toDisplayString((C=(r=o.report)==null?void 0:r.departure)==null?void 0:C.name),1),e.createElementVNode("span",YJ,e.toDisplayString(a.computeUTCTime(((O=(k=o.report)==null?void 0:k.departure)==null?void 0:O.atd)||((F=(P=o.report)==null?void 0:P.departure)==null?void 0:F.etd))),1)])]),e.createElementVNode("div",ZJ,[QJ,e.createElementVNode("div",JJ,[e.createElementVNode("span",KJ,e.toDisplayString((x=(w=o.report)==null?void 0:w.arrival)==null?void 0:x.name),1),e.createElementVNode("span",qJ,e.toDisplayString(a.computeUTCTime(((R=(u=o.report)==null?void 0:u.arrival)==null?void 0:R.ata)||((z=(Z=o.report)==null?void 0:Z.arrival)==null?void 0:z.eta))),1)])])]),XJ,e.createElementVNode("div",jJ,[e.createElementVNode("div",$J,[vJ,e.createElementVNode("div",{class:"flexL blue center",style:e.normalizeStyle(a.computeStyle((W=o.report)==null?void 0:W.totalTime))},e.toDisplayString(((f=o.report)==null?void 0:f.totalTime)??"—"),5)]),e.createElementVNode("div",eK,[tK,e.createElementVNode("div",{class:"flexL blue center",style:e.normalizeStyle(a.computeStyle((Y=o.report)==null?void 0:Y.totalFoCons))},e.toDisplayString(((G=o.report)==null?void 0:G.totalFoCons)??"—"),5)]),e.createElementVNode("div",oK,[lK,e.createElementVNode("div",{class:"flexL blue center",style:e.normalizeStyle(a.computeStyle((H=o.report)==null?void 0:H.totalDgoCons))},e.toDisplayString(((K=o.report)==null?void 0:K.totalDgoCons)??"—"),5)])]),aK,e.createElementVNode("div",nK,[e.createElementVNode("table",null,[sK,e.createElementVNode("tbody",null,[e.createElementVNode("tr",null,[iK,e.createElementVNode("td",null,e.toDisplayString(a.computeLat((q=o.report)==null?void 0:q.stopLat).pretty)+" / "+e.toDisplayString(a.computeLng((j=o.report)==null?void 0:j.stopLng).pretty),1),e.createElementVNode("td",null,e.toDisplayString(a.computeUTCTime((X=o.report)==null?void 0:X.stopTime)),1),e.createElementVNode("td",null,e.toDisplayString(a.computeRoundPrecision(((V=o.report)==null?void 0:V.stopFoBrob)??"-")),1),e.createElementVNode("td",null,e.toDisplayString(a.computeRoundPrecision(((M=o.report)==null?void 0:M.stopDgoBrob)??"-")),1),e.createElementVNode("td",dK,e.toDisplayString(a.computeRoundPrecision(((J=o.report)==null?void 0:J.totalTime)??"-")),1),e.createElementVNode("td",cK,e.toDisplayString(a.computeRoundPrecision(((s=o.report)==null?void 0:s.totalFoCons)??"-")),1),e.createElementVNode("td",rK,e.toDisplayString(a.computeRoundPrecision((($=o.report)==null?void 0:$.totalDgoCons)??"-")),1)]),e.createElementVNode("tr",null,[mK,e.createElementVNode("td",null,e.toDisplayString(a.computeLat((c=o.report)==null?void 0:c.resumeLat).pretty)+" / "+e.toDisplayString(a.computeLng((ee=o.report)==null?void 0:ee.resumeLng).pretty),1),e.createElementVNode("td",null,e.toDisplayString(a.computeUTCTime((oe=o.report)==null?void 0:oe.resumeTime)),1),e.createElementVNode("td",null,e.toDisplayString(a.computeRoundPrecision(((te=o.report)==null?void 0:te.resumeFoBrob)??"-")),1),e.createElementVNode("td",null,e.toDisplayString(a.computeRoundPrecision(((se=o.report)==null?void 0:se.resumeDgoBrob)??"-")),1)])])])]),e.createElementVNode("div",hK,[e.createElementVNode("img",{style:{width:"100%"},src:(ie=o.report)==null?void 0:ie.chartUrl,alt:""},null,8,pK)])])}const Tn=De(SJ,[["render",EK],["__scopeId","data-v-42f6f59f"]]),yK={install(t){t.component("StoppageReport",Tn)}},dte="",_K={props:{data:{type:Object,default:{}},gateway:{type:String,default:"https://cbe4test.idmwx.com"},token:{type:String,default:void 0},editorDisabled:{type:Boolean,default:()=>!1}},components:{Editor:Ro,IdmBrand:ja},data(){return{logSrc2:new URL("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAJYAAACWCAYAAAA8AXHiAAAABHNCSVQICAgIfAhk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advisory:void 0,id:void 0,editable:!1,comparisonData:void 0}},watch:{data:{handler(t){t&&this.fetchData()},immediate:!0}},computed:{computeUTCTime(){return function(t,n="MMM-DD/HHmm"){return t?`${T(t).utc().format(n)}Z`:"-"}},computeColor(){return function(t){return t>0?"fail":t<0?"success":""}},compareTime(){return function(t,n){return t&&n?v.roundPrecision(t-n):"-"}},computeSummary(){return function(t,n){if(t===0)return"No difference";let o="";return t>0?n==="time"?o=`Lost ${t}hrs`:o=`Over consumption ${t}mt`:n==="time"?o=`Saving ${Math.abs(t)}hrs`:o=`Under consumption ${Math.abs(t)}mt`,o}}},methods:{fetchData(){var t,n;this.comparisonData=this.data,this.id=this.data.id,this.advisory=(t=this.data)!=null&&t.comments?(n=this.data)==null?void 0:n.comments:void 0},decideDisable(){this.editorDisabled?this.editable=!1:this.editable=!0},async handleCommit(t,n){this.editable=!1;const o={[t]:n};await fl.put(`${this.gateway}/api/als/comparisons/${this.id}`,o,{headers:{Authorization:this.token}}),this.advisory=n}}},Ie=t=>(e.pushScopeId("data-v-c8bf8198"),t=t(),e.popScopeId(),t),NK={class:"comparison-report"},VK=Ie(()=>e.createElementVNode("div",{class:"report-bg"},[e.createElementVNode("img",{src:"https://img.idmwx.com/asset/report-head-bg.png"})],-1)),fK={class:"report-header"},gK={class:"header-title",style:{position:"relative !important"}},DK=["src"],xK={class:"header-title-content"},bK=Ie(()=>e.createElementVNode("div",{class:"title"},"Voyage Comparison Report",-1)),CK={class:"title-date"},SK={class:"report-summary"},kK={class:"summary-item"},AK=Ie(()=>e.createElementVNode("label",{class:"flex gray"},"Vessel Name",-1)),BK={class:"flexL gray"},wK={class:"summary-item"},TK=Ie(()=>e.createElementVNode("label",{class:"flex gray"},"Prepared For",-1)),OK={class:"flexL gray"},FK={class:"summary-item"},PK=Ie(()=>e.createElementVNode("label",{class:"flex gray"},"Vessel Type",-1)),uK={class:"flexL gray"},LK={class:"summary-item"},WK=Ie(()=>e.createElementVNode("label",{class:"flex gray"},"Load Condition",-1)),HK={class:"flexL gray"},MK={class:"summary-item"},GK=Ie(()=>e.createElementVNode("label",{class:"flex gray"},"Reference Number",-1)),IK={class:"flexL gray"},RK={class:"summary-item"},zK=Ie(()=>e.createElementVNode("label",{class:"flex gray"},"Departure",-1)),UK={class:"flexL gray",style:{display:"flex"}},YK={class:"flex"},ZK={class:"flexM"},QK={class:"summary-item"},JK=Ie(()=>e.createElementVNode("label",{class:"flex gray"},"Arrival",-1)),KK={class:"flexL gray",style:{display:"flex"}},qK={class:"flex"},XK={class:"flexM"},jK=Ie(()=>e.createElementVNode("div",{class:"subtitle"},"Report Summary",-1)),$K={class:"report-summary"},vK={class:"summary-item"},eq=Ie(()=>e.createElementVNode("div",{class:"flexL blue"},"Speed time on actual routecompared with Recommended route",-1)),tq={class:"summary-item"},oq=Ie(()=>e.createElementVNode("div",{class:"flexL blue"},"Actual route FO Consumption compared with Recommended route",-1)),lq={class:"summary-item"},aq=Ie(()=>e.createElementVNode("div",{class:"flexL blue"},"Actual route DO/GO Consumption compared with Recommended route",-1)),nq=Ie(()=>e.createElementVNode("div",{class:"subtitle"},"Route Map",-1)),sq={class:"report-map"},iq=["src"],dq=e.createStaticVNode('<div class="legend" data-v-c8bf8198><div class="legend-item" data-v-c8bf8198><div style="width:50px;height:0px;border:1px solid var(--actual-route);" data-v-c8bf8198></div><div data-v-c8bf8198>Actual Route</div></div><div class="legend-item" data-v-c8bf8198><div style="width:50px;height:0px;border:1px dashed var(--prior-route);" data-v-c8bf8198></div><div data-v-c8bf8198>Recommended Route</div></div></div>',1),cq=Ie(()=>e.createElementVNode("div",{class:"page-break"},null,-1)),rq={key:0,class:"subtitle"},mq={key:1,class:"report-summary"},hq={class:"summary-item"},pq=Ie(()=>e.createElementVNode("div",{class:"flex blue"},"CP Speed (kts)",-1)),Eq={class:"flexL blue center"},yq={class:"summary-item"},_q=Ie(()=>e.createElementVNode("div",{class:"flex blue"},"CP Daily FO Consumption (mt)",-1)),Nq={class:"flexL blue center"},Vq={class:"summary-item"},fq=Ie(()=>e.createElementVNode("div",{class:"flex blue"},"CP Daily DO/GO Consumption (mt)",-1)),gq={class:"flexL blue center"},Dq=Ie(()=>e.createElementVNode("div",{class:"subtitle"},"Route Comparison",-1)),xq={class:"report-summary"},bq=Ie(()=>e.createElementVNode("div",{class:"summary-item"},[e.createElementVNode("div",{class:"blue",style:{width:"35%"}}),e.createElementVNode("div",{class:"flex blue center"},"Actual Route"),e.createElementVNode("div",{class:"flex blue center"},"Recommended Route")],-1)),Cq={class:"summary-item"},Sq=Ie(()=>e.createElementVNode("div",{class:"blue",style:{width:"35%"}},"Distance (nm)",-1)),kq={class:"flex blue-light center"},Aq={class:"flex blue-light center"},Bq={class:"summary-item"},wq=Ie(()=>e.createElementVNode("div",{class:"blue",style:{width:"35%"}},"Time Enroute (hrs)",-1)),Tq={class:"flex blue-light center"},Oq={class:"flex blue-light center"},Fq={class:"summary-item"},Pq=Ie(()=>e.createElementVNode("div",{class:"blue",style:{width:"35%"}},"Average Speed (kts)",-1)),uq={class:"flex blue-light center"},Lq={class:"flex blue-light center"},Wq={class:"summary-item"},Hq=Ie(()=>e.createElementVNode("div",{class:"blue",style:{width:"35%"}},"Current Factor (kts)",-1)),Mq={class:"flex blue-light center"},Gq={class:"flex blue-light center"},Iq={class:"summary-item"},Rq=Ie(()=>e.createElementVNode("div",{class:"blue",style:{width:"35%"}},"Weather Factor (kts)",-1)),zq={class:"flex blue-light center"},Uq={class:"flex blue-light center"},Yq={class:"summary-item"},Zq=Ie(()=>e.createElementVNode("div",{class:"blue",style:{width:"35%"}},"Performance Speed (kts)",-1)),Qq={class:"flex blue-light center"},Jq={class:"flex blue-light center"},Kq={class:"summary-item"},qq=Ie(()=>e.createElementVNode("div",{class:"blue",style:{width:"35%"}},"Diff Time (hrs)",-1)),Xq={class:"flex blue-light center italic"},jq=Ie(()=>e.createElementVNode("div",{class:"subtitle"},"Comparison of Fuel Consumption",-1)),$q={class:"report-summary"},vq=Ie(()=>e.createElementVNode("div",{class:"summary-item"},[e.createElementVNode("div",{class:"blue",style:{width:"35%"}}),e.createElementVNode("div",{class:"flex blue center"},"Actual Route"),e.createElementVNode("div",{class:"flex blue center"},"Recommended Route")],-1)),eX={class:"summary-item"},tX=Ie(()=>e.createElementVNode("div",{class:"blue",style:{width:"35%"}},"Average Daily FO Consumption (mt)",-1)),oX={class:"flex blue-light center"},lX={class:"flex blue-light center"},aX={class:"summary-item"},nX=Ie(()=>e.createElementVNode("div",{class:"blue",style:{width:"35%"}},"Total FO Consumption (mt)",-1)),sX={class:"flex blue-light center"},iX={class:"flex blue-light center"},dX={class:"summary-item"},cX=Ie(()=>e.createElementVNode("div",{class:"blue",style:{width:"35%"}},"Average Daily DO/GO Consumption (mt)",-1)),rX={class:"flex blue-light center"},mX={class:"flex blue-light center"},hX={class:"summary-item"},pX=Ie(()=>e.createElementVNode("div",{class:"blue",style:{width:"35%"}},"Total DO/GO Consumption (mt)",-1)),EX={class:"flex blue-light center"},yX={class:"flex blue-light center"},_X={class:"summary-item"},NX=Ie(()=>e.createElementVNode("div",{class:"blue",style:{width:"35%"}},"Diff FO Consumption (mt)",-1)),VX={class:"flex blue-light center italic"},fX={class:"summary-item"},gX=Ie(()=>e.createElementVNode("div",{class:"blue",style:{width:"35%"}},"Diff DO/GO Consumption (mt)",-1)),DX={class:"flex blue-light center italic"},xX=["innerHTML"];function bX(t,n,o,d,l,a){var E,b,S,_,N,D,r,C,k,O,P,F,w,x,u,R,Z,z,W,f,Y,G,H,K,q,j,X,V,M,J,s,$,c,ee,oe,te,se,ie,ce,re,he,pe,Ee,de,ye,xe,be,Ce,Se,ke,Ae,Be,Fe,Pe,fe,L,_e,ue,Le,We,we;const p=e.resolveComponent("IdmBrand"),i=e.resolveComponent("Editor");return e.openBlock(),e.createElementBlock("div",NK,[e.createVNode(p),VK,e.createElementVNode("div",fK,[e.createElementVNode("div",gK,[e.createElementVNode("img",{src:l.logSrc2,style:{width:"120px",position:"absolute","margin-top":"30px"},alt:""},null,8,DK),e.createElementVNode("div",xK,[bK,e.createElementVNode("div",CK,e.toDisplayString(a.computeUTCTime(((E=l.comparisonData)==null?void 0:E.createdAt)??"","dddd,MMM DD,YYYY")),1)])])]),e.createElementVNode("div",SK,[e.createElementVNode("div",kK,[AK,e.createElementVNode("div",BK,e.toDisplayString((S=(b=l.comparisonData)==null?void 0:b.vessel)==null?void 0:S.name),1)]),e.createElementVNode("div",wK,[TK,e.createElementVNode("div",OK,e.toDisplayString((_=l.comparisonData)==null?void 0:_.preparedFor),1)]),e.createElementVNode("div",FK,[PK,e.createElementVNode("div",uK,e.toDisplayString((D=(N=l.comparisonData)==null?void 0:N.vessel)==null?void 0:D.type),1)]),e.createElementVNode("div",LK,[WK,e.createElementVNode("div",HK,e.toDisplayString((C=(r=l.comparisonData)==null?void 0:r.voyage)==null?void 0:C.loadCondition),1)]),e.createElementVNode("div",MK,[GK,e.createElementVNode("div",IK,e.toDisplayString((O=(k=l.comparisonData)==null?void 0:k.voyage)==null?void 0:O.number),1)]),e.createElementVNode("div",RK,[zK,e.createElementVNode("div",UK,[e.createElementVNode("span",YK,e.toDisplayString((F=(P=l.comparisonData)==null?void 0:P.departure)==null?void 0:F.name),1),e.createElementVNode("span",ZK,e.toDisplayString(a.computeUTCTime(((x=(w=l.comparisonData)==null?void 0:w.departure)==null?void 0:x.atd)||((R=(u=l.comparisonData)==null?void 0:u.departure)==null?void 0:R.etd))),1)])]),e.createElementVNode("div",QK,[JK,e.createElementVNode("div",KK,[e.createElementVNode("span",qK,e.toDisplayString((z=(Z=l.comparisonData)==null?void 0:Z.arrival)==null?void 0:z.name),1),e.createElementVNode("span",XK,e.toDisplayString(a.computeUTCTime(((f=(W=l.comparisonData)==null?void 0:W.arrival)==null?void 0:f.ata)||((G=(Y=l.comparisonData)==null?void 0:Y.arrival)==null?void 0:G.eta))),1)])])]),jK,e.createElementVNode("div",$K,[e.createElementVNode("div",vK,[eq,e.createElementVNode("div",{class:e.normalizeClass(`${a.computeColor((H=l.comparisonData)==null?void 0:H.diffTime)} flex blue`)},e.toDisplayString(a.computeSummary((K=l.comparisonData)==null?void 0:K.diffTime,"time")),3)]),e.createElementVNode("div",tq,[oq,e.createElementVNode("div",{class:e.normalizeClass(`${a.computeColor((q=l.comparisonData)==null?void 0:q.diffFoCons)} flex blue`)},e.toDisplayString(a.computeSummary((j=l.comparisonData)==null?void 0:j.diffFoCons,"oil")),3)]),e.createElementVNode("div",lq,[aq,e.createElementVNode("div",{class:e.normalizeClass(`${a.computeColor((X=l.comparisonData)==null?void 0:X.diffDgoCons)} flex blue`)},e.toDisplayString(a.computeSummary((V=l.comparisonData)==null?void 0:V.diffDgoCons,"oil")),3)])]),nq,e.createElementVNode("div",sq,[e.createElementVNode("img",{style:{width:"100%"},src:(M=l.comparisonData)==null?void 0:M.chartUrl,alt:""},null,8,iq),dq]),cq,(J=l.comparisonData)!=null&&J.useActual?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("div",rq,"CP Terms")),(s=l.comparisonData)!=null&&s.useActual?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("div",mq,[e.createElementVNode("div",hq,[pq,e.createElementVNode("div",Eq,e.toDisplayString(((c=($=l.comparisonData)==null?void 0:$.cp)==null?void 0:c.speed)??"—"),1)]),e.createElementVNode("div",yq,[_q,e.createElementVNode("div",Nq,e.toDisplayString(((oe=(ee=l.comparisonData)==null?void 0:ee.cp)==null?void 0:oe.fo)??"—"),1)]),e.createElementVNode("div",Vq,[fq,e.createElementVNode("div",gq,e.toDisplayString(((se=(te=l.comparisonData)==null?void 0:te.cp)==null?void 0:se.dgo)??"—"),1)])])),Dq,e.createElementVNode("div",xq,[bq,e.createElementVNode("div",Cq,[Sq,e.createElementVNode("div",kq,e.toDisplayString(((ie=l.comparisonData)==null?void 0:ie.actualDist)??"—"),1),e.createElementVNode("div",Aq,e.toDisplayString(((ce=l.comparisonData)==null?void 0:ce.recmdDist)??"—"),1)]),e.createElementVNode("div",Bq,[wq,e.createElementVNode("div",Tq,e.toDisplayString(((re=l.comparisonData)==null?void 0:re.actualTime)??"—"),1),e.createElementVNode("div",Oq,e.toDisplayString(((he=l.comparisonData)==null?void 0:he.recmdTime)??"—"),1)]),e.createElementVNode("div",Fq,[Pq,e.createElementVNode("div",uq,e.toDisplayString(((pe=l.comparisonData)==null?void 0:pe.actualAvgSpd)??"—"),1),e.createElementVNode("div",Lq,e.toDisplayString(((Ee=l.comparisonData)==null?void 0:Ee.recmdAvgSpd)??"—"),1)]),e.createElementVNode("div",Wq,[Hq,e.createElementVNode("div",Mq,e.toDisplayString(((de=l.comparisonData)==null?void 0:de.actualAvgCF)??"—"),1),e.createElementVNode("div",Gq,e.toDisplayString(((ye=l.comparisonData)==null?void 0:ye.recmdAvgCF)??"—"),1)]),e.createElementVNode("div",Iq,[Rq,e.createElementVNode("div",zq,e.toDisplayString(((xe=l.comparisonData)==null?void 0:xe.actualAvgWF)??"—"),1),e.createElementVNode("div",Uq,e.toDisplayString(((be=l.comparisonData)==null?void 0:be.recmdAvgWF)??"—"),1)]),e.createElementVNode("div",Yq,[Zq,e.createElementVNode("div",Qq,e.toDisplayString(((Ce=l.comparisonData)==null?void 0:Ce.actualPfmSpd)??"—"),1),e.createElementVNode("div",Jq,e.toDisplayString(((Se=l.comparisonData)==null?void 0:Se.recmdPfmSpd)??"—"),1)]),e.createElementVNode("div",Kq,[qq,e.createElementVNode("div",Xq,e.toDisplayString(a.compareTime((ke=l.comparisonData)==null?void 0:ke.actualTime,(Ae=l.comparisonData)==null?void 0:Ae.recmdTime)),1)])]),jq,e.createElementVNode("div",$q,[vq,e.createElementVNode("div",eX,[tX,e.createElementVNode("div",oX,e.toDisplayString(((Be=l.comparisonData)==null?void 0:Be.actualAvgFoCons)??"-"),1),e.createElementVNode("div",lX,e.toDisplayString(((Fe=l.comparisonData)==null?void 0:Fe.recmdAvgFoCons)??"-"),1)]),e.createElementVNode("div",aX,[nX,e.createElementVNode("div",sX,e.toDisplayString(((Pe=l.comparisonData)==null?void 0:Pe.actualFoCons)??"-"),1),e.createElementVNode("div",iX,e.toDisplayString(((fe=l.comparisonData)==null?void 0:fe.recmdFoCons)??"-"),1)]),e.createElementVNode("div",dX,[cX,e.createElementVNode("div",rX,e.toDisplayString(((L=l.comparisonData)==null?void 0:L.actualAvgDgoCons)??"-"),1),e.createElementVNode("div",mX,e.toDisplayString(((_e=l.comparisonData)==null?void 0:_e.recmdAvgDgoCons)??"-"),1)]),e.createElementVNode("div",hX,[pX,e.createElementVNode("div",EX,e.toDisplayString(((ue=l.comparisonData)==null?void 0:ue.actualDgoCons)??"-"),1),e.createElementVNode("div",yX,e.toDisplayString(((Le=l.comparisonData)==null?void 0:Le.recmdDgoCons)??"-"),1)]),e.createElementVNode("div",_X,[NX,e.createElementVNode("div",VX,e.toDisplayString(((We=l.comparisonData)==null?void 0:We.diffFoCons)??"-"),1)]),e.createElementVNode("div",fX,[gX,e.createElementVNode("div",DX,e.toDisplayString(((we=l.comparisonData)==null?void 0:we.diffDgoCons)??"-"),1)])]),e.createElementVNode("div",{class:e.normalizeClass(`subtitle ${l.advisory&&l.advisory!=="<p><br></p>"?"":"print-hidden"}`)},"Comments",2),e.createElementVNode("div",{class:e.normalizeClass(`report-comments ${l.advisory&&l.advisory!=="<p><br></p>"?"":"print-hidden"}`),style:{"min-height":"50px"}},[l.editable?(e.openBlock(),e.createBlock(i,{key:0,modelValue:l.advisory,"onUpdate:modelValue":n[0]||(n[0]=He=>l.advisory=He),height:"320px",onBlur:n[1]||(n[1]=He=>a.handleCommit("comments",He))},null,8,["modelValue"])):(e.openBlock(),e.createElementBlock("div",{key:1,class:"remark-txt editor",onDblclick:n[2]||(n[2]=(...He)=>a.decideDisable&&a.decideDisable(...He)),innerHTML:l.advisory&&l.advisory!=="<p><br></p>"?l.advisory:"Please double click to modify remark"},null,40,xX))],2)])}const On=De(_K,[["render",bX],["__scopeId","data-v-c8bf8198"]]),cte="",CX={props:{data:{type:Object,default:{}},gateway:{type:String,default:"https://cbe4test.idmwx.com"},token:{type:String,default:void 0},editorDisabled:{type:Boolean,default:()=>!1}},components:{Editor:Ro},data(){return{logSrc2:new URL("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAJYAAACWCAYAAAA8AXHiAAAABHNCSVQICAgIfAhkiAAAIABJREFUeF7tXQeAFEXWruruSZsTaQNJBARFTsQcCAaQZOLM+URPz3h6nIo6J+nUO8+Eip6CZ8aMCRUF9cQz8JsJAkqOy+Y0O9Pd//c6zPSkndndmdkFpqSc2enu6qpXX71Ur6o4S6c0BZJAAZ6EMtNFpinA0sBKgyApFEgDKylkTReaBlYaA0mhQBpYSSFrutA0sNIYSAoF9g5gTV4gsiaXgzmdNsYqRT+l7Fk+1pznZWxzM3v593JSKJguNCIF9jxgjVgiMdeWjFybsz9z2A9RBfVoLgiDYd/mq4xnc4HbGedMFZAZa2QCr2NMqGSCulVlwo+ywL7jqrK+QVV/YxlKPdte50uDLvGjY88A1rC5tuySvMNELpzDBOFIgKgnAJPDuGDDd/yHZuCfSp8AlAYs+sH47r9Gv3MB+GLNnAuNuLFS5WyLwtkPTBLfb2hu/Jo9PmZb4sm875XYiYGl8pyTn91PEiQC02RwoEHAhaiBhmptBZEGrEDWrhOoCFEG9wpcNwBo3E+cTbtPB2GVwvkKztXPZIUtbpKzAbRDq/c9WLS/xZ0SWK5RT5dkiOK1TOTXos+d4ExaSzUQBAGIAEFXdGBoHCv0ugWEwdeDORyVEShfBy5AtkHh4jzVqzzvsddvZA+d4mk/yfeNEjoZsBaIhSMbrobOdAtA0A36EoeeZBFpFvBonCYK2EwwGdyKc94I0SgAfI4wbhdFZJoART1UAK4Bf38vK/Jsz5yRb+8b0GhfKzsNsPKOenyo3Wb7J7jEccCDZNWXIgEoWCQKDdCTfmJc/ELl8k+M2dZzUS1vYt5qUXI0CHWCrDpFgFQVJYFnem1CLvDSBe/pDbAdAOAdAXwNBJvKAQfUdLYw7qdzSy+AuZKp6tyGBukZ9tQxte0j/977dKcAVpfDnziF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8ffpMeFLYiwFEp9TA7ik5BJ+pDEIg5OXJiiOsJSazlWaxqQvncfpkAaWPtw5yez6WlgJZO6+3DZaWDtw52fzKangZVM6u7DZaeBtQ93fjKbngZWMqm7D5f9/zc746V8ZtviAAAAAElFTkSuQmCC",self.location).href,advisory:void 0,id:void 0,editable:!1,comparisonData:void 0}},watch:{data:{handler(t){t&&this.fetchData()},immediate:!0}},computed:{computeUTCTime(){return function(t,n="MMM-DD/HHmm"){return t?`${T(t).utc().format(n)}Z`:"-"}},computeColor(){return function(t){return t>0?"fail":t<0?"success":""}},compareTime(){return function(t,n){return t&&n?v.roundPrecision(t-n):"-"}},computeSummary(){return function(t,n){if(t===0)return"No difference";let o="";return t>0?n==="time"?o=`Lost ${t}hrs`:o=`Over consumption ${t}mt`:n==="time"?o=`Saving ${Math.abs(t)}hrs`:o=`Under consumption ${Math.abs(t)}mt`,o}}},methods:{fetchData(){var t,n;this.comparisonData=this.data,this.id=this.data.id,this.advisory=(t=this.data)!=null&&t.comments?(n=this.data)==null?void 0:n.comments:void 0},decideDisable(){this.editorDisabled?this.editable=!1:this.editable=!0},async handleCommit(t,n){this.editable=!1;const o={[t]:n};await fl.put(`${this.gateway}/api/als/comparisons/${this.id}`,o,{headers:{Authorization:this.token}}),this.advisory=n}}},Re=t=>(e.pushScopeId("data-v-b2f57055"),t=t(),e.popScopeId(),t),SX={class:"comparison-report"},kX=Re(()=>e.createElementVNode("div",{class:"report-bg"},[e.createElementVNode("img",{src:"https://img.idmwx.com/asset/fli_logo.png"})],-1)),AX={class:"report-header"},BX={class:"header-title",style:{position:"relative !important"}},wX={class:"header-title-content"},TX=Re(()=>e.createElementVNode("div",{class:"title"},"Voyage Comparison Report",-1)),OX={class:"title-date"},FX={class:"report-summary"},PX={class:"summary-item"},uX=Re(()=>e.createElementVNode("label",{class:"flex gray"},"Vessel Name",-1)),LX={class:"flexL gray"},WX={class:"summary-item"},HX=Re(()=>e.createElementVNode("label",{class:"flex gray"},"Prepared For",-1)),MX={class:"flexL gray"},GX={class:"summary-item"},IX=Re(()=>e.createElementVNode("label",{class:"flex gray"},"Vessel Type",-1)),RX={class:"flexL gray"},zX={class:"summary-item"},UX=Re(()=>e.createElementVNode("label",{class:"flex gray"},"Load Condition",-1)),YX={class:"flexL gray"},ZX={class:"summary-item"},QX=Re(()=>e.createElementVNode("label",{class:"flex gray"},"Reference Number",-1)),JX={class:"flexL gray"},KX={class:"summary-item"},qX=Re(()=>e.createElementVNode("label",{class:"flex gray"},"Departure",-1)),XX={class:"flexL gray",style:{display:"flex"}},jX={class:"flex"},$X={class:"flexM"},vX={class:"summary-item"},ej=Re(()=>e.createElementVNode("label",{class:"flex gray"},"Arrival",-1)),tj={class:"flexL gray",style:{display:"flex"}},oj={class:"flex"},lj={class:"flexM"},aj=Re(()=>e.createElementVNode("div",{class:"subtitle"},"Report Summary",-1)),nj={class:"report-summary"},sj={class:"summary-item"},ij=Re(()=>e.createElementVNode("div",{class:"flexL blue"},"Speed time on actual routecompared with Recommended route",-1)),dj={class:"summary-item"},cj=Re(()=>e.createElementVNode("div",{class:"flexL blue"},"Actual route FO Consumption compared with Recommended route",-1)),rj={class:"summary-item"},mj=Re(()=>e.createElementVNode("div",{class:"flexL blue"},"Actual route DO/GO Consumption compared with Recommended route",-1)),hj=Re(()=>e.createElementVNode("div",{class:"subtitle"},"Route Map",-1)),pj={class:"report-map"},Ej=["src"],yj=e.createStaticVNode('<div class="legend" data-v-b2f57055><div class="legend-item" data-v-b2f57055><div style="width:50px;height:0px;border:1px solid var(--actual-route);" data-v-b2f57055></div><div data-v-b2f57055>Actual Route</div></div><div class="legend-item" data-v-b2f57055><div style="width:50px;height:0px;border:1px dashed var(--prior-route);" data-v-b2f57055></div><div data-v-b2f57055>Ocean π Recommended Route</div></div></div>',1),_j=Re(()=>e.createElementVNode("div",{class:"page-break"},null,-1)),Nj={key:0,class:"subtitle"},Vj={key:1,class:"report-summary"},fj={class:"summary-item"},gj=Re(()=>e.createElementVNode("div",{class:"flex blue"},"CP Speed (kts)",-1)),Dj={class:"flexL blue center"},xj={class:"summary-item"},bj=Re(()=>e.createElementVNode("div",{class:"flex blue"},"CP Daily FO Consumption (mt)",-1)),Cj={class:"flexL blue center"},Sj={class:"summary-item"},kj=Re(()=>e.createElementVNode("div",{class:"flex blue"},"CP Daily DO/GO Consumption (mt)",-1)),Aj={class:"flexL blue center"},Bj=Re(()=>e.createElementVNode("div",{class:"subtitle"},"Route Comparison",-1)),wj={class:"report-summary"},Tj=Re(()=>e.createElementVNode("div",{class:"summary-item"},[e.createElementVNode("div",{class:"blue",style:{width:"35%"}}),e.createElementVNode("div",{class:"flex blue center"},"Actual Route"),e.createElementVNode("div",{class:"flex blue center"},"Recommended Route")],-1)),Oj={class:"summary-item"},Fj=Re(()=>e.createElementVNode("div",{class:"blue",style:{width:"35%"}},"Distance (nm)",-1)),Pj={class:"flex blue-light center"},uj={class:"flex blue-light center"},Lj={class:"summary-item"},Wj=Re(()=>e.createElementVNode("div",{class:"blue",style:{width:"35%"}},"Time Enroute (hrs)",-1)),Hj={class:"flex blue-light center"},Mj={class:"flex blue-light center"},Gj={class:"summary-item"},Ij=Re(()=>e.createElementVNode("div",{class:"blue",style:{width:"35%"}},"Average Speed (kts)",-1)),Rj={class:"flex blue-light center"},zj={class:"flex blue-light center"},Uj={class:"summary-item"},Yj=Re(()=>e.createElementVNode("div",{class:"blue",style:{width:"35%"}},"Current Factor (kts)",-1)),Zj={class:"flex blue-light center"},Qj={class:"flex blue-light center"},Jj={class:"summary-item"},Kj=Re(()=>e.createElementVNode("div",{class:"blue",style:{width:"35%"}},"Weather Factor (kts)",-1)),qj={class:"flex blue-light center"},Xj={class:"flex blue-light center"},jj={class:"summary-item"},$j=Re(()=>e.createElementVNode("div",{class:"blue",style:{width:"35%"}},"Performance Speed (kts)",-1)),vj={class:"flex blue-light center"},e$={class:"flex blue-light center"},t$={class:"summary-item"},o$=Re(()=>e.createElementVNode("div",{class:"blue",style:{width:"35%"}},"Diff Time (hrs)",-1)),l$={class:"flex blue-light center italic"},a$=Re(()=>e.createElementVNode("div",{class:"subtitle"},"Comparison of Fuel Consumption",-1)),n$={class:"report-summary"},s$=Re(()=>e.createElementVNode("div",{class:"summary-item"},[e.createElementVNode("div",{class:"blue",style:{width:"35%"}}),e.createElementVNode("div",{class:"flex blue center"},"Actual Route"),e.createElementVNode("div",{class:"flex blue center"},"Recommended Route")],-1)),i$={class:"summary-item"},d$=Re(()=>e.createElementVNode("div",{class:"blue",style:{width:"35%"}},"Average Daily FO Consumption (mt)",-1)),c$={class:"flex blue-light center"},r$={class:"flex blue-light center"},m$={class:"summary-item"},h$=Re(()=>e.createElementVNode("div",{class:"blue",style:{width:"35%"}},"Total FO Consumption (mt)",-1)),p$={class:"flex blue-light center"},E$={class:"flex blue-light center"},y$={class:"summary-item"},_$=Re(()=>e.createElementVNode("div",{class:"blue",style:{width:"35%"}},"Average Daily DO/GO Consumption (mt)",-1)),N$={class:"flex blue-light center"},V$={class:"flex blue-light center"},f$={class:"summary-item"},g$=Re(()=>e.createElementVNode("div",{class:"blue",style:{width:"35%"}},"Total DO/GO Consumption (mt)",-1)),D$={class:"flex blue-light center"},x$={class:"flex blue-light center"},b$={class:"summary-item"},C$=Re(()=>e.createElementVNode("div",{class:"blue",style:{width:"35%"}},"Diff FO Consumption (mt)",-1)),S$={class:"flex blue-light center italic"},k$={class:"summary-item"},A$=Re(()=>e.createElementVNode("div",{class:"blue",style:{width:"35%"}},"Diff DO/GO Consumption (mt)",-1)),B$={class:"flex blue-light center italic"},w$=["innerHTML"];function T$(t,n,o,d,l,a){var i,E,b,S,_,N,D,r,C,k,O,P,F,w,x,u,R,Z,z,W,f,Y,G,H,K,q,j,X,V,M,J,s,$,c,ee,oe,te,se,ie,ce,re,he,pe,Ee,de,ye,xe,be,Ce,Se,ke,Ae,Be,Fe,Pe,fe,L,_e,ue,Le,We;const p=e.resolveComponent("Editor");return e.openBlock(),e.createElementBlock("div",SX,[kX,e.createElementVNode("div",AX,[e.createElementVNode("div",BX,[e.createElementVNode("div",wX,[TX,e.createElementVNode("div",OX,e.toDisplayString(a.computeUTCTime(((i=l.comparisonData)==null?void 0:i.createdAt)??"","dddd,MMM DD,YYYY")),1)])])]),e.createElementVNode("div",FX,[e.createElementVNode("div",PX,[uX,e.createElementVNode("div",LX,e.toDisplayString((b=(E=l.comparisonData)==null?void 0:E.vessel)==null?void 0:b.name),1)]),e.createElementVNode("div",WX,[HX,e.createElementVNode("div",MX,e.toDisplayString((S=l.comparisonData)==null?void 0:S.preparedFor),1)]),e.createElementVNode("div",GX,[IX,e.createElementVNode("div",RX,e.toDisplayString((N=(_=l.comparisonData)==null?void 0:_.vessel)==null?void 0:N.type),1)]),e.createElementVNode("div",zX,[UX,e.createElementVNode("div",YX,e.toDisplayString((r=(D=l.comparisonData)==null?void 0:D.voyage)==null?void 0:r.loadCondition),1)]),e.createElementVNode("div",ZX,[QX,e.createElementVNode("div",JX,e.toDisplayString((k=(C=l.comparisonData)==null?void 0:C.voyage)==null?void 0:k.number),1)]),e.createElementVNode("div",KX,[qX,e.createElementVNode("div",XX,[e.createElementVNode("span",jX,e.toDisplayString((P=(O=l.comparisonData)==null?void 0:O.departure)==null?void 0:P.name),1),e.createElementVNode("span",$X,e.toDisplayString(a.computeUTCTime(((w=(F=l.comparisonData)==null?void 0:F.departure)==null?void 0:w.atd)||((u=(x=l.comparisonData)==null?void 0:x.departure)==null?void 0:u.etd))),1)])]),e.createElementVNode("div",vX,[ej,e.createElementVNode("div",tj,[e.createElementVNode("span",oj,e.toDisplayString((Z=(R=l.comparisonData)==null?void 0:R.arrival)==null?void 0:Z.name),1),e.createElementVNode("span",lj,e.toDisplayString(a.computeUTCTime(((W=(z=l.comparisonData)==null?void 0:z.arrival)==null?void 0:W.ata)||((Y=(f=l.comparisonData)==null?void 0:f.arrival)==null?void 0:Y.eta))),1)])])]),aj,e.createElementVNode("div",nj,[e.createElementVNode("div",sj,[ij,e.createElementVNode("div",{class:e.normalizeClass(`${a.computeColor((G=l.comparisonData)==null?void 0:G.diffTime)} flex blue`)},e.toDisplayString(a.computeSummary((H=l.comparisonData)==null?void 0:H.diffTime,"time")),3)]),e.createElementVNode("div",dj,[cj,e.createElementVNode("div",{class:e.normalizeClass(`${a.computeColor((K=l.comparisonData)==null?void 0:K.diffFoCons)} flex blue`)},e.toDisplayString(a.computeSummary((q=l.comparisonData)==null?void 0:q.diffFoCons,"oil")),3)]),e.createElementVNode("div",rj,[mj,e.createElementVNode("div",{class:e.normalizeClass(`${a.computeColor((j=l.comparisonData)==null?void 0:j.diffDgoCons)} flex blue`)},e.toDisplayString(a.computeSummary((X=l.comparisonData)==null?void 0:X.diffDgoCons,"oil")),3)])]),hj,e.createElementVNode("div",pj,[e.createElementVNode("img",{style:{width:"100%"},src:(V=l.comparisonData)==null?void 0:V.chartUrl,alt:""},null,8,Ej),yj]),_j,(M=l.comparisonData)!=null&&M.useActual?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("div",Nj,"CP Terms")),(J=l.comparisonData)!=null&&J.useActual?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("div",Vj,[e.createElementVNode("div",fj,[gj,e.createElementVNode("div",Dj,e.toDisplayString((($=(s=l.comparisonData)==null?void 0:s.cp)==null?void 0:$.speed)??"—"),1)]),e.createElementVNode("div",xj,[bj,e.createElementVNode("div",Cj,e.toDisplayString(((ee=(c=l.comparisonData)==null?void 0:c.cp)==null?void 0:ee.fo)??"—"),1)]),e.createElementVNode("div",Sj,[kj,e.createElementVNode("div",Aj,e.toDisplayString(((te=(oe=l.comparisonData)==null?void 0:oe.cp)==null?void 0:te.dgo)??"—"),1)])])),Bj,e.createElementVNode("div",wj,[Tj,e.createElementVNode("div",Oj,[Fj,e.createElementVNode("div",Pj,e.toDisplayString(((se=l.comparisonData)==null?void 0:se.actualDist)??"—"),1),e.createElementVNode("div",uj,e.toDisplayString(((ie=l.comparisonData)==null?void 0:ie.recmdDist)??"—"),1)]),e.createElementVNode("div",Lj,[Wj,e.createElementVNode("div",Hj,e.toDisplayString(((ce=l.comparisonData)==null?void 0:ce.actualTime)??"—"),1),e.createElementVNode("div",Mj,e.toDisplayString(((re=l.comparisonData)==null?void 0:re.recmdTime)??"—"),1)]),e.createElementVNode("div",Gj,[Ij,e.createElementVNode("div",Rj,e.toDisplayString(((he=l.comparisonData)==null?void 0:he.actualAvgSpd)??"—"),1),e.createElementVNode("div",zj,e.toDisplayString(((pe=l.comparisonData)==null?void 0:pe.recmdAvgSpd)??"—"),1)]),e.createElementVNode("div",Uj,[Yj,e.createElementVNode("div",Zj,e.toDisplayString(((Ee=l.comparisonData)==null?void 0:Ee.actualAvgCF)??"—"),1),e.createElementVNode("div",Qj,e.toDisplayString(((de=l.comparisonData)==null?void 0:de.recmdAvgCF)??"—"),1)]),e.createElementVNode("div",Jj,[Kj,e.createElementVNode("div",qj,e.toDisplayString(((ye=l.comparisonData)==null?void 0:ye.actualAvgWF)??"—"),1),e.createElementVNode("div",Xj,e.toDisplayString(((xe=l.comparisonData)==null?void 0:xe.recmdAvgWF)??"—"),1)]),e.createElementVNode("div",jj,[$j,e.createElementVNode("div",vj,e.toDisplayString(((be=l.comparisonData)==null?void 0:be.actualPfmSpd)??"—"),1),e.createElementVNode("div",e$,e.toDisplayString(((Ce=l.comparisonData)==null?void 0:Ce.recmdPfmSpd)??"—"),1)]),e.createElementVNode("div",t$,[o$,e.createElementVNode("div",l$,e.toDisplayString(a.compareTime((Se=l.comparisonData)==null?void 0:Se.actualTime,(ke=l.comparisonData)==null?void 0:ke.recmdTime)),1)])]),a$,e.createElementVNode("div",n$,[s$,e.createElementVNode("div",i$,[d$,e.createElementVNode("div",c$,e.toDisplayString(((Ae=l.comparisonData)==null?void 0:Ae.actualAvgFoCons)??"-"),1),e.createElementVNode("div",r$,e.toDisplayString(((Be=l.comparisonData)==null?void 0:Be.recmdAvgFoCons)??"-"),1)]),e.createElementVNode("div",m$,[h$,e.createElementVNode("div",p$,e.toDisplayString(((Fe=l.comparisonData)==null?void 0:Fe.actualFoCons)??"-"),1),e.createElementVNode("div",E$,e.toDisplayString(((Pe=l.comparisonData)==null?void 0:Pe.recmdFoCons)??"-"),1)]),e.createElementVNode("div",y$,[_$,e.createElementVNode("div",N$,e.toDisplayString(((fe=l.comparisonData)==null?void 0:fe.actualAvgDgoCons)??"-"),1),e.createElementVNode("div",V$,e.toDisplayString(((L=l.comparisonData)==null?void 0:L.recmdAvgDgoCons)??"-"),1)]),e.createElementVNode("div",f$,[g$,e.createElementVNode("div",D$,e.toDisplayString(((_e=l.comparisonData)==null?void 0:_e.actualDgoCons)??"-"),1),e.createElementVNode("div",x$,e.toDisplayString(((ue=l.comparisonData)==null?void 0:ue.recmdDgoCons)??"-"),1)]),e.createElementVNode("div",b$,[C$,e.createElementVNode("div",S$,e.toDisplayString(((Le=l.comparisonData)==null?void 0:Le.diffFoCons)??"-"),1)]),e.createElementVNode("div",k$,[A$,e.createElementVNode("div",B$,e.toDisplayString(((We=l.comparisonData)==null?void 0:We.diffDgoCons)??"-"),1)])]),e.createElementVNode("div",{class:e.normalizeClass(`subtitle ${l.advisory&&l.advisory!=="<p><br></p>"?"":"print-hidden"}`)},"Comments",2),e.createElementVNode("div",{class:e.normalizeClass(`report-comments ${l.advisory&&l.advisory!=="<p><br></p>"?"":"print-hidden"}`),style:{"min-height":"50px"}},[l.editable?(e.openBlock(),e.createBlock(p,{key:0,modelValue:l.advisory,"onUpdate:modelValue":n[0]||(n[0]=we=>l.advisory=we),height:"320px",onBlur:n[1]||(n[1]=we=>a.handleCommit("comments",we))},null,8,["modelValue"])):(e.openBlock(),e.createElementBlock("div",{key:1,class:"remark-txt editor",onDblclick:n[2]||(n[2]=(...we)=>a.decideDisable&&a.decideDisable(...we)),innerHTML:l.advisory&&l.advisory!=="<p><br></p>"?l.advisory:"Please double click to modify remark"},null,40,w$))],2)])}const Fn=De(CX,[["render",T$],["__scopeId","data-v-b2f57055"]]),O$={install(t){t.component("OpiComparisonReport",On),t.component("FliComparisonReport",Fn)}},F$={install(t){t.component("IdmBrand",yl),t.component("IdmThird",ja)}},rte="",P$={name:"QuotaReport",components:{Brand:yl},props:{report:{type:Object,default:()=>({})}},data(){return{mapboxToken:"pk.eyJ1IjoibmVhdGNoZW5oZW5nIiwiYSI6ImNsdXM3cnBmODBsemgycW1vaXc1bjV6bXMifQ.w6fqHGRbhNhLvm0LnX4ZVw",mapboxStyle:"mapbox://styles/neatchenheng/clus7vi8b00o501r7dzzjg4hg",area:[{name:"North China & Far East",rank:1,width:"80px"},{name:"Southeast Asia",rank:2,width:"80px"},{name:"Oceania",rank:3,width:"90px"},{name:"India Ocean",rank:4,width:"80px"},{name:"East Africa",rank:5,width:"80px"},{name:"West Africa",rank:6,width:"80px"},{name:"Mediterranean",rank:7,width:"90px"},{name:"Europe",rank:8,width:"80px"},{name:"South America East Coast",rank:9,width:"90px"},{name:"South America West Coast",rank:10,width:"90px"},{name:"North America East Coast",rank:11,width:"90px"},{name:"North America West Coast",rank:12,width:"90px"}],quota:[["$280",0,0,0,0,0,0,0,0,0,0,0],["$280","$280",0,0,0,0,0,0,0,0,0,0],["$450","$350","$280",0,0,0,0,0,0,0,0,0],["$450","$350","$500","$280",0,0,0,0,0,0,0,0],["$600","$450","$450","$350","$280",0,0,0,0,0,0,0],["$720","$680","$680","CGH $550","$450","$280",0,0,0,0,0,0],["$850","$800","$800","SUE $350","SUE $350","$500","$280",0,0,0,0,0],["SUE $900<br/>CGH $1050","SUE $900<br/>CGH $1050","SUE $900<br/>CGH $1150<br/>CHC $1150<br/>PMP $1250","SUE 450<br/>CGH $1300","SUE $450","$600","$400","$280",0,0,0,0],["$1050","$1050","$950","CGH $850","$700","$500","$600","$650","$280",0,0,0],["$800","$800","DIR $700<br/>CHC $1000","CHC $1100","CHC $1100","PMP $550<br/>CHC $700","PMP $600<br/>CHC $1000","PMP $650<br/>CHC $1000","$450","$280",0,0],["$1050","$1100","PMP $1050<br/>CGH $1150<br/>SUE $1100","SUE $800<br/>CGH $1100","SUE $750<br/>CGH $1000","$500","$600","$600","$500","PMP $450<br/>CHC $1150","$280",0],["$750","$800","$800","SGP $900<br/>PMP $1350<br/>CHC $1350","SGP $900<br/>PMP $1000<br/>CHC $1200","PMP $900<br/>CHC $1150","$850","PMP $900<br/>CHC $1250","PMP $900<br/>CHC $1050","PMP $450<br/>CHC $1150","PMP $540<br/>CHC $1300","$280"]],map:void 0,source:"quota-line-source",layer:"quota-line-layer",labelLayer:"quota-line-label-layer",geojson:{type:"FeatureCollection",features:[{type:"Feature",properties:{rank:1,name:"North China & Far East"},geometry:{type:"LineString",coordinates:[[191,90],[191,64],[187,64],[141,34],[121,21],[109.47,17.1],[107.56,18.65],[108.07,21.48],[37,34.1],[150,90]]}},{type:"Feature",properties:{rank:2,name:"Southeast Asia"},geometry:{type:"LineString",coordinates:[[141,34],[141,-11],[89,-11],[89,25]]}},{type:"Feature",properties:{rank:3,name:"Oceania",seg:1},geometry:{type:"LineString",coordinates:[[141,5],[200,5],[200,-90]]}},{type:"Feature",properties:{rank:3,name:"Oceania",seg:2},geometry:{type:"LineString",coordinates:[[89,-11],[89,-90]]}},{type:"Feature",properties:{rank:4,name:"India Ocean"},geometry:{type:"LineString",coordinates:[[43.2,11.5],[56,14.5],[56,-90]]}},{type:"Feature",properties:{rank:5,name:"East Africa"},geometry:{type:"LineString",coordinates:[[22.5,30],[22.5,-90]]}},{type:"Feature",properties:{rank:6,name:"West Africa"},geometry:{type:"LineString",coordinates:[[-26,36],[-26,-90]]}},{type:"Feature",properties:{rank:7,name:"Mediterranean"},geometry:{type:"LineString",coordinates:[[22.5,30],[37,30],[37,34.1],[45,43],[45,48],[0,48],[0,42],[-6,42],[-6,30],[22.5,30]]}},{type:"Feature",properties:{rank:8,name:"Europe"},geometry:{type:"LineString",coordinates:[[-6,36],[-26,36],[-26,66],[15.5,90]]}},{type:"Feature",properties:{rank:9,name:"South America East Coast"},geometry:{type:"LineString",coordinates:[[-79.7,9.11],[-79.7,15],[-26,15]]}},{type:"Feature",properties:{rank:10,name:"South America West Coast"},geometry:{type:"LineString",coordinates:[[-160,5],[-79.7,5],[-79.7,9.11],[-78,9.11],[-78,7.5],[-77.5,7.5],[-68.53,7.5],[-68.53,-90]]}},{type:"Feature",properties:{rank:11,name:"North America East Coast"},geometry:{type:"LineString",coordinates:[[-79.7,9],[-80.4,9],[-80.4,8.5],[-83,8.5],[-83,9.5],[-84,9.5],[-84,15],[-91,15],[-91,18],[-101,18]]}},{type:"Feature",properties:{rank:12,name:"North America West Coast"},geometry:{type:"LineString",coordinates:[[-101,18],[-135,64],[-169,64]]}},{type:"Feature",properties:{rank:1,name:"North China & Far East"},geometry:{type:"Point",coordinates:[116,50]}},{type:"Feature",properties:{rank:2,name:"Southeast Asia"},geometry:{type:"Point",coordinates:[116,10]}},{type:"Feature",properties:{rank:3,name:"Oceania"},geometry:{type:"Point",coordinates:[146,-30]}},{type:"Feature",properties:{rank:4,name:"India Ocean"},geometry:{type:"Point",coordinates:[73,-20]}},{type:"Feature",properties:{rank:5,name:"East Africa"},geometry:{type:"Point",coordinates:[40,-20]}},{type:"Feature",properties:{rank:6,name:"West Africa"},geometry:{type:"Point",coordinates:[0,-20]}},{type:"Feature",properties:{rank:7,name:"Mediterranean"},geometry:{type:"Point",coordinates:[20,44]}},{type:"Feature",properties:{rank:8,name:"Europe"},geometry:{type:"Point",coordinates:[10,68]}},{type:"Feature",properties:{rank:9,name:"South America East Coast"},geometry:{type:"Point",coordinates:[-45,-20]}},{type:"Feature",properties:{rank:10,name:"South America West Coast"},geometry:{type:"Point",coordinates:[-110,-20]}},{type:"Feature",properties:{rank:11,name:"North America East Coast"},geometry:{type:"Point",coordinates:[-80,50]}},{type:"Feature",properties:{rank:12,name:"North America West Coast"},geometry:{type:"Point",coordinates:[-140,50]}}]}}},computed:{},watch:{},mounted(){this.$nextTick(()=>{this.initMap()})},methods:{async initMap(){en.accessToken=this.mapboxToken,this.map=new en.Map({container:"map",style:this.mapboxStyle,preserveDrawingBuffer:!0,zoom:1,dragRotate:!1,pitchWithRotate:!1}),this.map.on("load",()=>{this.handleDraw()})},async handleDraw(){this.map.addSource(this.source,{type:"geojson",data:this.geojson}),this.map.addLayer({id:this.layer,type:"line",source:this.source,filter:["==","$type","LineString"],paint:{"line-color":"rgba(0, 0, 0, 0.6)","line-width":1,"line-opacity":.9}}),this.map.addLayer({id:this.labelLayer,type:"symbol",source:this.source,filter:["==","$type","Point"],layout:{"symbol-placement":"point","text-field":"{rank}","text-rotation-alignment":"viewport","text-offset":[0,1],"text-size":14,"text-allow-overlap":!1},paint:{"text-opacity":1}})}}},Pn=t=>(e.pushScopeId("data-v-f3647134"),t=t(),e.popScopeId(),t),u$={class:"quota-report"},L$=Pn(()=>e.createElementVNode("div",{class:"section map-section"},[e.createElementVNode("div",{id:"map"})],-1)),W$={class:"section quota-section"},H$=Pn(()=>e.createElementVNode("td",{rowspan:2,colspan:2,class:"label"},"AREA NO.",-1)),M$={class:"label"},G$={class:"label"},I$=["innerHTML"],R$=e.createStaticVNode('<div class="legend-block flex-space" data-v-f3647134><div class="legend" data-v-f3647134><label data-v-f3647134>DIR</label><span data-v-f3647134>DIRECT</span></div><div class="legend" data-v-f3647134><label data-v-f3647134>PMP</label><span data-v-f3647134>via PANAMA CHANNEL</span></div><div class="legend" data-v-f3647134><label data-v-f3647134>SUE</label><span data-v-f3647134>via SUEZ CHANNEL</span></div><div class="legend" data-v-f3647134><label data-v-f3647134>CGH</label><span data-v-f3647134>Passing CAPE OF GOOD HOPE</span></div><div class="legend" data-v-f3647134><label data-v-f3647134>CHC</label><span data-v-f3647134>Passing CAPE HORN</span></div><div class="legend" data-v-f3647134><label data-v-f3647134>SCG</label><span data-v-f3647134>Passing SINGAPORE</span></div></div>',1);function z$(t,n,o,d,l,a){const p=e.resolveComponent("Brand");return e.openBlock(),e.createElementBlock("div",u$,[e.createVNode(p,{name:"Quotation Sheet"}),L$,e.createElementVNode("div",W$,[e.createElementVNode("table",null,[e.createElementVNode("thead",null,[e.createElementVNode("tr",null,[H$,(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(l.area,i=>(e.openBlock(),e.createElementBlock("td",{key:i.rank,class:"label"},e.toDisplayString(i.rank),1))),128))]),e.createElementVNode("tr",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(l.area,i=>(e.openBlock(),e.createElementBlock("td",{key:i.rank,style:e.normalizeStyle({width:i.width}),class:"label"},e.toDisplayString(i.name),5))),128))])]),e.createElementVNode("tbody",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(l.area,(i,E)=>(e.openBlock(),e.createElementBlock("tr",{key:E},[e.createElementVNode("td",M$,e.toDisplayString(i.rank),1),e.createElementVNode("td",G$,e.toDisplayString(i.name),1),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(l.area.length,b=>(e.openBlock(),e.createElementBlock("td",{key:b,innerHTML:l.quota[E][b-1]||""},null,8,I$))),128))]))),128))])]),R$])])}const un=De(P$,[["render",z$],["__scopeId","data-v-f3647134"]]),U$={install(t){t.component("OrmQuoteReport",un)}},mte="",Y$={name:"PrecipitationReport",components:{IdmBrand:yl,IdmLoading:on},props:{report:{type:Object,default:()=>({})},showPrate:{type:Boolean,default:!1},showAcc:{type:Boolean,default:!0},defaultVersion:{type:String,default:"Pretty"}},data(){return{mapboxToken:"pk.eyJ1IjoibmVhdGNoZW5oZW5nIiwiYSI6ImNsdXM3cnBmODBsemgycW1vaXc1bjV6bXMifQ.w6fqHGRbhNhLvm0LnX4ZVw",mapboxStyle:"mapbox://styles/neatchenheng/clv0mafdu006h01qp1cyzga6d",map:void 0,source:"precipitation-source",layer:"precipitation-label-layer",geojson:void 0,echart:void 0,form:void 0,index:0,version:this.defaultVersion,loading:!0}},watch:{report:{handler(){var t,n,o;if((t=this.report)!=null&&t.rows){this.loading=!1;for(const d of(n=this.report)==null?void 0:n.rows)this.computeForm(d);this.form=(o=this.report)==null?void 0:o.rows[this.index],this.$nextTick(()=>{this.initMap()})}},immediate:!0},form:{handler(){this.form&&(this.handleFlyTo(this.form),this.$nextTick(()=>{this.initEchart()}))},immediate:!0},version:{handler(){this.$nextTick(()=>{this.initEchart(),this.initMap()})}}},computed:{computeLat(){return function(t){return v.LngLatHelper.lat2pretty(t,2)}},computeLng(){return function(t){return v.LngLatHelper.lng2pretty(t,2)}},computeLTime(){return function(t,n=8,o="MMM-DD/HHmm[LT]"){return`${T(t).utcOffset(n).format(o)}`}},computeTZ(){return function(t="0"){return v.LngLatHelper.prettyTimeZoneOffset(t)}},roundPrecision(){return function(t,n=4){if(typeof t=="number"){const o=Number("1".padEnd(n+1,"0"));return Math.round(t*o)/o}else return"-"}},computeDegree(){return function(t,n){t=t%360;for(let o=0;o<17;o++)if(o*22.5+t+11.25>=360){let d=(16-o)*22.5;return n||(d=d+180),`transform:rotate(${d}deg);height:1rem;width:1rem;margin-left:3px`}}},computeForm(){return function(t){var l,a,p,i,E,b,S,_;const n=v.LngLatHelper.guessTimeZoneOffset(t.lng,t.lat);t.localTZ=n;const o={};for(let N=0;N<((l=t==null?void 0:t.extend)==null?void 0:l.length);N++){const D=t==null?void 0:t.extend[N];if(N===0)D.precip.pacc=0;else{const r=(a=t==null?void 0:t.extend)==null?void 0:a[N-1],C=T(D.utc).utcOffset(n),k=T(r.utc).utcOffset(n),O=(p=r==null?void 0:r.precip)==null?void 0:p.prate,P=C.diff(k,"h"),F=this.roundPrecision(O*P,1);if(D.precip.pacc=F,F>0){const w=o[C.format("MMM-DD")],x=Math.floor(C.get("hour")/6);w?(w.pacc=this.roundPrecision(w.pacc+F,1),w[`${x}`]?w[`${x}`]+=F:(w[`${x}`]=F,w.colspan+=1)):(o[C.format("MMM-DD")]={pacc:F,colspan:1},o[C.format("MMM-DD")][`${x}`]=F)}}}t.paccInDays=o;let d=0;for(const N of Object.keys(o))d+=(i=o[N])==null?void 0:i.colspan,o[N].level=((E=o[N])==null?void 0:E.pacc)<10?"Light":((b=o[N])==null?void 0:b.pacc)<24.9?"Moderate":((S=o[N])==null?void 0:S.pacc)<49.9?"Heavy":((_=o[N])==null?void 0:_.pacc)<99.9?"Rainstorm":"HeavyRainstorm";return t.span=d,t}}},methods:{initEchart(){var t,n;if(this.version==="Pretty"){this.echart||(this.echart=e.markRaw(zo.init(this.$refs.echart)));const o=[],d=[],l={dateTime:0,windSpeed:1,gusts:2,waveHeight:3,windDirection:4,windDegree:5,windScale:6,current:7,precip:8,visibility:9,temp:10};let a=4;(n=(t=this.form)==null?void 0:t.extend)==null||n.forEach(i=>{var b,S,_,N,D,r,C,k,O,P,F,w,x,u;const E=T(i.utc).utcOffset((b=this.form)==null?void 0:b.localTZ).format("MMM-DD/HHmm[LT]");o.push(E),a=((_=(S=i.wave)==null?void 0:S.sig)==null?void 0:_.height)>a?(D=(N=i.wave)==null?void 0:N.sig)==null?void 0:D.height:a,d.push([E,(r=i.wind)==null?void 0:r.kts,(C=i.gusts)==null?void 0:C.kts,(O=(k=i.wave)==null?void 0:k.sig)==null?void 0:O.height,(P=i.wind)==null?void 0:P.direction,(F=i.wind)==null?void 0:F.degree,(w=i.wind)==null?void 0:w.scale,(x=i.current)==null?void 0:x.kts,(u=i.precip)==null?void 0:u.pacc,this.roundPrecision(i.visibility/1852,0),i.temp])});const p={animation:!1,title:{text:"Weather Conditions",subtext:"Precip/Visibility/Sig.Wave/Wind/Gusts",textStyle:{color:"#000000B3",fontWeight:"500"},left:"left"},legend:{show:!0,right:0},tooltip:{trigger:"axis"},grid:{bottom:25},xAxis:[{data:o}],yAxis:[{name:"Precip Acc (mm)",nameLocation:"middle",position:"left",nameGap:30,axisLine:{lineStyle:{color:"#f85c5c"}}},{name:"Visibility (nm)",nameLocation:"middle",position:"left",offset:45,nameGap:30,axisLine:{lineStyle:{color:"#de8600"}}},{name:"Sig. Wave Height (m)",nameLocation:"middle",position:"right",nameGap:25,max:a,axisLine:{lineStyle:{color:"#015DD5"}},splitLine:{show:!1}},{name:"Wind Speed (kts)",nameLocation:"middle",position:"right",offset:40,nameGap:25,axisLine:{lineStyle:{color:"#0e6500"}}}],visualMap:{type:"piecewise",orient:"horizontal",left:"center",bottom:0,show:!1,pieces:[{gte:17,color:"#f85c5c",label:"≥ BF5"},{gte:11,lt:17,color:"#de8600",label:"BF4"},{lt:11,color:"#67c23a",label:"< BF4"}],seriesIndex:3,dimension:1},series:[{type:"bar",name:"Precip",yAxisIndex:0,showSymbol:!1,encode:{x:l.dateTime,y:l.precip},lineStyle:{color:"#f85c5c",type:"solid"},itemStyle:{color:"#f85c5c"},data:d,z:4},{type:"line",name:"Visibility",yAxisIndex:1,showSymbol:!1,encode:{x:l.dateTime,y:l.visibility},lineStyle:{color:"#de8600",type:"solid"},itemStyle:{color:"#de8600"},data:d,z:3},{name:"Sig. Wave Height",type:"line",showSymbol:!1,yAxisIndex:2,areaStyle:{color:{type:"linear",x:0,y:0,x2:0,y2:1,global:!1,colorStops:[{offset:0,color:"rgba(88, 160, 253, 1)"},{offset:.5,color:"rgba(88, 160, 253, 0.7)"},{offset:1,color:"rgba(88, 160, 253, 0)"}]}},lineStyle:{color:"rgba(88, 160, 253, 1)"},itemStyle:{color:"rgba(88, 160, 253, 1)"},encode:{x:l.dateTime,y:l.waveHeight},data:d,z:1},{name:"Wind Speed",type:"line",showSymbol:!1,yAxisIndex:3,encode:{x:l.dateTime,y:l.windSpeed},lineStyle:{color:"#398626",type:"solid"},itemStyle:{color:"#398626"},data:d,z:2},{type:"line",name:"Gusts",showSymbol:!1,yAxisIndex:3,encode:{x:l.dateTime,y:l.gusts},lineStyle:{color:"#0e6500",type:"dashed"},itemStyle:{color:"#0e6500"},data:d,z:2}]};this.echart.setOption(p)}},async initMap(){this.version==="Pretty"&&!this.map&&(en.accessToken=this.mapboxToken,this.map=new en.Map({container:"map",style:this.mapboxStyle,projection:"mercator",preserveDrawingBuffer:!0,dragRotate:!1,pitchWithRotate:!1}),this.map.on("load",()=>{this.handleDraw()}))},handleDraw(){var t;this.geojson={type:"FeatureCollection",features:[]};for(const n of(t=this.report)==null?void 0:t.rows){const o={type:"Feature",properties:{name:n.name,rank:n.rank},geometry:{type:"Point",coordinates:[n.lng,n.lat]}};this.geojson.features.push(o)}this.map.getSource(this.source)?this.map.getSource(this.source).setData(this.geojson):(this.map.addSource(this.source,{type:"geojson",data:this.geojson}),this.map.addLayer({id:this.layer,type:"symbol",source:this.source,filter:["==","$type","Point"],layout:{"symbol-placement":"point","icon-size":.3,"icon-image":"port","text-field":"{rank}. {name}","text-rotation-alignment":"viewport","text-offset":[0,1],"text-size":14,"text-allow-overlap":!1},paint:{"text-opacity":.8,"text-color":"#ff0000","text-halo-color":"#fff","text-halo-width":2,"text-halo-blur":1}})),this.handleFlyTo(this.form)},handleFlyTo(t){var n;(n=this.map)==null||n.flyTo({center:[t.lng,t.lat],zoom:8})}}},Wt=t=>(e.pushScopeId("data-v-385ff80f"),t=t(),e.popScopeId(),t),Z$={class:"precipitation-report"},Q$={class:"section area-section"},J$={class:"area-block"},K$={class:"area-header flex-space"},q$={class:"flex-start"},X$=["onClick"],j$={class:"flex-end"},$$={class:"area-body"},v$=e.createStaticVNode('<div style="text-align:center;line-height:2;font-size:16px;font-weight:400;color:var(--idm-black-8);" data-v-385ff80f>Precipitation Accumulation (mm) in the next 10 days</div><div style="display:flex;align-items:center;justify-content:flex-end;margin-bottom:10px;font-size:13px;color:var(--idm-black-7);" data-v-385ff80f><div style="background:rgba(243,245, 248, 1);padding:3px;margin-right:4px;border-radius:5px;" data-v-385ff80f>Light (&lt;10mm)</div><div style="background:rgba(205, 220, 57, 1);padding:3px;margin-right:4px;border-radius:5px;" data-v-385ff80f>Moderate (&lt;24.9mm)</div><div style="background:rgb(7,148,255, 1);color:white;padding:3px;margin-right:4px;border-radius:5px;" data-v-385ff80f>Heavy (&lt;49.9mm)</div><div style="background:rgba(255, 152, 0, 1);color:white;padding:3px;margin-right:4px;border-radius:5px;" data-v-385ff80f>Rainstorm (&lt;99.9mm)</div><div style="background:rgba(255, 87, 34, 1);color:white;padding:3px;border-radius:5px;" data-v-385ff80f>Heavy Rainstorm (&gt;100mm)</div></div>',2),ev={class:"flex-evenly"},tv={key:0},ov=["colspan"],lv=["colspan"],av={style:{"font-size":"10px"}},nv={key:0},sv={key:1},iv={key:2},dv={key:3},cv={key:0},rv={key:1,style:{"font-size":"14px"}},mv=Wt(()=>e.createElementVNode("div",{class:"section map-section"},[e.createElementVNode("div",{id:"map"})],-1)),hv={class:"section echart-section"},pv={ref:"echart",class:"echart"},Ev={class:"section sample-section"},yv=Wt(()=>e.createElementVNode("th",{rowspan:"2"},"Date Time",-1)),_v=["colspan"],Nv=Wt(()=>e.createElementVNode("th",{colspan:"1"},"Visibility",-1)),Vv=Wt(()=>e.createElementVNode("th",{colspan:"4"},"Wind",-1)),fv=Wt(()=>e.createElementVNode("th",{rowspan:"2"},[e.createTextVNode("Sea HT "),e.createElementVNode("br"),e.createTextVNode("(m)")],-1)),gv=Wt(()=>e.createElementVNode("th",{colspan:"3"},"Swell",-1)),Dv=Wt(()=>e.createElementVNode("th",{colspan:"3"},"Sig",-1)),xv=Wt(()=>e.createElementVNode("th",{colspan:"1"},"Temp",-1)),bv={key:0},Cv={key:1},Sv=Wt(()=>e.createElementVNode("th",null,"Dist (nm)",-1)),kv=Wt(()=>e.createElementVNode("th",null,"Dir",-1)),Av=Wt(()=>e.createElementVNode("th",null,"Speed (kts)",-1)),Bv=Wt(()=>e.createElementVNode("th",null,"BF",-1)),wv=Wt(()=>e.createElementVNode("th",null,"Gusts (kts)",-1)),Tv=Wt(()=>e.createElementVNode("th",null,"Dir",-1)),Ov=Wt(()=>e.createElementVNode("th",null,"Ht (m)",-1)),Fv=Wt(()=>e.createElementVNode("th",null,"Prd (s)",-1)),Pv=Wt(()=>e.createElementVNode("th",null,"Dir",-1)),uv=Wt(()=>e.createElementVNode("th",null,"Hgt (m)",-1)),Lv=Wt(()=>e.createElementVNode("th",null,"Prd (s)",-1)),Wv=Wt(()=>e.createElementVNode("th",null,"°C",-1)),Hv={width:"120px"},Mv={key:0},Gv={key:1},Iv={key:0,class:"degree-box"},Rv={key:1},zv={key:0,class:"degree-box"},Uv={key:1},Yv={key:0,class:"degree-box"},Zv={key:1},Qv={class:"section area-section"},Jv={class:"area-block"},Kv={class:"area-header flex-end"},qv={class:"flex-end"},Xv={class:"area-body"},jv=e.createStaticVNode('<div style="text-align:center;line-height:2;font-size:16px;font-weight:400;color:var(--idm-black-8);" data-v-385ff80f>Precipitation Accumulation (mm) in the next 10 days</div><div style="display:flex;align-items:center;justify-content:flex-end;margin-bottom:10px;font-size:13px;color:var(--idm-black-7);" data-v-385ff80f><div style="background:rgba(243,245, 248, 1);padding:3px;margin-right:4px;border-radius:5px;" data-v-385ff80f>Light (&lt;10mm)</div><div style="background:rgba(205, 220, 57, 1);padding:3px;margin-right:4px;border-radius:5px;" data-v-385ff80f>Moderate (&lt;24.9mm)</div><div style="background:rgb(7,148,255, 1);color:white;padding:3px;margin-right:4px;border-radius:5px;" data-v-385ff80f>Heavy (&lt;49.9mm)</div><div style="background:rgba(255, 152, 0, 1);color:white;padding:3px;margin-right:4px;border-radius:5px;" data-v-385ff80f>Rainstorm (&lt;99.9mm)</div><div style="background:rgba(255, 87, 34, 1);color:white;padding:3px;border-radius:5px;" data-v-385ff80f>Heavy Rainstorm (&gt;100mm)</div></div>',2),$v=["colspan"],vv=["colspan"],eee={style:{"font-size":"10px"}},tee={key:0},oee={key:1},lee={key:2},aee={key:3},nee={key:1,style:{"font-size":"14px"}},see={key:0};function iee(t,n,o,d,l,a){var E,b,S,_,N,D,r,C,k,O,P,F,w,x,u,R,Z,z,W;const p=e.resolveComponent("IdmBrand"),i=e.resolveComponent("IdmLoading");return e.openBlock(),e.createElementBlock("div",Z$,[e.createVNode(p,{name:"Precipitation Accumulation"}),e.createVNode(i,{loading:l.loading,text:"Loading..."},null,8,["loading"]),e.withDirectives(e.createElementVNode("div",null,[e.createElementVNode("div",Q$,[e.createElementVNode("div",J$,[e.createElementVNode("div",K$,[e.createElementVNode("div",q$,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList((E=o.report)==null?void 0:E.rows,(f,Y)=>(e.openBlock(),e.createElementBlock("div",{key:Y,class:e.normalizeClass(l.index===Y?"header-item active":"header-item"),onClick:G=>{var H;return l.index=Y,l.form=(H=o.report)==null?void 0:H.rows[l.index]}},e.toDisplayString(f.rank)+". "+e.toDisplayString(f.name),11,X$))),128))]),e.createElementVNode("div",j$,[e.createElementVNode("div",{class:"header-item",onClick:n[0]||(n[0]=f=>l.version="Brief")},"Brief")])]),e.createElementVNode("div",$$,[v$,e.createElementVNode("div",ev,[l.form?(e.openBlock(),e.createElementBlock("table",tv,[e.createElementVNode("thead",null,[e.createElementVNode("tr",null,[e.createElementVNode("th",{colspan:l.form.span,style:{"text-align":"left"}},[e.createElementVNode("b",null,"["+e.toDisplayString((b=l.form)==null?void 0:b.rank)+"] ",1),e.createElementVNode("b",null,e.toDisplayString((S=l.form)==null?void 0:S.name)+" ("+e.toDisplayString(a.computeLat((_=l.form)==null?void 0:_.lat).pretty)+" / "+e.toDisplayString(a.computeLng((N=l.form)==null?void 0:N.lng).pretty)+") ",1),e.createElementVNode("span",null,"(from "+e.toDisplayString(a.computeLTime((r=(D=l.form)==null?void 0:D.extend)==null?void 0:r[0].utc,(C=l.form)==null?void 0:C.localTZ))+" to "+e.toDisplayString(a.computeLTime((O=(k=l.form)==null?void 0:k.extend)==null?void 0:O.at(-1).utc,(P=l.form)==null?void 0:P.localTZ))+", "+e.toDisplayString(a.computeTZ((F=l.form)==null?void 0:F.localTZ))+")",1)],8,ov)]),e.createElementVNode("tr",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(Object.keys((w=l.form)==null?void 0:w.paccInDays),(f,Y)=>{var G;return e.openBlock(),e.createElementBlock("th",{key:Y,colspan:l.form.paccInDays[f].colspan,class:e.normalizeClass((G=l.form.paccInDays[f])==null?void 0:G.level)},e.toDisplayString(f)+" ("+e.toDisplayString(l.form.paccInDays[f].pacc)+") ",11,lv)}),128))]),e.createElementVNode("tr",av,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(Object.keys((x=l.form)==null?void 0:x.paccInDays),(f,Y)=>{var G;return e.openBlock(),e.createElementBlock(e.Fragment,{key:Y},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(Object.keys((G=l.form)==null?void 0:G.paccInDays[f]),(H,K)=>(e.openBlock(),e.createElementBlock(e.Fragment,{key:K},[H==="0"?(e.openBlock(),e.createElementBlock("th",nv,"00-06")):e.createCommentVNode("",!0),H==="1"?(e.openBlock(),e.createElementBlock("th",sv,"06-12")):e.createCommentVNode("",!0),H==="2"?(e.openBlock(),e.createElementBlock("th",iv,"12-18")):e.createCommentVNode("",!0),H==="3"?(e.openBlock(),e.createElementBlock("th",dv,"18-24")):e.createCommentVNode("",!0)],64))),128))],64)}),128))])]),e.createElementVNode("tbody",null,[e.createElementVNode("tr",null,[(R=Object.keys((u=l.form)==null?void 0:u.paccInDays))!=null&&R.length?(e.openBlock(!0),e.createElementBlock(e.Fragment,{key:0},e.renderList(Object.keys((Z=l.form)==null?void 0:Z.paccInDays),(f,Y)=>{var G;return e.openBlock(),e.createElementBlock(e.Fragment,{key:Y},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(Object.keys((G=l.form)==null?void 0:G.paccInDays[f]),(H,K)=>{var q;return e.openBlock(),e.createElementBlock(e.Fragment,{key:K},[["0","1","2","3"].includes(H)?(e.openBlock(),e.createElementBlock("td",cv,e.toDisplayString(a.roundPrecision((q=l.form)==null?void 0:q.paccInDays[f][H],1)),1)):e.createCommentVNode("",!0)],64)}),128))],64)}),128)):(e.openBlock(),e.createElementBlock("th",rv,"No Precipitation in the next 10 days"))])])])):e.createCommentVNode("",!0)])])])]),mv,e.createElementVNode("div",hv,[e.createElementVNode("div",pv,null,512)]),e.createElementVNode("div",Ev,[e.createElementVNode("table",null,[e.createElementVNode("thead",null,[e.createElementVNode("tr",null,[yv,e.createElementVNode("th",{colspan:o.showPrate?2:1},"Precip",8,_v),Nv,Vv,fv,gv,Dv,xv]),e.createElementVNode("tr",null,[o.showPrate?(e.openBlock(),e.createElementBlock("th",bv,"Rate (mm/h)")):e.createCommentVNode("",!0),o.showAcc?(e.openBlock(),e.createElementBlock("th",Cv,"Acc (mm)")):e.createCommentVNode("",!0),Sv,kv,Av,Bv,wv,Tv,Ov,Fv,Pv,uv,Lv,Wv])]),e.createElementVNode("tbody",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList((z=l.form)==null?void 0:z.extend,(f,Y)=>{var G,H,K,q,j,X,V,M,J,s,$,c,ee,oe,te,se,ie,ce,re,he,pe,Ee,de,ye,xe,be,Ce,Se,ke,Ae,Be;return e.openBlock(),e.createElementBlock("tr",{key:Y},[e.createElementVNode("td",Hv,e.toDisplayString(a.computeLTime(f.utc,(G=l.form)==null?void 0:G.localTZ)),1),o.showPrate?(e.openBlock(),e.createElementBlock("td",Mv,e.toDisplayString(a.roundPrecision((H=f.precip)==null?void 0:H.prate,2)),1)):e.createCommentVNode("",!0),o.showAcc?(e.openBlock(),e.createElementBlock("td",Gv,e.toDisplayString((K=f.precip)==null?void 0:K.pacc),1)):e.createCommentVNode("",!0),e.createElementVNode("td",null,e.toDisplayString(a.roundPrecision(f.visibility/1852,0)),1),e.createElementVNode("td",null,[(q=f.wind)!=null&&q.kts?(e.openBlock(),e.createElementBlock("span",Iv,[e.createTextVNode(e.toDisplayString((j=f.wind)==null?void 0:j.direction),1),e.createElementVNode("i",{class:"iconfont",style:e.normalizeStyle(a.computeDegree((X=f.wind)==null?void 0:X.degree,!1))},"",4)])):(e.openBlock(),e.createElementBlock("span",Rv,"-"))]),e.createElementVNode("td",null,e.toDisplayString(a.roundPrecision((V=f.wind)==null?void 0:V.kts,1)),1),e.createElementVNode("td",null,e.toDisplayString((M=f.wind)==null?void 0:M.scale),1),e.createElementVNode("td",null,e.toDisplayString(a.roundPrecision((J=f.gusts)==null?void 0:J.kts,1)),1),e.createElementVNode("td",null,e.toDisplayString(a.roundPrecision(($=(s=f.wave)==null?void 0:s.wd)==null?void 0:$.height,1)),1),e.createElementVNode("td",null,[(ee=(c=f.wave)==null?void 0:c.swell)!=null&&ee.height?(e.openBlock(),e.createElementBlock("span",zv,[e.createTextVNode(e.toDisplayString((te=(oe=f.wave)==null?void 0:oe.swell)==null?void 0:te.direction),1),e.createElementVNode("i",{class:"iconfont",style:e.normalizeStyle(a.computeDegree((ie=(se=f.wave)==null?void 0:se.swell)==null?void 0:ie.degree,!1))},"",4)])):(e.openBlock(),e.createElementBlock("span",Uv,"-"))]),e.createElementVNode("td",null,e.toDisplayString(a.roundPrecision((re=(ce=f.wave)==null?void 0:ce.swell)==null?void 0:re.height,1)),1),e.createElementVNode("td",null,e.toDisplayString(a.roundPrecision((pe=(he=f.wave)==null?void 0:he.swell)==null?void 0:pe.period,1)),1),e.createElementVNode("td",null,[(de=(Ee=f.wave)==null?void 0:Ee.sig)!=null&&de.height?(e.openBlock(),e.createElementBlock("span",Yv,[e.createTextVNode(e.toDisplayString((xe=(ye=f.wave)==null?void 0:ye.sig)==null?void 0:xe.direction),1),e.createElementVNode("i",{class:"iconfont",style:e.normalizeStyle(a.computeDegree((Ce=(be=f.wave)==null?void 0:be.sig)==null?void 0:Ce.degree,!1))},"",4)])):(e.openBlock(),e.createElementBlock("span",Zv,"-"))]),e.createElementVNode("td",null,e.toDisplayString(a.roundPrecision((ke=(Se=f.wave)==null?void 0:Se.sig)==null?void 0:ke.height,1)),1),e.createElementVNode("td",null,e.toDisplayString(a.roundPrecision((Be=(Ae=f.wave)==null?void 0:Ae.sig)==null?void 0:Be.period,1)),1),e.createElementVNode("td",null,e.toDisplayString(a.roundPrecision(f.temp,1)),1)])}),128))])])])],512),[[e.vShow,l.version==="Pretty"]]),e.withDirectives(e.createElementVNode("div",null,[e.createElementVNode("div",Qv,[e.createElementVNode("div",Jv,[e.createElementVNode("div",Kv,[e.createElementVNode("div",qv,[e.createElementVNode("div",{class:"header-item",onClick:n[1]||(n[1]=f=>l.version="Pretty")},"Pretty")])]),e.createElementVNode("div",Xv,[jv,(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList((W=o.report)==null?void 0:W.rows,(f,Y)=>{var G,H,K;return e.openBlock(),e.createElementBlock("div",{key:Y,style:{"margin-bottom":"10px"}},[e.createElementVNode("table",null,[e.createElementVNode("thead",null,[e.createElementVNode("tr",null,[e.createElementVNode("th",{colspan:f.span,style:{"text-align":"left"}},[e.createElementVNode("b",null,"["+e.toDisplayString(f==null?void 0:f.rank)+"] ",1),e.createElementVNode("b",null,e.toDisplayString(f==null?void 0:f.name)+" ("+e.toDisplayString(a.computeLat(f==null?void 0:f.lat).pretty)+" / "+e.toDisplayString(a.computeLng(f==null?void 0:f.lng).pretty)+") ",1),e.createElementVNode("span",null,"(from "+e.toDisplayString(a.computeLTime((G=f==null?void 0:f.extend)==null?void 0:G[0].utc,f==null?void 0:f.localTZ))+" to "+e.toDisplayString(a.computeLTime((H=f==null?void 0:f.extend)==null?void 0:H.at(-1).utc,f==null?void 0:f.localTZ))+", "+e.toDisplayString(a.computeTZ(f==null?void 0:f.localTZ))+")",1)],8,$v)]),e.createElementVNode("tr",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(Object.keys(f==null?void 0:f.paccInDays),(q,j)=>{var X;return e.openBlock(),e.createElementBlock("th",{key:j,colspan:f.paccInDays[q].colspan,class:e.normalizeClass((X=f.paccInDays[q])==null?void 0:X.level)},e.toDisplayString(q)+" ("+e.toDisplayString(f.paccInDays[q].pacc)+") ",11,vv)}),128))]),e.createElementVNode("tr",eee,[(K=Object.keys(f==null?void 0:f.paccInDays))!=null&&K.length?(e.openBlock(!0),e.createElementBlock(e.Fragment,{key:0},e.renderList(Object.keys(f==null?void 0:f.paccInDays),(q,j)=>(e.openBlock(),e.createElementBlock(e.Fragment,{key:j},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(Object.keys(f==null?void 0:f.paccInDays[q]),(X,V)=>(e.openBlock(),e.createElementBlock(e.Fragment,{key:V},[X==="0"?(e.openBlock(),e.createElementBlock("th",tee,"00-06")):e.createCommentVNode("",!0),X==="1"?(e.openBlock(),e.createElementBlock("th",oee,"06-12")):e.createCommentVNode("",!0),X==="2"?(e.openBlock(),e.createElementBlock("th",lee,"12-18")):e.createCommentVNode("",!0),X==="3"?(e.openBlock(),e.createElementBlock("th",aee,"18-24")):e.createCommentVNode("",!0)],64))),128))],64))),128)):(e.openBlock(),e.createElementBlock("th",nee,"No Precipitation in the next 10 days"))])]),e.createElementVNode("tbody",null,[e.createElementVNode("tr",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(Object.keys(f==null?void 0:f.paccInDays),(q,j)=>(e.openBlock(),e.createElementBlock(e.Fragment,{key:j},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(Object.keys(f==null?void 0:f.paccInDays[q]),(X,V)=>(e.openBlock(),e.createElementBlock(e.Fragment,{key:V},[["0","1","2","3"].includes(X)?(e.openBlock(),e.createElementBlock("td",see,e.toDisplayString(a.roundPrecision(f==null?void 0:f.paccInDays[q][X],1)),1)):e.createCommentVNode("",!0)],64))),128))],64))),128))])])])])}),128))])])])],512),[[e.vShow,l.version==="Brief"]])])}const Ln=De(Y$,[["render",iee],["__scopeId","data-v-385ff80f"]]),dee={install(t){t.component("PrecipitationReport",Ln)}},cee={install(t){t.component("IdmLoading",on)}};le.BrandPlugin=F$,le.ComparisonPlugin=O$,le.DeviationPlugin=CJ,le.DeviationReport=Bn,le.FliComparisonReport=Fn,le.FliDeviationReport=wn,le.FliPlanReport=Vn,le.FliVoyageReport=xn,le.HurricanePlugin=nu,le.HurricaneReport=Cn,le.IdmBrand=yl,le.IdmEditor=Ro,le.IdmEditorPlugin=CE,le.IdmLat=va,le.IdmLatPlugin=SE,le.IdmLng=$a,le.IdmLngPlugin=kE,le.IdmLoading=on,le.IdmThird=ja,le.InvoicePlugin=XL,le.InvoiceReport=Sn,le.LoadingPlugin=cee,le.ORMPointReport=En,le.OpiComparisonReport=On,le.OpiPlanReport=cn,le.OpiVoyageReport=Dn,le.OrmInvoiceReport=kn,le.OrmPlanReport=fn,le.OrmQuoteReport=un,le.OrmVoyageReport=bn,le.PiLogo=gn,le.PiLogoPlugin=PE,le.PointReport=yn,le.PointReportPlugin=_c,le.PrecipitationReport=Ln,le.PrecipitationReportPlugin=dee,le.QuoteReportPlugin=U$,le.RouteReport=cn,le.RouteReportPlugin=bE,le.StoppageReport=Tn,le.StoppageReportPlugin=yK,le.VoyageReportPlugin=OP,Object.defineProperty(le,Symbol.toStringTag,{value:"Module"})});
44
+ `,"<br/>")},null,8,JL)])):e.createCommentVNode("",!0)]),KL])}const kn=De(Xu,[["render",qL],["__scopeId","data-v-a19b6a09"]]),XL={install(t){t.component("InvoiceReport",Sn),t.component("OrmInvoiceReport",kn)}},jL=t=>((typeof t=="string"||typeof t=="number")&&(t=w(t)),t),$L=(t,n="MMM-DD,YYYY/HHmm[Z]")=>vL(t,n),vL=(t,n="MMM-DD/HHmm[Z]")=>(t=jL(t),t?`${t.utc().format(n)}`:"-"),ate="",eW={name:"IdmEditableItem",components:{Edit:tn.Edit,Close:tn.Close,IdmEditor:Ro},props:{width:{type:Number,default:80},disabled:{type:Boolean,default:!1},iconable:{type:Boolean,default:!0},type:{type:String,default:"input"},label:{type:String,default:""},value:{default:void 0},raw:{default:void 0},min:{type:Number},max:{type:Number},step:{type:Number},precision:{type:Number},controls:{type:Boolean,default:!1},size:{type:String,default:"default"},options:{type:Array,default:[]},radios:{type:Array,default:[]},checkboxs:{type:Array,default:[]},format:{type:String,default:"YYYY-MM-DD/HH:mm [Z]"},valueFormat:{type:String,default:"YYYY-MM-DDTHH:mm:00[Z]"},align:{type:String,default:"flex-start"}},data(){return{editable:!1,model:void 0}},computed:{computeUtcTime(){return function(t,n){return $L(t,n)}}},methods:{handleEdit(){this.disabled||(this.editable=!0,this.model=this.raw??this.value)},handleCancel(){this.editable=!1,this.model=void 0},handleSwitch(){this.model=!this.model,this.handleCommit()},handleCommit(){this.$nextTick(()=>{this.editable=!1}),this.model!==(this.raw??this.value)&&(typeof this.model=="boolean"||this.type==="alphanumeric"||this.type==="textarea"?this.$emit("commit",this.model):!isNaN(this.model)&&Number(this.model)!==1/0?this.$emit("commit",Number(this.model)):this.$emit("commit",this.model))},fetchSelectOptions(t){this.$emit("select",t)}}},tW={class:"idm-editable-item"},oW=["innerHTML"],lW={key:3,class:"buttons"};function aW(t,n,o,d,l,a){const p=e.resolveComponent("ElTag"),i=e.resolveComponent("ElInput"),y=e.resolveComponent("IdmEditor"),b=e.resolveComponent("ElInputNumber"),S=e.resolveComponent("ElDatePicker"),E=e.resolveComponent("ElOption"),V=e.resolveComponent("ElSelect"),D=e.resolveComponent("ElRadio"),r=e.resolveComponent("ElRadioGroup"),C=e.resolveComponent("ElCheckbox"),k=e.resolveComponent("ElCheckboxGroup"),T=e.resolveComponent("Edit"),u=e.resolveComponent("ElIcon"),L=e.resolveComponent("ElButton"),O=e.resolveComponent("Close");return e.openBlock(),e.createElementBlock("div",tW,[e.createElementVNode("div",{class:"group",style:e.normalizeStyle({justifyContent:o.align})},[o.label?(e.openBlock(),e.createElementBlock("label",{key:0,style:e.normalizeStyle({width:o.width+"px"})},e.toDisplayString(o.label),5)):e.createCommentVNode("",!0),l.editable?(e.openBlock(),e.createElementBlock(e.Fragment,{key:2},[o.type==="input"?(e.openBlock(),e.createBlock(i,{key:0,modelValue:l.model,"onUpdate:modelValue":n[2]||(n[2]=x=>l.model=x),size:o.size,onBlur:a.handleCommit},null,8,["modelValue","size","onBlur"])):e.createCommentVNode("",!0),o.type==="alphanumeric"?(e.openBlock(),e.createBlock(i,{key:1,modelValue:l.model,"onUpdate:modelValue":n[3]||(n[3]=x=>l.model=x),size:o.size,onBlur:a.handleCommit},null,8,["modelValue","size","onBlur"])):e.createCommentVNode("",!0),o.type==="textarea"?(e.openBlock(),e.createBlock(i,{key:2,modelValue:l.model,"onUpdate:modelValue":n[4]||(n[4]=x=>l.model=x),size:o.size,type:"textarea",rows:4,onBlur:a.handleCommit},null,8,["modelValue","size","onBlur"])):e.createCommentVNode("",!0),o.type==="richText"?(e.openBlock(),e.createBlock(y,{key:3,modelValue:l.model,"onUpdate:modelValue":n[5]||(n[5]=x=>l.model=x),onBlur:a.handleCommit},null,8,["modelValue","onBlur"])):e.createCommentVNode("",!0),o.type==="number"?(e.openBlock(),e.createBlock(b,{key:4,modelValue:l.model,"onUpdate:modelValue":n[6]||(n[6]=x=>l.model=x),size:o.size,controls:o.controls,min:o.min,max:o.max,step:o.step,precision:o.precision,onBlur:a.handleCommit,onChange:a.handleCommit},null,8,["modelValue","size","controls","min","max","step","precision","onBlur","onChange"])):e.createCommentVNode("",!0),o.type==="datetime"?(e.openBlock(),e.createBlock(S,{key:5,modelValue:l.model,"onUpdate:modelValue":n[7]||(n[7]=x=>l.model=x),size:o.size,type:"datetime",class:"datetime",format:o.format,"value-format":o.valueFormat,onBlur:a.handleCommit},null,8,["modelValue","size","format","value-format","onBlur"])):e.createCommentVNode("",!0),o.type==="select"?(e.openBlock(),e.createBlock(V,{key:6,modelValue:l.model,"onUpdate:modelValue":n[8]||(n[8]=x=>l.model=x),size:o.size,filterable:"",style:{width:"100%"},mini:"",onChange:a.handleCommit},{default:e.withCtx(()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(o.options,x=>(e.openBlock(),e.createBlock(E,{key:x.value,label:x.label,disabled:x.disabled,value:x.value},null,8,["label","disabled","value"]))),128))]),_:1},8,["modelValue","size","onChange"])):e.createCommentVNode("",!0),o.type==="remoteSelect"?(e.openBlock(),e.createBlock(V,{key:7,modelValue:l.model,"onUpdate:modelValue":n[9]||(n[9]=x=>l.model=x),size:o.size,filterable:"",remote:"",autocomplete:"","remote-show-suffix":"","remote-method":a.fetchSelectOptions,style:{width:"100%"},mini:"",onChange:a.handleCommit},{default:e.withCtx(()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(o.options,x=>(e.openBlock(),e.createBlock(E,{key:x.value,label:x.label,value:x.value},null,8,["label","value"]))),128))]),_:1},8,["modelValue","size","remote-method","onChange"])):e.createCommentVNode("",!0),o.type==="remotePortSelect"?(e.openBlock(),e.createBlock(V,{key:8,modelValue:l.model,"onUpdate:modelValue":n[10]||(n[10]=x=>l.model=x),size:o.size,filterable:"",remote:"",autocomplete:"","remote-show-suffix":"","remote-method":a.fetchSelectOptions,style:{width:"100%"},mini:"",onChange:a.handleCommit},{default:e.withCtx(()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(o.options,x=>(e.openBlock(),e.createBlock(E,{key:x.id,label:x.name,value:x.name},null,8,["label","value"]))),128))]),_:1},8,["modelValue","size","remote-method","onChange"])):e.createCommentVNode("",!0),o.type==="radio"?(e.openBlock(),e.createBlock(r,{key:9,modelValue:l.model,"onUpdate:modelValue":n[11]||(n[11]=x=>l.model=x),size:o.size,style:{width:"100%"},onChange:a.handleCommit},{default:e.withCtx(()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(o.radios,x=>(e.openBlock(),e.createBlock(D,{key:x.value,label:x.value},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(x.label),1)]),_:2},1032,["label"]))),128))]),_:1},8,["modelValue","size","onChange"])):e.createCommentVNode("",!0),o.type==="checkbox"?(e.openBlock(),e.createBlock(k,{key:10,modelValue:l.model,"onUpdate:modelValue":n[12]||(n[12]=x=>l.model=x),size:o.size,class:"checkbox",style:{width:"100%"},onChange:a.handleCommit},{default:e.withCtx(()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(o.checkboxs,x=>(e.openBlock(),e.createBlock(C,{label:x.value,key:x.label},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(x.label),1)]),_:2},1032,["label"]))),128))]),_:1},8,["modelValue","size","onChange"])):e.createCommentVNode("",!0)],64)):(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[typeof o.raw=="boolean"?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[o.raw?(e.openBlock(),e.createBlock(p,{key:0,size:"small",type:"success",style:{margin:"0",cursor:"pointer"},onDblclick:a.handleSwitch},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(o.value),1)]),_:1},8,["onDblclick"])):(e.openBlock(),e.createBlock(p,{key:1,size:"small",type:"info",style:{cursor:"pointer"},onDblclick:a.handleSwitch},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(o.value),1)]),_:1},8,["onDblclick"]))],64)):(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[o.type==="datetime"?(e.openBlock(),e.createElementBlock("span",{key:0,onDblclick:n[0]||(n[0]=(...x)=>a.handleEdit&&a.handleEdit(...x))},e.toDisplayString(a.computeUtcTime(o.value,o.format)),33)):o.type==="richText"?(e.openBlock(),e.createElementBlock("div",{key:1,innerHTML:o.value||""},null,8,oW)):(e.openBlock(),e.createElementBlock("span",{key:2,onDblclick:n[1]||(n[1]=(...x)=>a.handleEdit&&a.handleEdit(...x))},[typeof o.value=="number"?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[e.createTextVNode(e.toDisplayString(o.value),1)],64)):(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[e.createTextVNode(e.toDisplayString(o.value||"-"),1)],64))],32))],64))],64)),!o.disabled&&o.iconable&&typeof o.raw!="boolean"?(e.openBlock(),e.createElementBlock("div",lW,[l.editable?(e.openBlock(),e.createBlock(L,{key:1,size:o.size,type:"danger",link:"",style:{display:"block"},onClick:a.handleCancel},{default:e.withCtx(()=>[e.createVNode(u,null,{default:e.withCtx(()=>[e.createVNode(O)]),_:1})]),_:1},8,["size","onClick"])):(e.openBlock(),e.createBlock(L,{key:0,size:o.size,link:"",onClick:a.handleEdit},{default:e.withCtx(()=>[e.createVNode(u,null,{default:e.withCtx(()=>[e.createVNode(T)]),_:1})]),_:1},8,["size","onClick"]))])):e.createCommentVNode("",!0)],4)])}const An=De(eW,[["render",aW]]),nte="",nW={props:{report:{type:Object,default:()=>({})},gateway:{type:String,default:"https://cbe.idmwx.com"},token:{type:String,default:void 0}},components:{CirclePlus:tn.CirclePlus,Remove:tn.Remove,EditableItem:An,Editor:Ro,IdmBrand:yl},data(){return{extraData:void 0,extraPortList:[],portList:[],extraSummary:{time:void 0,foBrob:void 0,dgoBrob:void 0,bunkeringFo:void 0,bunkeringDgo:void 0},advisory:void 0,editable:!1,id:void 0}},watch:{report:{handler(t){t&&(this.fetchData(),this.fetchSuggestName())},immediate:!0}},computed:{computeColor(){return function(t){return t>0?"fail":t<0?"success":""}},computeUTCTime(){return function(t,n="MMM-DD/HHmm[Z]"){return t?`${w(t).utc().format(n)}`:"-"}},computedLngLat(){return function(t,n){const o=this.fetchLonLat(v.LngLatHelper.lat2pretty(t)),d=this.fetchLonLat(v.LngLatHelper.lng2pretty(n));return`${o} / ${d}`}},computeNum(){return function(t){return t||t==0?t<0?`(${t})`:t:"—"}}},methods:{fetchLonLat(t){return`${t.degree}°${v.roundPrecision(t.minute,2)}′${t.direction}`},fetchData(){var t,n,o,d;this.extraData=this.report,this.extraPortList=(t=this.report)!=null&&t.extraPorts?(n=this.report)==null?void 0:n.extraPorts:[],this.advisory=(o=this.report)!=null&&o.comments?(d=this.report)==null?void 0:d.comments:void 0,this.id=this.report.id},async fetchSuggestName(t){var o;const n=await fl.get(`${this.gateway}/api/arc/ports/suggest?n=${t}`,{headers:{Authorization:this.token}});this.portList=(o=n==null?void 0:n.data)==null?void 0:o.data},handleAdd(){const t={name:"",arrival:{date:null,foBrob:null,dgoBrob:null},departure:{date:null,foBrob:null,dgoBrob:null,bunkeringFo:null,bunkeringDgo:null}};this.extraPortList.push(t)},async handleRemove(t){var o,d,l,a,p;this.extraPortList.splice(t,1);const n=await fl.put(`${this.gateway}/api/als/deviations/${this.id}`,{extraPorts:this.extraPortList},{headers:{Authorization:this.token}});this.extraData=(o=n==null?void 0:n.data)==null?void 0:o.data,this.extraPortList=(l=(d=n==null?void 0:n.data)==null?void 0:d.data)==null?void 0:l.extraPorts,this.advisory=(a=this.report)!=null&&a.comments?(p=this.report)==null?void 0:p.comments:void 0},decideDisable(){this.editable=!this.editable},async handleCommit(t,n,o,d){var p,i,y,b,S;this.editable=!1;const l=n.indexOf(".");let a={};if((o||o==0)&&o!=""){if(t==="port"){if(l>0){const V=n.substring(0,l),D=n.substring(l+1);D!=="date"&&(o=Number(o)),this.extraPortList[d][V][D]=o}else this.extraPortList[d][n]=o;a={extraPorts:this.extraPortList}}else t==="comments"?(this.extraData[n]=o,a={[n]:o}):(this.extraData[n]=o,a={[n]:Number(o)});const E=await fl.put(`${this.gateway}/api/als/deviations/${this.id}`,a,{headers:{Authorization:this.token}});this.extraData=(p=E==null?void 0:E.data)==null?void 0:p.data,this.extraPortList=(y=(i=E==null?void 0:E.data)==null?void 0:i.data)==null?void 0:y.extraPorts,this.advisory=(b=this.report)!=null&&b.comments?(S=this.report)==null?void 0:S.comments:void 0}else hn.ElMessage({message:"Value cannot be empty.",type:"warning"})}}},B=t=>(e.pushScopeId("data-v-4829e189"),t=t(),e.popScopeId(),t),sW={class:"deviation-report"},iW={class:"section vessel-section"},dW={class:"report-summary"},cW={class:"summary-item"},rW=B(()=>e.createElementVNode("label",{class:"flex gray"},"Vessel Name",-1)),mW={class:"flexL gray"},hW={class:"summary-item"},pW=B(()=>e.createElementVNode("label",{class:"flex gray"},"Prepared For",-1)),EW={class:"flexL gray"},yW={class:"summary-item"},_W=B(()=>e.createElementVNode("label",{class:"flex gray"},"Vessel Type",-1)),NW={class:"flexL gray"},VW={class:"summary-item"},fW=B(()=>e.createElementVNode("label",{class:"flex gray"},"Reference Number",-1)),gW={class:"flexL gray"},DW={class:"summary-item"},xW=B(()=>e.createElementVNode("label",{class:"flex gray"},"Departure",-1)),bW={class:"flexL gray",style:{display:"flex"}},CW={class:"flex"},SW={class:"flexM"},kW={class:"summary-item"},AW=B(()=>e.createElementVNode("label",{class:"flex gray"},"Arrival",-1)),BW={class:"flexL gray",style:{display:"flex"}},wW={class:"flex"},TW={class:"flexM"},OW={class:"section summary-section"},FW=B(()=>e.createElementVNode("div",{class:"subtitle"},"Report Summary",-1)),PW={class:"report-summary"},uW={class:"summary-item"},LW=B(()=>e.createElementVNode("label",{class:"flex blue"},"Extra Distance (nm)",-1)),WW={class:"summary-item"},HW=B(()=>e.createElementVNode("label",{class:"flex blue"},"Total extra Time (hrs)",-1)),MW={class:"summary-item"},GW=B(()=>e.createElementVNode("label",{class:"flex blue"},"FO Total extra Consumption (mt)",-1)),IW={class:"summary-item"},RW=B(()=>e.createElementVNode("label",{class:"flex blue"},"DO/GO Total extra Consumption (mt)",-1)),zW={class:"section map-section"},UW=B(()=>e.createElementVNode("div",{class:"subtitle"},"Voyage Map",-1)),YW={class:"report-map"},ZW=["src"],QW=e.createStaticVNode('<div class="legend" data-v-4829e189><div class="legend-item" data-v-4829e189><div style="width:50px;height:0px;border:1px solid var(--actual-route);" data-v-4829e189></div><div data-v-4829e189>Actual Route</div></div><div class="legend-item" data-v-4829e189><div style="width:50px;height:0px;border:1px dashed var(--prior-route);" data-v-4829e189></div><div data-v-4829e189>Route prior to deviation</div></div></div>',1),JW={key:0,class:"section deviation-section"},KW=B(()=>e.createElementVNode("div",{class:"subtitle"},"Deviation Information",-1)),qW={class:"report-summary"},XW=e.createStaticVNode('<div class="summary-item" data-v-4829e189><div class="blue center" style="width:17%;" data-v-4829e189>Deviation</div><div class="blue center" style="width:20%;" data-v-4829e189>Position</div><div class="blue center" style="width:17%;" data-v-4829e189>Date Time</div><div class="flex blue center" data-v-4829e189>FO BROB<br data-v-4829e189>(mt)</div><div class="flex blue center" data-v-4829e189>DO/GO<br data-v-4829e189>BROB (mt)</div><div class="flex blue center" data-v-4829e189>Bunkering<br data-v-4829e189>FO (mt)</div><div class="flex blue center" data-v-4829e189>Bunkering<br data-v-4829e189>DO/GO (mt)</div></div>',1),jW={class:"summary-item"},$W=B(()=>e.createElementVNode("div",{class:"blue center",style:{width:"17%"}},"Deviation",-1)),vW={class:"blue center",style:{width:"20%"}},eH={class:"blue center",style:{width:"17%"}},tH={class:"flex blue center"},oH={class:"flex blue center"},lH=B(()=>e.createElementVNode("div",{class:"flex blue center"},null,-1)),aH=B(()=>e.createElementVNode("div",{class:"flex blue center"},null,-1)),nH={class:"summary-item"},sH=B(()=>e.createElementVNode("div",{class:"blue center",style:{width:"17%"}},"Back on Track",-1)),iH={class:"blue center",style:{width:"20%"}},dH={class:"blue center",style:{width:"17%"}},cH={class:"flex blue center"},rH={class:"flex blue center"},mH={class:"flex blue center"},hH={class:"flex blue center"},pH={class:"summary-item"},EH=B(()=>e.createElementVNode("div",{class:"blue center",style:{width:"17%"}},"Time & Consumption",-1)),yH=B(()=>e.createElementVNode("div",{class:"blue center",style:{width:"20%"}},null,-1)),_H={class:"blue center",style:{width:"17%"}},NH={class:"flex blue center"},VH={class:"flex blue center"},fH=B(()=>e.createElementVNode("div",{class:"flex blue center"},null,-1)),gH=B(()=>e.createElementVNode("div",{class:"flex blue center"},null,-1)),DH={class:"section cp-section"},xH=B(()=>e.createElementVNode("div",{class:"subtitle"},"CP Terms",-1)),bH={class:"report-summary"},CH={class:"summary-item"},SH=B(()=>e.createElementVNode("div",{class:"flex blue"},"CP Speed (kts)",-1)),kH={class:"flexL blue center"},AH={class:"summary-item"},BH=B(()=>e.createElementVNode("div",{class:"flex blue"},"CP Daily FO Consumption (mt)",-1)),wH={class:"flexL blue center"},TH={class:"summary-item"},OH=B(()=>e.createElementVNode("div",{class:"flex blue"},"CP Daily DO/GO Consumption (mt)",-1)),FH={class:"flexL blue center"},PH={class:"section port-section"},uH={class:"subtitle port"},LH=B(()=>e.createElementVNode("div",null,"Extra Port Information",-1)),WH={class:"print-hidden"},HH={class:"report-port"},MH=B(()=>e.createElementVNode("thead",null,[e.createElementVNode("tr",null,[e.createElementVNode("th",null,"Extra Port"),e.createElementVNode("th",null,"Event"),e.createElementVNode("th",null,"Date Time"),e.createElementVNode("th",null,"FO BROB(mt)"),e.createElementVNode("th",null,[e.createTextVNode("DO/GO"),e.createElementVNode("br"),e.createTextVNode("BROB(mt)")]),e.createElementVNode("th",null,[e.createTextVNode("Bunkering"),e.createElementVNode("br"),e.createTextVNode("FO(mt)")]),e.createElementVNode("th",null,[e.createTextVNode("Bunkering"),e.createElementVNode("br"),e.createTextVNode("DO/GO(mt)")]),e.createElementVNode("th",{class:"print-hidden"})])],-1)),GH={rowspan:2},IH=B(()=>e.createElementVNode("td",null,"Arrival",-1)),RH=B(()=>e.createElementVNode("td",null,null,-1)),zH=B(()=>e.createElementVNode("td",null,null,-1)),UH={rowspan:2,class:"print-hidden"},YH=B(()=>e.createElementVNode("td",null,"Departure",-1)),ZH=B(()=>e.createElementVNode("td",null,"Time & Consumption",-1)),QH=B(()=>e.createElementVNode("td",null,null,-1)),JH=B(()=>e.createElementVNode("td",null,null,-1)),KH=B(()=>e.createElementVNode("td",null,null,-1)),qH=B(()=>e.createElementVNode("td",{class:"print-hidden"},null,-1)),XH={class:"section distance-section"},jH=B(()=>e.createElementVNode("div",{class:"subtitle"},"Distance Analysis",-1)),$H={class:"report-summary"},vH=B(()=>e.createElementVNode("div",{class:"summary-item"},[e.createElementVNode("div",{class:"blue",style:{width:"30%"}}),e.createElementVNode("div",{class:"flex blue center"},"Actual Route"),e.createElementVNode("div",{class:"flex blue center"},"Route prior to deviation")],-1)),eM={class:"summary-item"},tM=B(()=>e.createElementVNode("div",{class:"blue",style:{width:"30%"}},"Distance (nm)",-1)),oM={class:"flex blue center"},lM={class:"flex blue center"},aM={class:"summary-item"},nM=B(()=>e.createElementVNode("div",{class:"blue",style:{width:"30%"}},"Extra Distance (nm)",-1)),sM={class:"flex blue center"},iM={class:"section time-section"},dM=B(()=>e.createElementVNode("div",{class:"subtitle"},"Time Analysis",-1)),cM={key:0,class:"report-formular"},rM={class:"equation"},mM=e.createStaticVNode('<div style="width:30%;text-align:left;" data-v-4829e189>Time for extra distance sailing (hrs)</div><div style="width:5%;" data-v-4829e189>=</div><div class="function" style="width:20%;" data-v-4829e189><div data-v-4829e189>Deviation Distance</div><div class="fractional-line" data-v-4829e189></div><div data-v-4829e189>CP Speed</div></div><div style="width:5%;" data-v-4829e189>=</div>',4),hM={class:"function",style:{width:"20%"}},pM=B(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),EM=B(()=>e.createElementVNode("div",{style:{width:"5%"}},"=",-1)),yM={style:{width:"10%"}},_M=B(()=>e.createElementVNode("div",{style:{width:"5%"}},"(hrs)",-1)),NM={class:"equation"},VM=e.createStaticVNode('<div style="width:18%;text-align:left;" data-v-4829e189>Total extra Time (hrs)</div><div style="width:2%;" data-v-4829e189>=</div><div style="width:28%;" data-v-4829e189>Time for extra distance sailing (hrs)</div><div style="width:2%;" data-v-4829e189>+</div><div style="width:23%;" data-v-4829e189>Time spent in extra port (hrs)</div><div style="width:2%;" data-v-4829e189>=</div>',6),fM={style:{width:"5%"}},gM=B(()=>e.createElementVNode("div",{style:{width:"2%"}},"+",-1)),DM={style:{width:"8%"}},xM=B(()=>e.createElementVNode("div",{style:{width:"2%"}},"=",-1)),bM={style:{width:"4%"}},CM=B(()=>e.createElementVNode("div",{style:{width:"5%"}},"(hrs)",-1)),SM={key:1,class:"report-formular"},kM={class:"equation"},AM=e.createStaticVNode('<div style="width:30%;text-align:left;" data-v-4829e189>Time for Route prior to deviation sailing (hrs)</div><div style="width:5%;" data-v-4829e189>=</div><div class="function" style="width:20%;" data-v-4829e189><div data-v-4829e189>Distance</div><div class="fractional-line" data-v-4829e189></div><div data-v-4829e189>CP Speed</div></div><div style="width:5%;" data-v-4829e189>=</div>',4),BM={class:"function",style:{width:"20%"}},wM=B(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),TM=B(()=>e.createElementVNode("div",{style:{width:"5%"}},"=",-1)),OM={style:{width:"10%"}},FM=B(()=>e.createElementVNode("div",{style:{width:"5%"}},"(hrs)",-1)),PM={key:0,class:"equation"},uM=e.createStaticVNode('<div style="width:18%;text-align:left;" data-v-4829e189>Total extra Time (hrs)</div><div style="width:2%;" data-v-4829e189>=</div><div style="width:24%;" data-v-4829e189>Time for Actual Route (hrs)</div><div style="width:2%;" data-v-4829e189>-</div><div style="width:30%;" data-v-4829e189>Time for Route prior to deviation sailing (hrs)</div><div style="width:2%;" data-v-4829e189>=</div>',6),LM={style:{width:"5%"}},WM=B(()=>e.createElementVNode("div",{style:{width:"2%"}},"-",-1)),HM={style:{width:"5%"}},MM=B(()=>e.createElementVNode("div",{style:{width:"2%"}},"=",-1)),GM={style:{width:"5%"}},IM=B(()=>e.createElementVNode("div",{style:{width:"5%"}},"(hrs)",-1)),RM={key:1,class:"equation"},zM=e.createStaticVNode('<div style="width:18%;text-align:left;" data-v-4829e189>Total extra Time (hrs)</div><div style="width:2%;" data-v-4829e189>=</div><div style="width:24%;" data-v-4829e189>Time for Actual Route (hrs)</div><div style="width:2%;" data-v-4829e189>-</div><div style="width:20%;" data-v-4829e189>Time for Route prior to deviation sailing (hrs)</div><div style="width:2%;" data-v-4829e189>-</div><div style="width:10%;" data-v-4829e189>Time spent in port (hrs)</div><div style="width:2%;" data-v-4829e189>=</div>',8),UM={style:{width:"5%"}},YM=B(()=>e.createElementVNode("div",{style:{width:"2%"}},"-",-1)),ZM={style:{width:"5%"}},QM=B(()=>e.createElementVNode("div",{style:{width:"2%"}},"-",-1)),JM={style:{width:"5%"}},KM=B(()=>e.createElementVNode("div",{style:{width:"2%"}},"=",-1)),qM={style:{width:"5%"}},XM=B(()=>e.createElementVNode("div",{style:{width:"5%"}},"(hrs)",-1)),jM={key:2,class:"report-summary"},$M={class:"summary-item"},vM=B(()=>e.createElementVNode("div",{class:"blue",style:{width:"30%"}},"Time for extra distance sailing (hrs)",-1)),eG={class:"flex blue center"},tG={class:"summary-item"},oG=B(()=>e.createElementVNode("div",{class:"blue",style:{width:"30%"}},"Time spent in extra port (hrs)",-1)),lG={class:"flex blue center"},aG={class:"summary-item"},nG=B(()=>e.createElementVNode("div",{class:"blue",style:{width:"30%"}},"Total extra Time (hrs)",-1)),sG={class:"flex blue center"},iG={key:3,class:"report-summary"},dG={class:"summary-item"},cG=B(()=>e.createElementVNode("div",{class:"blue",style:{width:"40%"}},"Time for Route prior to deviation sailing (hrs)",-1)),rG={class:"flex blue center"},mG={class:"summary-item"},hG=B(()=>e.createElementVNode("div",{class:"blue",style:{width:"40%"}},"Time for Actual Route (hrs)",-1)),pG={class:"flex blue center"},EG={key:0,class:"summary-item"},yG=B(()=>e.createElementVNode("div",{class:"blue",style:{width:"40%"}},"Time spent in port (hrs)",-1)),_G={class:"flex blue center"},NG={class:"summary-item"},VG=B(()=>e.createElementVNode("div",{class:"blue",style:{width:"40%"}},"Total extra Time (hrs)",-1)),fG={class:"flex blue center"},gG={class:"section consumption-section"},DG=B(()=>e.createElementVNode("div",{class:"subtitle"},"Consumption Analysis",-1)),xG={key:0,class:"report-formular"},bG={class:"equation"},CG=e.createStaticVNode('<div style="width:20%;text-align:left;" data-v-4829e189>FO Consumption for extra distance sailing</div><div style="width:2%;" data-v-4829e189>=</div><div class="function" style="width:30%;" data-v-4829e189><div data-v-4829e189>Deviation Distance</div><div class="fractional-line" data-v-4829e189></div><div data-v-4829e189>CP Speed</div></div><div style="width:3%;" data-v-4829e189>×</div><div class="function" style="width:23%;" data-v-4829e189><div data-v-4829e189>Daily FO Consumption</div><div class="fractional-line" data-v-4829e189></div><div data-v-4829e189>24</div></div><div style="width:3%;" data-v-4829e189>=</div>',6),SG={class:"function",style:{width:"5%"}},kG=B(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),AG=B(()=>e.createElementVNode("div",{style:{width:"3%"}},"×",-1)),BG={class:"function",style:{width:"5%"}},wG=B(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),TG=B(()=>e.createElementVNode("div",null,"24",-1)),OG=B(()=>e.createElementVNode("div",{style:{width:"3%"}},"=",-1)),FG={style:{width:"5%"}},PG=B(()=>e.createElementVNode("div",{style:{width:"5%"}},"(mt)",-1)),uG={class:"equation"},LG=e.createStaticVNode('<div style="width:20%;text-align:left;" data-v-4829e189>FO Total Extra Consumption(mt)</div><div style="width:2%;" data-v-4829e189>=</div><div style="width:30%;" data-v-4829e189>FO Consumption for extra distance sailing (mt)</div><div style="width:3%;" data-v-4829e189>+</div><div style="width:23%;" data-v-4829e189>FO Consumption in extra port (mt)</div><div style="width:3%;" data-v-4829e189>=</div>',6),WG={style:{width:"5%"}},HG=B(()=>e.createElementVNode("div",{style:{width:"3%"}},"+",-1)),MG={style:{width:"5%"}},GG=B(()=>e.createElementVNode("div",{style:{width:"3%"}},"=",-1)),IG={style:{width:"5%"}},RG=B(()=>e.createElementVNode("div",{style:{width:"5%"}},"(mt)",-1)),zG={class:"equation"},UG=e.createStaticVNode('<div style="width:20%;text-align:left;" data-v-4829e189>DO Consumption for extra distance sailing</div><div style="width:2%;" data-v-4829e189>=</div><div class="function" style="width:30%;" data-v-4829e189><div data-v-4829e189>Deviation Distance</div><div class="fractional-line" data-v-4829e189></div><div data-v-4829e189>CP Speed</div></div><div style="width:3%;" data-v-4829e189>×</div><div class="function" style="width:23%;" data-v-4829e189><div data-v-4829e189>Daily DO Consumption</div><div class="fractional-line" data-v-4829e189></div><div data-v-4829e189>24</div></div><div style="width:3%;" data-v-4829e189>=</div>',6),YG={class:"function",style:{width:"5%"}},ZG=B(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),QG=B(()=>e.createElementVNode("div",{style:{width:"3%"}},"×",-1)),JG={class:"function",style:{width:"5%"}},KG=B(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),qG=B(()=>e.createElementVNode("div",null,"24",-1)),XG=B(()=>e.createElementVNode("div",{style:{width:"3%"}},"=",-1)),jG={style:{width:"5%"}},$G=B(()=>e.createElementVNode("div",{style:{width:"5%"}},"(mt)",-1)),vG={class:"equation"},eI=e.createStaticVNode('<div style="width:20%;text-align:left;" data-v-4829e189>DO/GO Total Extra Consumption(mt)</div><div style="width:2%;" data-v-4829e189>=</div><div style="width:30%;" data-v-4829e189>DO/GO Consumption for extra distance sailing(mt)</div><div style="width:3%;" data-v-4829e189>-</div><div style="width:23%;" data-v-4829e189>DO/GO Consumption in extra port(mt)</div><div style="width:3%;" data-v-4829e189>=</div>',6),tI={style:{width:"5%"}},oI=B(()=>e.createElementVNode("div",{style:{width:"3%"}},"-",-1)),lI={style:{width:"5%"}},aI=B(()=>e.createElementVNode("div",{style:{width:"3%"}},"=",-1)),nI={style:{width:"5%"}},sI=B(()=>e.createElementVNode("div",{style:{width:"5%"}},"(mt)",-1)),iI={key:1,class:"report-formular"},dI={class:"equation"},cI=e.createStaticVNode('<div style="width:20%;text-align:left;" data-v-4829e189>FO Consumption for Route prior to deviation sailing</div><div style="width:2%;" data-v-4829e189>=</div><div class="function" style="width:30%;" data-v-4829e189><div data-v-4829e189>Route prior to deviation Distance</div><div class="fractional-line" data-v-4829e189></div><div data-v-4829e189>CP Speed</div></div><div style="width:3%;" data-v-4829e189>×</div><div class="function" style="width:23%;" data-v-4829e189><div data-v-4829e189>CP Daily FO Consumption</div><div class="fractional-line" data-v-4829e189></div><div data-v-4829e189>24</div></div><div style="width:3%;" data-v-4829e189>=</div>',6),rI={class:"function",style:{width:"5%"}},mI=B(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),hI=B(()=>e.createElementVNode("div",{style:{width:"3%"}},"×",-1)),pI={class:"function",style:{width:"5%"}},EI=B(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),yI=B(()=>e.createElementVNode("div",null,"24",-1)),_I=B(()=>e.createElementVNode("div",{style:{width:"3%"}},"=",-1)),NI={style:{width:"5%"}},VI=B(()=>e.createElementVNode("div",{style:{width:"5%"}},"(mt)",-1)),fI={class:"equation"},gI=e.createStaticVNode('<div style="width:20%;text-align:left;" data-v-4829e189>DO Consumption for Route prior to deviation sailing</div><div style="width:2%;" data-v-4829e189>=</div><div class="function" style="width:30%;" data-v-4829e189><div data-v-4829e189>Route prior to deviation Distance</div><div class="fractional-line" data-v-4829e189></div><div data-v-4829e189>CP Speed</div></div><div style="width:3%;" data-v-4829e189>×</div><div class="function" style="width:23%;" data-v-4829e189><div data-v-4829e189>CP Daily DO Consumption</div><div class="fractional-line" data-v-4829e189></div><div data-v-4829e189>24</div></div><div style="width:3%;" data-v-4829e189>=</div>',6),DI={class:"function",style:{width:"5%"}},xI=B(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),bI=B(()=>e.createElementVNode("div",{style:{width:"3%"}},"×",-1)),CI={class:"function",style:{width:"5%"}},SI=B(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),kI=B(()=>e.createElementVNode("div",null,"24",-1)),AI=B(()=>e.createElementVNode("div",{style:{width:"3%"}},"=",-1)),BI={style:{width:"5%"}},wI=B(()=>e.createElementVNode("div",{style:{width:"5%"}},"(mt)",-1)),TI={key:0,class:"equation"},OI=e.createStaticVNode('<div style="width:20%;text-align:left;" data-v-4829e189>FO Total Extra Consumption(mt)</div><div style="width:2%;" data-v-4829e189>=</div><div style="width:30%;" data-v-4829e189>FO Consumption for Actual Route</div><div style="width:3%;" data-v-4829e189>-</div><div style="width:23%;" data-v-4829e189>FO Consumption for Route prior to deviation sailing</div><div style="width:3%;" data-v-4829e189>=</div>',6),FI={style:{width:"5%"}},PI=B(()=>e.createElementVNode("div",{style:{width:"3%"}},"-",-1)),uI={style:{width:"5%"}},LI=B(()=>e.createElementVNode("div",{style:{width:"3%"}},"=",-1)),WI={style:{width:"5%"}},HI=B(()=>e.createElementVNode("div",{style:{width:"5%"}},"(mt)",-1)),MI={key:1,class:"equation"},GI=e.createStaticVNode('<div style="width:15%;text-align:left;" data-v-4829e189>FO Total Extra Consumption(mt)</div><div style="width:2%;" data-v-4829e189>=</div><div style="width:15%;" data-v-4829e189>FO Consumption for Actual Route</div><div style="width:3%;" data-v-4829e189>-</div><div style="width:20%;" data-v-4829e189>FO Consumption for Route prior to deviation sailing</div><div style="width:3%;" data-v-4829e189>-</div><div style="width:10%;" data-v-4829e189>FO Consumption in port</div><div style="width:3%;" data-v-4829e189>=</div>',8),II={style:{width:"5%"}},RI=B(()=>e.createElementVNode("div",{style:{width:"3%"}},"-",-1)),zI={style:{width:"5%"}},UI=B(()=>e.createElementVNode("div",{style:{width:"3%"}},"-",-1)),YI={style:{width:"5%"}},ZI=B(()=>e.createElementVNode("div",{style:{width:"3%"}},"=",-1)),QI={style:{width:"5%"}},JI=B(()=>e.createElementVNode("div",{style:{width:"5%"}},"(mt)",-1)),KI={key:2,class:"equation"},qI=e.createStaticVNode('<div style="width:20%;text-align:left;" data-v-4829e189>DO/GO Total Extra Consumption(mt)</div><div style="width:2%;" data-v-4829e189>=</div><div style="width:30%;" data-v-4829e189>DO/GO Consumption for Actual Route</div><div style="width:3%;" data-v-4829e189>-</div><div style="width:23%;" data-v-4829e189>DO/GO Consumption for Route prior to deviation sailing</div><div style="width:3%;" data-v-4829e189>=</div>',6),XI={style:{width:"5%"}},jI=B(()=>e.createElementVNode("div",{style:{width:"3%"}},"-",-1)),$I={style:{width:"5%"}},vI=B(()=>e.createElementVNode("div",{style:{width:"3%"}},"=",-1)),eR={style:{width:"5%"}},tR=B(()=>e.createElementVNode("div",{style:{width:"5%"}},"(mt)",-1)),oR={key:3,class:"equation"},lR=e.createStaticVNode('<div style="width:15%;text-align:left;" data-v-4829e189>DO/GO Total Extra Consumption(mt)</div><div style="width:2%;" data-v-4829e189>=</div><div style="width:15%;" data-v-4829e189>DO/GO Consumption for Actual Route</div><div style="width:3%;" data-v-4829e189>-</div><div style="width:20%;" data-v-4829e189>DO/GO Consumption for Route prior to deviation sailing</div><div style="width:3%;" data-v-4829e189>-</div><div style="width:10%;" data-v-4829e189>DO/GO Consumption in port</div><div style="width:3%;" data-v-4829e189>=</div>',8),aR={style:{width:"5%"}},nR=B(()=>e.createElementVNode("div",{style:{width:"3%"}},"-",-1)),sR={style:{width:"5%"}},iR=B(()=>e.createElementVNode("div",{style:{width:"3%"}},"-",-1)),dR={style:{width:"5%"}},cR=B(()=>e.createElementVNode("div",{style:{width:"3%"}},"=",-1)),rR={style:{width:"5%"}},mR=B(()=>e.createElementVNode("div",{style:{width:"5%"}},"(mt)",-1)),hR={key:2,class:"report-summary"},pR=B(()=>e.createElementVNode("div",{class:"summary-item"},[e.createElementVNode("div",{class:"blue flexM"}),e.createElementVNode("div",{class:"flex blue center"},"FO"),e.createElementVNode("div",{class:"flex blue center"},"DO/GO")],-1)),ER={class:"summary-item"},yR=B(()=>e.createElementVNode("div",{class:"blue flexM"},"Consumption for extra distance sailing (mt)",-1)),_R={class:"flex blue center"},NR={class:"flex blue center"},VR={class:"summary-item"},fR=B(()=>e.createElementVNode("div",{class:"blue flexM"},"Consumption in extra port (mt)",-1)),gR={class:"flex blue center"},DR={class:"flex blue center"},xR={class:"summary-item"},bR=B(()=>e.createElementVNode("div",{class:"blue flexM"},"Total extra Consumption (mt)",-1)),CR={key:3,class:"report-summary"},SR=B(()=>e.createElementVNode("div",{class:"summary-item"},[e.createElementVNode("div",{class:"blue flexM"}),e.createElementVNode("div",{class:"flex blue center"},"FO"),e.createElementVNode("div",{class:"flex blue center"},"DO/GO")],-1)),kR={class:"summary-item"},AR=B(()=>e.createElementVNode("div",{class:"blue flexM"},"Consumption for Route prior to deviation sailing (mt)",-1)),BR={class:"flex blue center"},wR={class:"flex blue center"},TR={class:"summary-item"},OR=B(()=>e.createElementVNode("div",{class:"blue flexM"},"Consumption for Actual Route (mt)",-1)),FR={class:"flex blue center"},PR={class:"flex blue center"},uR={key:0,class:"summary-item"},LR=B(()=>e.createElementVNode("div",{class:"blue flexM"},"Consumption in port (hrs)",-1)),WR={class:"flex blue center"},HR={class:"flex blue center"},MR={class:"summary-item"},GR=B(()=>e.createElementVNode("div",{class:"blue flexM"},"Total extra Consumption (mt)",-1)),IR={class:"section comment-section"},RR=["innerHTML"];function zR(t,n,o,d,l,a){var V,D,r,C,k,T,u,L,O,x,P,R,Z,z,W,f,Y,G,H,K,q,j,X,N,M,J,s,$,c,ee,oe,te,se,ie,ce,re,he,pe,Ee,de,ye,xe,be,Ce,Se,ke,Ae,Be,Fe,Pe,fe,F,_e,ue,Le,We,we,He,Ke,qe,U,Oe,ze,Ue,Ye,Ze,Qe,Je,_,Q,ge,Te,Me,me,Xe,$e,ve,ot,lt,at,nt,mt,ht,pt,Et,yt,_t,Nt,Vt,ft,gt,Dt,xt,bt,Ct,St,kt,At,Bt,wt,Tt,Ht,ho,yo,_o,No,Vo,I,tt,Ot,Ft,Mt,Gt,It,Rt,zt,Ut,Yt,Zt,Qt,Jt,Kt,qt,Xt,jt,$t,vt,eo,to,oo,lo,ao,no,so,io,co,fo,go,Do,xo,bo,Co,So,ko,Ao,Bo,wo,To,Oo,Fo,Po,uo,Lo,Wo,Ho,Mo,Go,Io,Uo,Yo,Zo,Qo,Jo,Ko,qo,Xo,jo,$o,vo,el,tl,ol,ll,al,nl,sl,il,dl,cl,rl,ml,hl,pl,El,Pt,Nl,gl,Dl,xl,bl,Cl,Sl,kl,Al,Bl,wl,Tl,Ol,Fl,Pl,ul,Ll,Wl,Hl,Ml,Gl,Il,Rl,zl,Ul,Yl,Zl,Ql,Jl,Kl,ql,Xl,jl,$l,vl,ea,ta,oa,la,aa,na,sa,ia,da,ca,ra,ma,ha,pa,Ea,ya,_a,Na,Va,fa,ga,Da,xa,ba,Ca,Sa,ka,Aa,Ba,wa,Ta,Oa,Fa,Pa,ua,La,Wa,Ha,Ma,Ga,Ia,Ra,za,Ua,Ya,ae,ro,Za,Qa,Ja;const p=e.resolveComponent("IdmBrand"),i=e.resolveComponent("EditableItem"),y=e.resolveComponent("CirclePlus"),b=e.resolveComponent("el-icon"),S=e.resolveComponent("Remove"),E=e.resolveComponent("Editor");return e.openBlock(),e.createElementBlock("div",sW,[e.createVNode(p,{name:"Voyage Deviation Report"}),e.createElementVNode("div",iW,[e.createElementVNode("div",dW,[e.createElementVNode("div",cW,[rW,e.createElementVNode("div",mW,e.toDisplayString((D=(V=l.extraData)==null?void 0:V.vessel)==null?void 0:D.name),1)]),e.createElementVNode("div",hW,[pW,e.createElementVNode("div",EW,e.toDisplayString((r=l.extraData)==null?void 0:r.preparedFor),1)]),e.createElementVNode("div",yW,[_W,e.createElementVNode("div",NW,e.toDisplayString((k=(C=l.extraData)==null?void 0:C.vessel)==null?void 0:k.type),1)]),e.createElementVNode("div",VW,[fW,e.createElementVNode("div",gW,e.toDisplayString((u=(T=l.extraData)==null?void 0:T.voyage)==null?void 0:u.number),1)]),e.createElementVNode("div",DW,[xW,e.createElementVNode("div",bW,[e.createElementVNode("span",CW,e.toDisplayString((O=(L=l.extraData)==null?void 0:L.departure)==null?void 0:O.name),1),e.createElementVNode("span",SW,e.toDisplayString(a.computeUTCTime(((P=(x=l.extraData)==null?void 0:x.departure)==null?void 0:P.atd)||((Z=(R=l.extraData)==null?void 0:R.departure)==null?void 0:Z.etd))),1)])]),e.createElementVNode("div",kW,[AW,e.createElementVNode("div",BW,[e.createElementVNode("span",wW,e.toDisplayString((W=(z=l.extraData)==null?void 0:z.arrival)==null?void 0:W.name),1),e.createElementVNode("span",TW,e.toDisplayString(a.computeUTCTime(((Y=(f=l.extraData)==null?void 0:f.arrival)==null?void 0:Y.ata)||((H=(G=l.extraData)==null?void 0:G.arrival)==null?void 0:H.eta))),1)])])])]),e.createElementVNode("div",OW,[FW,e.createElementVNode("div",PW,[e.createElementVNode("div",uW,[LW,e.createElementVNode("div",{class:e.normalizeClass(`${a.computeColor((K=l.extraData)==null?void 0:K.extraDist)} flex blue`)},e.toDisplayString(((q=l.extraData)==null?void 0:q.extraDist)??"—"),3)]),e.createElementVNode("div",WW,[HW,e.createElementVNode("div",{class:e.normalizeClass(`${a.computeColor((X=(j=l.extraData)==null?void 0:j.timeAnalysis)==null?void 0:X.totalExtraTime)} flex blue`)},e.toDisplayString(((M=(N=l.extraData)==null?void 0:N.timeAnalysis)==null?void 0:M.totalExtraTime)??"—"),3)]),e.createElementVNode("div",MW,[GW,e.createElementVNode("div",{class:e.normalizeClass(`${a.computeColor(($=(s=(J=l.extraData)==null?void 0:J.consAnalysis)==null?void 0:s.fo)==null?void 0:$.totalExtraCons)} flex blue`)},e.toDisplayString(((oe=(ee=(c=l.extraData)==null?void 0:c.consAnalysis)==null?void 0:ee.fo)==null?void 0:oe.totalExtraCons)??"—"),3)]),e.createElementVNode("div",IW,[RW,e.createElementVNode("div",{class:e.normalizeClass(`${a.computeColor((ie=(se=(te=l.extraData)==null?void 0:te.consAnalysis)==null?void 0:se.dgo)==null?void 0:ie.totalExtraCons)} flex blue`)},e.toDisplayString(((he=(re=(ce=l.extraData)==null?void 0:ce.consAnalysis)==null?void 0:re.dgo)==null?void 0:he.totalExtraCons)??"—"),3)])])]),e.createElementVNode("div",zW,[UW,e.createElementVNode("div",YW,[e.createElementVNode("img",{style:{width:"100%"},src:(pe=l.extraData)==null?void 0:pe.chartUrl,alt:""},null,8,ZW),QW])]),((Ee=o.report)==null?void 0:Ee.method)==="ConsExtrapolate"?(e.openBlock(),e.createElementBlock("div",JW,[KW,e.createElementVNode("div",qW,[XW,e.createElementVNode("div",jW,[$W,e.createElementVNode("div",vW,e.toDisplayString(a.computedLngLat((de=l.extraData)==null?void 0:de.startLng,(ye=l.extraData)==null?void 0:ye.startLat)),1),e.createElementVNode("div",eH,e.toDisplayString(a.computeUTCTime((xe=l.extraData)==null?void 0:xe.startTime,"MMM DD,YYYY HHmm")),1),e.createElementVNode("div",tH,[e.createVNode(i,{style:{padding:"0px"},class:"editable-item",value:(be=l.extraData)==null?void 0:be.startFoBrob,iconable:!1,size:"small",type:"alphanumeric",align:"center",onCommit:n[0]||(n[0]=ne=>a.handleCommit("extra","startFoBrob",ne))},null,8,["value"])]),e.createElementVNode("div",oH,[e.createVNode(i,{style:{padding:"0px"},class:"editable-item",value:(Ce=l.extraData)==null?void 0:Ce.startDgoBrob,iconable:!1,size:"small",type:"alphanumeric",align:"center",onCommit:n[1]||(n[1]=ne=>a.handleCommit("extra","startDgoBrob",ne))},null,8,["value"])]),lH,aH]),e.createElementVNode("div",nH,[sH,e.createElementVNode("div",iH,e.toDisplayString(a.computedLngLat((Se=l.extraData)==null?void 0:Se.endLng,(ke=l.extraData)==null?void 0:ke.endLat)),1),e.createElementVNode("div",dH,e.toDisplayString(a.computeUTCTime((Ae=l.extraData)==null?void 0:Ae.endTime,"MMM DD,YYYY HHmm")),1),e.createElementVNode("div",cH,[e.createVNode(i,{style:{padding:"0px"},class:"editable-item",value:(Be=l.extraData)==null?void 0:Be.endFoBrob,iconable:!1,size:"small",type:"alphanumeric",align:"center",onCommit:n[2]||(n[2]=ne=>a.handleCommit("extra","endFoBrob",ne))},null,8,["value"])]),e.createElementVNode("div",rH,[e.createVNode(i,{style:{padding:"0px"},class:"editable-item",value:(Fe=l.extraData)==null?void 0:Fe.endDgoBrob,iconable:!1,size:"small",type:"alphanumeric",align:"center",onCommit:n[3]||(n[3]=ne=>a.handleCommit("extra","endDgoBrob",ne))},null,8,["value"])]),e.createElementVNode("div",mH,[e.createVNode(i,{style:{padding:"0px"},class:"editable-item",value:(Pe=l.extraData)==null?void 0:Pe.endFoBunkering,iconable:!1,size:"small",type:"alphanumeric",align:"center",onCommit:n[4]||(n[4]=ne=>a.handleCommit("extra","endFoBunkering",ne))},null,8,["value"])]),e.createElementVNode("div",hH,[e.createVNode(i,{style:{padding:"0px"},class:"editable-item",value:(fe=l.extraData)==null?void 0:fe.endDgoBunkering,iconable:!1,size:"small",type:"alphanumeric",align:"center",onCommit:n[5]||(n[5]=ne=>a.handleCommit("extra","endDgoBunkering",ne))},null,8,["value"])])]),e.createElementVNode("div",pH,[EH,yH,e.createElementVNode("div",_H,e.toDisplayString(((_e=(F=l.extraData)==null?void 0:F.timeAnalysis)==null?void 0:_e.actualTime)??"—"),1),e.createElementVNode("div",NH,e.toDisplayString(((We=(Le=(ue=l.extraData)==null?void 0:ue.consAnalysis)==null?void 0:Le.fo)==null?void 0:We.actualCons)??"—"),1),e.createElementVNode("div",VH,e.toDisplayString(((Ke=(He=(we=l.extraData)==null?void 0:we.consAnalysis)==null?void 0:He.dgo)==null?void 0:Ke.actualCons)??"—"),1),fH,gH])])])):e.createCommentVNode("",!0),e.createElementVNode("div",DH,[xH,e.createElementVNode("div",bH,[e.createElementVNode("div",CH,[SH,e.createElementVNode("div",kH,e.toDisplayString(((U=(qe=l.extraData)==null?void 0:qe.cp)==null?void 0:U.speed)??"—"),1)]),e.createElementVNode("div",AH,[BH,e.createElementVNode("div",wH,e.toDisplayString(((ze=(Oe=l.extraData)==null?void 0:Oe.cp)==null?void 0:ze.fo)??"—"),1)]),e.createElementVNode("div",TH,[OH,e.createElementVNode("div",FH,e.toDisplayString(((Ye=(Ue=l.extraData)==null?void 0:Ue.cp)==null?void 0:Ye.dgo)??"—"),1)])])]),e.createElementVNode("div",PH,[e.createElementVNode("div",uH,[LH,e.createElementVNode("div",WH,[e.createVNode(b,{size:20,onClick:a.handleAdd},{default:e.withCtx(()=>[e.createVNode(y)]),_:1},8,["onClick"])])]),e.createElementVNode("div",HH,[e.createElementVNode("table",null,[MH,e.createElementVNode("tbody",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(l.extraPortList,(ne,mo)=>{var Ka,qa,Xa,rt,an,nn,sn,dn;return e.openBlock(),e.createElementBlock(e.Fragment,{key:mo},[e.createElementVNode("tr",null,[e.createElementVNode("td",GH,[e.createVNode(i,{class:"editable-item",value:ne==null?void 0:ne.name,type:"remotePortSelect",size:"small",align:"center",options:l.portList,onSelect:a.fetchSuggestName,onCommit:ut=>a.handleCommit("port","name",ut,mo)},null,8,["value","options","onSelect","onCommit"])]),IH,e.createElementVNode("td",null,[e.createVNode(i,{class:"check editable-item",value:(Ka=ne==null?void 0:ne.arrival)==null?void 0:Ka.date,size:"small",format:"MMM-DD,YYYY|HHmm[Z]",iconable:!1,type:"datetime",align:"center",onCommit:ut=>a.handleCommit("port","arrival.date",ut,mo)},null,8,["value","onCommit"])]),e.createElementVNode("td",null,[e.createVNode(i,{class:"editable-item",value:(qa=ne==null?void 0:ne.arrival)==null?void 0:qa.foBrob,iconable:!1,size:"small",type:"alphanumeric",align:"center",onCommit:ut=>a.handleCommit("port","arrival.foBrob",ut,mo)},null,8,["value","onCommit"])]),e.createElementVNode("td",null,[e.createVNode(i,{class:"editable-item",value:(Xa=ne==null?void 0:ne.arrival)==null?void 0:Xa.dgoBrob,iconable:!1,size:"small",type:"alphanumeric",align:"center",onCommit:ut=>a.handleCommit("port","arrival.dgoBrob",ut,mo)},null,8,["value","onCommit"])]),RH,zH,e.createElementVNode("td",UH,[e.createVNode(b,{size:20,onClick:ut=>a.handleRemove(mo)},{default:e.withCtx(()=>[e.createVNode(S)]),_:2},1032,["onClick"])])]),e.createElementVNode("tr",null,[YH,e.createElementVNode("td",null,[e.createVNode(i,{class:"check editable-item",value:(rt=ne==null?void 0:ne.departure)==null?void 0:rt.date,size:"small",format:"MMM-DD,YYYY|HHmm[Z]",iconable:!1,type:"datetime",align:"center",onCommit:ut=>a.handleCommit("port","departure.date",ut,mo)},null,8,["value","onCommit"])]),e.createElementVNode("td",null,[e.createVNode(i,{class:"editable-item",value:(an=ne==null?void 0:ne.departure)==null?void 0:an.foBrob,iconable:!1,size:"small",type:"alphanumeric",align:"center",onCommit:ut=>a.handleCommit("port","departure.foBrob",ut,mo)},null,8,["value","onCommit"])]),e.createElementVNode("td",null,[e.createVNode(i,{class:"editable-item",value:(nn=ne==null?void 0:ne.departure)==null?void 0:nn.dgoBrob,iconable:!1,size:"small",type:"alphanumeric",align:"center",onCommit:ut=>a.handleCommit("port","departure.dgoBrob",ut,mo)},null,8,["value","onCommit"])]),e.createElementVNode("td",null,[e.createVNode(i,{class:"editable-item",value:(sn=ne==null?void 0:ne.departure)==null?void 0:sn.bunkeringFo,iconable:!1,size:"small",type:"alphanumeric",align:"center",onCommit:ut=>a.handleCommit("port","departure.bunkeringFo",ut,mo)},null,8,["value","onCommit"])]),e.createElementVNode("td",null,[e.createVNode(i,{class:"editable-item",value:(dn=ne==null?void 0:ne.departure)==null?void 0:dn.bunkeringDgo,iconable:!1,size:"small",type:"alphanumeric",align:"center",onCommit:ut=>a.handleCommit("port","departure.bunkeringDgo",ut,mo)},null,8,["value","onCommit"])])])],64)}),128)),e.createElementVNode("tr",null,[ZH,QH,e.createElementVNode("td",null,e.toDisplayString(((Qe=(Ze=l.extraData)==null?void 0:Ze.timeAnalysis)==null?void 0:Qe.portTime)??"—"),1),e.createElementVNode("td",null,e.toDisplayString(((Q=(_=(Je=l.extraData)==null?void 0:Je.consAnalysis)==null?void 0:_.fo)==null?void 0:Q.portCons)??"—"),1),e.createElementVNode("td",null,e.toDisplayString(((Me=(Te=(ge=l.extraData)==null?void 0:ge.consAnalysis)==null?void 0:Te.dgo)==null?void 0:Me.portCons)??"—"),1),JH,KH,qH])])])])]),e.createElementVNode("div",XH,[jH,e.createElementVNode("div",$H,[vH,e.createElementVNode("div",eM,[tM,e.createElementVNode("div",oM,[e.createVNode(i,{class:"editable-item",style:{padding:"0px"},value:(me=l.extraData)==null?void 0:me.actualDist,iconable:!1,size:"small",type:"alphanumeric",align:"center",onCommit:n[6]||(n[6]=ne=>a.handleCommit("extraData","actualDist",ne,t.index))},null,8,["value"])]),e.createElementVNode("div",lM,[e.createVNode(i,{class:"editable-item",style:{padding:"0px"},value:(Xe=l.extraData)==null?void 0:Xe.priorDist,iconable:!1,size:"small",type:"alphanumeric",align:"center",onCommit:n[7]||(n[7]=ne=>a.handleCommit("extraData","priorDist",ne,t.index))},null,8,["value"])])]),e.createElementVNode("div",aM,[nM,e.createElementVNode("div",sM,e.toDisplayString((($e=l.extraData)==null?void 0:$e.extraDist)??"—"),1)])])]),e.createElementVNode("div",iM,[dM,((ve=o.report)==null?void 0:ve.method)==="DistExtrapolate"?(e.openBlock(),e.createElementBlock("div",cM,[e.createElementVNode("div",rM,[mM,e.createElementVNode("div",hM,[e.createElementVNode("div",null,e.toDisplayString((ot=l.extraData)==null?void 0:ot.extraDist),1),pM,e.createElementVNode("div",null,e.toDisplayString((at=(lt=l.extraData)==null?void 0:lt.cp)==null?void 0:at.speed),1)]),EM,e.createElementVNode("div",yM,e.toDisplayString((mt=(nt=l.extraData)==null?void 0:nt.timeAnalysis)==null?void 0:mt.sailingTime),1),_M]),e.createElementVNode("div",NM,[VM,e.createElementVNode("div",fM,e.toDisplayString((pt=(ht=l.extraData)==null?void 0:ht.timeAnalysis)==null?void 0:pt.sailingTime),1),gM,e.createElementVNode("div",DM,e.toDisplayString(a.computeNum((yt=(Et=l.extraData)==null?void 0:Et.timeAnalysis)==null?void 0:yt.portTime)),1),xM,e.createElementVNode("div",bM,e.toDisplayString((Nt=(_t=l.extraData)==null?void 0:_t.timeAnalysis)==null?void 0:Nt.totalExtraTime),1),CM])])):(e.openBlock(),e.createElementBlock("div",SM,[e.createElementVNode("div",kM,[AM,e.createElementVNode("div",BM,[e.createElementVNode("div",null,e.toDisplayString((Vt=l.extraData)==null?void 0:Vt.priorDist),1),wM,e.createElementVNode("div",null,e.toDisplayString((gt=(ft=l.extraData)==null?void 0:ft.cp)==null?void 0:gt.speed),1)]),TM,e.createElementVNode("div",OM,e.toDisplayString((xt=(Dt=l.extraData)==null?void 0:Dt.timeAnalysis)==null?void 0:xt.sailingTime),1),FM]),l.extraPortList.length<1?(e.openBlock(),e.createElementBlock("div",PM,[uM,e.createElementVNode("div",LM,e.toDisplayString((Ct=(bt=l.extraData)==null?void 0:bt.timeAnalysis)==null?void 0:Ct.actualTime),1),WM,e.createElementVNode("div",HM,e.toDisplayString((kt=(St=l.extraData)==null?void 0:St.timeAnalysis)==null?void 0:kt.sailingTime),1),MM,e.createElementVNode("div",GM,e.toDisplayString((Bt=(At=l.extraData)==null?void 0:At.timeAnalysis)==null?void 0:Bt.totalExtraTime),1),IM])):(e.openBlock(),e.createElementBlock("div",RM,[zM,e.createElementVNode("div",UM,e.toDisplayString((Tt=(wt=l.extraData)==null?void 0:wt.timeAnalysis)==null?void 0:Tt.actualTime),1),YM,e.createElementVNode("div",ZM,e.toDisplayString((ho=(Ht=l.extraData)==null?void 0:Ht.timeAnalysis)==null?void 0:ho.sailingTime),1),QM,e.createElementVNode("div",JM,e.toDisplayString((_o=(yo=l.extraData)==null?void 0:yo.timeAnalysis)==null?void 0:_o.portTime),1),KM,e.createElementVNode("div",qM,e.toDisplayString((Vo=(No=l.extraData)==null?void 0:No.timeAnalysis)==null?void 0:Vo.totalExtraTime),1),XM]))])),((I=o.report)==null?void 0:I.method)==="DistExtrapolate"?(e.openBlock(),e.createElementBlock("div",jM,[e.createElementVNode("div",$M,[vM,e.createElementVNode("div",eG,e.toDisplayString(((Ot=(tt=l.extraData)==null?void 0:tt.timeAnalysis)==null?void 0:Ot.sailingTime)??"—"),1)]),e.createElementVNode("div",tG,[oG,e.createElementVNode("div",lG,e.toDisplayString(((Mt=(Ft=l.extraData)==null?void 0:Ft.timeAnalysis)==null?void 0:Mt.portTime)??"—"),1)]),e.createElementVNode("div",aG,[nG,e.createElementVNode("div",sG,e.toDisplayString(((It=(Gt=l.extraData)==null?void 0:Gt.timeAnalysis)==null?void 0:It.totalExtraTime)??"—"),1)])])):(e.openBlock(),e.createElementBlock("div",iG,[e.createElementVNode("div",dG,[cG,e.createElementVNode("div",rG,e.toDisplayString((zt=(Rt=l.extraData)==null?void 0:Rt.timeAnalysis)==null?void 0:zt.sailingTime),1)]),e.createElementVNode("div",mG,[hG,e.createElementVNode("div",pG,e.toDisplayString((Yt=(Ut=l.extraData)==null?void 0:Ut.timeAnalysis)==null?void 0:Yt.actualTime),1)]),l.extraPortList.length>0?(e.openBlock(),e.createElementBlock("div",EG,[yG,e.createElementVNode("div",_G,e.toDisplayString(((Qt=(Zt=l.extraData)==null?void 0:Zt.timeAnalysis)==null?void 0:Qt.portTime)??"—"),1)])):e.createCommentVNode("",!0),e.createElementVNode("div",NG,[VG,e.createElementVNode("div",fG,e.toDisplayString((Kt=(Jt=l.extraData)==null?void 0:Jt.timeAnalysis)==null?void 0:Kt.totalExtraTime),1)])]))]),e.createElementVNode("div",gG,[DG,((qt=o.report)==null?void 0:qt.method)==="DistExtrapolate"?(e.openBlock(),e.createElementBlock("div",xG,[e.createElementVNode("div",bG,[CG,e.createElementVNode("div",SG,[e.createElementVNode("div",null,e.toDisplayString((Xt=l.extraData)==null?void 0:Xt.extraDist),1),kG,e.createElementVNode("div",null,e.toDisplayString(($t=(jt=l.extraData)==null?void 0:jt.cp)==null?void 0:$t.speed),1)]),AG,e.createElementVNode("div",BG,[e.createElementVNode("div",null,e.toDisplayString((eo=(vt=l.extraData)==null?void 0:vt.cp)==null?void 0:eo.fo),1),wG,TG]),OG,e.createElementVNode("div",FG,e.toDisplayString((lo=(oo=(to=l.extraData)==null?void 0:to.consAnalysis)==null?void 0:oo.fo)==null?void 0:lo.sailingCons),1),PG]),e.createElementVNode("div",uG,[LG,e.createElementVNode("div",WG,e.toDisplayString((so=(no=(ao=l.extraData)==null?void 0:ao.consAnalysis)==null?void 0:no.fo)==null?void 0:so.sailingCons),1),HG,e.createElementVNode("div",MG,e.toDisplayString(a.computeNum((fo=(co=(io=l.extraData)==null?void 0:io.consAnalysis)==null?void 0:co.fo)==null?void 0:fo.portCons)),1),GG,e.createElementVNode("div",IG,e.toDisplayString((xo=(Do=(go=l.extraData)==null?void 0:go.consAnalysis)==null?void 0:Do.fo)==null?void 0:xo.totalExtraCons),1),RG]),e.createElementVNode("div",zG,[UG,e.createElementVNode("div",YG,[e.createElementVNode("div",null,e.toDisplayString((bo=l.extraData)==null?void 0:bo.extraDist),1),ZG,e.createElementVNode("div",null,e.toDisplayString((So=(Co=l.extraData)==null?void 0:Co.cp)==null?void 0:So.speed),1)]),QG,e.createElementVNode("div",JG,[e.createElementVNode("div",null,e.toDisplayString((Ao=(ko=l.extraData)==null?void 0:ko.cp)==null?void 0:Ao.dgo),1),KG,qG]),XG,e.createElementVNode("div",jG,e.toDisplayString((To=(wo=(Bo=l.extraData)==null?void 0:Bo.consAnalysis)==null?void 0:wo.dgo)==null?void 0:To.sailingCons),1),$G]),e.createElementVNode("div",vG,[eI,e.createElementVNode("div",tI,e.toDisplayString((Po=(Fo=(Oo=l.extraData)==null?void 0:Oo.consAnalysis)==null?void 0:Fo.dgo)==null?void 0:Po.sailingCons),1),oI,e.createElementVNode("div",lI,e.toDisplayString(a.computeNum((Wo=(Lo=(uo=l.extraData)==null?void 0:uo.consAnalysis)==null?void 0:Lo.dgo)==null?void 0:Wo.portCons)),1),aI,e.createElementVNode("div",nI,e.toDisplayString((Go=(Mo=(Ho=l.extraData)==null?void 0:Ho.consAnalysis)==null?void 0:Mo.dgo)==null?void 0:Go.totalExtraCons),1),sI])])):(e.openBlock(),e.createElementBlock("div",iI,[e.createElementVNode("div",dI,[cI,e.createElementVNode("div",rI,[e.createElementVNode("div",null,e.toDisplayString((Io=l.extraData)==null?void 0:Io.priorDist),1),mI,e.createElementVNode("div",null,e.toDisplayString((Yo=(Uo=l.extraData)==null?void 0:Uo.cp)==null?void 0:Yo.speed),1)]),hI,e.createElementVNode("div",pI,[e.createElementVNode("div",null,e.toDisplayString((Qo=(Zo=l.extraData)==null?void 0:Zo.cp)==null?void 0:Qo.fo),1),EI,yI]),_I,e.createElementVNode("div",NI,e.toDisplayString((qo=(Ko=(Jo=l.extraData)==null?void 0:Jo.consAnalysis)==null?void 0:Ko.fo)==null?void 0:qo.sailingCons),1),VI]),e.createElementVNode("div",fI,[gI,e.createElementVNode("div",DI,[e.createElementVNode("div",null,e.toDisplayString((Xo=l.extraData)==null?void 0:Xo.priorDist),1),xI,e.createElementVNode("div",null,e.toDisplayString(($o=(jo=l.extraData)==null?void 0:jo.cp)==null?void 0:$o.speed),1)]),bI,e.createElementVNode("div",CI,[e.createElementVNode("div",null,e.toDisplayString((el=(vo=l.extraData)==null?void 0:vo.cp)==null?void 0:el.dgo),1),SI,kI]),AI,e.createElementVNode("div",BI,e.toDisplayString((ll=(ol=(tl=l.extraData)==null?void 0:tl.consAnalysis)==null?void 0:ol.dgo)==null?void 0:ll.sailingCons),1),wI]),l.extraPortList.length<1?(e.openBlock(),e.createElementBlock("div",TI,[OI,e.createElementVNode("div",FI,e.toDisplayString((sl=(nl=(al=l.extraData)==null?void 0:al.consAnalysis)==null?void 0:nl.fo)==null?void 0:sl.actualCons),1),PI,e.createElementVNode("div",uI,e.toDisplayString(a.computeNum((cl=(dl=(il=l.extraData)==null?void 0:il.consAnalysis)==null?void 0:dl.fo)==null?void 0:cl.sailingCons)),1),LI,e.createElementVNode("div",WI,e.toDisplayString((hl=(ml=(rl=l.extraData)==null?void 0:rl.consAnalysis)==null?void 0:ml.fo)==null?void 0:hl.totalExtraCons),1),HI])):(e.openBlock(),e.createElementBlock("div",MI,[GI,e.createElementVNode("div",II,e.toDisplayString((Pt=(El=(pl=l.extraData)==null?void 0:pl.consAnalysis)==null?void 0:El.fo)==null?void 0:Pt.actualCons),1),RI,e.createElementVNode("div",zI,e.toDisplayString(a.computeNum((Dl=(gl=(Nl=l.extraData)==null?void 0:Nl.consAnalysis)==null?void 0:gl.fo)==null?void 0:Dl.sailingCons)),1),UI,e.createElementVNode("div",YI,e.toDisplayString(a.computeNum((Cl=(bl=(xl=l.extraData)==null?void 0:xl.consAnalysis)==null?void 0:bl.fo)==null?void 0:Cl.portCons)),1),ZI,e.createElementVNode("div",QI,e.toDisplayString((Al=(kl=(Sl=l.extraData)==null?void 0:Sl.consAnalysis)==null?void 0:kl.fo)==null?void 0:Al.totalExtraCons),1),JI])),l.extraPortList.length<1?(e.openBlock(),e.createElementBlock("div",KI,[qI,e.createElementVNode("div",XI,e.toDisplayString((Tl=(wl=(Bl=l.extraData)==null?void 0:Bl.consAnalysis)==null?void 0:wl.dgo)==null?void 0:Tl.actualCons),1),jI,e.createElementVNode("div",$I,e.toDisplayString((Pl=(Fl=(Ol=l.extraData)==null?void 0:Ol.consAnalysis)==null?void 0:Fl.dgo)==null?void 0:Pl.sailingCons),1),vI,e.createElementVNode("div",eR,e.toDisplayString((Wl=(Ll=(ul=l.extraData)==null?void 0:ul.consAnalysis)==null?void 0:Ll.dgo)==null?void 0:Wl.totalExtraCons),1),tR])):(e.openBlock(),e.createElementBlock("div",oR,[lR,e.createElementVNode("div",aR,e.toDisplayString((Gl=(Ml=(Hl=l.extraData)==null?void 0:Hl.consAnalysis)==null?void 0:Ml.dgo)==null?void 0:Gl.actualCons),1),nR,e.createElementVNode("div",sR,e.toDisplayString(a.computeNum((zl=(Rl=(Il=l.extraData)==null?void 0:Il.consAnalysis)==null?void 0:Rl.dgo)==null?void 0:zl.sailingCons)),1),iR,e.createElementVNode("div",dR,e.toDisplayString(a.computeNum((Zl=(Yl=(Ul=l.extraData)==null?void 0:Ul.consAnalysis)==null?void 0:Yl.dgo)==null?void 0:Zl.portCons)),1),cR,e.createElementVNode("div",rR,e.toDisplayString((Kl=(Jl=(Ql=l.extraData)==null?void 0:Ql.consAnalysis)==null?void 0:Jl.dgo)==null?void 0:Kl.totalExtraCons),1),mR]))])),((ql=o.report)==null?void 0:ql.method)==="DistExtrapolate"?(e.openBlock(),e.createElementBlock("div",hR,[pR,e.createElementVNode("div",ER,[yR,e.createElementVNode("div",_R,e.toDisplayString((($l=(jl=(Xl=l.extraData)==null?void 0:Xl.consAnalysis)==null?void 0:jl.fo)==null?void 0:$l.sailingCons)??"—"),1),e.createElementVNode("div",NR,e.toDisplayString(((ta=(ea=(vl=l.extraData)==null?void 0:vl.consAnalysis)==null?void 0:ea.dgo)==null?void 0:ta.sailingCons)??"—"),1)]),e.createElementVNode("div",VR,[fR,e.createElementVNode("div",gR,e.toDisplayString(((aa=(la=(oa=l.extraData)==null?void 0:oa.consAnalysis)==null?void 0:la.fo)==null?void 0:aa.portCons)??"—"),1),e.createElementVNode("div",DR,e.toDisplayString(((ia=(sa=(na=l.extraData)==null?void 0:na.consAnalysis)==null?void 0:sa.dgo)==null?void 0:ia.portCons)??"—"),1)]),e.createElementVNode("div",xR,[bR,e.createElementVNode("div",{class:e.normalizeClass(`${a.computeColor((ra=(ca=(da=l.extraData)==null?void 0:da.consAnalysis)==null?void 0:ca.fo)==null?void 0:ra.totalExtraCons)} flex blue center`)},e.toDisplayString(((pa=(ha=(ma=l.extraData)==null?void 0:ma.consAnalysis)==null?void 0:ha.fo)==null?void 0:pa.totalExtraCons)??"—"),3),e.createElementVNode("div",{class:e.normalizeClass(`${a.computeColor((_a=(ya=(Ea=l.extraData)==null?void 0:Ea.consAnalysis)==null?void 0:ya.dgo)==null?void 0:_a.totalExtraCons)} flex blue center`)},e.toDisplayString(((fa=(Va=(Na=l.extraData)==null?void 0:Na.consAnalysis)==null?void 0:Va.dgo)==null?void 0:fa.totalExtraCons)??"—"),3)])])):(e.openBlock(),e.createElementBlock("div",CR,[SR,e.createElementVNode("div",kR,[AR,e.createElementVNode("div",BR,e.toDisplayString((xa=(Da=(ga=l.extraData)==null?void 0:ga.consAnalysis)==null?void 0:Da.fo)==null?void 0:xa.sailingCons),1),e.createElementVNode("div",wR,e.toDisplayString((Sa=(Ca=(ba=l.extraData)==null?void 0:ba.consAnalysis)==null?void 0:Ca.dgo)==null?void 0:Sa.sailingCons),1)]),e.createElementVNode("div",TR,[OR,e.createElementVNode("div",FR,e.toDisplayString((Ba=(Aa=(ka=l.extraData)==null?void 0:ka.consAnalysis)==null?void 0:Aa.fo)==null?void 0:Ba.actualCons),1),e.createElementVNode("div",PR,e.toDisplayString((Oa=(Ta=(wa=l.extraData)==null?void 0:wa.consAnalysis)==null?void 0:Ta.dgo)==null?void 0:Oa.actualCons),1)]),l.extraPortList.length>0?(e.openBlock(),e.createElementBlock("div",uR,[LR,e.createElementVNode("div",WR,e.toDisplayString((ua=(Pa=(Fa=l.extraData)==null?void 0:Fa.consAnalysis)==null?void 0:Pa.fo)==null?void 0:ua.portCons),1),e.createElementVNode("div",HR,e.toDisplayString((Ha=(Wa=(La=l.extraData)==null?void 0:La.consAnalysis)==null?void 0:Wa.dgo)==null?void 0:Ha.portCons),1)])):e.createCommentVNode("",!0),e.createElementVNode("div",MR,[GR,e.createElementVNode("div",{class:e.normalizeClass(`${a.computeColor((Ia=(Ga=(Ma=l.extraData)==null?void 0:Ma.consAnalysis)==null?void 0:Ga.fo)==null?void 0:Ia.totalExtraCons)} flex blue center`)},e.toDisplayString((Ua=(za=(Ra=l.extraData)==null?void 0:Ra.consAnalysis)==null?void 0:za.fo)==null?void 0:Ua.totalExtraCons),3),e.createElementVNode("div",{class:e.normalizeClass(`${a.computeColor((ro=(ae=(Ya=l.extraData)==null?void 0:Ya.consAnalysis)==null?void 0:ae.dgo)==null?void 0:ro.totalExtraCons)} flex blue center`)},e.toDisplayString((Ja=(Qa=(Za=l.extraData)==null?void 0:Za.consAnalysis)==null?void 0:Qa.dgo)==null?void 0:Ja.totalExtraCons),3)])]))]),e.createElementVNode("div",IR,[e.createElementVNode("div",{class:e.normalizeClass(`subtitle ${l.advisory&&l.advisory!=="<p><br></p>"?"":"print-hidden"}`)},"Comments",2),e.createElementVNode("div",{class:e.normalizeClass(`report-comments ${l.advisory&&l.advisory!=="<p><br></p>"?"":"print-hidden"}`),style:{"min-height":"50px"}},[l.editable?(e.openBlock(),e.createBlock(E,{key:0,modelValue:l.advisory,"onUpdate:modelValue":n[8]||(n[8]=ne=>l.advisory=ne),height:"320px",onBlur:n[9]||(n[9]=ne=>a.handleCommit("comments","comments",ne))},null,8,["modelValue"])):(e.openBlock(),e.createElementBlock("div",{key:1,class:"remark-txt editor",onDblclick:n[10]||(n[10]=(...ne)=>a.decideDisable&&a.decideDisable(...ne)),innerHTML:l.advisory&&l.advisory!=="<p><br></p>"?l.advisory:"Please double click to modify remark"},null,40,RR))],2)])])}const Bn=De(nW,[["render",zR],["__scopeId","data-v-4829e189"]]),ste="",UR={name:"FliDvtRpt",components:{CirclePlus:tn.CirclePlus,Remove:tn.Remove,EditableItem:An,Editor:Ro},props:{data:{type:Object,default:()=>({})},gateway:{type:String,default:"https://cbe4test.idmwx.com"},token:{type:String,default:void 0},editorDisabled:{type:Boolean,default:()=>!1}},data(){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w5yez6WlgJZO6+3DZaWDtw52fzKangZVM6u7DZaeBtQ93fjKbngZWMqm7D5f9/zc746V8ZtviAAAAAElFTkSuQmCC",self.location).href,extraPortList:[],portList:[],extraSummary:{time:void 0,foBrob:void 0,dgoBrob:void 0,bunkeringFo:void 0,bunkeringDgo:void 0},advisory:void 0,editable:!1,id:void 0}},computed:{computeColor(){return function(t){return t>0?"fail":t<0?"success":""}},computeUTCTime(){return function(t,n="MMM-DD/HHmm[Z]"){return t?`${w(t).utc().format(n)}`:"-"}},computedLngLat(){return function(t,n){const o=this.fetchLonLat(v.LngLatHelper.lat2pretty(t)),d=this.fetchLonLat(v.LngLatHelper.lng2pretty(n));return`${o} / ${d}`}},computeNum(){return function(t){return t||t==0?t<0?`(${t})`:t:"—"}}},watch:{data:{handler(t){t&&((t==null?void 0:t.method)==="DistExtrapolate"?this.isDistExtra=!0:this.isDistExtra=!1,this.fetchData(),this.fetchSuggestName())},immediate:!0}},methods:{fetchLonLat(t){return`${t.degree}°${v.roundPrecision(t.minute,2)}′${t.direction}`},fetchData(){var t,n,o,d;this.extraData=this.data,this.extraPortList=(t=this.data)!=null&&t.extraPorts?(n=this.data)==null?void 0:n.extraPorts:[],this.advisory=(o=this.data)!=null&&o.comments?(d=this.data)==null?void 0:d.comments:void 0,this.id=this.data.id},async fetchSuggestName(t){var o;const n=await fl.get(`${this.gateway}/api/arc/ports/suggest?n=${t}`,{headers:{Authorization:this.token}});this.portList=(o=n==null?void 0:n.data)==null?void 0:o.data},handleAdd(){const t={name:"",arrival:{date:null,foBrob:null,dgoBrob:null},departure:{date:null,foBrob:null,dgoBrob:null,bunkeringFo:null,bunkeringDgo:null}};this.extraPortList.push(t)},async handleRemove(t){var o,d,l,a,p;this.extraPortList.splice(t,1);const n=await fl.put(`${this.gateway}/api/als/deviations/${this.id}`,{extraPorts:this.extraPortList},{headers:{Authorization:this.token}});this.extraData=(o=n==null?void 0:n.data)==null?void 0:o.data,this.extraPortList=(l=(d=n==null?void 0:n.data)==null?void 0:d.data)==null?void 0:l.extraPorts,this.advisory=(a=this.data)!=null&&a.comments?(p=this.data)==null?void 0:p.comments:void 0},decideDisable(){this.editorDisabled?this.editable=!1:this.editable=!0},async handleCommit(t,n,o,d){var p,i,y,b,S;this.editable=!1;const l=n.indexOf(".");let a={};if((o||o==0)&&o!=""){if(t==="port"){if(l>0){const V=n.substring(0,l),D=n.substring(l+1);D!=="date"&&(o=Number(o)),this.extraPortList[d][V][D]=o}else this.extraPortList[d][n]=o;a={extraPorts:this.extraPortList}}else t==="comments"?(this.extraData[n]=o,a={[n]:o}):(this.extraData[n]=o,a={[n]:Number(o)});const E=await fl.put(`${this.gateway}/api/als/deviations/${this.id}`,a,{headers:{Authorization:this.token}});this.extraData=(p=E==null?void 0:E.data)==null?void 0:p.data,this.extraPortList=(y=(i=E==null?void 0:E.data)==null?void 0:i.data)==null?void 0:y.extraPorts,this.advisory=(b=this.data)!=null&&b.comments?(S=this.data)==null?void 0:S.comments:void 0}else hn.ElMessage({message:"Value cannot be empty.",type:"warning"})}}},A=t=>(e.pushScopeId("data-v-77edf8aa"),t=t(),e.popScopeId(),t),YR={class:"deviation-report"},ZR=A(()=>e.createElementVNode("div",{class:"report-bg"},[e.createElementVNode("img",{src:"https://img.idmwx.com/asset/fli_logo.png"})],-1)),QR={class:"report-header"},JR={class:"header-title",style:{position:"relative !important"}},KR={class:"header-title-content"},qR=A(()=>e.createElementVNode("div",{class:"title"},"Voyage Deviation Report",-1)),XR={class:"title-date"},jR={class:"report-summary"},$R={class:"summary-item"},vR=A(()=>e.createElementVNode("label",{class:"flex gray"},"Vessel Name",-1)),ez={class:"flexL gray"},tz={class:"summary-item"},oz=A(()=>e.createElementVNode("label",{class:"flex gray"},"Prepared For",-1)),lz={class:"flexL gray"},az={class:"summary-item"},nz=A(()=>e.createElementVNode("label",{class:"flex gray"},"Vessel Type",-1)),sz={class:"flexL gray"},iz={class:"summary-item"},dz=A(()=>e.createElementVNode("label",{class:"flex gray"},"Reference Number",-1)),cz={class:"flexL gray"},rz={class:"summary-item"},mz=A(()=>e.createElementVNode("label",{class:"flex gray"},"Departure",-1)),hz={class:"flexL gray",style:{display:"flex"}},pz={class:"flex"},Ez={class:"flexM"},yz={class:"summary-item"},_z=A(()=>e.createElementVNode("label",{class:"flex gray"},"Arrival",-1)),Nz={class:"flexL gray",style:{display:"flex"}},Vz={class:"flex"},fz={class:"flexM"},gz=A(()=>e.createElementVNode("div",{class:"subtitle"},"Report Summary",-1)),Dz={class:"report-summary"},xz={class:"summary-item"},bz=A(()=>e.createElementVNode("label",{class:"flex blue"},"Extra Distance (nm)",-1)),Cz={class:"summary-item"},Sz=A(()=>e.createElementVNode("label",{class:"flex blue"},"Total extra Time (hrs)",-1)),kz={class:"summary-item"},Az=A(()=>e.createElementVNode("label",{class:"flex blue"},"FO Total extra Consumption (mt)",-1)),Bz={class:"summary-item"},wz=A(()=>e.createElementVNode("label",{class:"flex blue"},"DO/GO Total extra Consumption (mt)",-1)),Tz=A(()=>e.createElementVNode("div",{class:"subtitle"},"Voyage Map",-1)),Oz={class:"report-map"},Fz=["src"],Pz=e.createStaticVNode('<div class="legend" data-v-77edf8aa><div class="legend-item" data-v-77edf8aa><div style="width:50px;height:0px;border:1px solid var(--actual-route);" data-v-77edf8aa></div><div data-v-77edf8aa>Actual Route</div></div><div class="legend-item" data-v-77edf8aa><div style="width:50px;height:0px;border:1px dashed var(--prior-route);" data-v-77edf8aa></div><div data-v-77edf8aa>Route prior to deviation</div></div></div>',1),uz=A(()=>e.createElementVNode("div",{class:"page-break"},null,-1)),Lz={key:0,class:"subtitle"},Wz={key:1,class:"report-summary"},Hz=e.createStaticVNode('<div class="summary-item" data-v-77edf8aa><div class="blue center" style="width:16%;" data-v-77edf8aa>Diversion</div><div class="blue center" style="width:20%;" data-v-77edf8aa>Position</div><div class="blue center" style="width:17%;" data-v-77edf8aa>Date Time</div><div class="flex blue center" data-v-77edf8aa>FO BROB<br data-v-77edf8aa>(mt)</div><div class="flex blue center" data-v-77edf8aa>DO/GO<br data-v-77edf8aa>BROB (mt)</div><div class="flex blue center" data-v-77edf8aa>Bunkering<br data-v-77edf8aa>FO (mt)</div><div class="flex blue center" data-v-77edf8aa>Bunkering<br data-v-77edf8aa>DO/GO (mt)</div></div>',1),Mz={class:"summary-item"},Gz=A(()=>e.createElementVNode("div",{class:"blue center",style:{width:"16%"}},"Diversion (A)",-1)),Iz={class:"blue center",style:{width:"20%"}},Rz={class:"blue center",style:{width:"17%"}},zz={class:"flex blue center"},Uz={class:"flex blue center"},Yz=A(()=>e.createElementVNode("div",{class:"flex blue center"},null,-1)),Zz=A(()=>e.createElementVNode("div",{class:"flex blue center"},null,-1)),Qz={class:"summary-item"},Jz=A(()=>e.createElementVNode("div",{class:"blue center",style:{width:"16%"}},"Back on Track (B)",-1)),Kz={class:"blue center",style:{width:"20%"}},qz={class:"blue center",style:{width:"17%"}},Xz={class:"flex blue center"},jz={class:"flex blue center"},$z={class:"flex blue center"},vz={class:"flex blue center"},eU={class:"summary-item"},tU=A(()=>e.createElementVNode("div",{class:"blue center",style:{width:"16%"}},"Time&Consumption",-1)),oU=A(()=>e.createElementVNode("div",{class:"blue center",style:{width:"20%"}},null,-1)),lU={class:"blue center",style:{width:"17%"}},aU={class:"flex blue center"},nU={class:"flex blue center"},sU=A(()=>e.createElementVNode("div",{class:"flex blue center"},null,-1)),iU=A(()=>e.createElementVNode("div",{class:"flex blue center"},null,-1)),dU=A(()=>e.createElementVNode("div",{class:"subtitle"},"CP Terms",-1)),cU={class:"report-summary"},rU={class:"summary-item"},mU=A(()=>e.createElementVNode("div",{class:"flex blue"},"CP Speed (kts)",-1)),hU={class:"flexL blue center"},pU={class:"summary-item"},EU=A(()=>e.createElementVNode("div",{class:"flex blue"},"CP Daily FO Consumption (mt)",-1)),yU={class:"flexL blue center"},_U={class:"summary-item"},NU=A(()=>e.createElementVNode("div",{class:"flex blue"},"CP Daily DO/GO Consumption (mt)",-1)),VU={class:"flexL blue center"},fU={class:"subtitle port"},gU=A(()=>e.createElementVNode("div",null,"Extra Port Information",-1)),DU={class:"print-hidden"},xU={class:"report-port"},bU=A(()=>e.createElementVNode("thead",null,[e.createElementVNode("tr",null,[e.createElementVNode("th",null,"Extra Port"),e.createElementVNode("th",null,"Event"),e.createElementVNode("th",null,"Date Time"),e.createElementVNode("th",null,"FO BROB(mt)"),e.createElementVNode("th",null,[e.createTextVNode("DO/GO"),e.createElementVNode("br"),e.createTextVNode("BROB(mt)")]),e.createElementVNode("th",null,[e.createTextVNode("Bunkering"),e.createElementVNode("br"),e.createTextVNode("FO(mt)")]),e.createElementVNode("th",null,[e.createTextVNode("Bunkering"),e.createElementVNode("br"),e.createTextVNode("DO/GO(mt)")]),e.createElementVNode("th",{class:"print-hidden"})])],-1)),CU={rowspan:2},SU=A(()=>e.createElementVNode("td",null,"Arrival",-1)),kU=A(()=>e.createElementVNode("td",null,null,-1)),AU=A(()=>e.createElementVNode("td",null,null,-1)),BU={rowspan:2,class:"print-hidden"},wU=A(()=>e.createElementVNode("td",null,"Departure",-1)),TU=A(()=>e.createElementVNode("td",null,"Time & Consumption",-1)),OU=A(()=>e.createElementVNode("td",null,null,-1)),FU=A(()=>e.createElementVNode("td",null,null,-1)),PU=A(()=>e.createElementVNode("td",null,null,-1)),uU=A(()=>e.createElementVNode("td",{class:"print-hidden"},null,-1)),LU=A(()=>e.createElementVNode("div",{class:"subtitle"},"Distance Analysis",-1)),WU={class:"report-summary"},HU=A(()=>e.createElementVNode("div",{class:"summary-item"},[e.createElementVNode("div",{class:"blue",style:{width:"30%"}}),e.createElementVNode("div",{class:"flex blue center"},"Actual Route"),e.createElementVNode("div",{class:"flex blue center"},"Route prior to deviation")],-1)),MU={class:"summary-item"},GU=A(()=>e.createElementVNode("div",{class:"blue",style:{width:"30%"}},"Distance (nm)",-1)),IU={class:"flex blue center"},RU={class:"flex blue center"},zU={class:"summary-item"},UU=A(()=>e.createElementVNode("div",{class:"blue",style:{width:"30%"}},"Extra Distance (nm)",-1)),YU={class:"flex blue center"},ZU=A(()=>e.createElementVNode("div",{class:"subtitle"},"Time Analysis",-1)),QU={key:2,class:"report-formular"},JU={class:"equation"},KU=e.createStaticVNode('<div style="width:30%;text-align:left;" data-v-77edf8aa>Time for extra distance sailing (hrs)</div><div style="width:5%;" data-v-77edf8aa>=</div><div class="function" style="width:20%;" data-v-77edf8aa><div data-v-77edf8aa>Deviation Distance</div><div class="fractional-line" data-v-77edf8aa></div><div data-v-77edf8aa>CP Speed</div></div><div style="width:5%;" data-v-77edf8aa>=</div>',4),qU={class:"function",style:{width:"20%"}},XU=A(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),jU=A(()=>e.createElementVNode("div",{style:{width:"5%"}},"=",-1)),$U={style:{width:"10%"}},vU=A(()=>e.createElementVNode("div",{style:{width:"5%"}},"(hrs)",-1)),eY={class:"equation"},tY=e.createStaticVNode('<div style="width:18%;text-align:left;" data-v-77edf8aa>Total extra Time (hrs)</div><div style="width:2%;" data-v-77edf8aa>=</div><div style="width:28%;" data-v-77edf8aa>Time for extra distance sailing (hrs)</div><div style="width:2%;" data-v-77edf8aa>+</div><div style="width:23%;" data-v-77edf8aa>Time spent in extra port (hrs)</div><div style="width:2%;" data-v-77edf8aa>=</div>',6),oY={style:{width:"5%"}},lY=A(()=>e.createElementVNode("div",{style:{width:"2%"}},"+",-1)),aY={style:{width:"8%"}},nY=A(()=>e.createElementVNode("div",{style:{width:"2%"}},"=",-1)),sY={style:{width:"4%"}},iY=A(()=>e.createElementVNode("div",{style:{width:"5%"}},"(hrs)",-1)),dY={key:3,class:"report-formular"},cY={class:"equation"},rY=e.createStaticVNode('<div style="width:30%;text-align:left;" data-v-77edf8aa>Time for Route prior to deviation sailing (hrs)</div><div style="width:5%;" data-v-77edf8aa>=</div><div class="function" style="width:20%;" data-v-77edf8aa><div data-v-77edf8aa>Distance</div><div class="fractional-line" data-v-77edf8aa></div><div data-v-77edf8aa>CP Speed</div></div><div style="width:5%;" data-v-77edf8aa>=</div>',4),mY={class:"function",style:{width:"20%"}},hY=A(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),pY=A(()=>e.createElementVNode("div",{style:{width:"5%"}},"=",-1)),EY={style:{width:"10%"}},yY=A(()=>e.createElementVNode("div",{style:{width:"5%"}},"(hrs)",-1)),_Y={key:0,class:"equation"},NY=e.createStaticVNode('<div style="width:18%;text-align:left;" data-v-77edf8aa>Total extra Time (hrs)</div><div style="width:2%;" data-v-77edf8aa>=</div><div style="width:24%;" data-v-77edf8aa>Time for Actual Route (hrs)</div><div style="width:2%;" data-v-77edf8aa>-</div><div style="width:30%;" data-v-77edf8aa>Time for Route prior to deviation sailing (hrs)</div><div style="width:2%;" data-v-77edf8aa>=</div>',6),VY={style:{width:"5%"}},fY=A(()=>e.createElementVNode("div",{style:{width:"2%"}},"-",-1)),gY={style:{width:"5%"}},DY=A(()=>e.createElementVNode("div",{style:{width:"2%"}},"=",-1)),xY={style:{width:"5%"}},bY=A(()=>e.createElementVNode("div",{style:{width:"5%"}},"(hrs)",-1)),CY={key:1,class:"equation"},SY=e.createStaticVNode('<div style="width:18%;text-align:left;" data-v-77edf8aa>Total extra Time (hrs)</div><div style="width:2%;" data-v-77edf8aa>=</div><div style="width:24%;" data-v-77edf8aa>Time for Actual Route (hrs)</div><div style="width:2%;" data-v-77edf8aa>-</div><div style="width:20%;" data-v-77edf8aa>Time for Route prior to deviation sailing (hrs)</div><div style="width:2%;" data-v-77edf8aa>-</div><div style="width:10%;" data-v-77edf8aa>Time spent in port (hrs)</div><div style="width:2%;" data-v-77edf8aa>=</div>',8),kY={style:{width:"5%"}},AY=A(()=>e.createElementVNode("div",{style:{width:"2%"}},"-",-1)),BY={style:{width:"5%"}},wY=A(()=>e.createElementVNode("div",{style:{width:"2%"}},"-",-1)),TY={style:{width:"5%"}},OY=A(()=>e.createElementVNode("div",{style:{width:"2%"}},"=",-1)),FY={style:{width:"5%"}},PY=A(()=>e.createElementVNode("div",{style:{width:"5%"}},"(hrs)",-1)),uY={key:4,class:"report-summary"},LY={class:"summary-item"},WY=A(()=>e.createElementVNode("div",{class:"blue",style:{width:"30%"}},"Time for extra distance sailing (hrs)",-1)),HY={class:"flex blue center"},MY={class:"summary-item"},GY=A(()=>e.createElementVNode("div",{class:"blue",style:{width:"30%"}},"Time spent in extra port (hrs)",-1)),IY={class:"flex blue center"},RY={class:"summary-item"},zY=A(()=>e.createElementVNode("div",{class:"blue",style:{width:"30%"}},"Total extra Time (hrs)",-1)),UY={class:"flex blue center"},YY={key:5,class:"report-summary"},ZY={class:"summary-item"},QY=A(()=>e.createElementVNode("div",{class:"blue",style:{width:"40%"}},"Time for Route prior to deviation sailing (hrs)",-1)),JY={class:"flex blue center"},KY={class:"summary-item"},qY=A(()=>e.createElementVNode("div",{class:"blue",style:{width:"40%"}},"Time for Actual Route (hrs)",-1)),XY={class:"flex blue center"},jY={key:0,class:"summary-item"},$Y=A(()=>e.createElementVNode("div",{class:"blue",style:{width:"40%"}},"Time spent in port (hrs)",-1)),vY={class:"flex blue center"},eZ={class:"summary-item"},tZ=A(()=>e.createElementVNode("div",{class:"blue",style:{width:"40%"}},"Total extra Time (hrs)",-1)),oZ={class:"flex blue center"},lZ=A(()=>e.createElementVNode("div",{class:"subtitle"},"Consumption Analysis",-1)),aZ={key:6,class:"report-formular"},nZ={class:"equation"},sZ=e.createStaticVNode('<div style="width:20%;text-align:left;" data-v-77edf8aa>FO Consumption for extra distance sailing</div><div style="width:2%;" data-v-77edf8aa>=</div><div class="function" style="width:30%;" data-v-77edf8aa><div data-v-77edf8aa>Deviation Distance</div><div class="fractional-line" data-v-77edf8aa></div><div data-v-77edf8aa>CP Speed</div></div><div style="width:3%;" data-v-77edf8aa>×</div><div class="function" style="width:23%;" data-v-77edf8aa><div data-v-77edf8aa>Daily FO Consumption</div><div class="fractional-line" data-v-77edf8aa></div><div data-v-77edf8aa>24</div></div><div style="width:3%;" data-v-77edf8aa>=</div>',6),iZ={class:"function",style:{width:"5%"}},dZ=A(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),cZ=A(()=>e.createElementVNode("div",{style:{width:"3%"}},"×",-1)),rZ={class:"function",style:{width:"5%"}},mZ=A(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),hZ=A(()=>e.createElementVNode("div",null,"24",-1)),pZ=A(()=>e.createElementVNode("div",{style:{width:"3%"}},"=",-1)),EZ={style:{width:"5%"}},yZ=A(()=>e.createElementVNode("div",{style:{width:"5%"}},"(mt)",-1)),_Z={class:"equation"},NZ=e.createStaticVNode('<div style="width:20%;text-align:left;" data-v-77edf8aa>FO Total Extra Consumption(mt)</div><div style="width:2%;" data-v-77edf8aa>=</div><div style="width:30%;" data-v-77edf8aa>FO Consumption for extra distance sailing (mt)</div><div style="width:3%;" data-v-77edf8aa>+</div><div style="width:23%;" data-v-77edf8aa>FO Consumption in extra port (mt)</div><div style="width:3%;" data-v-77edf8aa>=</div>',6),VZ={style:{width:"5%"}},fZ=A(()=>e.createElementVNode("div",{style:{width:"3%"}},"+",-1)),gZ={style:{width:"5%"}},DZ=A(()=>e.createElementVNode("div",{style:{width:"3%"}},"=",-1)),xZ={style:{width:"5%"}},bZ=A(()=>e.createElementVNode("div",{style:{width:"5%"}},"(mt)",-1)),CZ={class:"equation"},SZ=e.createStaticVNode('<div style="width:20%;text-align:left;" data-v-77edf8aa>DO Consumption for extra distance sailing</div><div style="width:2%;" data-v-77edf8aa>=</div><div class="function" style="width:30%;" data-v-77edf8aa><div data-v-77edf8aa>Deviation Distance</div><div class="fractional-line" data-v-77edf8aa></div><div data-v-77edf8aa>CP Speed</div></div><div style="width:3%;" data-v-77edf8aa>×</div><div class="function" style="width:23%;" data-v-77edf8aa><div data-v-77edf8aa>Daily DO Consumption</div><div class="fractional-line" data-v-77edf8aa></div><div data-v-77edf8aa>24</div></div><div style="width:3%;" data-v-77edf8aa>=</div>',6),kZ={class:"function",style:{width:"5%"}},AZ=A(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),BZ=A(()=>e.createElementVNode("div",{style:{width:"3%"}},"×",-1)),wZ={class:"function",style:{width:"5%"}},TZ=A(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),OZ=A(()=>e.createElementVNode("div",null,"24",-1)),FZ=A(()=>e.createElementVNode("div",{style:{width:"3%"}},"=",-1)),PZ={style:{width:"5%"}},uZ=A(()=>e.createElementVNode("div",{style:{width:"5%"}},"(mt)",-1)),LZ={class:"equation"},WZ=e.createStaticVNode('<div style="width:20%;text-align:left;" data-v-77edf8aa>DO/GO Total Extra Consumption(mt)</div><div style="width:2%;" data-v-77edf8aa>=</div><div style="width:30%;" data-v-77edf8aa>DO/GO Consumption for extra distance sailing(mt)</div><div style="width:3%;" data-v-77edf8aa>-</div><div style="width:23%;" data-v-77edf8aa>DO/GO Consumption in extra port(mt)</div><div style="width:3%;" data-v-77edf8aa>=</div>',6),HZ={style:{width:"5%"}},MZ=A(()=>e.createElementVNode("div",{style:{width:"3%"}},"-",-1)),GZ={style:{width:"5%"}},IZ=A(()=>e.createElementVNode("div",{style:{width:"3%"}},"=",-1)),RZ={style:{width:"5%"}},zZ=A(()=>e.createElementVNode("div",{style:{width:"5%"}},"(mt)",-1)),UZ={key:7,class:"report-formular"},YZ={class:"equation"},ZZ=e.createStaticVNode('<div style="width:20%;text-align:left;" data-v-77edf8aa>FO Consumption for Route prior to deviation sailing</div><div style="width:2%;" data-v-77edf8aa>=</div><div class="function" style="width:30%;" data-v-77edf8aa><div data-v-77edf8aa>Route prior to deviation Distance</div><div class="fractional-line" data-v-77edf8aa></div><div data-v-77edf8aa>CP Speed</div></div><div style="width:3%;" data-v-77edf8aa>×</div><div class="function" style="width:23%;" data-v-77edf8aa><div data-v-77edf8aa>CP Daily FO Consumption</div><div class="fractional-line" data-v-77edf8aa></div><div data-v-77edf8aa>24</div></div><div style="width:3%;" data-v-77edf8aa>=</div>',6),QZ={class:"function",style:{width:"5%"}},JZ=A(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),KZ=A(()=>e.createElementVNode("div",{style:{width:"3%"}},"×",-1)),qZ={class:"function",style:{width:"5%"}},XZ=A(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),jZ=A(()=>e.createElementVNode("div",null,"24",-1)),$Z=A(()=>e.createElementVNode("div",{style:{width:"3%"}},"=",-1)),vZ={style:{width:"5%"}},eQ=A(()=>e.createElementVNode("div",{style:{width:"5%"}},"(mt)",-1)),tQ={class:"equation"},oQ=e.createStaticVNode('<div style="width:20%;text-align:left;" data-v-77edf8aa>DO Consumption for Route prior to deviation sailing</div><div style="width:2%;" data-v-77edf8aa>=</div><div class="function" style="width:30%;" data-v-77edf8aa><div data-v-77edf8aa>Route prior to deviation Distance</div><div class="fractional-line" data-v-77edf8aa></div><div data-v-77edf8aa>CP Speed</div></div><div style="width:3%;" data-v-77edf8aa>×</div><div class="function" style="width:23%;" data-v-77edf8aa><div data-v-77edf8aa>CP Daily DO Consumption</div><div class="fractional-line" data-v-77edf8aa></div><div data-v-77edf8aa>24</div></div><div style="width:3%;" data-v-77edf8aa>=</div>',6),lQ={class:"function",style:{width:"5%"}},aQ=A(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),nQ=A(()=>e.createElementVNode("div",{style:{width:"3%"}},"×",-1)),sQ={class:"function",style:{width:"5%"}},iQ=A(()=>e.createElementVNode("div",{class:"fractional-line"},null,-1)),dQ=A(()=>e.createElementVNode("div",null,"24",-1)),cQ=A(()=>e.createElementVNode("div",{style:{width:"3%"}},"=",-1)),rQ={style:{width:"5%"}},mQ=A(()=>e.createElementVNode("div",{style:{width:"5%"}},"(mt)",-1)),hQ={key:0,class:"equation"},pQ=e.createStaticVNode('<div style="width:20%;text-align:left;" data-v-77edf8aa>FO Total Extra Consumption(mt)</div><div style="width:2%;" data-v-77edf8aa>=</div><div style="width:30%;" data-v-77edf8aa>FO Consumption for Actual Route</div><div style="width:3%;" data-v-77edf8aa>-</div><div style="width:23%;" data-v-77edf8aa>FO Consumption for Route prior to deviation sailing</div><div style="width:3%;" data-v-77edf8aa>=</div>',6),EQ={style:{width:"5%"}},yQ=A(()=>e.createElementVNode("div",{style:{width:"3%"}},"-",-1)),_Q={style:{width:"5%"}},NQ=A(()=>e.createElementVNode("div",{style:{width:"3%"}},"=",-1)),VQ={style:{width:"5%"}},fQ=A(()=>e.createElementVNode("div",{style:{width:"5%"}},"(mt)",-1)),gQ={key:1,class:"equation"},DQ=e.createStaticVNode('<div style="width:15%;text-align:left;" data-v-77edf8aa>FO Total Extra Consumption(mt)</div><div style="width:2%;" data-v-77edf8aa>=</div><div style="width:15%;" data-v-77edf8aa>FO Consumption for Actual Route</div><div style="width:3%;" data-v-77edf8aa>-</div><div style="width:20%;" data-v-77edf8aa>FO Consumption for Route prior to deviation sailing</div><div style="width:3%;" data-v-77edf8aa>-</div><div style="width:10%;" data-v-77edf8aa>FO Consumption in port</div><div style="width:3%;" data-v-77edf8aa>=</div>',8),xQ={style:{width:"5%"}},bQ=A(()=>e.createElementVNode("div",{style:{width:"3%"}},"-",-1)),CQ={style:{width:"5%"}},SQ=A(()=>e.createElementVNode("div",{style:{width:"3%"}},"-",-1)),kQ={style:{width:"5%"}},AQ=A(()=>e.createElementVNode("div",{style:{width:"3%"}},"=",-1)),BQ={style:{width:"5%"}},wQ=A(()=>e.createElementVNode("div",{style:{width:"5%"}},"(mt)",-1)),TQ={key:2,class:"equation"},OQ=e.createStaticVNode('<div style="width:20%;text-align:left;" data-v-77edf8aa>DO/GO Total Extra Consumption(mt)</div><div style="width:2%;" data-v-77edf8aa>=</div><div style="width:30%;" data-v-77edf8aa>DO/GO Consumption for Actual Route</div><div style="width:3%;" data-v-77edf8aa>-</div><div style="width:23%;" data-v-77edf8aa>DO/GO Consumption for Route prior to deviation sailing</div><div style="width:3%;" data-v-77edf8aa>=</div>',6),FQ={style:{width:"5%"}},PQ=A(()=>e.createElementVNode("div",{style:{width:"3%"}},"-",-1)),uQ={style:{width:"5%"}},LQ=A(()=>e.createElementVNode("div",{style:{width:"3%"}},"=",-1)),WQ={style:{width:"5%"}},HQ=A(()=>e.createElementVNode("div",{style:{width:"5%"}},"(mt)",-1)),MQ={key:3,class:"equation"},GQ=e.createStaticVNode('<div style="width:15%;text-align:left;" data-v-77edf8aa>DO/GO Total Extra Consumption(mt)</div><div style="width:2%;" data-v-77edf8aa>=</div><div style="width:15%;" data-v-77edf8aa>DO/GO Consumption for Actual Route</div><div style="width:3%;" data-v-77edf8aa>-</div><div style="width:20%;" data-v-77edf8aa>DO/GO Consumption for Route prior to deviation sailing</div><div style="width:3%;" data-v-77edf8aa>-</div><div style="width:10%;" data-v-77edf8aa>DO/GO Consumption in port</div><div style="width:3%;" data-v-77edf8aa>=</div>',8),IQ={style:{width:"5%"}},RQ=A(()=>e.createElementVNode("div",{style:{width:"3%"}},"-",-1)),zQ={style:{width:"5%"}},UQ=A(()=>e.createElementVNode("div",{style:{width:"3%"}},"-",-1)),YQ={style:{width:"5%"}},ZQ=A(()=>e.createElementVNode("div",{style:{width:"3%"}},"=",-1)),QQ={style:{width:"5%"}},JQ=A(()=>e.createElementVNode("div",{style:{width:"5%"}},"(mt)",-1)),KQ={key:8,class:"report-summary"},qQ=A(()=>e.createElementVNode("div",{class:"summary-item"},[e.createElementVNode("div",{class:"blue flexM"}),e.createElementVNode("div",{class:"flex blue center"},"FO"),e.createElementVNode("div",{class:"flex blue center"},"DO/GO")],-1)),XQ={class:"summary-item"},jQ=A(()=>e.createElementVNode("div",{class:"blue flexM"},"Consumption for extra distance sailing (mt)",-1)),$Q={class:"flex blue center"},vQ={class:"flex blue center"},eJ={class:"summary-item"},tJ=A(()=>e.createElementVNode("div",{class:"blue flexM"},"Consumption in extra port (mt)",-1)),oJ={class:"flex blue center"},lJ={class:"flex blue center"},aJ={class:"summary-item"},nJ=A(()=>e.createElementVNode("div",{class:"blue flexM"},"Total extra Consumption (mt)",-1)),sJ={key:9,class:"report-summary"},iJ=A(()=>e.createElementVNode("div",{class:"summary-item"},[e.createElementVNode("div",{class:"blue flexM"}),e.createElementVNode("div",{class:"flex blue center"},"FO"),e.createElementVNode("div",{class:"flex blue center"},"DO/GO")],-1)),dJ={class:"summary-item"},cJ=A(()=>e.createElementVNode("div",{class:"blue flexM"},"Consumption for Route prior to deviation sailing (mt)",-1)),rJ={class:"flex blue center"},mJ={class:"flex blue center"},hJ={class:"summary-item"},pJ=A(()=>e.createElementVNode("div",{class:"blue flexM"},"Consumption for Actual Route (mt)",-1)),EJ={class:"flex blue center"},yJ={class:"flex blue center"},_J={key:0,class:"summary-item"},NJ=A(()=>e.createElementVNode("div",{class:"blue flexM"},"Consumption in port (hrs)",-1)),VJ={class:"flex blue center"},fJ={class:"flex blue center"},gJ={class:"summary-item"},DJ=A(()=>e.createElementVNode("div",{class:"blue flexM"},"Total extra Consumption (mt)",-1)),xJ=["innerHTML"];function bJ(t,n,o,d,l,a){var E,V,D,r,C,k,T,u,L,O,x,P,R,Z,z,W,f,Y,G,H,K,q,j,X,N,M,J,s,$,c,ee,oe,te,se,ie,ce,re,he,pe,Ee,de,ye,xe,be,Ce,Se,ke,Ae,Be,Fe,Pe,fe,F,_e,ue,Le,We,we,He,Ke,qe,U,Oe,ze,Ue,Ye,Ze,Qe,Je,_,Q,ge,Te,Me,me,Xe,$e,ve,ot,lt,at,nt,mt,ht,pt,Et,yt,_t,Nt,Vt,ft,gt,Dt,xt,bt,Ct,St,kt,At,Bt,wt,Tt,Ht,ho,yo,_o,No,Vo,I,tt,Ot,Ft,Mt,Gt,It,Rt,zt,Ut,Yt,Zt,Qt,Jt,Kt,qt,Xt,jt,$t,vt,eo,to,oo,lo,ao,no,so,io,co,fo,go,Do,xo,bo,Co,So,ko,Ao,Bo,wo,To,Oo,Fo,Po,uo,Lo,Wo,Ho,Mo,Go,Io,Uo,Yo,Zo,Qo,Jo,Ko,qo,Xo,jo,$o,vo,el,tl,ol,ll,al,nl,sl,il,dl,cl,rl,ml,hl,pl,El,Pt,Nl,gl,Dl,xl,bl,Cl,Sl,kl,Al,Bl,wl,Tl,Ol,Fl,Pl,ul,Ll,Wl,Hl,Ml,Gl,Il,Rl,zl,Ul,Yl,Zl,Ql,Jl,Kl,ql,Xl,jl,$l,vl,ea,ta,oa,la,aa,na,sa,ia,da,ca,ra,ma,ha,pa,Ea,ya,_a,Na,Va,fa,ga,Da,xa,ba,Ca,Sa,ka,Aa,Ba,wa,Ta,Oa,Fa,Pa,ua,La,Wa,Ha,Ma,Ga,Ia,Ra,za,Ua,Ya;const p=e.resolveComponent("EditableItem"),i=e.resolveComponent("CirclePlus"),y=e.resolveComponent("ElIcon"),b=e.resolveComponent("Remove"),S=e.resolveComponent("Editor");return e.openBlock(),e.createElementBlock("div",YR,[ZR,e.createElementVNode("div",QR,[e.createElementVNode("div",JR,[e.createElementVNode("div",KR,[qR,e.createElementVNode("div",XR,e.toDisplayString(a.computeUTCTime((E=l.extraData)==null?void 0:E.createdAt,"dddd,MMM DD,YYYY")),1)])])]),e.createElementVNode("div",jR,[e.createElementVNode("div",$R,[vR,e.createElementVNode("div",ez,e.toDisplayString((D=(V=l.extraData)==null?void 0:V.vessel)==null?void 0:D.name),1)]),e.createElementVNode("div",tz,[oz,e.createElementVNode("div",lz,e.toDisplayString((r=l.extraData)==null?void 0:r.preparedFor),1)]),e.createElementVNode("div",az,[nz,e.createElementVNode("div",sz,e.toDisplayString((k=(C=l.extraData)==null?void 0:C.vessel)==null?void 0:k.type),1)]),e.createElementVNode("div",iz,[dz,e.createElementVNode("div",cz,e.toDisplayString((u=(T=l.extraData)==null?void 0:T.voyage)==null?void 0:u.number),1)]),e.createElementVNode("div",rz,[mz,e.createElementVNode("div",hz,[e.createElementVNode("span",pz,e.toDisplayString((O=(L=l.extraData)==null?void 0:L.departure)==null?void 0:O.name),1),e.createElementVNode("span",Ez,e.toDisplayString(a.computeUTCTime(((P=(x=l.extraData)==null?void 0:x.departure)==null?void 0:P.atd)||((Z=(R=l.extraData)==null?void 0:R.departure)==null?void 0:Z.etd))),1)])]),e.createElementVNode("div",yz,[_z,e.createElementVNode("div",Nz,[e.createElementVNode("span",Vz,e.toDisplayString((W=(z=l.extraData)==null?void 0:z.arrival)==null?void 0:W.name),1),e.createElementVNode("span",fz,e.toDisplayString(a.computeUTCTime(((Y=(f=l.extraData)==null?void 0:f.arrival)==null?void 0:Y.ata)||((H=(G=l.extraData)==null?void 0:G.arrival)==null?void 0:H.eta))),1)])])]),gz,e.createElementVNode("div",Dz,[e.createElementVNode("div",xz,[bz,e.createElementVNode("div",{class:e.normalizeClass(`${a.computeColor((K=l.extraData)==null?void 0:K.extraDist)} flex blue`)},e.toDisplayString(((q=l.extraData)==null?void 0:q.extraDist)??"—"),3)]),e.createElementVNode("div",Cz,[Sz,e.createElementVNode("div",{class:e.normalizeClass(`${a.computeColor((X=(j=l.extraData)==null?void 0:j.timeAnalysis)==null?void 0:X.totalExtraTime)} flex blue`)},e.toDisplayString(((M=(N=l.extraData)==null?void 0:N.timeAnalysis)==null?void 0:M.totalExtraTime)??"—"),3)]),e.createElementVNode("div",kz,[Az,e.createElementVNode("div",{class:e.normalizeClass(`${a.computeColor(($=(s=(J=l.extraData)==null?void 0:J.consAnalysis)==null?void 0:s.fo)==null?void 0:$.totalExtraCons)} flex blue`)},e.toDisplayString(((oe=(ee=(c=l.extraData)==null?void 0:c.consAnalysis)==null?void 0:ee.fo)==null?void 0:oe.totalExtraCons)??"—"),3)]),e.createElementVNode("div",Bz,[wz,e.createElementVNode("div",{class:e.normalizeClass(`${a.computeColor((ie=(se=(te=l.extraData)==null?void 0:te.consAnalysis)==null?void 0:se.dgo)==null?void 0:ie.totalExtraCons)} flex blue`)},e.toDisplayString(((he=(re=(ce=l.extraData)==null?void 0:ce.consAnalysis)==null?void 0:re.dgo)==null?void 0:he.totalExtraCons)??"—"),3)])]),Tz,e.createElementVNode("div",Oz,[e.createElementVNode("img",{style:{width:"100%"},src:(pe=l.extraData)==null?void 0:pe.chartUrl,alt:""},null,8,Fz),Pz]),uz,t.isDistExtra?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("div",Lz,"Diversion Information")),t.isDistExtra?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("div",Wz,[Hz,e.createElementVNode("div",Mz,[Gz,e.createElementVNode("div",Iz,e.toDisplayString(a.computedLngLat((Ee=l.extraData)==null?void 0:Ee.startLng,(de=l.extraData)==null?void 0:de.startLat)),1),e.createElementVNode("div",Rz,e.toDisplayString(a.computeUTCTime((ye=l.extraData)==null?void 0:ye.startTime,"MMM DD,YYYY HHmm")),1),e.createElementVNode("div",zz,[e.createVNode(p,{style:{padding:"0px"},class:"editable-item",value:(xe=l.extraData)==null?void 0:xe.startFoBrob,iconable:!1,size:"small",type:"alphanumeric",align:"center",onCommit:n[0]||(n[0]=ae=>a.handleCommit("extra","startFoBrob",ae))},null,8,["value"])]),e.createElementVNode("div",Uz,[e.createVNode(p,{style:{padding:"0px"},class:"editable-item",value:(be=l.extraData)==null?void 0:be.startDgoBrob,iconable:!1,size:"small",type:"alphanumeric",align:"center",onCommit:n[1]||(n[1]=ae=>a.handleCommit("extra","startDgoBrob",ae))},null,8,["value"])]),Yz,Zz]),e.createElementVNode("div",Qz,[Jz,e.createElementVNode("div",Kz,e.toDisplayString(a.computedLngLat((Ce=l.extraData)==null?void 0:Ce.endLng,(Se=l.extraData)==null?void 0:Se.endLat)),1),e.createElementVNode("div",qz,e.toDisplayString(a.computeUTCTime((ke=l.extraData)==null?void 0:ke.endTime,"MMM DD,YYYY HHmm")),1),e.createElementVNode("div",Xz,[e.createVNode(p,{style:{padding:"0px"},class:"editable-item",value:(Ae=l.extraData)==null?void 0:Ae.endFoBrob,iconable:!1,size:"small",type:"alphanumeric",align:"center",onCommit:n[2]||(n[2]=ae=>a.handleCommit("extra","endFoBrob",ae))},null,8,["value"])]),e.createElementVNode("div",jz,[e.createVNode(p,{style:{padding:"0px"},class:"editable-item",value:(Be=l.extraData)==null?void 0:Be.endDgoBrob,iconable:!1,size:"small",type:"alphanumeric",align:"center",onCommit:n[3]||(n[3]=ae=>a.handleCommit("extra","endDgoBrob",ae))},null,8,["value"])]),e.createElementVNode("div",$z,[e.createVNode(p,{style:{padding:"0px"},class:"editable-item",value:(Fe=l.extraData)==null?void 0:Fe.endFoBunkering,iconable:!1,size:"small",type:"alphanumeric",align:"center",onCommit:n[4]||(n[4]=ae=>a.handleCommit("extra","endFoBunkering",ae))},null,8,["value"])]),e.createElementVNode("div",vz,[e.createVNode(p,{style:{padding:"0px"},class:"editable-item",value:(Pe=l.extraData)==null?void 0:Pe.endDgoBunkering,iconable:!1,size:"small",type:"alphanumeric",align:"center",onCommit:n[5]||(n[5]=ae=>a.handleCommit("extra","endDgoBunkering",ae))},null,8,["value"])])]),e.createElementVNode("div",eU,[tU,oU,e.createElementVNode("div",lU,e.toDisplayString(((F=(fe=l.extraData)==null?void 0:fe.timeAnalysis)==null?void 0:F.actualTime)??"—"),1),e.createElementVNode("div",aU,e.toDisplayString(((Le=(ue=(_e=l.extraData)==null?void 0:_e.consAnalysis)==null?void 0:ue.fo)==null?void 0:Le.actualCons)??"—"),1),e.createElementVNode("div",nU,e.toDisplayString(((He=(we=(We=l.extraData)==null?void 0:We.consAnalysis)==null?void 0:we.dgo)==null?void 0:He.actualCons)??"—"),1),sU,iU])])),dU,e.createElementVNode("div",cU,[e.createElementVNode("div",rU,[mU,e.createElementVNode("div",hU,e.toDisplayString(((qe=(Ke=l.extraData)==null?void 0:Ke.cp)==null?void 0:qe.speed)??"—"),1)]),e.createElementVNode("div",pU,[EU,e.createElementVNode("div",yU,e.toDisplayString(((Oe=(U=l.extraData)==null?void 0:U.cp)==null?void 0:Oe.fo)??"—"),1)]),e.createElementVNode("div",_U,[NU,e.createElementVNode("div",VU,e.toDisplayString(((Ue=(ze=l.extraData)==null?void 0:ze.cp)==null?void 0:Ue.dgo)??"—"),1)])]),e.createElementVNode("div",fU,[gU,e.createElementVNode("div",DU,[e.createVNode(y,{size:20,onClick:a.handleAdd},{default:e.withCtx(()=>[e.createVNode(i)]),_:1},8,["onClick"])])]),e.createElementVNode("div",xU,[e.createElementVNode("table",null,[bU,e.createElementVNode("tbody",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(l.extraPortList,(ae,ro)=>{var Za,Qa,Ja,ne,mo,Ka,qa,Xa;return e.openBlock(),e.createElementBlock(e.Fragment,{key:ro},[e.createElementVNode("tr",null,[e.createElementVNode("td",CU,[e.createVNode(p,{class:"editable-item",value:ae==null?void 0:ae.name,type:"remotePortSelect",size:"small",align:"center",options:l.portList,onSelect:a.fetchSuggestName,onCommit:rt=>a.handleCommit("port","name",rt,ro)},null,8,["value","options","onSelect","onCommit"])]),SU,e.createElementVNode("td",null,[e.createVNode(p,{class:"check editable-item",value:(Za=ae==null?void 0:ae.arrival)==null?void 0:Za.date,size:"small",format:"MMM-DD,YYYY|HHmm[Z]",iconable:!1,type:"datetime",align:"center",onCommit:rt=>a.handleCommit("port","arrival.date",rt,ro)},null,8,["value","onCommit"])]),e.createElementVNode("td",null,[e.createVNode(p,{class:"editable-item",value:(Qa=ae==null?void 0:ae.arrival)==null?void 0:Qa.foBrob,iconable:!1,size:"small",type:"alphanumeric",align:"center",onCommit:rt=>a.handleCommit("port","arrival.foBrob",rt,ro)},null,8,["value","onCommit"])]),e.createElementVNode("td",null,[e.createVNode(p,{class:"editable-item",value:(Ja=ae==null?void 0:ae.arrival)==null?void 0:Ja.dgoBrob,iconable:!1,size:"small",type:"alphanumeric",align:"center",onCommit:rt=>a.handleCommit("port","arrival.dgoBrob",rt,ro)},null,8,["value","onCommit"])]),kU,AU,e.createElementVNode("td",BU,[e.createVNode(y,{size:20,onClick:rt=>a.handleRemove(ro)},{default:e.withCtx(()=>[e.createVNode(b)]),_:2},1032,["onClick"])])]),e.createElementVNode("tr",null,[wU,e.createElementVNode("td",null,[e.createVNode(p,{class:"check editable-item",value:(ne=ae==null?void 0:ae.departure)==null?void 0:ne.date,size:"small",format:"MMM-DD,YYYY|HHmm[Z]",iconable:!1,type:"datetime",align:"center",onCommit:rt=>a.handleCommit("port","departure.date",rt,ro)},null,8,["value","onCommit"])]),e.createElementVNode("td",null,[e.createVNode(p,{class:"editable-item",value:(mo=ae==null?void 0:ae.departure)==null?void 0:mo.foBrob,iconable:!1,size:"small",type:"alphanumeric",align:"center",onCommit:rt=>a.handleCommit("port","departure.foBrob",rt,ro)},null,8,["value","onCommit"])]),e.createElementVNode("td",null,[e.createVNode(p,{class:"editable-item",value:(Ka=ae==null?void 0:ae.departure)==null?void 0:Ka.dgoBrob,iconable:!1,size:"small",type:"alphanumeric",align:"center",onCommit:rt=>a.handleCommit("port","departure.dgoBrob",rt,ro)},null,8,["value","onCommit"])]),e.createElementVNode("td",null,[e.createVNode(p,{class:"editable-item",value:(qa=ae==null?void 0:ae.departure)==null?void 0:qa.bunkeringFo,iconable:!1,size:"small",type:"alphanumeric",align:"center",onCommit:rt=>a.handleCommit("port","departure.bunkeringFo",rt,ro)},null,8,["value","onCommit"])]),e.createElementVNode("td",null,[e.createVNode(p,{class:"editable-item",value:(Xa=ae==null?void 0:ae.departure)==null?void 0:Xa.bunkeringDgo,iconable:!1,size:"small",type:"alphanumeric",align:"center",onCommit:rt=>a.handleCommit("port","departure.bunkeringDgo",rt,ro)},null,8,["value","onCommit"])])])],64)}),128)),e.createElementVNode("tr",null,[TU,OU,e.createElementVNode("td",null,e.toDisplayString(((Ze=(Ye=l.extraData)==null?void 0:Ye.timeAnalysis)==null?void 0:Ze.portTime)??"—"),1),e.createElementVNode("td",null,e.toDisplayString(((_=(Je=(Qe=l.extraData)==null?void 0:Qe.consAnalysis)==null?void 0:Je.fo)==null?void 0:_.portCons)??"—"),1),e.createElementVNode("td",null,e.toDisplayString(((Te=(ge=(Q=l.extraData)==null?void 0:Q.consAnalysis)==null?void 0:ge.dgo)==null?void 0:Te.portCons)??"—"),1),FU,PU,uU])])])]),LU,e.createElementVNode("div",WU,[HU,e.createElementVNode("div",MU,[GU,e.createElementVNode("div",IU,[e.createVNode(p,{class:"editable-item",style:{padding:"0px"},value:(Me=l.extraData)==null?void 0:Me.actualDist,iconable:!1,size:"small",type:"alphanumeric",align:"center",onCommit:n[6]||(n[6]=ae=>a.handleCommit("extraData","actualDist",ae,t.index))},null,8,["value"])]),e.createElementVNode("div",RU,[e.createVNode(p,{class:"editable-item",style:{padding:"0px"},value:(me=l.extraData)==null?void 0:me.priorDist,iconable:!1,size:"small",type:"alphanumeric",align:"center",onCommit:n[7]||(n[7]=ae=>a.handleCommit("extraData","priorDist",ae,t.index))},null,8,["value"])])]),e.createElementVNode("div",zU,[UU,e.createElementVNode("div",YU,e.toDisplayString(((Xe=l.extraData)==null?void 0:Xe.extraDist)??"—"),1)])]),ZU,t.isDistExtra?(e.openBlock(),e.createElementBlock("div",QU,[e.createElementVNode("div",JU,[KU,e.createElementVNode("div",qU,[e.createElementVNode("div",null,e.toDisplayString(($e=l.extraData)==null?void 0:$e.extraDist),1),XU,e.createElementVNode("div",null,e.toDisplayString((ot=(ve=l.extraData)==null?void 0:ve.cp)==null?void 0:ot.speed),1)]),jU,e.createElementVNode("div",$U,e.toDisplayString((at=(lt=l.extraData)==null?void 0:lt.timeAnalysis)==null?void 0:at.sailingTime),1),vU]),e.createElementVNode("div",eY,[tY,e.createElementVNode("div",oY,e.toDisplayString((mt=(nt=l.extraData)==null?void 0:nt.timeAnalysis)==null?void 0:mt.sailingTime),1),lY,e.createElementVNode("div",aY,e.toDisplayString(a.computeNum((pt=(ht=l.extraData)==null?void 0:ht.timeAnalysis)==null?void 0:pt.portTime)),1),nY,e.createElementVNode("div",sY,e.toDisplayString((yt=(Et=l.extraData)==null?void 0:Et.timeAnalysis)==null?void 0:yt.totalExtraTime),1),iY])])):(e.openBlock(),e.createElementBlock("div",dY,[e.createElementVNode("div",cY,[rY,e.createElementVNode("div",mY,[e.createElementVNode("div",null,e.toDisplayString((_t=l.extraData)==null?void 0:_t.priorDist),1),hY,e.createElementVNode("div",null,e.toDisplayString((Vt=(Nt=l.extraData)==null?void 0:Nt.cp)==null?void 0:Vt.speed),1)]),pY,e.createElementVNode("div",EY,e.toDisplayString((gt=(ft=l.extraData)==null?void 0:ft.timeAnalysis)==null?void 0:gt.sailingTime),1),yY]),l.extraPortList.length<1?(e.openBlock(),e.createElementBlock("div",_Y,[NY,e.createElementVNode("div",VY,e.toDisplayString((xt=(Dt=l.extraData)==null?void 0:Dt.timeAnalysis)==null?void 0:xt.actualTime),1),fY,e.createElementVNode("div",gY,e.toDisplayString((Ct=(bt=l.extraData)==null?void 0:bt.timeAnalysis)==null?void 0:Ct.sailingTime),1),DY,e.createElementVNode("div",xY,e.toDisplayString((kt=(St=l.extraData)==null?void 0:St.timeAnalysis)==null?void 0:kt.totalExtraTime),1),bY])):(e.openBlock(),e.createElementBlock("div",CY,[SY,e.createElementVNode("div",kY,e.toDisplayString((Bt=(At=l.extraData)==null?void 0:At.timeAnalysis)==null?void 0:Bt.actualTime),1),AY,e.createElementVNode("div",BY,e.toDisplayString((Tt=(wt=l.extraData)==null?void 0:wt.timeAnalysis)==null?void 0:Tt.sailingTime),1),wY,e.createElementVNode("div",TY,e.toDisplayString((ho=(Ht=l.extraData)==null?void 0:Ht.timeAnalysis)==null?void 0:ho.portTime),1),OY,e.createElementVNode("div",FY,e.toDisplayString((_o=(yo=l.extraData)==null?void 0:yo.timeAnalysis)==null?void 0:_o.totalExtraTime),1),PY]))])),t.isDistExtra?(e.openBlock(),e.createElementBlock("div",uY,[e.createElementVNode("div",LY,[WY,e.createElementVNode("div",HY,e.toDisplayString(((Vo=(No=l.extraData)==null?void 0:No.timeAnalysis)==null?void 0:Vo.sailingTime)??"—"),1)]),e.createElementVNode("div",MY,[GY,e.createElementVNode("div",IY,e.toDisplayString(((tt=(I=l.extraData)==null?void 0:I.timeAnalysis)==null?void 0:tt.portTime)??"—"),1)]),e.createElementVNode("div",RY,[zY,e.createElementVNode("div",UY,e.toDisplayString(((Ft=(Ot=l.extraData)==null?void 0:Ot.timeAnalysis)==null?void 0:Ft.totalExtraTime)??"—"),1)])])):(e.openBlock(),e.createElementBlock("div",YY,[e.createElementVNode("div",ZY,[QY,e.createElementVNode("div",JY,e.toDisplayString((Gt=(Mt=l.extraData)==null?void 0:Mt.timeAnalysis)==null?void 0:Gt.sailingTime),1)]),e.createElementVNode("div",KY,[qY,e.createElementVNode("div",XY,e.toDisplayString((Rt=(It=l.extraData)==null?void 0:It.timeAnalysis)==null?void 0:Rt.actualTime),1)]),l.extraPortList.length>0?(e.openBlock(),e.createElementBlock("div",jY,[$Y,e.createElementVNode("div",vY,e.toDisplayString(((Ut=(zt=l.extraData)==null?void 0:zt.timeAnalysis)==null?void 0:Ut.portTime)??"—"),1)])):e.createCommentVNode("",!0),e.createElementVNode("div",eZ,[tZ,e.createElementVNode("div",oZ,e.toDisplayString((Zt=(Yt=l.extraData)==null?void 0:Yt.timeAnalysis)==null?void 0:Zt.totalExtraTime),1)])])),lZ,t.isDistExtra?(e.openBlock(),e.createElementBlock("div",aZ,[e.createElementVNode("div",nZ,[sZ,e.createElementVNode("div",iZ,[e.createElementVNode("div",null,e.toDisplayString((Qt=l.extraData)==null?void 0:Qt.extraDist),1),dZ,e.createElementVNode("div",null,e.toDisplayString((Kt=(Jt=l.extraData)==null?void 0:Jt.cp)==null?void 0:Kt.speed),1)]),cZ,e.createElementVNode("div",rZ,[e.createElementVNode("div",null,e.toDisplayString((Xt=(qt=l.extraData)==null?void 0:qt.cp)==null?void 0:Xt.fo),1),mZ,hZ]),pZ,e.createElementVNode("div",EZ,e.toDisplayString((vt=($t=(jt=l.extraData)==null?void 0:jt.consAnalysis)==null?void 0:$t.fo)==null?void 0:vt.sailingCons),1),yZ]),e.createElementVNode("div",_Z,[NZ,e.createElementVNode("div",VZ,e.toDisplayString((oo=(to=(eo=l.extraData)==null?void 0:eo.consAnalysis)==null?void 0:to.fo)==null?void 0:oo.sailingCons),1),fZ,e.createElementVNode("div",gZ,e.toDisplayString(a.computeNum((no=(ao=(lo=l.extraData)==null?void 0:lo.consAnalysis)==null?void 0:ao.fo)==null?void 0:no.portCons)),1),DZ,e.createElementVNode("div",xZ,e.toDisplayString((co=(io=(so=l.extraData)==null?void 0:so.consAnalysis)==null?void 0:io.fo)==null?void 0:co.totalExtraCons),1),bZ]),e.createElementVNode("div",CZ,[SZ,e.createElementVNode("div",kZ,[e.createElementVNode("div",null,e.toDisplayString((fo=l.extraData)==null?void 0:fo.extraDist),1),AZ,e.createElementVNode("div",null,e.toDisplayString((Do=(go=l.extraData)==null?void 0:go.cp)==null?void 0:Do.speed),1)]),BZ,e.createElementVNode("div",wZ,[e.createElementVNode("div",null,e.toDisplayString((bo=(xo=l.extraData)==null?void 0:xo.cp)==null?void 0:bo.dgo),1),TZ,OZ]),FZ,e.createElementVNode("div",PZ,e.toDisplayString((ko=(So=(Co=l.extraData)==null?void 0:Co.consAnalysis)==null?void 0:So.dgo)==null?void 0:ko.sailingCons),1),uZ]),e.createElementVNode("div",LZ,[WZ,e.createElementVNode("div",HZ,e.toDisplayString((wo=(Bo=(Ao=l.extraData)==null?void 0:Ao.consAnalysis)==null?void 0:Bo.dgo)==null?void 0:wo.sailingCons),1),MZ,e.createElementVNode("div",GZ,e.toDisplayString(a.computeNum((Fo=(Oo=(To=l.extraData)==null?void 0:To.consAnalysis)==null?void 0:Oo.dgo)==null?void 0:Fo.portCons)),1),IZ,e.createElementVNode("div",RZ,e.toDisplayString((Lo=(uo=(Po=l.extraData)==null?void 0:Po.consAnalysis)==null?void 0:uo.dgo)==null?void 0:Lo.totalExtraCons),1),zZ])])):(e.openBlock(),e.createElementBlock("div",UZ,[e.createElementVNode("div",YZ,[ZZ,e.createElementVNode("div",QZ,[e.createElementVNode("div",null,e.toDisplayString((Wo=l.extraData)==null?void 0:Wo.priorDist),1),JZ,e.createElementVNode("div",null,e.toDisplayString((Mo=(Ho=l.extraData)==null?void 0:Ho.cp)==null?void 0:Mo.speed),1)]),KZ,e.createElementVNode("div",qZ,[e.createElementVNode("div",null,e.toDisplayString((Io=(Go=l.extraData)==null?void 0:Go.cp)==null?void 0:Io.fo),1),XZ,jZ]),$Z,e.createElementVNode("div",vZ,e.toDisplayString((Zo=(Yo=(Uo=l.extraData)==null?void 0:Uo.consAnalysis)==null?void 0:Yo.fo)==null?void 0:Zo.sailingCons),1),eQ]),e.createElementVNode("div",tQ,[oQ,e.createElementVNode("div",lQ,[e.createElementVNode("div",null,e.toDisplayString((Qo=l.extraData)==null?void 0:Qo.priorDist),1),aQ,e.createElementVNode("div",null,e.toDisplayString((Ko=(Jo=l.extraData)==null?void 0:Jo.cp)==null?void 0:Ko.speed),1)]),nQ,e.createElementVNode("div",sQ,[e.createElementVNode("div",null,e.toDisplayString((Xo=(qo=l.extraData)==null?void 0:qo.cp)==null?void 0:Xo.dgo),1),iQ,dQ]),cQ,e.createElementVNode("div",rQ,e.toDisplayString((vo=($o=(jo=l.extraData)==null?void 0:jo.consAnalysis)==null?void 0:$o.dgo)==null?void 0:vo.sailingCons),1),mQ]),l.extraPortList.length<1?(e.openBlock(),e.createElementBlock("div",hQ,[pQ,e.createElementVNode("div",EQ,e.toDisplayString((ol=(tl=(el=l.extraData)==null?void 0:el.consAnalysis)==null?void 0:tl.fo)==null?void 0:ol.actualCons),1),yQ,e.createElementVNode("div",_Q,e.toDisplayString(a.computeNum((nl=(al=(ll=l.extraData)==null?void 0:ll.consAnalysis)==null?void 0:al.fo)==null?void 0:nl.sailingCons)),1),NQ,e.createElementVNode("div",VQ,e.toDisplayString((dl=(il=(sl=l.extraData)==null?void 0:sl.consAnalysis)==null?void 0:il.fo)==null?void 0:dl.totalExtraCons),1),fQ])):(e.openBlock(),e.createElementBlock("div",gQ,[DQ,e.createElementVNode("div",xQ,e.toDisplayString((ml=(rl=(cl=l.extraData)==null?void 0:cl.consAnalysis)==null?void 0:rl.fo)==null?void 0:ml.actualCons),1),bQ,e.createElementVNode("div",CQ,e.toDisplayString(a.computeNum((El=(pl=(hl=l.extraData)==null?void 0:hl.consAnalysis)==null?void 0:pl.fo)==null?void 0:El.sailingCons)),1),SQ,e.createElementVNode("div",kQ,e.toDisplayString(a.computeNum((gl=(Nl=(Pt=l.extraData)==null?void 0:Pt.consAnalysis)==null?void 0:Nl.fo)==null?void 0:gl.portCons)),1),AQ,e.createElementVNode("div",BQ,e.toDisplayString((bl=(xl=(Dl=l.extraData)==null?void 0:Dl.consAnalysis)==null?void 0:xl.fo)==null?void 0:bl.totalExtraCons),1),wQ])),l.extraPortList.length<1?(e.openBlock(),e.createElementBlock("div",TQ,[OQ,e.createElementVNode("div",FQ,e.toDisplayString((kl=(Sl=(Cl=l.extraData)==null?void 0:Cl.consAnalysis)==null?void 0:Sl.dgo)==null?void 0:kl.actualCons),1),PQ,e.createElementVNode("div",uQ,e.toDisplayString((wl=(Bl=(Al=l.extraData)==null?void 0:Al.consAnalysis)==null?void 0:Bl.dgo)==null?void 0:wl.sailingCons),1),LQ,e.createElementVNode("div",WQ,e.toDisplayString((Fl=(Ol=(Tl=l.extraData)==null?void 0:Tl.consAnalysis)==null?void 0:Ol.dgo)==null?void 0:Fl.totalExtraCons),1),HQ])):(e.openBlock(),e.createElementBlock("div",MQ,[GQ,e.createElementVNode("div",IQ,e.toDisplayString((Ll=(ul=(Pl=l.extraData)==null?void 0:Pl.consAnalysis)==null?void 0:ul.dgo)==null?void 0:Ll.actualCons),1),RQ,e.createElementVNode("div",zQ,e.toDisplayString(a.computeNum((Ml=(Hl=(Wl=l.extraData)==null?void 0:Wl.consAnalysis)==null?void 0:Hl.dgo)==null?void 0:Ml.sailingCons)),1),UQ,e.createElementVNode("div",YQ,e.toDisplayString(a.computeNum((Rl=(Il=(Gl=l.extraData)==null?void 0:Gl.consAnalysis)==null?void 0:Il.dgo)==null?void 0:Rl.portCons)),1),ZQ,e.createElementVNode("div",QQ,e.toDisplayString((Yl=(Ul=(zl=l.extraData)==null?void 0:zl.consAnalysis)==null?void 0:Ul.dgo)==null?void 0:Yl.totalExtraCons),1),JQ]))])),t.isDistExtra?(e.openBlock(),e.createElementBlock("div",KQ,[qQ,e.createElementVNode("div",XQ,[jQ,e.createElementVNode("div",$Q,e.toDisplayString(((Jl=(Ql=(Zl=l.extraData)==null?void 0:Zl.consAnalysis)==null?void 0:Ql.fo)==null?void 0:Jl.sailingCons)??"—"),1),e.createElementVNode("div",vQ,e.toDisplayString(((Xl=(ql=(Kl=l.extraData)==null?void 0:Kl.consAnalysis)==null?void 0:ql.dgo)==null?void 0:Xl.sailingCons)??"—"),1)]),e.createElementVNode("div",eJ,[tJ,e.createElementVNode("div",oJ,e.toDisplayString(((vl=($l=(jl=l.extraData)==null?void 0:jl.consAnalysis)==null?void 0:$l.fo)==null?void 0:vl.portCons)??"—"),1),e.createElementVNode("div",lJ,e.toDisplayString(((oa=(ta=(ea=l.extraData)==null?void 0:ea.consAnalysis)==null?void 0:ta.dgo)==null?void 0:oa.portCons)??"—"),1)]),e.createElementVNode("div",aJ,[nJ,e.createElementVNode("div",{class:e.normalizeClass(`${a.computeColor((na=(aa=(la=l.extraData)==null?void 0:la.consAnalysis)==null?void 0:aa.fo)==null?void 0:na.totalExtraCons)} flex blue center`)},e.toDisplayString(((da=(ia=(sa=l.extraData)==null?void 0:sa.consAnalysis)==null?void 0:ia.fo)==null?void 0:da.totalExtraCons)??"—"),3),e.createElementVNode("div",{class:e.normalizeClass(`${a.computeColor((ma=(ra=(ca=l.extraData)==null?void 0:ca.consAnalysis)==null?void 0:ra.dgo)==null?void 0:ma.totalExtraCons)} flex blue center`)},e.toDisplayString(((Ea=(pa=(ha=l.extraData)==null?void 0:ha.consAnalysis)==null?void 0:pa.dgo)==null?void 0:Ea.totalExtraCons)??"—"),3)])])):(e.openBlock(),e.createElementBlock("div",sJ,[iJ,e.createElementVNode("div",dJ,[cJ,e.createElementVNode("div",rJ,e.toDisplayString((Na=(_a=(ya=l.extraData)==null?void 0:ya.consAnalysis)==null?void 0:_a.fo)==null?void 0:Na.sailingCons),1),e.createElementVNode("div",mJ,e.toDisplayString((ga=(fa=(Va=l.extraData)==null?void 0:Va.consAnalysis)==null?void 0:fa.dgo)==null?void 0:ga.sailingCons),1)]),e.createElementVNode("div",hJ,[pJ,e.createElementVNode("div",EJ,e.toDisplayString((ba=(xa=(Da=l.extraData)==null?void 0:Da.consAnalysis)==null?void 0:xa.fo)==null?void 0:ba.actualCons),1),e.createElementVNode("div",yJ,e.toDisplayString((ka=(Sa=(Ca=l.extraData)==null?void 0:Ca.consAnalysis)==null?void 0:Sa.dgo)==null?void 0:ka.actualCons),1)]),l.extraPortList.length>0?(e.openBlock(),e.createElementBlock("div",_J,[NJ,e.createElementVNode("div",VJ,e.toDisplayString((wa=(Ba=(Aa=l.extraData)==null?void 0:Aa.consAnalysis)==null?void 0:Ba.fo)==null?void 0:wa.portCons),1),e.createElementVNode("div",fJ,e.toDisplayString((Fa=(Oa=(Ta=l.extraData)==null?void 0:Ta.consAnalysis)==null?void 0:Oa.dgo)==null?void 0:Fa.portCons),1)])):e.createCommentVNode("",!0),e.createElementVNode("div",gJ,[DJ,e.createElementVNode("div",{class:e.normalizeClass(`${a.computeColor((La=(ua=(Pa=l.extraData)==null?void 0:Pa.consAnalysis)==null?void 0:ua.fo)==null?void 0:La.totalExtraCons)} flex blue center`)},e.toDisplayString((Ma=(Ha=(Wa=l.extraData)==null?void 0:Wa.consAnalysis)==null?void 0:Ha.fo)==null?void 0:Ma.totalExtraCons),3),e.createElementVNode("div",{class:e.normalizeClass(`${a.computeColor((Ra=(Ia=(Ga=l.extraData)==null?void 0:Ga.consAnalysis)==null?void 0:Ia.dgo)==null?void 0:Ra.totalExtraCons)} flex blue center`)},e.toDisplayString((Ya=(Ua=(za=l.extraData)==null?void 0:za.consAnalysis)==null?void 0:Ua.dgo)==null?void 0:Ya.totalExtraCons),3)])])),e.createElementVNode("div",{class:e.normalizeClass(`subtitle ${l.advisory&&l.advisory!=="<p><br></p>"?"":"print-hidden"}`)},"Comments",2),e.createElementVNode("div",{class:e.normalizeClass(`report-comments ${l.advisory&&l.advisory!=="<p><br></p>"?"":"print-hidden"}`),style:{"min-height":"50px"}},[l.editable?(e.openBlock(),e.createBlock(S,{key:0,modelValue:l.advisory,"onUpdate:modelValue":n[8]||(n[8]=ae=>l.advisory=ae),height:"320px",onBlur:n[9]||(n[9]=ae=>a.handleCommit("comments","comments",ae))},null,8,["modelValue"])):(e.openBlock(),e.createElementBlock("div",{key:1,class:"remark-txt editor",onDblclick:n[10]||(n[10]=(...ae)=>a.decideDisable&&a.decideDisable(...ae)),innerHTML:l.advisory&&l.advisory!=="<p><br></p>"?l.advisory:"Please double click to modify remark"},null,40,xJ))],2)])}const wn=De(UR,[["render",bJ],["__scopeId","data-v-77edf8aa"]]),CJ={install(t){t.component("DeviationReport",Bn),t.component("FliDeviationReport",wn)}},ite="",SJ={components:{IdmBrand:yl},props:{report:{type:Object,default:()=>({})}},data(){return{logSrc2:new URL("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAJYAAACWCAYAAAA8AXHiAAAABHNCSVQICAgIfAhkiAAAIABJREFUeF7tXQeAFEXWruruSZsTaQNJBARFTsQcCAaQZOLM+URPz3h6nIo6J+nUO8+Eip6CZ8aMCRUF9cQz8JsJAkqOy+Y0O9Pd//c6zPSkndndmdkFpqSc2enu6qpXX71Ur6o4S6c0BZJAAZ6EMtNFpinA0sBKgyApFEgDKylkTReaBlYaA0mhQBpYSSFrutA0sNIYSAoF9g5gTV4gsiaXgzmdNsYqRT+l7Fk+1pznZWxzM3v593JSKJguNCIF9jxgjVgiMdeWjFybsz9z2A9RBfVoLgiDYd/mq4xnc4HbGedMFZAZa2QCr2NMqGSCulVlwo+ywL7jqrK+QVV/YxlKPdte50uDLvGjY88A1rC5tuySvMNELpzDBOFIgKgnAJPDuGDDd/yHZuCfSp8AlAYs+sH47r9Gv3MB+GLNnAuNuLFS5WyLwtkPTBLfb2hu/Jo9PmZb4sm875XYiYGl8pyTn91PEiQC02RwoEHAhaiBhmptBZEGrEDWrhOoCFEG9wpcNwBo3E+cTbtPB2GVwvkKztXPZIUtbpKzAbRDq/c9WLS/xZ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uJZUpUL5pQpjoTISkClsRRvGmO8QzRmdwQRAvTpxUvsOhdFAi5FHkgsrXPUgEskkpEA/20seBETOaGSMRoLbBo1FJBf4/yopYITlEApE9Z48np/ZciUwdEim2KpwMTHZpM3JU86pRI7JEuSVyDxBlFdrTmbGVSwGnwkY5E8U40MM2I29YAi+pC/i3qYIo7N1MqgEVtp8OuaBdpMl6sKWHAokIJXBR+SyKOLJZYceoUDEYLFEjhI291JC80TerSJC4pu6YuFtKGqH8SsanRlIgjaOdFtyORgXKn8TzpSQR8SmR0kLHR2jQND5gxbCQ6THG4AN8pRo3oQSHOH8UomAbhRci/RzYZApVNEqQ1aQButk5ub8ffpMeFLYiwFEp9TA7ik5BJ+pDEIg5OXJiiOsJSazlWaxqQvncfpkAaWPtw5yez6WlgJZO6+3DZaWDtw52fzKangZVM6u7DZaeBtQ93fjKbngZWMqm7D5f9/zc746V8ZtviAAAAAElFTkSuQmCC",self.location).href}},computed:{computeUTCTime(){return function(t,n="MMM-DD/HHmm[Z]"){return`${w(t).utc().format(n)}`}},computeLat(){return function(t){return v.LngLatHelper.lat2pretty(t,2)}},computeLng(){return function(t){return v.LngLatHelper.lng2pretty(t,2)}},computeStyle(){return function(t){return t>0?"color:var(--idm-danger-color)":""}},computeRoundPrecision(){return function(t,n=2){return t==="-"?"-":v.roundPrecision(t,n)}}}},Eo=t=>(e.pushScopeId("data-v-42f6f59f"),t=t(),e.popScopeId(),t),kJ={class:"stoppage-report"},AJ={class:"report-summary"},BJ={class:"summary-item"},wJ=Eo(()=>e.createElementVNode("label",{class:"flex gray"},"Vessel Name",-1)),TJ={class:"flexL gray"},OJ={class:"summary-item"},FJ=Eo(()=>e.createElementVNode("label",{class:"flex gray"},"Prepared For",-1)),PJ={class:"flexL gray"},uJ={class:"summary-item"},LJ=Eo(()=>e.createElementVNode("label",{class:"flex gray"},"Vessel Type",-1)),WJ={class:"flexL gray"},HJ={class:"summary-item"},MJ=Eo(()=>e.createElementVNode("label",{class:"flex gray"},"Reference Number",-1)),GJ={class:"flexL gray"},IJ={class:"summary-item"},RJ=Eo(()=>e.createElementVNode("label",{class:"flex gray"},"Departure",-1)),zJ={class:"flexL gray",style:{display:"flex"}},UJ={class:"flex"},YJ={class:"flexM"},ZJ={class:"summary-item"},QJ=Eo(()=>e.createElementVNode("label",{class:"flex gray"},"Arrival",-1)),JJ={class:"flexL gray",style:{display:"flex"}},KJ={class:"flex"},qJ={class:"flexM"},XJ=Eo(()=>e.createElementVNode("div",{class:"subtitle"},"Report Summary",-1)),jJ={class:"report-summary"},$J={class:"summary-item"},vJ=Eo(()=>e.createElementVNode("div",{class:"flex blue"},"Total Time Lost",-1)),eK={class:"summary-item"},tK=Eo(()=>e.createElementVNode("div",{class:"flex blue"},"FO Total Consumption",-1)),oK={class:"summary-item"},lK=Eo(()=>e.createElementVNode("div",{class:"flex blue"},"DO/GO Total Consumption",-1)),aK=Eo(()=>e.createElementVNode("div",{class:"subtitle"},"Stoppage Info",-1)),nK={class:"report-table"},sK=Eo(()=>e.createElementVNode("thead",null,[e.createElementVNode("tr",null,[e.createElementVNode("th",{rowspan:2},"Stoppage"),e.createElementVNode("th",{rowspan:2},"Position"),e.createElementVNode("th",{rowspan:2},"Date"),e.createElementVNode("th",{colspan:2},"BROB (mt)"),e.createElementVNode("th",{rowspan:2},"Time Lost (hrs)"),e.createElementVNode("th",{colspan:2},"TTL CONS (mt)")]),e.createElementVNode("tr",null,[e.createElementVNode("th",null,"FO"),e.createElementVNode("th",null,"DO/GO"),e.createElementVNode("th",null,"FO"),e.createElementVNode("th",null,"DO/GO")])],-1)),iK=Eo(()=>e.createElementVNode("td",null,"Stopped",-1)),dK={rowspan:2},cK={rowspan:2},rK={rowspan:2},mK=Eo(()=>e.createElementVNode("td",null,"Resumed",-1)),hK={class:"report-map"},pK=["src"];function EK(t,n,o,d,l,a){var i,y,b,S,E,V,D,r,C,k,T,u,L,O,x,P,R,Z,z,W,f,Y,G,H,K,q,j,X,N,M,J,s,$,c,ee,oe,te,se,ie;const p=e.resolveComponent("IdmBrand");return e.openBlock(),e.createElementBlock("div",kJ,[e.createVNode(p,{name:"Voyage Stoppage Report"}),e.createElementVNode("div",AJ,[e.createElementVNode("div",BJ,[wJ,e.createElementVNode("div",TJ,e.toDisplayString((y=(i=o.report)==null?void 0:i.vessel)==null?void 0:y.name),1)]),e.createElementVNode("div",OJ,[FJ,e.createElementVNode("div",PJ,e.toDisplayString((b=o.report)==null?void 0:b.preparedFor),1)]),e.createElementVNode("div",uJ,[LJ,e.createElementVNode("div",WJ,e.toDisplayString((E=(S=o.report)==null?void 0:S.vessel)==null?void 0:E.type),1)]),e.createElementVNode("div",HJ,[MJ,e.createElementVNode("div",GJ,e.toDisplayString((D=(V=o.report)==null?void 0:V.voyage)==null?void 0:D.number),1)]),e.createElementVNode("div",IJ,[RJ,e.createElementVNode("div",zJ,[e.createElementVNode("span",UJ,e.toDisplayString((C=(r=o.report)==null?void 0:r.departure)==null?void 0:C.name),1),e.createElementVNode("span",YJ,e.toDisplayString(a.computeUTCTime(((T=(k=o.report)==null?void 0:k.departure)==null?void 0:T.atd)||((L=(u=o.report)==null?void 0:u.departure)==null?void 0:L.etd))),1)])]),e.createElementVNode("div",ZJ,[QJ,e.createElementVNode("div",JJ,[e.createElementVNode("span",KJ,e.toDisplayString((x=(O=o.report)==null?void 0:O.arrival)==null?void 0:x.name),1),e.createElementVNode("span",qJ,e.toDisplayString(a.computeUTCTime(((R=(P=o.report)==null?void 0:P.arrival)==null?void 0:R.ata)||((z=(Z=o.report)==null?void 0:Z.arrival)==null?void 0:z.eta))),1)])])]),XJ,e.createElementVNode("div",jJ,[e.createElementVNode("div",$J,[vJ,e.createElementVNode("div",{class:"flexL blue center",style:e.normalizeStyle(a.computeStyle((W=o.report)==null?void 0:W.totalTime))},e.toDisplayString(((f=o.report)==null?void 0:f.totalTime)??"—"),5)]),e.createElementVNode("div",eK,[tK,e.createElementVNode("div",{class:"flexL blue center",style:e.normalizeStyle(a.computeStyle((Y=o.report)==null?void 0:Y.totalFoCons))},e.toDisplayString(((G=o.report)==null?void 0:G.totalFoCons)??"—"),5)]),e.createElementVNode("div",oK,[lK,e.createElementVNode("div",{class:"flexL blue center",style:e.normalizeStyle(a.computeStyle((H=o.report)==null?void 0:H.totalDgoCons))},e.toDisplayString(((K=o.report)==null?void 0:K.totalDgoCons)??"—"),5)])]),aK,e.createElementVNode("div",nK,[e.createElementVNode("table",null,[sK,e.createElementVNode("tbody",null,[e.createElementVNode("tr",null,[iK,e.createElementVNode("td",null,e.toDisplayString(a.computeLat((q=o.report)==null?void 0:q.stopLat).pretty)+" / "+e.toDisplayString(a.computeLng((j=o.report)==null?void 0:j.stopLng).pretty),1),e.createElementVNode("td",null,e.toDisplayString(a.computeUTCTime((X=o.report)==null?void 0:X.stopTime)),1),e.createElementVNode("td",null,e.toDisplayString(a.computeRoundPrecision(((N=o.report)==null?void 0:N.stopFoBrob)??"-")),1),e.createElementVNode("td",null,e.toDisplayString(a.computeRoundPrecision(((M=o.report)==null?void 0:M.stopDgoBrob)??"-")),1),e.createElementVNode("td",dK,e.toDisplayString(a.computeRoundPrecision(((J=o.report)==null?void 0:J.totalTime)??"-")),1),e.createElementVNode("td",cK,e.toDisplayString(a.computeRoundPrecision(((s=o.report)==null?void 0:s.totalFoCons)??"-")),1),e.createElementVNode("td",rK,e.toDisplayString(a.computeRoundPrecision((($=o.report)==null?void 0:$.totalDgoCons)??"-")),1)]),e.createElementVNode("tr",null,[mK,e.createElementVNode("td",null,e.toDisplayString(a.computeLat((c=o.report)==null?void 0:c.resumeLat).pretty)+" / "+e.toDisplayString(a.computeLng((ee=o.report)==null?void 0:ee.resumeLng).pretty),1),e.createElementVNode("td",null,e.toDisplayString(a.computeUTCTime((oe=o.report)==null?void 0:oe.resumeTime)),1),e.createElementVNode("td",null,e.toDisplayString(a.computeRoundPrecision(((te=o.report)==null?void 0:te.resumeFoBrob)??"-")),1),e.createElementVNode("td",null,e.toDisplayString(a.computeRoundPrecision(((se=o.report)==null?void 0:se.resumeDgoBrob)??"-")),1)])])])]),e.createElementVNode("div",hK,[e.createElementVNode("img",{style:{width:"100%"},src:(ie=o.report)==null?void 0:ie.chartUrl,alt:""},null,8,pK)])])}const Tn=De(SJ,[["render",EK],["__scopeId","data-v-42f6f59f"]]),yK={install(t){t.component("StoppageReport",Tn)}},dte="",_K={props:{data:{type:Object,default:{}},gateway:{type:String,default:"https://cbe4test.idmwx.com"},token:{type:String,default:void 0},editorDisabled:{type:Boolean,default:()=>!1}},components:{Editor:Ro,IdmBrand:ja},data(){return{logSrc2:new URL("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAJYAAACWCAYAAAA8AXHiAAAABHNCSVQICAgIfAhkiAAAIABJREFUeF7tXQeAFEXWruruSZsTaQNJBARFTsQcCAaQZOLM+URPz3h6nIo6J+nUO8+Eip6CZ8aMCRUF9cQz8JsJAkqOy+Y0O9Pd//c6zPSkndndmdkFpqSc2enu6qpXX71Ur6o4S6c0BZJAAZ6EMtNFpinA0sBKgyApFEgDKylkTReaBlYaA0mhQBpYSSFrutA0sNIYSAoF9g5gTV4gsiaXgzmdNsYqRT+l7Fk+1pznZWxzM3v593JSKJguNCIF9jxgjVgiMdeWjFybsz9z2A9RBfVoLgiDYd/mq4xnc4HbGedMFZAZa2QCr2NMqGSCulVlwo+ywL7jqrK+QVV/YxlKPdte50uDLvGjY88A1rC5tuySvMNELpzDBOFIgKgnAJPDuGDDd/yHZuCfSp8AlAYs+sH47r9Gv3MB+GLNnAuNuLFS5WyLwtkPTBLfb2hu/Jo9PmZb4sm875XYiYGl8pyTn91PEiQC02RwoEHAhaiBhmptBZEGrEDWrhOoCFEG9wpcNwBo3E+cTbtPB2GVwvkKztXPZIUtbpKzAbRDq/c9WLS/xZ0SWK5RT5dkiOK1TOTXos+d4ExaSzUQBAGIAEFXdGBoHCv0ugWEwdeDORyVEShfBy5AtkHh4jzVqzzvsddvZA+d4mk/yfeNEjoZsBaIhSMbrobOdAtA0A36EoeeZ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M3JU86pRI7JEuSVyDxBlFdrTmbGVSwGnwkY5E8U40MM2I29YAi+pC/i3qYIo7N1MqgEVtp8OuaBdpMl6sKWHAokIJXBR+SyKOLJZYceoUDEYLFEjhI291JC80TerSJC4pu6YuFtKGqH8SsanRlIgjaOdFtyORgXKn8TzpSQR8SmR0kLHR2jQND5gxbCQ6THG4AN8pRo3oQSHOH8UomAbhRci/RzYZApVNEqQ1aQButk5ub8ffpMeFLYiwFEp9TA7ik5BJ+pDEIg5OXJiiOsJSazlWaxqQvncfpkAaWPtw5yez6WlgJZO6+3DZaWDtw52fzKangZVM6u7DZaeBtQ93fjKbngZWMqm7D5f9/zc746V8ZtviAAAAAElFTkSuQmCC",self.location).href,advisory:void 0,id:void 0,editable:!1,comparisonData:void 0}},watch:{data:{handler(t){t&&this.fetchData()},immediate:!0}},computed:{computeUTCTime(){return function(t,n="MMM-DD/HHmm"){return t?`${w(t).utc().format(n)}Z`:"-"}},computeColor(){return function(t){return t>0?"fail":t<0?"success":""}},compareTime(){return function(t,n){return t&&n?v.roundPrecision(t-n):"-"}},computeSummary(){return function(t,n){if(t===0)return"No difference";let o="";return t>0?n==="time"?o=`Lost ${t}hrs`:o=`Over consumption ${t}mt`:n==="time"?o=`Saving ${Math.abs(t)}hrs`:o=`Under consumption ${Math.abs(t)}mt`,o}}},methods:{fetchData(){var t,n;this.comparisonData=this.data,this.id=this.data.id,this.advisory=(t=this.data)!=null&&t.comments?(n=this.data)==null?void 0:n.comments:void 0},decideDisable(){this.editorDisabled?this.editable=!1:this.editable=!0},async handleCommit(t,n){this.editable=!1;const o={[t]:n};await fl.put(`${this.gateway}/api/als/comparisons/${this.id}`,o,{headers:{Authorization:this.token}}),this.advisory=n}}},Ie=t=>(e.pushScopeId("data-v-c8bf8198"),t=t(),e.popScopeId(),t),NK={class:"comparison-report"},VK=Ie(()=>e.createElementVNode("div",{class:"report-bg"},[e.createElementVNode("img",{src:"https://img.idmwx.com/asset/report-head-bg.png"})],-1)),fK={class:"report-header"},gK={class:"header-title",style:{position:"relative !important"}},DK=["src"],xK={class:"header-title-content"},bK=Ie(()=>e.createElementVNode("div",{class:"title"},"Voyage Comparison Report",-1)),CK={class:"title-date"},SK={class:"report-summary"},kK={class:"summary-item"},AK=Ie(()=>e.createElementVNode("label",{class:"flex gray"},"Vessel Name",-1)),BK={class:"flexL gray"},wK={class:"summary-item"},TK=Ie(()=>e.createElementVNode("label",{class:"flex gray"},"Prepared For",-1)),OK={class:"flexL gray"},FK={class:"summary-item"},PK=Ie(()=>e.createElementVNode("label",{class:"flex gray"},"Vessel Type",-1)),uK={class:"flexL gray"},LK={class:"summary-item"},WK=Ie(()=>e.createElementVNode("label",{class:"flex gray"},"Load Condition",-1)),HK={class:"flexL gray"},MK={class:"summary-item"},GK=Ie(()=>e.createElementVNode("label",{class:"flex gray"},"Reference Number",-1)),IK={class:"flexL gray"},RK={class:"summary-item"},zK=Ie(()=>e.createElementVNode("label",{class:"flex gray"},"Departure",-1)),UK={class:"flexL gray",style:{display:"flex"}},YK={class:"flex"},ZK={class:"flexM"},QK={class:"summary-item"},JK=Ie(()=>e.createElementVNode("label",{class:"flex gray"},"Arrival",-1)),KK={class:"flexL gray",style:{display:"flex"}},qK={class:"flex"},XK={class:"flexM"},jK=Ie(()=>e.createElementVNode("div",{class:"subtitle"},"Report Summary",-1)),$K={class:"report-summary"},vK={class:"summary-item"},eq=Ie(()=>e.createElementVNode("div",{class:"flexL blue"},"Speed time on actual routecompared with Recommended route",-1)),tq={class:"summary-item"},oq=Ie(()=>e.createElementVNode("div",{class:"flexL blue"},"Actual route FO Consumption compared with Recommended route",-1)),lq={class:"summary-item"},aq=Ie(()=>e.createElementVNode("div",{class:"flexL blue"},"Actual route DO/GO Consumption compared with Recommended route",-1)),nq=Ie(()=>e.createElementVNode("div",{class:"subtitle"},"Route Map",-1)),sq={class:"report-map"},iq=["src"],dq=e.createStaticVNode('<div class="legend" data-v-c8bf8198><div class="legend-item" data-v-c8bf8198><div style="width:50px;height:0px;border:1px solid var(--actual-route);" data-v-c8bf8198></div><div data-v-c8bf8198>Actual Route</div></div><div class="legend-item" data-v-c8bf8198><div style="width:50px;height:0px;border:1px dashed var(--prior-route);" data-v-c8bf8198></div><div data-v-c8bf8198>Recommended Route</div></div></div>',1),cq=Ie(()=>e.createElementVNode("div",{class:"page-break"},null,-1)),rq={key:0,class:"subtitle"},mq={key:1,class:"report-summary"},hq={class:"summary-item"},pq=Ie(()=>e.createElementVNode("div",{class:"flex blue"},"CP Speed (kts)",-1)),Eq={class:"flexL blue center"},yq={class:"summary-item"},_q=Ie(()=>e.createElementVNode("div",{class:"flex blue"},"CP Daily FO Consumption (mt)",-1)),Nq={class:"flexL blue center"},Vq={class:"summary-item"},fq=Ie(()=>e.createElementVNode("div",{class:"flex blue"},"CP Daily DO/GO Consumption (mt)",-1)),gq={class:"flexL blue center"},Dq=Ie(()=>e.createElementVNode("div",{class:"subtitle"},"Route Comparison",-1)),xq={class:"report-summary"},bq=Ie(()=>e.createElementVNode("div",{class:"summary-item"},[e.createElementVNode("div",{class:"blue",style:{width:"35%"}}),e.createElementVNode("div",{class:"flex blue center"},"Actual Route"),e.createElementVNode("div",{class:"flex blue center"},"Recommended Route")],-1)),Cq={class:"summary-item"},Sq=Ie(()=>e.createElementVNode("div",{class:"blue",style:{width:"35%"}},"Distance (nm)",-1)),kq={class:"flex blue-light center"},Aq={class:"flex blue-light center"},Bq={class:"summary-item"},wq=Ie(()=>e.createElementVNode("div",{class:"blue",style:{width:"35%"}},"Time Enroute (hrs)",-1)),Tq={class:"flex blue-light center"},Oq={class:"flex blue-light center"},Fq={class:"summary-item"},Pq=Ie(()=>e.createElementVNode("div",{class:"blue",style:{width:"35%"}},"Average Speed (kts)",-1)),uq={class:"flex blue-light center"},Lq={class:"flex blue-light center"},Wq={class:"summary-item"},Hq=Ie(()=>e.createElementVNode("div",{class:"blue",style:{width:"35%"}},"Current Factor (kts)",-1)),Mq={class:"flex blue-light center"},Gq={class:"flex blue-light center"},Iq={class:"summary-item"},Rq=Ie(()=>e.createElementVNode("div",{class:"blue",style:{width:"35%"}},"Weather Factor (kts)",-1)),zq={class:"flex blue-light center"},Uq={class:"flex blue-light center"},Yq={class:"summary-item"},Zq=Ie(()=>e.createElementVNode("div",{class:"blue",style:{width:"35%"}},"Performance Speed (kts)",-1)),Qq={class:"flex blue-light center"},Jq={class:"flex blue-light center"},Kq={class:"summary-item"},qq=Ie(()=>e.createElementVNode("div",{class:"blue",style:{width:"35%"}},"Diff Time (hrs)",-1)),Xq={class:"flex blue-light center italic"},jq=Ie(()=>e.createElementVNode("div",{class:"subtitle"},"Comparison of Fuel Consumption",-1)),$q={class:"report-summary"},vq=Ie(()=>e.createElementVNode("div",{class:"summary-item"},[e.createElementVNode("div",{class:"blue",style:{width:"35%"}}),e.createElementVNode("div",{class:"flex blue center"},"Actual Route"),e.createElementVNode("div",{class:"flex blue center"},"Recommended Route")],-1)),eX={class:"summary-item"},tX=Ie(()=>e.createElementVNode("div",{class:"blue",style:{width:"35%"}},"Average Daily FO Consumption (mt)",-1)),oX={class:"flex blue-light center"},lX={class:"flex blue-light center"},aX={class:"summary-item"},nX=Ie(()=>e.createElementVNode("div",{class:"blue",style:{width:"35%"}},"Total FO Consumption (mt)",-1)),sX={class:"flex blue-light center"},iX={class:"flex blue-light center"},dX={class:"summary-item"},cX=Ie(()=>e.createElementVNode("div",{class:"blue",style:{width:"35%"}},"Average Daily DO/GO Consumption (mt)",-1)),rX={class:"flex blue-light center"},mX={class:"flex blue-light center"},hX={class:"summary-item"},pX=Ie(()=>e.createElementVNode("div",{class:"blue",style:{width:"35%"}},"Total DO/GO Consumption (mt)",-1)),EX={class:"flex blue-light center"},yX={class:"flex blue-light center"},_X={class:"summary-item"},NX=Ie(()=>e.createElementVNode("div",{class:"blue",style:{width:"35%"}},"Diff FO Consumption (mt)",-1)),VX={class:"flex blue-light center italic"},fX={class:"summary-item"},gX=Ie(()=>e.createElementVNode("div",{class:"blue",style:{width:"35%"}},"Diff DO/GO Consumption (mt)",-1)),DX={class:"flex blue-light center italic"},xX=["innerHTML"];function bX(t,n,o,d,l,a){var y,b,S,E,V,D,r,C,k,T,u,L,O,x,P,R,Z,z,W,f,Y,G,H,K,q,j,X,N,M,J,s,$,c,ee,oe,te,se,ie,ce,re,he,pe,Ee,de,ye,xe,be,Ce,Se,ke,Ae,Be,Fe,Pe,fe,F,_e,ue,Le,We,we;const p=e.resolveComponent("IdmBrand"),i=e.resolveComponent("Editor");return e.openBlock(),e.createElementBlock("div",NK,[e.createVNode(p),VK,e.createElementVNode("div",fK,[e.createElementVNode("div",gK,[e.createElementVNode("img",{src:l.logSrc2,style:{width:"120px",position:"absolute","margin-top":"30px"},alt:""},null,8,DK),e.createElementVNode("div",xK,[bK,e.createElementVNode("div",CK,e.toDisplayString(a.computeUTCTime(((y=l.comparisonData)==null?void 0:y.createdAt)??"","dddd,MMM DD,YYYY")),1)])])]),e.createElementVNode("div",SK,[e.createElementVNode("div",kK,[AK,e.createElementVNode("div",BK,e.toDisplayString((S=(b=l.comparisonData)==null?void 0:b.vessel)==null?void 0:S.name),1)]),e.createElementVNode("div",wK,[TK,e.createElementVNode("div",OK,e.toDisplayString((E=l.comparisonData)==null?void 0:E.preparedFor),1)]),e.createElementVNode("div",FK,[PK,e.createElementVNode("div",uK,e.toDisplayString((D=(V=l.comparisonData)==null?void 0:V.vessel)==null?void 0:D.type),1)]),e.createElementVNode("div",LK,[WK,e.createElementVNode("div",HK,e.toDisplayString((C=(r=l.comparisonData)==null?void 0:r.voyage)==null?void 0:C.loadCondition),1)]),e.createElementVNode("div",MK,[GK,e.createElementVNode("div",IK,e.toDisplayString((T=(k=l.comparisonData)==null?void 0:k.voyage)==null?void 0:T.number),1)]),e.createElementVNode("div",RK,[zK,e.createElementVNode("div",UK,[e.createElementVNode("span",YK,e.toDisplayString((L=(u=l.comparisonData)==null?void 0:u.departure)==null?void 0:L.name),1),e.createElementVNode("span",ZK,e.toDisplayString(a.computeUTCTime(((x=(O=l.comparisonData)==null?void 0:O.departure)==null?void 0:x.atd)||((R=(P=l.comparisonData)==null?void 0:P.departure)==null?void 0:R.etd))),1)])]),e.createElementVNode("div",QK,[JK,e.createElementVNode("div",KK,[e.createElementVNode("span",qK,e.toDisplayString((z=(Z=l.comparisonData)==null?void 0:Z.arrival)==null?void 0:z.name),1),e.createElementVNode("span",XK,e.toDisplayString(a.computeUTCTime(((f=(W=l.comparisonData)==null?void 0:W.arrival)==null?void 0:f.ata)||((G=(Y=l.comparisonData)==null?void 0:Y.arrival)==null?void 0:G.eta))),1)])])]),jK,e.createElementVNode("div",$K,[e.createElementVNode("div",vK,[eq,e.createElementVNode("div",{class:e.normalizeClass(`${a.computeColor((H=l.comparisonData)==null?void 0:H.diffTime)} flex blue`)},e.toDisplayString(a.computeSummary((K=l.comparisonData)==null?void 0:K.diffTime,"time")),3)]),e.createElementVNode("div",tq,[oq,e.createElementVNode("div",{class:e.normalizeClass(`${a.computeColor((q=l.comparisonData)==null?void 0:q.diffFoCons)} flex blue`)},e.toDisplayString(a.computeSummary((j=l.comparisonData)==null?void 0:j.diffFoCons,"oil")),3)]),e.createElementVNode("div",lq,[aq,e.createElementVNode("div",{class:e.normalizeClass(`${a.computeColor((X=l.comparisonData)==null?void 0:X.diffDgoCons)} flex blue`)},e.toDisplayString(a.computeSummary((N=l.comparisonData)==null?void 0:N.diffDgoCons,"oil")),3)])]),nq,e.createElementVNode("div",sq,[e.createElementVNode("img",{style:{width:"100%"},src:(M=l.comparisonData)==null?void 0:M.chartUrl,alt:""},null,8,iq),dq]),cq,(J=l.comparisonData)!=null&&J.useActual?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("div",rq,"CP Terms")),(s=l.comparisonData)!=null&&s.useActual?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("div",mq,[e.createElementVNode("div",hq,[pq,e.createElementVNode("div",Eq,e.toDisplayString(((c=($=l.comparisonData)==null?void 0:$.cp)==null?void 0:c.speed)??"—"),1)]),e.createElementVNode("div",yq,[_q,e.createElementVNode("div",Nq,e.toDisplayString(((oe=(ee=l.comparisonData)==null?void 0:ee.cp)==null?void 0:oe.fo)??"—"),1)]),e.createElementVNode("div",Vq,[fq,e.createElementVNode("div",gq,e.toDisplayString(((se=(te=l.comparisonData)==null?void 0:te.cp)==null?void 0:se.dgo)??"—"),1)])])),Dq,e.createElementVNode("div",xq,[bq,e.createElementVNode("div",Cq,[Sq,e.createElementVNode("div",kq,e.toDisplayString(((ie=l.comparisonData)==null?void 0:ie.actualDist)??"—"),1),e.createElementVNode("div",Aq,e.toDisplayString(((ce=l.comparisonData)==null?void 0:ce.recmdDist)??"—"),1)]),e.createElementVNode("div",Bq,[wq,e.createElementVNode("div",Tq,e.toDisplayString(((re=l.comparisonData)==null?void 0:re.actualTime)??"—"),1),e.createElementVNode("div",Oq,e.toDisplayString(((he=l.comparisonData)==null?void 0:he.recmdTime)??"—"),1)]),e.createElementVNode("div",Fq,[Pq,e.createElementVNode("div",uq,e.toDisplayString(((pe=l.comparisonData)==null?void 0:pe.actualAvgSpd)??"—"),1),e.createElementVNode("div",Lq,e.toDisplayString(((Ee=l.comparisonData)==null?void 0:Ee.recmdAvgSpd)??"—"),1)]),e.createElementVNode("div",Wq,[Hq,e.createElementVNode("div",Mq,e.toDisplayString(((de=l.comparisonData)==null?void 0:de.actualAvgCF)??"—"),1),e.createElementVNode("div",Gq,e.toDisplayString(((ye=l.comparisonData)==null?void 0:ye.recmdAvgCF)??"—"),1)]),e.createElementVNode("div",Iq,[Rq,e.createElementVNode("div",zq,e.toDisplayString(((xe=l.comparisonData)==null?void 0:xe.actualAvgWF)??"—"),1),e.createElementVNode("div",Uq,e.toDisplayString(((be=l.comparisonData)==null?void 0:be.recmdAvgWF)??"—"),1)]),e.createElementVNode("div",Yq,[Zq,e.createElementVNode("div",Qq,e.toDisplayString(((Ce=l.comparisonData)==null?void 0:Ce.actualPfmSpd)??"—"),1),e.createElementVNode("div",Jq,e.toDisplayString(((Se=l.comparisonData)==null?void 0:Se.recmdPfmSpd)??"—"),1)]),e.createElementVNode("div",Kq,[qq,e.createElementVNode("div",Xq,e.toDisplayString(a.compareTime((ke=l.comparisonData)==null?void 0:ke.actualTime,(Ae=l.comparisonData)==null?void 0:Ae.recmdTime)),1)])]),jq,e.createElementVNode("div",$q,[vq,e.createElementVNode("div",eX,[tX,e.createElementVNode("div",oX,e.toDisplayString(((Be=l.comparisonData)==null?void 0:Be.actualAvgFoCons)??"-"),1),e.createElementVNode("div",lX,e.toDisplayString(((Fe=l.comparisonData)==null?void 0:Fe.recmdAvgFoCons)??"-"),1)]),e.createElementVNode("div",aX,[nX,e.createElementVNode("div",sX,e.toDisplayString(((Pe=l.comparisonData)==null?void 0:Pe.actualFoCons)??"-"),1),e.createElementVNode("div",iX,e.toDisplayString(((fe=l.comparisonData)==null?void 0:fe.recmdFoCons)??"-"),1)]),e.createElementVNode("div",dX,[cX,e.createElementVNode("div",rX,e.toDisplayString(((F=l.comparisonData)==null?void 0:F.actualAvgDgoCons)??"-"),1),e.createElementVNode("div",mX,e.toDisplayString(((_e=l.comparisonData)==null?void 0:_e.recmdAvgDgoCons)??"-"),1)]),e.createElementVNode("div",hX,[pX,e.createElementVNode("div",EX,e.toDisplayString(((ue=l.comparisonData)==null?void 0:ue.actualDgoCons)??"-"),1),e.createElementVNode("div",yX,e.toDisplayString(((Le=l.comparisonData)==null?void 0:Le.recmdDgoCons)??"-"),1)]),e.createElementVNode("div",_X,[NX,e.createElementVNode("div",VX,e.toDisplayString(((We=l.comparisonData)==null?void 0:We.diffFoCons)??"-"),1)]),e.createElementVNode("div",fX,[gX,e.createElementVNode("div",DX,e.toDisplayString(((we=l.comparisonData)==null?void 0:we.diffDgoCons)??"-"),1)])]),e.createElementVNode("div",{class:e.normalizeClass(`subtitle ${l.advisory&&l.advisory!=="<p><br></p>"?"":"print-hidden"}`)},"Comments",2),e.createElementVNode("div",{class:e.normalizeClass(`report-comments ${l.advisory&&l.advisory!=="<p><br></p>"?"":"print-hidden"}`),style:{"min-height":"50px"}},[l.editable?(e.openBlock(),e.createBlock(i,{key:0,modelValue:l.advisory,"onUpdate:modelValue":n[0]||(n[0]=He=>l.advisory=He),height:"320px",onBlur:n[1]||(n[1]=He=>a.handleCommit("comments",He))},null,8,["modelValue"])):(e.openBlock(),e.createElementBlock("div",{key:1,class:"remark-txt editor",onDblclick:n[2]||(n[2]=(...He)=>a.decideDisable&&a.decideDisable(...He)),innerHTML:l.advisory&&l.advisory!=="<p><br></p>"?l.advisory:"Please double click to modify remark"},null,40,xX))],2)])}const On=De(_K,[["render",bX],["__scopeId","data-v-c8bf8198"]]),cte="",CX={props:{data:{type:Object,default:{}},gateway:{type:String,default:"https://cbe4test.idmwx.com"},token:{type:String,default:void 0},editorDisabled:{type:Boolean,default:()=>!1}},components:{Editor:Ro},data(){return{logSrc2:new URL("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAJYAAACWCAYAAAA8AXHiAAAABHNCSVQICAgIfAhkiAAAIABJREFUeF7tXQeAFEXWruruSZsTaQNJBARFTsQcCAaQZOLM+URPz3h6nIo6J+nUO8+Eip6CZ8aMCRUF9cQz8JsJAkqOy+Y0O9Pd//c6zPSkndndmdkFpqSc2enu6qpXX71Ur6o4S6c0BZJAAZ6EMtNFpinA0sBKgyApFEgDKylkTReaBlYaA0mhQBpYSSFrutA0sNIYSAoF9g5gTV4gsiaXgzmdNsYqRT+l7Fk+1pznZWxzM3v593JSKJguNCIF9jxgjVgiMdeWjFybsz9z2A9RBfVoLgiDYd/mq4xnc4HbGedMFZAZa2QCr2NMqGSCulVlwo+ywL7jqrK+QVV/YxlKPdte50uDLvGjY88A1rC5tuySvMNELpzDBOFIgKgnAJPDuGDDd/yHZuCfSp8AlAYs+sH47r9Gv3MB+GLNnAuNuLFS5WyLwtkPTBLfb2hu/Jo9PmZb4sm875XYiYGl8pyTn91PEiQC02RwoEHAhaiBhmptBZEGrEDWrhOoCFEG9wpcNwBo3E+cTbtPB2GVwv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RysvAm218BTTSWkFFgH0rkgPxPiNuCuJZUpUL5pQpjoTISkClsRRvGmO8QzRmdwQRAvTpxUvsOhdFAi5FHkgsrXPUgEskkpEA/20seBETOaGSMRoLbBo1FJBf4/yopYITlEApE9Z48np/ZciUwdEim2KpwMTHZpM3JU86pRI7JEuSVyDxBlFdrTmbGVSwGnwkY5E8U40MM2I29YAi+pC/i3qYIo7N1MqgEVtp8OuaBdpMl6sKWHAokIJXBR+SyKOLJZYceoUDEYLFEjhI291JC80TerSJC4pu6YuFtKGqH8SsanRlIgjaOdFtyORgXKn8TzpSQR8SmR0kLHR2jQND5gxbCQ6THG4AN8pRo3oQSHOH8UomAbhRci/RzYZApVNEqQ1aQButk5ub8ffpMeFLYiwFEp9TA7ik5BJ+pDEIg5OXJiiOsJSazlWaxqQvncfpkAaWPtw5yez6WlgJZO6+3DZaWDtw52fzKangZVM6u7DZaeBtQ93fjKbngZWMqm7D5f9/zc746V8ZtviAAAAAElFTkSuQmCC",self.location).href,advisory:void 0,id:void 0,editable:!1,comparisonData:void 0}},watch:{data:{handler(t){t&&this.fetchData()},immediate:!0}},computed:{computeUTCTime(){return function(t,n="MMM-DD/HHmm"){return t?`${w(t).utc().format(n)}Z`:"-"}},computeColor(){return function(t){return t>0?"fail":t<0?"success":""}},compareTime(){return function(t,n){return t&&n?v.roundPrecision(t-n):"-"}},computeSummary(){return function(t,n){if(t===0)return"No difference";let o="";return t>0?n==="time"?o=`Lost ${t}hrs`:o=`Over consumption ${t}mt`:n==="time"?o=`Saving ${Math.abs(t)}hrs`:o=`Under consumption ${Math.abs(t)}mt`,o}}},methods:{fetchData(){var t,n;this.comparisonData=this.data,this.id=this.data.id,this.advisory=(t=this.data)!=null&&t.comments?(n=this.data)==null?void 0:n.comments:void 0},decideDisable(){this.editorDisabled?this.editable=!1:this.editable=!0},async handleCommit(t,n){this.editable=!1;const o={[t]:n};await fl.put(`${this.gateway}/api/als/comparisons/${this.id}`,o,{headers:{Authorization:this.token}}),this.advisory=n}}},Re=t=>(e.pushScopeId("data-v-b2f57055"),t=t(),e.popScopeId(),t),SX={class:"comparison-report"},kX=Re(()=>e.createElementVNode("div",{class:"report-bg"},[e.createElementVNode("img",{src:"https://img.idmwx.com/asset/fli_logo.png"})],-1)),AX={class:"report-header"},BX={class:"header-title",style:{position:"relative !important"}},wX={class:"header-title-content"},TX=Re(()=>e.createElementVNode("div",{class:"title"},"Voyage Comparison Report",-1)),OX={class:"title-date"},FX={class:"report-summary"},PX={class:"summary-item"},uX=Re(()=>e.createElementVNode("label",{class:"flex gray"},"Vessel Name",-1)),LX={class:"flexL gray"},WX={class:"summary-item"},HX=Re(()=>e.createElementVNode("label",{class:"flex gray"},"Prepared For",-1)),MX={class:"flexL gray"},GX={class:"summary-item"},IX=Re(()=>e.createElementVNode("label",{class:"flex gray"},"Vessel Type",-1)),RX={class:"flexL gray"},zX={class:"summary-item"},UX=Re(()=>e.createElementVNode("label",{class:"flex gray"},"Load Condition",-1)),YX={class:"flexL gray"},ZX={class:"summary-item"},QX=Re(()=>e.createElementVNode("label",{class:"flex gray"},"Reference Number",-1)),JX={class:"flexL gray"},KX={class:"summary-item"},qX=Re(()=>e.createElementVNode("label",{class:"flex gray"},"Departure",-1)),XX={class:"flexL gray",style:{display:"flex"}},jX={class:"flex"},$X={class:"flexM"},vX={class:"summary-item"},ej=Re(()=>e.createElementVNode("label",{class:"flex gray"},"Arrival",-1)),tj={class:"flexL gray",style:{display:"flex"}},oj={class:"flex"},lj={class:"flexM"},aj=Re(()=>e.createElementVNode("div",{class:"subtitle"},"Report Summary",-1)),nj={class:"report-summary"},sj={class:"summary-item"},ij=Re(()=>e.createElementVNode("div",{class:"flexL blue"},"Speed time on actual routecompared with Recommended route",-1)),dj={class:"summary-item"},cj=Re(()=>e.createElementVNode("div",{class:"flexL blue"},"Actual route FO Consumption compared with Recommended route",-1)),rj={class:"summary-item"},mj=Re(()=>e.createElementVNode("div",{class:"flexL blue"},"Actual route DO/GO Consumption compared with Recommended route",-1)),hj=Re(()=>e.createElementVNode("div",{class:"subtitle"},"Route Map",-1)),pj={class:"report-map"},Ej=["src"],yj=e.createStaticVNode('<div class="legend" data-v-b2f57055><div class="legend-item" data-v-b2f57055><div style="width:50px;height:0px;border:1px solid var(--actual-route);" data-v-b2f57055></div><div data-v-b2f57055>Actual Route</div></div><div class="legend-item" data-v-b2f57055><div style="width:50px;height:0px;border:1px dashed var(--prior-route);" data-v-b2f57055></div><div data-v-b2f57055>Ocean π Recommended Route</div></div></div>',1),_j=Re(()=>e.createElementVNode("div",{class:"page-break"},null,-1)),Nj={key:0,class:"subtitle"},Vj={key:1,class:"report-summary"},fj={class:"summary-item"},gj=Re(()=>e.createElementVNode("div",{class:"flex blue"},"CP Speed (kts)",-1)),Dj={class:"flexL blue center"},xj={class:"summary-item"},bj=Re(()=>e.createElementVNode("div",{class:"flex blue"},"CP Daily FO Consumption (mt)",-1)),Cj={class:"flexL blue center"},Sj={class:"summary-item"},kj=Re(()=>e.createElementVNode("div",{class:"flex blue"},"CP Daily DO/GO Consumption (mt)",-1)),Aj={class:"flexL blue center"},Bj=Re(()=>e.createElementVNode("div",{class:"subtitle"},"Route Comparison",-1)),wj={class:"report-summary"},Tj=Re(()=>e.createElementVNode("div",{class:"summary-item"},[e.createElementVNode("div",{class:"blue",style:{width:"35%"}}),e.createElementVNode("div",{class:"flex blue center"},"Actual Route"),e.createElementVNode("div",{class:"flex blue center"},"Recommended Route")],-1)),Oj={class:"summary-item"},Fj=Re(()=>e.createElementVNode("div",{class:"blue",style:{width:"35%"}},"Distance (nm)",-1)),Pj={class:"flex blue-light center"},uj={class:"flex blue-light center"},Lj={class:"summary-item"},Wj=Re(()=>e.createElementVNode("div",{class:"blue",style:{width:"35%"}},"Time Enroute (hrs)",-1)),Hj={class:"flex blue-light center"},Mj={class:"flex blue-light center"},Gj={class:"summary-item"},Ij=Re(()=>e.createElementVNode("div",{class:"blue",style:{width:"35%"}},"Average Speed (kts)",-1)),Rj={class:"flex blue-light center"},zj={class:"flex blue-light center"},Uj={class:"summary-item"},Yj=Re(()=>e.createElementVNode("div",{class:"blue",style:{width:"35%"}},"Current Factor (kts)",-1)),Zj={class:"flex blue-light center"},Qj={class:"flex blue-light center"},Jj={class:"summary-item"},Kj=Re(()=>e.createElementVNode("div",{class:"blue",style:{width:"35%"}},"Weather Factor (kts)",-1)),qj={class:"flex blue-light center"},Xj={class:"flex blue-light center"},jj={class:"summary-item"},$j=Re(()=>e.createElementVNode("div",{class:"blue",style:{width:"35%"}},"Performance Speed (kts)",-1)),vj={class:"flex blue-light center"},e$={class:"flex blue-light center"},t$={class:"summary-item"},o$=Re(()=>e.createElementVNode("div",{class:"blue",style:{width:"35%"}},"Diff Time (hrs)",-1)),l$={class:"flex blue-light center italic"},a$=Re(()=>e.createElementVNode("div",{class:"subtitle"},"Comparison of Fuel Consumption",-1)),n$={class:"report-summary"},s$=Re(()=>e.createElementVNode("div",{class:"summary-item"},[e.createElementVNode("div",{class:"blue",style:{width:"35%"}}),e.createElementVNode("div",{class:"flex blue center"},"Actual Route"),e.createElementVNode("div",{class:"flex blue center"},"Recommended Route")],-1)),i$={class:"summary-item"},d$=Re(()=>e.createElementVNode("div",{class:"blue",style:{width:"35%"}},"Average Daily FO Consumption (mt)",-1)),c$={class:"flex blue-light center"},r$={class:"flex blue-light center"},m$={class:"summary-item"},h$=Re(()=>e.createElementVNode("div",{class:"blue",style:{width:"35%"}},"Total FO Consumption (mt)",-1)),p$={class:"flex blue-light center"},E$={class:"flex blue-light center"},y$={class:"summary-item"},_$=Re(()=>e.createElementVNode("div",{class:"blue",style:{width:"35%"}},"Average Daily DO/GO Consumption (mt)",-1)),N$={class:"flex blue-light center"},V$={class:"flex blue-light center"},f$={class:"summary-item"},g$=Re(()=>e.createElementVNode("div",{class:"blue",style:{width:"35%"}},"Total DO/GO Consumption (mt)",-1)),D$={class:"flex blue-light center"},x$={class:"flex blue-light center"},b$={class:"summary-item"},C$=Re(()=>e.createElementVNode("div",{class:"blue",style:{width:"35%"}},"Diff FO Consumption (mt)",-1)),S$={class:"flex blue-light center italic"},k$={class:"summary-item"},A$=Re(()=>e.createElementVNode("div",{class:"blue",style:{width:"35%"}},"Diff DO/GO Consumption (mt)",-1)),B$={class:"flex blue-light center italic"},w$=["innerHTML"];function T$(t,n,o,d,l,a){var i,y,b,S,E,V,D,r,C,k,T,u,L,O,x,P,R,Z,z,W,f,Y,G,H,K,q,j,X,N,M,J,s,$,c,ee,oe,te,se,ie,ce,re,he,pe,Ee,de,ye,xe,be,Ce,Se,ke,Ae,Be,Fe,Pe,fe,F,_e,ue,Le,We;const p=e.resolveComponent("Editor");return e.openBlock(),e.createElementBlock("div",SX,[kX,e.createElementVNode("div",AX,[e.createElementVNode("div",BX,[e.createElementVNode("div",wX,[TX,e.createElementVNode("div",OX,e.toDisplayString(a.computeUTCTime(((i=l.comparisonData)==null?void 0:i.createdAt)??"","dddd,MMM DD,YYYY")),1)])])]),e.createElementVNode("div",FX,[e.createElementVNode("div",PX,[uX,e.createElementVNode("div",LX,e.toDisplayString((b=(y=l.comparisonData)==null?void 0:y.vessel)==null?void 0:b.name),1)]),e.createElementVNode("div",WX,[HX,e.createElementVNode("div",MX,e.toDisplayString((S=l.comparisonData)==null?void 0:S.preparedFor),1)]),e.createElementVNode("div",GX,[IX,e.createElementVNode("div",RX,e.toDisplayString((V=(E=l.comparisonData)==null?void 0:E.vessel)==null?void 0:V.type),1)]),e.createElementVNode("div",zX,[UX,e.createElementVNode("div",YX,e.toDisplayString((r=(D=l.comparisonData)==null?void 0:D.voyage)==null?void 0:r.loadCondition),1)]),e.createElementVNode("div",ZX,[QX,e.createElementVNode("div",JX,e.toDisplayString((k=(C=l.comparisonData)==null?void 0:C.voyage)==null?void 0:k.number),1)]),e.createElementVNode("div",KX,[qX,e.createElementVNode("div",XX,[e.createElementVNode("span",jX,e.toDisplayString((u=(T=l.comparisonData)==null?void 0:T.departure)==null?void 0:u.name),1),e.createElementVNode("span",$X,e.toDisplayString(a.computeUTCTime(((O=(L=l.comparisonData)==null?void 0:L.departure)==null?void 0:O.atd)||((P=(x=l.comparisonData)==null?void 0:x.departure)==null?void 0:P.etd))),1)])]),e.createElementVNode("div",vX,[ej,e.createElementVNode("div",tj,[e.createElementVNode("span",oj,e.toDisplayString((Z=(R=l.comparisonData)==null?void 0:R.arrival)==null?void 0:Z.name),1),e.createElementVNode("span",lj,e.toDisplayString(a.computeUTCTime(((W=(z=l.comparisonData)==null?void 0:z.arrival)==null?void 0:W.ata)||((Y=(f=l.comparisonData)==null?void 0:f.arrival)==null?void 0:Y.eta))),1)])])]),aj,e.createElementVNode("div",nj,[e.createElementVNode("div",sj,[ij,e.createElementVNode("div",{class:e.normalizeClass(`${a.computeColor((G=l.comparisonData)==null?void 0:G.diffTime)} flex blue`)},e.toDisplayString(a.computeSummary((H=l.comparisonData)==null?void 0:H.diffTime,"time")),3)]),e.createElementVNode("div",dj,[cj,e.createElementVNode("div",{class:e.normalizeClass(`${a.computeColor((K=l.comparisonData)==null?void 0:K.diffFoCons)} flex blue`)},e.toDisplayString(a.computeSummary((q=l.comparisonData)==null?void 0:q.diffFoCons,"oil")),3)]),e.createElementVNode("div",rj,[mj,e.createElementVNode("div",{class:e.normalizeClass(`${a.computeColor((j=l.comparisonData)==null?void 0:j.diffDgoCons)} flex blue`)},e.toDisplayString(a.computeSummary((X=l.comparisonData)==null?void 0:X.diffDgoCons,"oil")),3)])]),hj,e.createElementVNode("div",pj,[e.createElementVNode("img",{style:{width:"100%"},src:(N=l.comparisonData)==null?void 0:N.chartUrl,alt:""},null,8,Ej),yj]),_j,(M=l.comparisonData)!=null&&M.useActual?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("div",Nj,"CP Terms")),(J=l.comparisonData)!=null&&J.useActual?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("div",Vj,[e.createElementVNode("div",fj,[gj,e.createElementVNode("div",Dj,e.toDisplayString((($=(s=l.comparisonData)==null?void 0:s.cp)==null?void 0:$.speed)??"—"),1)]),e.createElementVNode("div",xj,[bj,e.createElementVNode("div",Cj,e.toDisplayString(((ee=(c=l.comparisonData)==null?void 0:c.cp)==null?void 0:ee.fo)??"—"),1)]),e.createElementVNode("div",Sj,[kj,e.createElementVNode("div",Aj,e.toDisplayString(((te=(oe=l.comparisonData)==null?void 0:oe.cp)==null?void 0:te.dgo)??"—"),1)])])),Bj,e.createElementVNode("div",wj,[Tj,e.createElementVNode("div",Oj,[Fj,e.createElementVNode("div",Pj,e.toDisplayString(((se=l.comparisonData)==null?void 0:se.actualDist)??"—"),1),e.createElementVNode("div",uj,e.toDisplayString(((ie=l.comparisonData)==null?void 0:ie.recmdDist)??"—"),1)]),e.createElementVNode("div",Lj,[Wj,e.createElementVNode("div",Hj,e.toDisplayString(((ce=l.comparisonData)==null?void 0:ce.actualTime)??"—"),1),e.createElementVNode("div",Mj,e.toDisplayString(((re=l.comparisonData)==null?void 0:re.recmdTime)??"—"),1)]),e.createElementVNode("div",Gj,[Ij,e.createElementVNode("div",Rj,e.toDisplayString(((he=l.comparisonData)==null?void 0:he.actualAvgSpd)??"—"),1),e.createElementVNode("div",zj,e.toDisplayString(((pe=l.comparisonData)==null?void 0:pe.recmdAvgSpd)??"—"),1)]),e.createElementVNode("div",Uj,[Yj,e.createElementVNode("div",Zj,e.toDisplayString(((Ee=l.comparisonData)==null?void 0:Ee.actualAvgCF)??"—"),1),e.createElementVNode("div",Qj,e.toDisplayString(((de=l.comparisonData)==null?void 0:de.recmdAvgCF)??"—"),1)]),e.createElementVNode("div",Jj,[Kj,e.createElementVNode("div",qj,e.toDisplayString(((ye=l.comparisonData)==null?void 0:ye.actualAvgWF)??"—"),1),e.createElementVNode("div",Xj,e.toDisplayString(((xe=l.comparisonData)==null?void 0:xe.recmdAvgWF)??"—"),1)]),e.createElementVNode("div",jj,[$j,e.createElementVNode("div",vj,e.toDisplayString(((be=l.comparisonData)==null?void 0:be.actualPfmSpd)??"—"),1),e.createElementVNode("div",e$,e.toDisplayString(((Ce=l.comparisonData)==null?void 0:Ce.recmdPfmSpd)??"—"),1)]),e.createElementVNode("div",t$,[o$,e.createElementVNode("div",l$,e.toDisplayString(a.compareTime((Se=l.comparisonData)==null?void 0:Se.actualTime,(ke=l.comparisonData)==null?void 0:ke.recmdTime)),1)])]),a$,e.createElementVNode("div",n$,[s$,e.createElementVNode("div",i$,[d$,e.createElementVNode("div",c$,e.toDisplayString(((Ae=l.comparisonData)==null?void 0:Ae.actualAvgFoCons)??"-"),1),e.createElementVNode("div",r$,e.toDisplayString(((Be=l.comparisonData)==null?void 0:Be.recmdAvgFoCons)??"-"),1)]),e.createElementVNode("div",m$,[h$,e.createElementVNode("div",p$,e.toDisplayString(((Fe=l.comparisonData)==null?void 0:Fe.actualFoCons)??"-"),1),e.createElementVNode("div",E$,e.toDisplayString(((Pe=l.comparisonData)==null?void 0:Pe.recmdFoCons)??"-"),1)]),e.createElementVNode("div",y$,[_$,e.createElementVNode("div",N$,e.toDisplayString(((fe=l.comparisonData)==null?void 0:fe.actualAvgDgoCons)??"-"),1),e.createElementVNode("div",V$,e.toDisplayString(((F=l.comparisonData)==null?void 0:F.recmdAvgDgoCons)??"-"),1)]),e.createElementVNode("div",f$,[g$,e.createElementVNode("div",D$,e.toDisplayString(((_e=l.comparisonData)==null?void 0:_e.actualDgoCons)??"-"),1),e.createElementVNode("div",x$,e.toDisplayString(((ue=l.comparisonData)==null?void 0:ue.recmdDgoCons)??"-"),1)]),e.createElementVNode("div",b$,[C$,e.createElementVNode("div",S$,e.toDisplayString(((Le=l.comparisonData)==null?void 0:Le.diffFoCons)??"-"),1)]),e.createElementVNode("div",k$,[A$,e.createElementVNode("div",B$,e.toDisplayString(((We=l.comparisonData)==null?void 0:We.diffDgoCons)??"-"),1)])]),e.createElementVNode("div",{class:e.normalizeClass(`subtitle ${l.advisory&&l.advisory!=="<p><br></p>"?"":"print-hidden"}`)},"Comments",2),e.createElementVNode("div",{class:e.normalizeClass(`report-comments ${l.advisory&&l.advisory!=="<p><br></p>"?"":"print-hidden"}`),style:{"min-height":"50px"}},[l.editable?(e.openBlock(),e.createBlock(p,{key:0,modelValue:l.advisory,"onUpdate:modelValue":n[0]||(n[0]=we=>l.advisory=we),height:"320px",onBlur:n[1]||(n[1]=we=>a.handleCommit("comments",we))},null,8,["modelValue"])):(e.openBlock(),e.createElementBlock("div",{key:1,class:"remark-txt editor",onDblclick:n[2]||(n[2]=(...we)=>a.decideDisable&&a.decideDisable(...we)),innerHTML:l.advisory&&l.advisory!=="<p><br></p>"?l.advisory:"Please double click to modify remark"},null,40,w$))],2)])}const Fn=De(CX,[["render",T$],["__scopeId","data-v-b2f57055"]]),O$={install(t){t.component("OpiComparisonReport",On),t.component("FliComparisonReport",Fn)}},F$={install(t){t.component("IdmBrand",yl),t.component("IdmThird",ja)}},rte="",P$={name:"QuotaReport",components:{Brand:yl},props:{report:{type:Object,default:()=>({})}},data(){return{mapboxToken:"pk.eyJ1IjoibmVhdGNoZW5oZW5nIiwiYSI6ImNsdXM3cnBmODBsemgycW1vaXc1bjV6bXMifQ.w6fqHGRbhNhLvm0LnX4ZVw",mapboxStyle:"mapbox://styles/neatchenheng/clus7vi8b00o501r7dzzjg4hg",area:[{name:"North China & Far East",rank:1,width:"80px"},{name:"Southeast Asia",rank:2,width:"80px"},{name:"Oceania",rank:3,width:"90px"},{name:"India Ocean",rank:4,width:"80px"},{name:"East Africa",rank:5,width:"80px"},{name:"West Africa",rank:6,width:"80px"},{name:"Mediterranean",rank:7,width:"90px"},{name:"Europe",rank:8,width:"80px"},{name:"South America East Coast",rank:9,width:"90px"},{name:"South America West Coast",rank:10,width:"90px"},{name:"North America East Coast",rank:11,width:"90px"},{name:"North America West Coast",rank:12,width:"90px"}],quota:[["$280",0,0,0,0,0,0,0,0,0,0,0],["$280","$280",0,0,0,0,0,0,0,0,0,0],["$450","$350","$280",0,0,0,0,0,0,0,0,0],["$450","$350","$500","$280",0,0,0,0,0,0,0,0],["$600","$450","$450","$350","$280",0,0,0,0,0,0,0],["$720","$680","$680","CGH $550","$450","$280",0,0,0,0,0,0],["$850","$800","$800","SUE $350","SUE $350","$500","$280",0,0,0,0,0],["SUE $900<br/>CGH $1050","SUE $900<br/>CGH $1050","SUE $900<br/>CGH $1150<br/>CHC $1150<br/>PMP $1250","SUE 450<br/>CGH $1300","SUE $450","$600","$400","$280",0,0,0,0],["$1050","$1050","$950","CGH $850","$700","$500","$600","$650","$280",0,0,0],["$800","$800","DIR $700<br/>CHC $1000","CHC $1100","CHC $1100","PMP $550<br/>CHC $700","PMP $600<br/>CHC $1000","PMP $650<br/>CHC $1000","$450","$280",0,0],["$1050","$1100","PMP $1050<br/>CGH $1150<br/>SUE $1100","SUE $800<br/>CGH $1100","SUE $750<br/>CGH $1000","$500","$600","$600","$500","PMP $450<br/>CHC $1150","$280",0],["$750","$800","$800","SGP $900<br/>PMP $1350<br/>CHC $1350","SGP $900<br/>PMP $1000<br/>CHC $1200","PMP $900<br/>CHC $1150","$850","PMP $900<br/>CHC $1250","PMP $900<br/>CHC $1050","PMP $450<br/>CHC $1150","PMP $540<br/>CHC $1300","$280"]],map:void 0,source:"quota-line-source",layer:"quota-line-layer",labelLayer:"quota-line-label-layer",geojson:{type:"FeatureCollection",features:[{type:"Feature",properties:{rank:1,name:"North China & Far East"},geometry:{type:"LineString",coordinates:[[191,90],[191,64],[187,64],[141,34],[121,21],[109.47,17.1],[107.56,18.65],[108.07,21.48],[37,34.1],[150,90]]}},{type:"Feature",properties:{rank:2,name:"Southeast Asia"},geometry:{type:"LineString",coordinates:[[141,34],[141,-11],[89,-11],[89,25]]}},{type:"Feature",properties:{rank:3,name:"Oceania",seg:1},geometry:{type:"LineString",coordinates:[[141,5],[200,5],[200,-90]]}},{type:"Feature",properties:{rank:3,name:"Oceania",seg:2},geometry:{type:"LineString",coordinates:[[89,-11],[89,-90]]}},{type:"Feature",properties:{rank:4,name:"India Ocean"},geometry:{type:"LineString",coordinates:[[43.2,11.5],[56,14.5],[56,-90]]}},{type:"Feature",properties:{rank:5,name:"East Africa"},geometry:{type:"LineString",coordinates:[[22.5,30],[22.5,-90]]}},{type:"Feature",properties:{rank:6,name:"West Africa"},geometry:{type:"LineString",coordinates:[[-26,36],[-26,-90]]}},{type:"Feature",properties:{rank:7,name:"Mediterranean"},geometry:{type:"LineString",coordinates:[[22.5,30],[37,30],[37,34.1],[45,43],[45,48],[0,48],[0,42],[-6,42],[-6,30],[22.5,30]]}},{type:"Feature",properties:{rank:8,name:"Europe"},geometry:{type:"LineString",coordinates:[[-6,36],[-26,36],[-26,66],[15.5,90]]}},{type:"Feature",properties:{rank:9,name:"South America East Coast"},geometry:{type:"LineString",coordinates:[[-79.7,9.11],[-79.7,15],[-26,15]]}},{type:"Feature",properties:{rank:10,name:"South America West Coast"},geometry:{type:"LineString",coordinates:[[-160,5],[-79.7,5],[-79.7,9.11],[-78,9.11],[-78,7.5],[-77.5,7.5],[-68.53,7.5],[-68.53,-90]]}},{type:"Feature",properties:{rank:11,name:"North America East Coast"},geometry:{type:"LineString",coordinates:[[-79.7,9],[-80.4,9],[-80.4,8.5],[-83,8.5],[-83,9.5],[-84,9.5],[-84,15],[-91,15],[-91,18],[-101,18]]}},{type:"Feature",properties:{rank:12,name:"North America West Coast"},geometry:{type:"LineString",coordinates:[[-101,18],[-135,64],[-169,64]]}},{type:"Feature",properties:{rank:1,name:"North China & Far East"},geometry:{type:"Point",coordinates:[116,50]}},{type:"Feature",properties:{rank:2,name:"Southeast Asia"},geometry:{type:"Point",coordinates:[116,10]}},{type:"Feature",properties:{rank:3,name:"Oceania"},geometry:{type:"Point",coordinates:[146,-30]}},{type:"Feature",properties:{rank:4,name:"India Ocean"},geometry:{type:"Point",coordinates:[73,-20]}},{type:"Feature",properties:{rank:5,name:"East Africa"},geometry:{type:"Point",coordinates:[40,-20]}},{type:"Feature",properties:{rank:6,name:"West Africa"},geometry:{type:"Point",coordinates:[0,-20]}},{type:"Feature",properties:{rank:7,name:"Mediterranean"},geometry:{type:"Point",coordinates:[20,44]}},{type:"Feature",properties:{rank:8,name:"Europe"},geometry:{type:"Point",coordinates:[10,68]}},{type:"Feature",properties:{rank:9,name:"South America East Coast"},geometry:{type:"Point",coordinates:[-45,-20]}},{type:"Feature",properties:{rank:10,name:"South America West Coast"},geometry:{type:"Point",coordinates:[-110,-20]}},{type:"Feature",properties:{rank:11,name:"North America East Coast"},geometry:{type:"Point",coordinates:[-80,50]}},{type:"Feature",properties:{rank:12,name:"North America West Coast"},geometry:{type:"Point",coordinates:[-140,50]}}]}}},computed:{},watch:{},mounted(){this.$nextTick(()=>{this.initMap()})},methods:{async initMap(){en.accessToken=this.mapboxToken,this.map=new en.Map({container:"map",style:this.mapboxStyle,preserveDrawingBuffer:!0,zoom:1,dragRotate:!1,pitchWithRotate:!1}),this.map.on("load",()=>{this.handleDraw()})},async handleDraw(){this.map.addSource(this.source,{type:"geojson",data:this.geojson}),this.map.addLayer({id:this.layer,type:"line",source:this.source,filter:["==","$type","LineString"],paint:{"line-color":"rgba(0, 0, 0, 0.6)","line-width":1,"line-opacity":.9}}),this.map.addLayer({id:this.labelLayer,type:"symbol",source:this.source,filter:["==","$type","Point"],layout:{"symbol-placement":"point","text-field":"{rank}","text-rotation-alignment":"viewport","text-offset":[0,1],"text-size":14,"text-allow-overlap":!1},paint:{"text-opacity":1}})}}},Pn=t=>(e.pushScopeId("data-v-f3647134"),t=t(),e.popScopeId(),t),u$={class:"quota-report"},L$=Pn(()=>e.createElementVNode("div",{class:"section map-section"},[e.createElementVNode("div",{id:"map"})],-1)),W$={class:"section quota-section"},H$=Pn(()=>e.createElementVNode("td",{rowspan:2,colspan:2,class:"label"},"AREA NO.",-1)),M$={class:"label"},G$={class:"label"},I$=["innerHTML"],R$=e.createStaticVNode('<div class="legend-block flex-space" data-v-f3647134><div class="legend" data-v-f3647134><label data-v-f3647134>DIR</label><span data-v-f3647134>DIRECT</span></div><div class="legend" data-v-f3647134><label data-v-f3647134>PMP</label><span data-v-f3647134>via PANAMA CHANNEL</span></div><div class="legend" data-v-f3647134><label data-v-f3647134>SUE</label><span data-v-f3647134>via SUEZ CHANNEL</span></div><div class="legend" data-v-f3647134><label data-v-f3647134>CGH</label><span data-v-f3647134>Passing CAPE OF GOOD HOPE</span></div><div class="legend" data-v-f3647134><label data-v-f3647134>CHC</label><span data-v-f3647134>Passing CAPE HORN</span></div><div class="legend" data-v-f3647134><label data-v-f3647134>SCG</label><span data-v-f3647134>Passing SINGAPORE</span></div></div>',1);function z$(t,n,o,d,l,a){const p=e.resolveComponent("Brand");return e.openBlock(),e.createElementBlock("div",u$,[e.createVNode(p,{name:"Quotation Sheet"}),L$,e.createElementVNode("div",W$,[e.createElementVNode("table",null,[e.createElementVNode("thead",null,[e.createElementVNode("tr",null,[H$,(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(l.area,i=>(e.openBlock(),e.createElementBlock("td",{key:i.rank,class:"label"},e.toDisplayString(i.rank),1))),128))]),e.createElementVNode("tr",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(l.area,i=>(e.openBlock(),e.createElementBlock("td",{key:i.rank,style:e.normalizeStyle({width:i.width}),class:"label"},e.toDisplayString(i.name),5))),128))])]),e.createElementVNode("tbody",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(l.area,(i,y)=>(e.openBlock(),e.createElementBlock("tr",{key:y},[e.createElementVNode("td",M$,e.toDisplayString(i.rank),1),e.createElementVNode("td",G$,e.toDisplayString(i.name),1),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(l.area.length,b=>(e.openBlock(),e.createElementBlock("td",{key:b,innerHTML:l.quota[y][b-1]||""},null,8,I$))),128))]))),128))])]),R$])])}const un=De(P$,[["render",z$],["__scopeId","data-v-f3647134"]]),U$={install(t){t.component("OrmQuoteReport",un)}},mte="",Y$={name:"PrecipitationReport",components:{IdmBrand:yl,IdmLoading:on},props:{report:{type:Object,default:()=>({})},showPrate:{type:Boolean,default:!1},showAcc:{type:Boolean,default:!0},defaultVersion:{type:String,default:"Pretty"}},data(){return{mapboxToken:"pk.eyJ1IjoibmVhdGNoZW5oZW5nIiwiYSI6ImNsdXM3cnBmODBsemgycW1vaXc1bjV6bXMifQ.w6fqHGRbhNhLvm0LnX4ZVw",mapboxStyle:"mapbox://styles/neatchenheng/clv0mafdu006h01qp1cyzga6d",map:void 0,source:"precipitation-source",layer:"precipitation-label-layer",geojson:void 0,echart:void 0,form:void 0,index:0,version:this.defaultVersion,loading:!0}},watch:{report:{handler(){var t,n,o;if((t=this.report)!=null&&t.rows){this.loading=!1;for(const d of(n=this.report)==null?void 0:n.rows)this.computeForm(d);this.form=(o=this.report)==null?void 0:o.rows[this.index],this.$nextTick(()=>{this.initMap()})}},immediate:!0},form:{handler(){this.form&&(this.handleFlyTo(this.form),this.$nextTick(()=>{this.initEchart()}))},immediate:!0},version:{handler(){this.$nextTick(()=>{this.initEchart(),this.initMap()})}}},computed:{computeLat(){return function(t){return v.LngLatHelper.lat2pretty(t,2)}},computeLng(){return function(t){return v.LngLatHelper.lng2pretty(t,2)}},computeLTime(){return function(t,n=8,o="MMM-DD/HHmm[LT]"){return`${w(t).utcOffset(n).format(o)}`}},computeTZ(){return function(t="0"){return v.LngLatHelper.prettyTimeZoneOffset(t)}},roundPrecision(){return function(t,n=4){if(typeof t=="number"){const o=Number("1".padEnd(n+1,"0"));return Math.round(t*o)/o}else return"-"}},computeDegree(){return function(t,n){t=t%360;for(let o=0;o<17;o++)if(o*22.5+t+11.25>=360){let d=(16-o)*22.5;return n||(d=d+180),`transform:rotate(${d}deg);height:1rem;width:1rem;margin-left:3px`}}},computeForm(){return function(t){var l,a,p,i,y,b,S;const n=v.LngLatHelper.guessTimeZoneOffset(t.lng,t.lat);t.localTZ=n;const o={};for(let E=0;E<((l=t==null?void 0:t.extend)==null?void 0:l.length);E++){const V=t==null?void 0:t.extend[E];if(E===0)V.precip.pacc=0;else{const D=w(V.utc).utcOffset(n),r=(a=V.precip)==null?void 0:a.acc;if(V.precip.pacc=r,r>0){const C=o[D.format("MMM-DD")],k=Math.floor(D.get("hour")/6);C?(C.pacc=this.roundPrecision(C.pacc+r,1),C[`${k}`]?C[`${k}`]+=r:(C[`${k}`]=r,C.colspan+=1)):(o[D.format("MMM-DD")]={pacc:r,colspan:1},o[D.format("MMM-DD")][`${k}`]=r)}}}t.paccInDays=o;let d=0;for(const E of Object.keys(o))d+=(p=o[E])==null?void 0:p.colspan,o[E].level=((i=o[E])==null?void 0:i.pacc)<10?"Light":((y=o[E])==null?void 0:y.pacc)<24.9?"Moderate":((b=o[E])==null?void 0:b.pacc)<49.9?"Heavy":((S=o[E])==null?void 0:S.pacc)<99.9?"Rainstorm":"HeavyRainstorm";return t.span=d,t}}},methods:{initEchart(){var t,n;if(this.version==="Pretty"){this.echart||(this.echart=e.markRaw(zo.init(this.$refs.echart)));const o=[],d=[],l={dateTime:0,windSpeed:1,gusts:2,waveHeight:3,windDirection:4,windDegree:5,windScale:6,current:7,precip:8,visibility:9,temp:10};let a=4;(n=(t=this.form)==null?void 0:t.extend)==null||n.forEach(i=>{var b,S,E,V,D,r,C,k,T,u,L,O,x,P;const y=w(i.utc).utcOffset((b=this.form)==null?void 0:b.localTZ).format("MMM-DD/HHmm[LT]");o.push(y),a=((E=(S=i.wave)==null?void 0:S.sig)==null?void 0:E.height)>a?(D=(V=i.wave)==null?void 0:V.sig)==null?void 0:D.height:a,d.push([y,(r=i.wind)==null?void 0:r.kts,(C=i.gusts)==null?void 0:C.kts,(T=(k=i.wave)==null?void 0:k.sig)==null?void 0:T.height,(u=i.wind)==null?void 0:u.direction,(L=i.wind)==null?void 0:L.degree,(O=i.wind)==null?void 0:O.scale,(x=i.current)==null?void 0:x.kts,(P=i.precip)==null?void 0:P.pacc,this.roundPrecision(i.visibility/1852,0),i.temp])});const p={animation:!1,title:{text:"Weather Conditions",subtext:"Precip/Visibility/Sig.Wave/Wind/Gusts",textStyle:{color:"#000000B3",fontWeight:"500"},left:"left"},legend:{show:!0,right:0},tooltip:{trigger:"axis"},grid:{bottom:25},xAxis:[{data:o}],yAxis:[{name:"Precip Acc (mm)",nameLocation:"middle",position:"left",nameGap:30,axisLine:{lineStyle:{color:"#f85c5c"}}},{name:"Visibility (nm)",nameLocation:"middle",position:"left",offset:45,nameGap:30,axisLine:{lineStyle:{color:"#de8600"}}},{name:"Sig. Wave Height (m)",nameLocation:"middle",position:"right",nameGap:25,max:a,axisLine:{lineStyle:{color:"#015DD5"}},splitLine:{show:!1}},{name:"Wind Speed (kts)",nameLocation:"middle",position:"right",offset:40,nameGap:25,axisLine:{lineStyle:{color:"#0e6500"}}}],visualMap:{type:"piecewise",orient:"horizontal",left:"center",bottom:0,show:!1,pieces:[{gte:17,color:"#f85c5c",label:"≥ BF5"},{gte:11,lt:17,color:"#de8600",label:"BF4"},{lt:11,color:"#67c23a",label:"< BF4"}],seriesIndex:3,dimension:1},series:[{type:"bar",name:"Precip",yAxisIndex:0,showSymbol:!1,encode:{x:l.dateTime,y:l.precip},lineStyle:{color:"#f85c5c",type:"solid"},itemStyle:{color:"#f85c5c"},data:d,z:4},{type:"line",name:"Visibility",yAxisIndex:1,showSymbol:!1,encode:{x:l.dateTime,y:l.visibility},lineStyle:{color:"#de8600",type:"solid"},itemStyle:{color:"#de8600"},data:d,z:3},{name:"Sig. Wave Height",type:"line",showSymbol:!1,yAxisIndex:2,areaStyle:{color:{type:"linear",x:0,y:0,x2:0,y2:1,global:!1,colorStops:[{offset:0,color:"rgba(88, 160, 253, 1)"},{offset:.5,color:"rgba(88, 160, 253, 0.7)"},{offset:1,color:"rgba(88, 160, 253, 0)"}]}},lineStyle:{color:"rgba(88, 160, 253, 1)"},itemStyle:{color:"rgba(88, 160, 253, 1)"},encode:{x:l.dateTime,y:l.waveHeight},data:d,z:1},{name:"Wind Speed",type:"line",showSymbol:!1,yAxisIndex:3,encode:{x:l.dateTime,y:l.windSpeed},lineStyle:{color:"#398626",type:"solid"},itemStyle:{color:"#398626"},data:d,z:2},{type:"line",name:"Gusts",showSymbol:!1,yAxisIndex:3,encode:{x:l.dateTime,y:l.gusts},lineStyle:{color:"#0e6500",type:"dashed"},itemStyle:{color:"#0e6500"},data:d,z:2}]};this.echart.setOption(p)}},async initMap(){this.version==="Pretty"&&!this.map&&(en.accessToken=this.mapboxToken,this.map=new en.Map({container:"map",style:this.mapboxStyle,projection:"mercator",preserveDrawingBuffer:!0,dragRotate:!1,pitchWithRotate:!1}),this.map.on("load",()=>{this.handleDraw()}))},handleDraw(){var t;this.geojson={type:"FeatureCollection",features:[]};for(const n of(t=this.report)==null?void 0:t.rows){const o={type:"Feature",properties:{name:n.name,rank:n.rank},geometry:{type:"Point",coordinates:[n.lng,n.lat]}};this.geojson.features.push(o)}this.map.getSource(this.source)?this.map.getSource(this.source).setData(this.geojson):(this.map.addSource(this.source,{type:"geojson",data:this.geojson}),this.map.addLayer({id:this.layer,type:"symbol",source:this.source,filter:["==","$type","Point"],layout:{"symbol-placement":"point","icon-size":.3,"icon-image":"port","text-field":"{rank}. {name}","text-rotation-alignment":"viewport","text-offset":[0,1],"text-size":14,"text-allow-overlap":!1},paint:{"text-opacity":.8,"text-color":"#ff0000","text-halo-color":"#fff","text-halo-width":2,"text-halo-blur":1}})),this.handleFlyTo(this.form)},handleFlyTo(t){var n;(n=this.map)==null||n.flyTo({center:[t.lng,t.lat],zoom:8})}}},Wt=t=>(e.pushScopeId("data-v-eec28d50"),t=t(),e.popScopeId(),t),Z$={class:"precipitation-report"},Q$={class:"section area-section"},J$={class:"area-block"},K$={class:"area-header flex-space"},q$={class:"flex-start"},X$=["onClick"],j$={class:"flex-end"},$$={class:"area-body"},v$=e.createStaticVNode('<div style="text-align:center;line-height:2;font-size:16px;font-weight:400;color:var(--idm-black-8);" data-v-eec28d50>Precipitation Accumulation (mm) in the next 10 days</div><div style="display:flex;align-items:center;justify-content:flex-end;margin-bottom:10px;font-size:13px;color:var(--idm-black-7);" data-v-eec28d50><div style="background:rgba(243,245, 248, 1);padding:3px;margin-right:4px;border-radius:5px;" data-v-eec28d50>Light (&lt;10mm)</div><div style="background:rgba(205, 220, 57, 1);padding:3px;margin-right:4px;border-radius:5px;" data-v-eec28d50>Moderate (&lt;24.9mm)</div><div style="background:rgb(7,148,255, 1);color:white;padding:3px;margin-right:4px;border-radius:5px;" data-v-eec28d50>Heavy (&lt;49.9mm)</div><div style="background:rgba(255, 152, 0, 1);color:white;padding:3px;margin-right:4px;border-radius:5px;" data-v-eec28d50>Rainstorm (&lt;99.9mm)</div><div style="background:rgba(255, 87, 34, 1);color:white;padding:3px;border-radius:5px;" data-v-eec28d50>Heavy Rainstorm (&gt;100mm)</div></div>',2),ev={class:"flex-evenly"},tv={key:0},ov=["colspan"],lv=["colspan"],av={style:{"font-size":"10px"}},nv={key:0},sv={key:1},iv={key:2},dv={key:3},cv={key:0},rv={key:1,style:{"font-size":"14px"}},mv=Wt(()=>e.createElementVNode("div",{class:"section map-section"},[e.createElementVNode("div",{id:"map"})],-1)),hv={class:"section echart-section"},pv={ref:"echart",class:"echart"},Ev={class:"section sample-section"},yv=Wt(()=>e.createElementVNode("th",{rowspan:"2"},"Date Time",-1)),_v=["colspan"],Nv=Wt(()=>e.createElementVNode("th",{colspan:"1"},"Visibility",-1)),Vv=Wt(()=>e.createElementVNode("th",{colspan:"4"},"Wind",-1)),fv=Wt(()=>e.createElementVNode("th",{rowspan:"2"},[e.createTextVNode("Sea HT "),e.createElementVNode("br"),e.createTextVNode("(m)")],-1)),gv=Wt(()=>e.createElementVNode("th",{colspan:"3"},"Swell",-1)),Dv=Wt(()=>e.createElementVNode("th",{colspan:"3"},"Sig",-1)),xv=Wt(()=>e.createElementVNode("th",{colspan:"1"},"Temp",-1)),bv={key:0},Cv={key:1},Sv=Wt(()=>e.createElementVNode("th",null,"Dist (nm)",-1)),kv=Wt(()=>e.createElementVNode("th",null,"Dir",-1)),Av=Wt(()=>e.createElementVNode("th",null,"Speed (kts)",-1)),Bv=Wt(()=>e.createElementVNode("th",null,"BF",-1)),wv=Wt(()=>e.createElementVNode("th",null,"Gusts (kts)",-1)),Tv=Wt(()=>e.createElementVNode("th",null,"Dir",-1)),Ov=Wt(()=>e.createElementVNode("th",null,"Ht (m)",-1)),Fv=Wt(()=>e.createElementVNode("th",null,"Prd (s)",-1)),Pv=Wt(()=>e.createElementVNode("th",null,"Dir",-1)),uv=Wt(()=>e.createElementVNode("th",null,"Hgt (m)",-1)),Lv=Wt(()=>e.createElementVNode("th",null,"Prd (s)",-1)),Wv=Wt(()=>e.createElementVNode("th",null,"°C",-1)),Hv={width:"120px"},Mv={key:0},Gv={key:1},Iv={key:0,class:"degree-box"},Rv={key:1},zv={key:0,class:"degree-box"},Uv={key:1},Yv={key:0,class:"degree-box"},Zv={key:1},Qv={class:"section area-section"},Jv={class:"area-block"},Kv={class:"area-header flex-end"},qv={class:"flex-end"},Xv={class:"area-body"},jv=e.createStaticVNode('<div style="text-align:center;line-height:2;font-size:16px;font-weight:400;color:var(--idm-black-8);" data-v-eec28d50>Precipitation Accumulation (mm) in the next 10 days</div><div style="display:flex;align-items:center;justify-content:flex-end;margin-bottom:10px;font-size:13px;color:var(--idm-black-7);" data-v-eec28d50><div style="background:rgba(243,245, 248, 1);padding:3px;margin-right:4px;border-radius:5px;" data-v-eec28d50>Light (&lt;10mm)</div><div style="background:rgba(205, 220, 57, 1);padding:3px;margin-right:4px;border-radius:5px;" data-v-eec28d50>Moderate (&lt;24.9mm)</div><div style="background:rgb(7,148,255, 1);color:white;padding:3px;margin-right:4px;border-radius:5px;" data-v-eec28d50>Heavy (&lt;49.9mm)</div><div style="background:rgba(255, 152, 0, 1);color:white;padding:3px;margin-right:4px;border-radius:5px;" data-v-eec28d50>Rainstorm (&lt;99.9mm)</div><div style="background:rgba(255, 87, 34, 1);color:white;padding:3px;border-radius:5px;" data-v-eec28d50>Heavy Rainstorm (&gt;100mm)</div></div>',2),$v=["colspan"],vv=["colspan"],eee={style:{"font-size":"10px"}},tee={key:0},oee={key:1},lee={key:2},aee={key:3},nee={key:1,style:{"font-size":"14px"}},see={key:0};function iee(t,n,o,d,l,a){var y,b,S,E,V,D,r,C,k,T,u,L,O,x,P,R,Z,z,W;const p=e.resolveComponent("IdmBrand"),i=e.resolveComponent("IdmLoading");return e.openBlock(),e.createElementBlock("div",Z$,[e.createVNode(p,{name:"Precipitation Accumulation"}),e.createVNode(i,{loading:l.loading,text:"Loading..."},null,8,["loading"]),e.withDirectives(e.createElementVNode("div",null,[e.createElementVNode("div",Q$,[e.createElementVNode("div",J$,[e.createElementVNode("div",K$,[e.createElementVNode("div",q$,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList((y=o.report)==null?void 0:y.rows,(f,Y)=>(e.openBlock(),e.createElementBlock("div",{key:Y,class:e.normalizeClass(l.index===Y?"header-item active":"header-item"),onClick:G=>{var H;return l.index=Y,l.form=(H=o.report)==null?void 0:H.rows[l.index]}},e.toDisplayString(f.rank)+". "+e.toDisplayString(f.name),11,X$))),128))]),e.createElementVNode("div",j$,[e.createElementVNode("div",{class:"header-item",onClick:n[0]||(n[0]=f=>l.version="Brief")},"Brief")])]),e.createElementVNode("div",$$,[v$,e.createElementVNode("div",ev,[l.form?(e.openBlock(),e.createElementBlock("table",tv,[e.createElementVNode("thead",null,[e.createElementVNode("tr",null,[e.createElementVNode("th",{colspan:l.form.span,style:{"text-align":"left"}},[e.createElementVNode("b",null,"["+e.toDisplayString((b=l.form)==null?void 0:b.rank)+"] ",1),e.createElementVNode("b",null,e.toDisplayString((S=l.form)==null?void 0:S.name)+" ("+e.toDisplayString(a.computeLat((E=l.form)==null?void 0:E.lat).pretty)+" / "+e.toDisplayString(a.computeLng((V=l.form)==null?void 0:V.lng).pretty)+") ",1),e.createElementVNode("span",null,"(from "+e.toDisplayString(a.computeLTime((r=(D=l.form)==null?void 0:D.extend)==null?void 0:r[0].utc,(C=l.form)==null?void 0:C.localTZ))+" to "+e.toDisplayString(a.computeLTime((T=(k=l.form)==null?void 0:k.extend)==null?void 0:T.at(-1).utc,(u=l.form)==null?void 0:u.localTZ))+", "+e.toDisplayString(a.computeTZ((L=l.form)==null?void 0:L.localTZ))+")",1)],8,ov)]),e.createElementVNode("tr",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(Object.keys((O=l.form)==null?void 0:O.paccInDays),(f,Y)=>{var G;return e.openBlock(),e.createElementBlock("th",{key:Y,colspan:l.form.paccInDays[f].colspan,class:e.normalizeClass((G=l.form.paccInDays[f])==null?void 0:G.level)},e.toDisplayString(f)+" ("+e.toDisplayString(l.form.paccInDays[f].pacc)+") ",11,lv)}),128))]),e.createElementVNode("tr",av,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(Object.keys((x=l.form)==null?void 0:x.paccInDays),(f,Y)=>{var G;return e.openBlock(),e.createElementBlock(e.Fragment,{key:Y},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(Object.keys((G=l.form)==null?void 0:G.paccInDays[f]),(H,K)=>(e.openBlock(),e.createElementBlock(e.Fragment,{key:K},[H==="0"?(e.openBlock(),e.createElementBlock("th",nv,"00-06")):e.createCommentVNode("",!0),H==="1"?(e.openBlock(),e.createElementBlock("th",sv,"06-12")):e.createCommentVNode("",!0),H==="2"?(e.openBlock(),e.createElementBlock("th",iv,"12-18")):e.createCommentVNode("",!0),H==="3"?(e.openBlock(),e.createElementBlock("th",dv,"18-24")):e.createCommentVNode("",!0)],64))),128))],64)}),128))])]),e.createElementVNode("tbody",null,[e.createElementVNode("tr",null,[(R=Object.keys((P=l.form)==null?void 0:P.paccInDays))!=null&&R.length?(e.openBlock(!0),e.createElementBlock(e.Fragment,{key:0},e.renderList(Object.keys((Z=l.form)==null?void 0:Z.paccInDays),(f,Y)=>{var G;return e.openBlock(),e.createElementBlock(e.Fragment,{key:Y},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(Object.keys((G=l.form)==null?void 0:G.paccInDays[f]),(H,K)=>{var q;return e.openBlock(),e.createElementBlock(e.Fragment,{key:K},[["0","1","2","3"].includes(H)?(e.openBlock(),e.createElementBlock("td",cv,e.toDisplayString(a.roundPrecision((q=l.form)==null?void 0:q.paccInDays[f][H],1)),1)):e.createCommentVNode("",!0)],64)}),128))],64)}),128)):(e.openBlock(),e.createElementBlock("th",rv,"No Precipitation in the next 10 days"))])])])):e.createCommentVNode("",!0)])])])]),mv,e.createElementVNode("div",hv,[e.createElementVNode("div",pv,null,512)]),e.createElementVNode("div",Ev,[e.createElementVNode("table",null,[e.createElementVNode("thead",null,[e.createElementVNode("tr",null,[yv,e.createElementVNode("th",{colspan:o.showPrate?2:1},"Precip",8,_v),Nv,Vv,fv,gv,Dv,xv]),e.createElementVNode("tr",null,[o.showPrate?(e.openBlock(),e.createElementBlock("th",bv,"Rate (mm/h)")):e.createCommentVNode("",!0),o.showAcc?(e.openBlock(),e.createElementBlock("th",Cv,"Acc (mm)")):e.createCommentVNode("",!0),Sv,kv,Av,Bv,wv,Tv,Ov,Fv,Pv,uv,Lv,Wv])]),e.createElementVNode("tbody",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList((z=l.form)==null?void 0:z.extend,(f,Y)=>{var G,H,K,q,j,X,N,M,J,s,$,c,ee,oe,te,se,ie,ce,re,he,pe,Ee,de,ye,xe,be,Ce,Se,ke,Ae,Be;return e.openBlock(),e.createElementBlock("tr",{key:Y},[e.createElementVNode("td",Hv,e.toDisplayString(a.computeLTime(f.utc,(G=l.form)==null?void 0:G.localTZ)),1),o.showPrate?(e.openBlock(),e.createElementBlock("td",Mv,e.toDisplayString(a.roundPrecision((H=f.precip)==null?void 0:H.prate,2)),1)):e.createCommentVNode("",!0),o.showAcc?(e.openBlock(),e.createElementBlock("td",Gv,e.toDisplayString((K=f.precip)==null?void 0:K.pacc),1)):e.createCommentVNode("",!0),e.createElementVNode("td",null,e.toDisplayString(a.roundPrecision(f.visibility/1852,0)),1),e.createElementVNode("td",null,[(q=f.wind)!=null&&q.kts?(e.openBlock(),e.createElementBlock("span",Iv,[e.createTextVNode(e.toDisplayString((j=f.wind)==null?void 0:j.direction),1),e.createElementVNode("i",{class:"iconfont",style:e.normalizeStyle(a.computeDegree((X=f.wind)==null?void 0:X.degree,!1))},"",4)])):(e.openBlock(),e.createElementBlock("span",Rv,"-"))]),e.createElementVNode("td",null,e.toDisplayString(a.roundPrecision((N=f.wind)==null?void 0:N.kts,1)),1),e.createElementVNode("td",null,e.toDisplayString((M=f.wind)==null?void 0:M.scale),1),e.createElementVNode("td",null,e.toDisplayString(a.roundPrecision((J=f.gusts)==null?void 0:J.kts,1)),1),e.createElementVNode("td",null,e.toDisplayString(a.roundPrecision(($=(s=f.wave)==null?void 0:s.wd)==null?void 0:$.height,1)),1),e.createElementVNode("td",null,[(ee=(c=f.wave)==null?void 0:c.swell)!=null&&ee.height?(e.openBlock(),e.createElementBlock("span",zv,[e.createTextVNode(e.toDisplayString((te=(oe=f.wave)==null?void 0:oe.swell)==null?void 0:te.direction),1),e.createElementVNode("i",{class:"iconfont",style:e.normalizeStyle(a.computeDegree((ie=(se=f.wave)==null?void 0:se.swell)==null?void 0:ie.degree,!1))},"",4)])):(e.openBlock(),e.createElementBlock("span",Uv,"-"))]),e.createElementVNode("td",null,e.toDisplayString(a.roundPrecision((re=(ce=f.wave)==null?void 0:ce.swell)==null?void 0:re.height,1)),1),e.createElementVNode("td",null,e.toDisplayString(a.roundPrecision((pe=(he=f.wave)==null?void 0:he.swell)==null?void 0:pe.period,1)),1),e.createElementVNode("td",null,[(de=(Ee=f.wave)==null?void 0:Ee.sig)!=null&&de.height?(e.openBlock(),e.createElementBlock("span",Yv,[e.createTextVNode(e.toDisplayString((xe=(ye=f.wave)==null?void 0:ye.sig)==null?void 0:xe.direction),1),e.createElementVNode("i",{class:"iconfont",style:e.normalizeStyle(a.computeDegree((Ce=(be=f.wave)==null?void 0:be.sig)==null?void 0:Ce.degree,!1))},"",4)])):(e.openBlock(),e.createElementBlock("span",Zv,"-"))]),e.createElementVNode("td",null,e.toDisplayString(a.roundPrecision((ke=(Se=f.wave)==null?void 0:Se.sig)==null?void 0:ke.height,1)),1),e.createElementVNode("td",null,e.toDisplayString(a.roundPrecision((Be=(Ae=f.wave)==null?void 0:Ae.sig)==null?void 0:Be.period,1)),1),e.createElementVNode("td",null,e.toDisplayString(a.roundPrecision(f.temp,1)),1)])}),128))])])])],512),[[e.vShow,l.version==="Pretty"]]),e.withDirectives(e.createElementVNode("div",null,[e.createElementVNode("div",Qv,[e.createElementVNode("div",Jv,[e.createElementVNode("div",Kv,[e.createElementVNode("div",qv,[e.createElementVNode("div",{class:"header-item",onClick:n[1]||(n[1]=f=>l.version="Pretty")},"Pretty")])]),e.createElementVNode("div",Xv,[jv,(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList((W=o.report)==null?void 0:W.rows,(f,Y)=>{var G,H,K;return e.openBlock(),e.createElementBlock("div",{key:Y,style:{"margin-bottom":"10px"}},[e.createElementVNode("table",null,[e.createElementVNode("thead",null,[e.createElementVNode("tr",null,[e.createElementVNode("th",{colspan:f.span,style:{"text-align":"left"}},[e.createElementVNode("b",null,"["+e.toDisplayString(f==null?void 0:f.rank)+"] ",1),e.createElementVNode("b",null,e.toDisplayString(f==null?void 0:f.name)+" ("+e.toDisplayString(a.computeLat(f==null?void 0:f.lat).pretty)+" / "+e.toDisplayString(a.computeLng(f==null?void 0:f.lng).pretty)+") ",1),e.createElementVNode("span",null,"(from "+e.toDisplayString(a.computeLTime((G=f==null?void 0:f.extend)==null?void 0:G[0].utc,f==null?void 0:f.localTZ))+" to "+e.toDisplayString(a.computeLTime((H=f==null?void 0:f.extend)==null?void 0:H.at(-1).utc,f==null?void 0:f.localTZ))+", "+e.toDisplayString(a.computeTZ(f==null?void 0:f.localTZ))+")",1)],8,$v)]),e.createElementVNode("tr",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(Object.keys(f==null?void 0:f.paccInDays),(q,j)=>{var X;return e.openBlock(),e.createElementBlock("th",{key:j,colspan:f.paccInDays[q].colspan,class:e.normalizeClass((X=f.paccInDays[q])==null?void 0:X.level)},e.toDisplayString(q)+" ("+e.toDisplayString(f.paccInDays[q].pacc)+") ",11,vv)}),128))]),e.createElementVNode("tr",eee,[(K=Object.keys(f==null?void 0:f.paccInDays))!=null&&K.length?(e.openBlock(!0),e.createElementBlock(e.Fragment,{key:0},e.renderList(Object.keys(f==null?void 0:f.paccInDays),(q,j)=>(e.openBlock(),e.createElementBlock(e.Fragment,{key:j},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(Object.keys(f==null?void 0:f.paccInDays[q]),(X,N)=>(e.openBlock(),e.createElementBlock(e.Fragment,{key:N},[X==="0"?(e.openBlock(),e.createElementBlock("th",tee,"00-06")):e.createCommentVNode("",!0),X==="1"?(e.openBlock(),e.createElementBlock("th",oee,"06-12")):e.createCommentVNode("",!0),X==="2"?(e.openBlock(),e.createElementBlock("th",lee,"12-18")):e.createCommentVNode("",!0),X==="3"?(e.openBlock(),e.createElementBlock("th",aee,"18-24")):e.createCommentVNode("",!0)],64))),128))],64))),128)):(e.openBlock(),e.createElementBlock("th",nee,"No Precipitation in the next 10 days"))])]),e.createElementVNode("tbody",null,[e.createElementVNode("tr",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(Object.keys(f==null?void 0:f.paccInDays),(q,j)=>(e.openBlock(),e.createElementBlock(e.Fragment,{key:j},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(Object.keys(f==null?void 0:f.paccInDays[q]),(X,N)=>(e.openBlock(),e.createElementBlock(e.Fragment,{key:N},[["0","1","2","3"].includes(X)?(e.openBlock(),e.createElementBlock("td",see,e.toDisplayString(a.roundPrecision(f==null?void 0:f.paccInDays[q][X],1)),1)):e.createCommentVNode("",!0)],64))),128))],64))),128))])])])])}),128))])])])],512),[[e.vShow,l.version==="Brief"]])])}const Ln=De(Y$,[["render",iee],["__scopeId","data-v-eec28d50"]]),dee={install(t){t.component("PrecipitationReport",Ln)}},cee={install(t){t.component("IdmLoading",on)}};le.BrandPlugin=F$,le.ComparisonPlugin=O$,le.DeviationPlugin=CJ,le.DeviationReport=Bn,le.FliComparisonReport=Fn,le.FliDeviationReport=wn,le.FliPlanReport=Vn,le.FliVoyageReport=xn,le.HurricanePlugin=nu,le.HurricaneReport=Cn,le.IdmBrand=yl,le.IdmEditor=Ro,le.IdmEditorPlugin=CE,le.IdmLat=va,le.IdmLatPlugin=SE,le.IdmLng=$a,le.IdmLngPlugin=kE,le.IdmLoading=on,le.IdmThird=ja,le.InvoicePlugin=XL,le.InvoiceReport=Sn,le.LoadingPlugin=cee,le.ORMPointReport=En,le.OpiComparisonReport=On,le.OpiPlanReport=cn,le.OpiVoyageReport=Dn,le.OrmInvoiceReport=kn,le.OrmPlanReport=fn,le.OrmQuoteReport=un,le.OrmVoyageReport=bn,le.PiLogo=gn,le.PiLogoPlugin=PE,le.PointReport=yn,le.PointReportPlugin=_c,le.PrecipitationReport=Ln,le.PrecipitationReportPlugin=dee,le.QuoteReportPlugin=U$,le.RouteReport=cn,le.RouteReportPlugin=bE,le.StoppageReport=Tn,le.StoppageReportPlugin=yK,le.VoyageReportPlugin=OP,Object.defineProperty(le,Symbol.toStringTag,{value:"Module"})});